Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2026 Oct 13.
Published in final edited form as: Proc Mach Learn Res. 2026;306:16272–16294.

Smooth Multi-Policy Causal Effect Estimation in Longitudinal Settings

Wenxin Chen 1, Weishen Pan 1, Kyra Gan 1, Fei Wang 1
PMCID: PMC13655700  NIHMSID: NIHMS2214665  PMID: 42866051

Abstract

Comparative evaluation of multiple dynamic treatment policies is essential for healthcare and policy decisions, yet conventional longitudinal causal inference methods estimate each in isolation, preventing information sharing across counterfactuals. We demonstrate that this separate estimation paradigm induces a structurally uncontrolled second-order bias, inflating finite-sample variance even after standard debiasing with longitudinal targeted maximum likelihood estimation (LTMLE). To address this, we propose a policy-aware reparameterization of Iterative Conditional Expectation (ICE) Q-functions that enables joint estimation through shared representations. We implement this approach in the Policy-Encoded Q Network (PEQ-Net), an architecture centered on a shared policy encoder. The encoder is trained using kernel mean embeddings, ensuring that the learned representation space reflects population-level policy dissimilarities. After applying an LTMLE correction step, we prove this design imposes a structural constraint on the second-order remainder, thereby stabilizing finite-sample variance. Experiments on semi-synthetic datasets demonstrate that PEQ-Net consistently outperforms existing ICE-based methods, achieving substantial reductions in root-mean-square error, particularly when evaluating closely related policies.

1. Introduction

Clinical decision-making often requires comparing the effectiveness of multiple treatment strategies from longitudinal data, where decisions adapt to a patient’s evolving state (Murphy, 2003; Chakraborty & Moodie, 2013). We are interested in estimating the outcome after multiple treatment decisions (e.g., 30-day mortality) (Xu et al., 2023; Shahn et al., 2020; Nguyen et al., 2010). This task is complicated by the treatment–confounder feedback loop inherent to longitudinal settings: time-varying confounders influence future treatment decisions and are themselves influenced by prior treatments (Robins, 1986; Hernán & Robins, 2010).

Existing methods can be categorized based on their confounding adjustment strategy. Treatment-model-based approaches (e.g., IPTW, representation learning (Lim, 2018; Bica et al., 2020; Melnychuk et al., 2022)) model treatment assignment to create a pseudo-population balanced on confounders. However, they are prone to high variance, especially in long horizons, due to extreme propensity scores and the multiplicative accumulation of weights (Farajtabar et al., 2018; Frauen et al., 2025). Outcome-model-based approaches avoid modeling treatment assignment altogether. Forward G-computation (Taubman et al., 2009; Li et al., 2021) simulates patient trajectories under a treatment policy, but it requires estimating the full set of covariate and outcome transition models, which can be sensitive to model misspecification in long-horizon and high-dimensional settings. In contrast, Iterative Conditional Expectation (ICE) G-computation (Snowden et al., 2011) works backward: it first models the terminal outcome, then recursively steps back in time to model the expected value of future outcomes given the current history, decomposing the problem into a sequence of conditional expectations (Q-functions). By avoiding explicit modeling of the time-varying covariate and reducing reliance on long-horizon simulation, ICE is typically more robust (Bibaut et al., 2019; Wen et al., 2021) and has become a foundation for recent deep learning estimators (Frauen et al., 2023; Shirakawa et al., 2024). However, the standard ICE estimator is a plug-in estimator: it is asymptotically inefficient and inconsistent under model misspecification. This limitation leads to the recent development of doubly robust (DR) alternatives, e.g., LTMLE (Van der Laan et al., 2011; Díaz et al., 2023).

Despite these advancements, a critical inefficiency remains for multi-policy evaluation: whether using a plain ICE estimator or an efficient variant, existing implementations fit a separate sequence of regressions for each candidate policy (Seedat et al., 2022; Bica et al., 2020). They fail to exploit structural similarities across counterfactual trajectories, leading to redundant computation and inflated variance.

We resolve this by innovating on the ICE estimation step. We introduce a policy-aware reparameterization of the Q-functions in ICE, enabling information sharing across counterfactual trajectories. To embed the policies, we leverage kernel mean embeddings in a reproducing kernel Hilbert space (RKHS) to define a population-level metric of policy dissimilarity, ensuring the shared representation respects the underlying data-generating process. We apply standard LTMLE debiasing on the resulting ICE estimator. Our contributions are threefold:

  • We establish that separately estimated Q-functions incur lack of structural constraint on second-order bias after TMLE debiasing. We introduce a policy-aware reparameterization that preserves the identification of the target parameter while enabling shared learning (Section 4.1).

  • We propose the Policy-Encoded Q Network (PEQ-Net), a theoretically grounded architecture featuring a shared policy encoder that reflects maximum mean discrepancy. After applying LTMLE debiasing, we prove this design imposes a structural constraint on the aforementioned bias of the treatment effect estimator, stabilizing the finite-sample variance (Theorem 4.2).

  • We demonstrate the effectiveness of our method through extensive experiments on semi-synthetic datasets derived from MIMIC, together with a real-world case study of vasopressor treatment in sepsis patients. On the semi-synthetic data, our method substantially reduces root mean square error, particularly when evaluating closely related policies. Code is available at https://github.com/Wenxin-Elmon-Chen/PEQ.

1.1. Related Work

Longitudinal Treatment Effect Estimation

Classic treatment-model–based methods use Inverse Probability of Treatment Weighting (IPTW) (Rosenbaum & Rubin, 1983; 1984; Robins, 2000; Hernán & Robins, 2006; Cole & Hernán, 2008), its stabilized variant (Xu et al., 2010; Chesnaye et al., 2022), or matching (Austin, 2011; Stuart, 2010) to create balanced pseudo-populations. Recent deep learning methods adopted this principle and learn latent representations that predict outcomes while achieving a balance between treatment arms (Lim, 2018; Bica et al., 2020; Seedat et al., 2022; Melnychuk et al., 2022). These algorithms often perform poorly with finite samples in long horizons due to the compounding of small model errors in the treatment models, leading to high variance or residual bias (Bica et al., 2020; Petersen et al., 2012; Cole & Hernán, 2008).

Outcome-model–based methods directly model the outcome-generating process to estimate treatment effects using G-computation (Robins, 1986; Snowden et al., 2011) by standardizing over the natural course of confounder distributions. Popular forward G-computation includes Chiu et al. (2023); McGrath et al. (2020); Li et al. (2021); Rein et al. (2024). Recently, ICE G-computation gained attention due to improved stability from its recursive formulation that mitigates error propagation in time-varying covariates across time steps (Oprescu et al., 2025; Liu et al., 2025; Frauen et al., 2025; Shirakawa et al., 2024; Frauen et al., 2023).

Doubly robust variants, combining treatment and outcome models, enhance robustness against model misspecification, improving finite-sample performance in high-dimensional, long-horizon settings. These include LTMLE (Van der Laan et al., 2011; Stitelman et al., 2012; Rosenblum & Van Der Laan, 2010; Díaz et al., 2023) and recent deep learning variants (Shirakawa et al., 2024; Frauen et al., 2023; Guo et al., 2024; Frauen et al., 2025; Hess et al., 2024).

Off-Policy Evaluation

Our problem relates to off-policy evaluation (OPE) in reinforcement learning, which estimates a target policy’s mean reward using data from a different behavior policy. Methodologically, OPE methods mirror the standard categories in longitudinal causal estimation and face the same core challenges: 1) importance sampling (related to IPTW) reweights trajectories induced by the behavior policy with that of the target policy (Mahmood et al., 2014; Thomas & Brunskill, 2016b; Hanna et al., 2019; Schlegel et al., 2019), but often suffer from high variance over long horizons (Liu et al., 2018). Recent works exploit the Markov assumption to reduce variance (Bossens & Thomas, 2024; Xie et al., 2019; Shen et al., 2021; Fujimoto et al., 2021), but this is often violated in our setting where outcomes can depend on full history. 2) Direct method (analogous to G-computation) model system dynamics to simulate counterfactual trajectories (Le et al., 2019; Duan et al., 2020; Voloshin et al.). DR methods improve finite-sample efficiency and retain consistency when either component is correctly specified (Bibaut et al., 2019; Jiang & Li, 2016; Thomas & Brunskill, 2016a; Kallus & Uehara, 2020; Dudík et al., 2011).

Our work diverges from prior methods of longitudinal treatment effect estimation or OPE in RL by targeting the problem of estimation stability under the joint evaluation of multiple treatment policies. To achieve this, we introduce a modification to the standard Q-function (outcome model) training procedure and subsequently apply an LTMLE step to correct for the plug-in bias of the initial estimator.

2. Problem Setup and Preliminary

We observe n i.i.d. longitudinal trajectories, each of length τ, generated under a unknown behavior policy, π*. For each trajectory and at each discrete time point t∈{1,⋯,τ}, we observe time-varying covariates Lt, followed by a binary treatment assignment At∈𝒜={0,1}. A final outcome Y is observed after time τ. Thus, one trajectory observed for a single unit is O=L1,A1,L2,A2,…,Lτ,Aτ,Y~P0, where P0 is the unknown true distribution induced by the unknown behavior policy that generated the data. (Any intermediate outcome observed after At can be absorbed into Lt+1 without loss of generality.)

We use subscripts for temporal sequences, e.g., Xt:τ=Xt,Xt+1,…,Xτ. The history available before assigning treatment At is Ht=Li,Aii=1t-1∪Lt, taking values in a history space ℋt. Both covariates and treatments may depend on the entire preceding history: Lt may be influenced by Ht-1∪At-1, while At is determined by Ht.

Treatments in the observed data are assigned according to the unknown behavior policy π*=π1*,⋯,πτ*. Formally, each πt*:ℋt→(0,1) specifies the probability of receiving treatment given the history, i.e., πt*Ht=PAt=1∣Ht.

Problem Setup We consider a set of K dynamic counterfactual treatment policies, π(1),⋯,π(K), that we wish to evaluate and compare. For each policy π(i), let

a˙1:τ(i)=π1(i)H1,…,πτ(i)Hτ (1)

denote the sequence of counterfactual actions it would assign given the observed history, and let Yπ(i) be the corresponding potential outcome. The conditional average potential outcome (CAPO) for policy π(i) given baseline covariates L1 is defined as ψ(i)=EYπ(i)∣L1.

While each CAPO measures the expected outcome under a single policy, the ultimate quantity that informs a decision between two policies π(i) and π(j) is the difference between their CAPOs. Following the convention (Frauen et al., 2023; Oprescu et al., 2025), we call this difference in CAPOs the conditional average treatment effect (CATE): EYπ(i)∣L1-EYπ(j)∣L1.

We use π to denote a generic counterfactual policy. Throughout, we assume the standard longitudinal causal inference conditions to ensure the identifiability of our target parameters (Shirakawa et al., 2024): (1) Consistency: Y(π)=Y when π*=π; (2) Sequential Ignorability: Y(π)⊥At∣Ht∀t∈{1,…,τ}.; (3) Positivity: ∀t∈{1,…,τ},πHt/π*Ht<∞.

The rest of the section reviews two key methodological building blocks. We first describe ICE G-computation (Sec. 2.1), which constructs plug-in estimates of dynamic treatment effects. We then review LTMLE (Sec. 2.2), a debiasing procedure that corrects the first-order plug-in bias of initial estimators, including those from ICE.

2.1. ICE G-computation

ICE G-computation estimates the CAPO through backward recursion based on the G-computation formula (Robins & Hernan, 2008; Bang & Robins, 2005), which expresses the CAPO as a nested sequence of conditional expectations evaluated under the counterfactual policy π:

ψ=Ea˙1~π1H1Ea˙2~π2H2[…Ea˙τ~πτHτY∣Aτ=a˙τ,Hτ…∣A1=a˙1,L1. (2)

ICE estimates this quantity by breaking down the nested expectation into a series of recursive regression problems, proceeding backward from t=τ to t=1. Define Qτ+1ICE=Y. For each step t=τ,…,1, ICE recursively defines

QtICEAt,Ht=EQt+1ICEπtHt+1,Ht+1∣At,Ht. (3)

The CAPO is then identified as ψ=EQ1ICEπ1H1,H1.

In practice, ICE is implemented by iterating the following two steps from t=τ to 1:

  1. Fit a regression model QtICEAt,Ht to predict the pseudo-outcome Qˆt+1ICEπt+1ht+1,ht+1. At t=τ, the pseudo-outcome is Qˆτ+1ICE=Y by construction.

  2. Generate the pseudo-outcome for the previous step t-1 by imputing the treatment according to the counterfactual policy, yielding QˆtICEπtht,ht.

The final estimate of ψ is obtained by averaging Qˆ1ICEπ1h1,h1 over the sample.

Remark 2.1. We note that the pseudo-outcome at each step is conditioned on the observed history ht+1, not the history altered by π. While this may appear counterintuitive, the pseudo-outcome represents the conditional mean outcome given current history, under the intervention that follows π from t+1 onward. Under the standard assumptions, this conditional expectation is identifiable from the observed data. Further, while this vanilla formulation fits separate QtICE at each time step, modern approaches often employ shared autoregressive architectures, such as LSTM or Transformer, to learn a single time-aware Q-function across all time steps. This implementation stabilizes the entire training process and achieves better finite-sample performance.

2.2. LTMLE

While ICE G-computation provides a plug-in estimator that is consistent under correct nuisance specification, its theoretical guarantees become difficult to maintain when using highly flexible function approximators such as transformers, which may overfit or introduce regularization bias. To safeguard against such inconsistencies, we adopt LTMLE as a subsequent debiasing step.

We consider a nonparametric model class for the nuisance functions (Lin et al., 2026; Li & Gan, 2025). LTMLE corrects first-order bias by updating the initial nuisance estimates so that the influence function (IF) of the target parameter is set to zero in the sample. This yields an estimator that is consistent even when one of the nuisance models (outcome or treatment) is misspecified, and it improves the estimator’s asymptotic normality and efficiency.

Concretely, let the target parameter ψ=Ψ(P) be a functional of the data-generating distribution P. In practice, Ψ(P) depends on nuisance components–in our case, the propensity score and outcome model at each time step. A plug-in estimator Ψ(Pˆ) is obtained by substituting estimates of these nuisances. The error of this estimator can be expanded via a von Mises expansion (Van der Laan et al., 2011; Cho et al., 2024):

ψˆn-ψ0=PnDΨ*P0-PnDΨ*Pˆn⏟plug-in bias+Pn-P0DΨ*Pˆn-DΨ*P0⏟empirical process term+RemPˆn,P0⏟second-order remainder, (4)

where DΨ*(P) is the IF for the target parameter ψ, and Pn,P0 the empirical and true expectation operators, respectively; RemPˆn,P0 is the second-order remainder in the difference between Pˆn and P0. At a high level, LTMLE achieves asymptotic efficiency by eliminating the plug-in bias term through an iterative procedure, while relying on the empirical process and the second-order remainder terms to be opn-1/2. See prior work (Van der Laan et al., 2011; Cho et al., 2024; Li & Gan, 2025; Shirakawa et al., 2024) for a detailed description of this procedure.

The empirical process term is typically controlled through regularity conditions on the nuisance estimators, such as Donsker-type assumptions or sample-splitting procedures (Kosorok, 2008; Van der Laan et al., 2011; Chernozhukov et al., 2018; Newey & Robins, 2018)

The second-order remainder, which captures higher-order interactions between nuisance estimation errors (such as those of the outcome regression and treatment mechanism) must satisfy ∑t=1τπˆt-πt*Qˆt-Qt*=opn-1/2. This condition becomes substantially more demanding as τ grows, because ICE-based Q-estimation propagates errors backward through the recursion. When constructing a CATE estimator as the difference of two CAPO estimates, the remainder bias compounds further, making stable control of this term critical for finite-sample performance. We formalize this statement in Sec. 3.

Our theoretical analysis therefore focuses on the second-order remainder, examining how refinements to ICE G-computation can achieve better-controlled remainder terms and improved robustness. A central challenge arises when estimating CAPO contrasts across multiple treatment policies: to ensure sufficient estimation accuracy for each policy, we must explicitly incorporate a notion of policy “similarity” into the estimation process itself. This allows information to be shared across policies while preserving modeling flexibility. We formalize this approach and its benefits for remainder control in Section 4.

3. Limitation of Current Paradigm

From the recursive definition in Eq. (3), note that QtICE depends on the policy only through its future tail πt+1:τ because it is defined in terms of Qt+1ICE, which in turn depends on πt+2:τ. Consequently, two policies that coincide from time t+1 onward should induce the same QtICE function.

However, existing frameworks generally do not follow this behavior. To estimate the CATE between two policies, these methods (e.g., DeepACE, DeepLTMLE) adopt a separate estimation paradigm: For two policies π(i) and π(i), two full sets of nuisance models are trained independently, which include the outcome and propensity score models at all time steps, and then CATE is obtained by differencing the resulting CAPO estimates. Consequently, the models minimize two different objectives, making the Q-functions implicitly depend on the entire policy trajectories, not only the future tail. (The propensity score model πˆ also implicitly depends on the counterfactual because of the multi-task learning paradigm.) Such a decoupling of nuisance estimation across policies induces unnecessary error in the estimation of Q (and πˆ), inflating bias in CATE estimation.

The following lemma (proof in Appendix B.1) formalizes the statistical consequence of this decoupling by an extreme condition: Even when two counterfactual policies behave identically, the contrast of their second-order remainders, Rem(i),(j)=Rem(i)-Rem(j), generally does not cancel. This lack of structural cancellation implies that CATE may exhibit irregular behavior driven by nuisance estimation, rather than by meaningful policy differences.

Lemma 3.1. Consider the separate estimation paradigm where nuisance models are subject to independent random initialization. Even when two policies behave exactly the same at all steps, the second-order remainder in CATE generally does not cancel, i.e., Rem(i),(j)≠0 almost surely.

4. Methods

This section introduces our method. We first leverage a key structural property of ICE G-computation to reparameterize Q-function such that it enables model sharing across policies (Section 4.1). We then formalize policy distance on RKHS and construct policy representations that preserve these distances (Section 4.2). Finally, we combine these components and propose our model architecture (Section 4.3).

4.1. Reparametrization of Q-Function

Existing methods independently fit separate outcome regressions for each counterfactual policy, which violates a crucial requirement for smooth policy contrasts. To address this, we propose to explicitly parameterize the outcome regression by the future policy tail, shifting this dependency from an implicit to an explicit representation.

Specifically, we redefine the Q-function at time t to condition not only on the current action and history, but also on the remaining policy sequence πt+1:τ:

QtAt,Ht,πt+1:τ=EQt+1πt+1Ht+1,Ht+1,πt+2:τ∣At,Ht,πt+1:τ. (5)

This formulation allows a single model to represent Qt across multiple counterfactual policies, because the policy tail πt+1:τ is now an explicit input.

We show that this reparameterization preserves identification of the target estimand (Proof in Appendix B.2).

Lemma 4.1 (Identification of reparameterized Q-functions). For any policy π(k), the reparameterized outcome regressions Qt⋅,⋅,πt+1:τ(k)t=1τ defined in Eq. (5) identify the same CAPO as standard ICE G-computation. In particular,

EQ1ICEπ1(k)H1,H1=EQ1π1(k)H1,H1,π2:τ(k).

4.2. RKHS-Based Policy Embedding

To enable joint estimation, we represent each policy (function) by a fixed-dimensional vector that captures its behavior relative to other policies. The core idea is to embed policies into a continuous metric space where distances reflect the discrepancy between the distributions of actions they would generate given the observed patient histories. This geometric structure allows the estimation model to share statistical strength across policies that behave similarly, thereby stabilizing the learning process.

Formally, we construct this embedding using the framework of reproducing kernel Hilbert spaces (RKHS). Let ht{ℓ} denote the observed history at time t for individual ℓ. At each time step t, for a policy πt, we apply it to all observed covariates ht{ℓ}ℓ∈[n] to generate a corresponding set of actions. Let zt{ℓ} be the history action pair that is induced by policy πt on individual ℓ, i.e., zt{ℓ}=ht{ℓ},πtht{ℓ}. The pairs zt{ℓ}ℓ∈[n] form an empirical distribution over the space 𝒵t=ℋt×𝒜 that characterizes how the policy behaves on the available data. To quantify similarity between two policies, we measure the distance between their induced empirical distributions using the maximum mean discrepancy (MMD) (Gretton et al., 2012a; Sejdinovic et al., 2013; Chwialkowski et al., 2015; Gretton et al., 2012b). This kernel-based distance equips the space of policies with a metric that respects distributional shape, providing a theoretically well-founded notion of policy dissimilarity.

Since the history ht grows in dimension with t, we define a time-specific characteristic kernel κt:𝒵t×𝒵t→R for each step (we use Gaussian kernels with bandwidths adapted to the dimension of 𝒵t). Let ℱt be the RKHS induced by κt. The mean embedding of the policy πt(i),μt(i), is defined as

μt(i)=1n∑ℓ=1nκt⋅,zt∈ℱt.

Algorithm 1.

RKHS-Based Policy Embedding

1: Input: Dataset Oii=1n, policies π(k)k=1K
2: Output: Policy embeddings ρt(k)k=1Kt=1τ
3: for t=1 to τ do
4:  Initialize K×K distance matrix Dt
5:  for k=1 to K do
6:   Apply πt(k) to Ht to obtain Zt(k)=Ht,a˙t(k)
7:  end for
8:  for i,j∈[K] do
9:   Dt[i,j]←μt(i)-μt(j)ℱt
10:  end for
11:  Normalize Dt by maxDt
12:  Apply metric MDS to Dt to obtain ρt(k)k=1K s.t. ρt(i)-ρt(j)≈μt(i)-μt(j)
13: end for

The squared MMD between policies πt(i) and πt(j) is then the squared RKHS distance between their embeddings

MMD2πt(i),πt(j)=μt(i)-μt(j)ℱt.

Given a set of K counterfactual policies, we compute, for each time t, all pairwise MMD distances using κt, resulting in a symmetric distance matrix Dt∈RK×K with entries Dt[i,j]=MMD2πt(i),πt(j).

To obtain a fixed-dimensional vector representation suitable for neural-network input, we apply metric multidimensional scaling (MDS) (Kruskal, 1964) to each matrix Dt. Let d be the dimension of the low-dimensional representation, then MDS finds ρt(i)∈Rd that preserve the original MMD geometry as closely as possible:

ρt(i)-ρt(j)2≈Dt[i,j].

Formally, MDS solves the following optimization problem

minρt(1),…,ρt(K)∈Rd∑i<jDt[i,j]-ρt(i)-ρt(j)22. (6)

This optimization problem is solved by the SMACOF algorithms (Borg & Groenen, 2005).

These precomputed policy embeddings ρt(i) serve as structured, continuous representations of each policy’s behavioral profile (Appendix C.7 provides empirical analyses of the embeddings). By supplying them as inputs to our architecture (Sec. 4.3), the model can explicitly leverage the metric relationships among policies, enabling stable joint estimation through shared representation learning.

4.3. Our Architecture: PEQ-Net

Building on the policy embeddings described above, we now detail how these structured representations enable joint learning across policies. Algorithm 2 summarizes the training procedure of PEQ-Net. The core design trains a single shared set of outcome and propensity models across all K counterfactual policies, and the outcome regression is explicitly conditioned on the policy-tail embedding ρ~ρt+1(i).

Architecture

We adopt the decoder-only Transformer architecture from DeepLTMLE as the backbone (Shirakawa et al., 2024). Inputs are first passed through a type-embedding layer distinguishing covariates L, treatment A, and outcome Y, and combined with positional encodings. The resulting sequence is processed by a Transformer block ϕHt,At, whose output feeds into a G-head for propensity estimation and a Q-head for outcome regression.

Although our notation distinguishes the time-indexed models Qt,Gtt=1τ, we implement these functions by the same Q-head and G-head with shared parameters. At step t,G has access to Ht, while Q has access to Ht,At; this is enforced by masking future variables in the input sequence.

Algorithm 2.

PEQ-Net Training

1: Input: Training Data Oii=1n; counterfactual policies π(k)k=1K with corresponding treatments a˙1:τ(k)k=1K defined in Eq (1); embedding ρt(k)k=1Kt=1τ; target network coefficient β.
2: Output: parameter θ
3: Initialize model blocks q,g,ϕ,ρ~, with parameters θ
4: for batch = 1,…,B do
5:  Qτ+1=Y
6:  for t=1,…,τ do
7:   for k=1,…,K do
8:    G-comp target generation using target network θ′:Qˆt+1(k)a˙t+1(k),Ht+1=qθ′ϕθ′Ht+1,a˙t+1(k),ρ~θ′ρt+2:τ(k)
9:    G-comp prediction using current network θ:Qt(k)At,Ht=qθϕθHt,At;ρ~θρt+1:τ(k)ℒtQ,(k)=ℒmseQt(k)At,Ht,Qˆt+1(k)a˙t+1(k),Ht+1
10:   end for
11:   GHt=gϕHt
12:   ℒtG=ℒbceGHt,At
13:  end for
14:  ℒ(θ)=∑t=1τℒtG+∑k=1KℒtQ,(k)
15:  θ←θ-η∇θL
16:  θ′←β⋅θ+(1-β)⋅θ′
17: end for

To condition Q on future policies, we introduce a policy-tail encoder ρ~ that aggregates the per-time-step policy embeddings ρt+1:τ. We implement ρ~ as an RNN operating backward in time, mapping ρt+1:τ to a fixed-dimensional embedding ρ~ρt+1:τ∈Rp, which is concatenated with the Transformer block representation and passed to the Q-head, yielding the reparameterized outcome model

Qt=qϕHt,At,ρ~ρt+1:τ.

Training

Training follows Algorithm 2. At each time step t and for each counterfactual policy k, we first generate ICE G-computation targets by evaluating the shared outcome model at the next time step under the counterfactual action a˙t+1(k) (Lines 8–9). The outcome model is then updated by minimizing a mean squared error loss between the current prediction and the generated target (Lines 10–12).

To stabilize training, we introduce a lagged target network. Specifically, we maintain a slowly updated copy of the parameters θ′ and use it to compute the regression target Qˆt+1, while updating θ via gradient descent. The target network is updated using Polyak averaging θ′←βθ+(1-β)θ′ after each batch, which reduces the moving-target issue by decoupling target generation from parameter updates. We set β=0.005 throughout.

The treatment model is trained in parallel using a binary cross-entropy loss on observed actions (Lines 14–15). All losses are summed across time steps and counterfactual policies to form the final training objective.

Inference

After training, we evaluate each counterfactual policy independently using a one-step LTMLE update on a held-out evaluation set. The learned outcome and treatment models provide initial nuisance estimates, which are then targeted using regularized longitudinal TMLE (Bibaut et al., 2019; Shirakawa et al., 2024) (Appendices A.1 and A.2).

Guarantee

The next theorem analyzes how the second-order remainder behaves as policies vary (Proof in Appendix B.6). To formalize policy similarity, we measure policy distance at the trajectory level using the MMD between policy-induced trajectory distributions, defined on a product RKHS ℱ1:τ (Appendix B.3).

Theorem 4.2 (Lipschitz control of the CATE second-order remainder). Suppose the parameterized outcome model and the policy encoder are Lipschitz in their respective inputs, and that the true outcome model and the policy-induced density product are Lipschitz continuous with respect to policy-induced trajectory distributions (detailed in Assumption B.2). Then there exists a finite constant LR<∞ such that the magnitude of the second-order remainder in the CATE policy contrast is controlled by the trajectory-level policy distance: Rem(i),(j)≤LRμ1:τ(i)-μ1:τ(j)ℱ1:τ.

This control of the remainder mitigates spurious non-smooth behavior that arise in the separate estimation paradigm. The Lipschitz condition on the parametrized outcome model and policy encoder are standard in machine learning. The smooth condition of true outcome models is mild, ensuring that counterfactual outcomes vary smoothly for small changes in the policy. The regularity condition on policy-induced density product ensures that it varies smoothly with the policy, preventing small policy changes from being amplified multiplicatively over time. We empirically validate this control through numerical experiments.

5. Experiments

We evaluate PEQ-Net on semi-synthetic datasets derived from MIMIC-III (Johnson et al., 2016), a real-world clinical dataset. Section 5.1 outlines the experimental setup. Section 5.2 demonstrates that PEQ-Net consistently reduces bias and variance, and Section 5.3 presents ablation studies.

5.1. Setup

Baselines

We compare PEQ-Net against longitudinal CATE estimators based on ICE G-computation. Specifically, we include (1) ICE G-computation with Super Learner, (2) LTMLE with Super Learner, (3) DeepACE, and (4) DeepLTMLE, which represent increasing levels of modeling flexibility within this paradigm. See Appendix C.3 for implementation details.

Datasets

We first adopt the semi-synthetic data-generating process (DGP) introduced in DeepACE, which includes 10 time-varying real-world measurements in MIMIC-III, along with synthesized treatment assignments and outcomes. In this setting, treatment does not affect time-varying covariates, but only the intermediate outcomes, which induces a limited treatment-confoundeder feedback loop. We then extend this DGP by introducing five additional synthesized time-varying covariates that both influence and are influenced by treatment, resulting in a expanded treatment–confounder feedback structure. Detailed descriptions of both DGPs are provided in Appendix C.1.

For each DGP, we sample N=1000 patient trajectories from the MIMIC-III dataset, and then synthesize data based on the real-world observed covariates over τ=15 time steps. We use 800 trajectories for training and 200 for validation to select optimal hyperparameters (See Appendix C.4). The selected hyperparameters are then used to retrain the nuisance models on the combined set of 1000 trajectories. Final CATE estimates are obtained by applying the retrained nuisance models to the same 1000 trajectories.

Counterfactual Policy

We consider two classes of counterfactuals:

  1. deterministic treatment sequences, which are standard for benchmarking in the longitudinal CATE literature and supported by all baseline methods.

  2. dynamic treatment policies, which map observed histories to treatment decisions.

Most baselines are designed for (a), while PEQ-Net accommodates both (a) and (b). Accordingly, we evaluate the two classes separately.

For (a), we follow the setup of DeepACE and evaluate all baselines on three counterfactual settings of this class. In this case, we bypass the MDS step and directly input the deterministic sequence into the policy encoder, treating it as a degenerate policy embedding.

For (b), we restrict comparisons to DeepLTMLE, which is designed to handle dynamic policies without architectural changes. We consider two scenarios with different levels of policy similarity: (1) policies differ only in the early steps and coincide thereafter, creating substantial structural overlap; and (2) policies differ at every step, eliminating trivial overlap and serving as a stress test for policy-aware representation learning. Detailed counterfactual setups are provided in Appendix C.2.

For each method and counterfactual setting, we repeat 20 experiments on data generated with different random seeds, and then report the absolute bias and root mean squared error (RMSE) between the estimated and true CATE.

5.2. Results

Tables 1 and 2 summarize performance across DGPs and counterfactual types. PEQ-Net consistently achieves the lowest bias and RMSE. Despite sharing the same backbone with DeepLTMLE, PEQ-Net yields substantial error reductions across counterfactuals, highlighting the benefit of policy-aware model sharing.

Table 1.

Results on semi-synthetic DGPs with counterfactuals of deterministic sequences.

Model Limited Time-varying Confounding Expanded Time-varying Confounding
Bias RMSE Bias RMSE
CF 1a CF 2a CF 3a CF 1a CF 2a CF 3a CF 1a CF 2a CF 3a CF 1a CF 2a CF 3a
G-comp (sl.) 1.62±1.19 1.31±1.06 1.73± 0.90 1.99 1.67 1.94 1.64± 0.90 1.04 ± 1.26 1.58 ± 0.83 1.86 1.60 1.78
LTMLE (sl.) 2.92±1.54 3.66±1.95 1.92± 1.61 3.28 4.12 2.47 1.89± 1.51 2.41± 2.06 2.41± 1.47 2.40 3.13 2.80
DeepACE 2.15±0.51 0.51±0.47 1.98±0.77 2.21 0.69 2.12 2.42±0.45 0.49±0.26 2.21±0.52 2.46 0.55 2.26
D.LTMLE 0.77±0.61 0.71±0.61 0.93±0.97 0.97 0.92 1.33 0.81±0.75 1.13±0.88 0.58±0.58 1.09 1.42 0.81
PEQ-Net 0.53±0.38 0.26±0.22 0.21±0.18 0.65 0.34 0.27 0.63±0.37 0.20±0.15 0.26±0.22 0.72 0.25 0.34

Table 2.

Results on counterfactuals of dynamic treatment policy.

DGP Model Policies differ only in the first two steps Policies differ in all steps
Bias RMSE Bias RMSE
CF 1b CF 2b CF 1b CF 2b CF 1c CF 2c CF 1c CF 2c
Limited D.LTMLE 0.0998±0.0780 0.1006±0.1068 0.1255 0.1448 0.2276± 0.1538 0.2310 ± 0.1357 0.2725 0.2662
PEQ-Net 0.0015±0.0021 0.0132±0.0070 0.0026 0.0148 0.0969 ± 0.0761 0.1421 ± 0.0757 0.1220 0.1601
Expanded D.LTMLE 0.1024±0.0825 0.1386±0.1208 0.1302 0.1818 0.2986± 0.2227 0.4320±0.2492 0.3692 0.4956
PEQ-Net 0.0003±0.0001 0.0030±0.0017 0.0003 0.0034 0.1130 ± 0.0883 0.2530 ± 0.1012 0.1420 0.2715

5.3. Ablation Study

Improvement in ICE G-computation

(Q) Our final estimator uses LTMLE, which depends on both the outcome regression (Q) and the treatment model (G). To isolate the contribution of the proposed policy encoder to the learned Q-functions, we remove the LTMLE targeting update for both DeepLTMLE and PEQ-Net and report CATE estimates directly from the fitted Q. Tables C.2 and C.3 in Appendix C.5 show that PEQ-Net continues to outperform DeepLTMLE under this ICE-only evaluation, indicating that the primary improvement is attributable to the outcome regression Q, rather than to reduced variance from the treatment model G.

Alternative multi-policy evaluation strategy

Beyond fully separate estimation, two natural parameter-sharing alternatives for multi-policy evaluation are: (1) learning a shared backbone and subsequently fine-tuning it independently for each target policy, and (2) learning a model with a shared backbone and multiple Q-heads, where each policy is associated with a dedicated Q-head. We evaluate these alternatives using DeepLTMLE as the base estimator (see Appendix C.6 for implementation details).

Figure 2 shows that both strategies improve over fully separate estimation, suggesting that sharing parameters across policies can reduce estimation variance. Notably, the multi-Q-head variant outperforms independent fine-tuning, indicating that jointly training within a unified model is more effective than adapting separate models after pretraining. Nevertheless, the proposed PEQ-Net achieves substantially lower RMSE than both alternatives. These results indicate that the improvement from PEQ-Net is not solely due to parameter-sharing, but arises from leveraging structured similarities between policies via the embedding.

Figure 2.

Figure 2.

Ablation: PEQ-Net, Fine-tuning, Multi-Q-Head

Joint training with dissimilar policies

PEQ-Net leverages structural similarity across policies to mitigate finite-sample variance inflation. To examine its behavior when this assumption is weakened, we additionally train PEQ-Net on policy sets containing extreme policies (thresholds 0 and 1), corresponding to “always treat” and “never treat”, which are structurally dissimilar to intermediate threshold policies in the main results (Table 2). Experiment details are provided in Appendix C.2.

Table 3 shows that including both similar and dissimilar policies (i.e., {0, 0.4, 0.5, 0.6, 1}) does not consistently improve or degrade performance compared to smaller or more targeted configurations. Nevertheless, across all counterfactuals, PEQ-Net consistently outperforms DeepLTMLE under all training configurations. This suggests that the proposed policy embedding enables effective information sharing even when the policy set includes structurally dissimilar elements, providing robust gains over baselines without requiring careful selection of similar policies.

Table 3.

Performance under joint training with dissimilar policies. CF 1c, 2c, 3c, and 4c compare the baseline policy (threshold 0.5) against counterfactual policies with thresholds 0.4, 0.6, 0, and 1, respectively. PEQ-Net is trained on different policy sets to evaluate robustness to structurally dissimilar policies.

Model Bias RMSE
CF 1c CF 2c CF 1c CF 2c
D.LTMLE 0.30±0.22 0.43±0.25 0.37 0.50
PEQ (joint: 0.4, 0.5, 0.6) 0.11±0.09 0.25±0.10 0.14 0.27
PEQ (joint: 0, 0.4, 0.5, 0.6, 1) 0.14±0.11 0.11±0.09 0.18 0.14
CF 3c CF 4c CF 3c CF 4c
D.LTMLE 0.98±1.52 1.66±1.92 1.77 2.51
PEQ (joint: 0, 0.5, 1) 0.63±0.21 0.64±0.32 0.66 0.71
PEQ (joint: 0, 0.4, 0.5, 0.6, 1) 0.96±0.31 0.86±0.72 1.01 1.11

Overall, PEQ-Net is not limited to highly similar policies, but its advantage is the strongest when policies share sufficient structure. This aligns with our target application in retrospective policy evaluation and clinical hypothesis generation, where candidate policies are typically conservative and closely related. Grouping policies by similarity or adaptively controlling information sharing is an interesting direction for future work.

Scalability

The policy embedding in PEQ-Net relies on pairwise MMD computations, which introduce a quadratic dependence on both the number of policies K and the sample size N. Let d denote the feature dimension per time step and τ the horizon. The overall cost consists of: (i) an outer loop over policy pairs and time steps with complexity OK2τ, and (ii) an inner kernel-based MMD computation at each time step with cost ON2dt. In the worst case, this results in a total complexity of OK2N2τ2d for constructing the policy distance matrix.

Empirically, we observe a clear quadratic scaling with respect to the number of policies K (Table C.5), consistent with the theoretical analysis. In practice, however, K is typically moderate in clinical OPE settings (K≪N), where policies correspond to a small number of expert-defined, interpretable treatment strategies. Moreover, the outer loop over policy pairs and time steps is also easily parallelizable.

The dependence on N is the primary computational bottleneck, a limitation shared by kernel-based methods more broadly. A wide range of standard approximation techniques Williams & Seeger (2000); Rahimi & Recht (2007); Rudi et al. (2017) can reduce the ON2 complexity to near-linear or sub-quadratic complexity and can be incorporated into our framework.

5.4. Real-world Case Study

We applied PEQ-Net to a real-world cohort of sepsis patients with hypotension from the MIMIC-IV database to estimate the CATE of alternative vasopressor weaning strategies. The cohort includes 999 adult ICU patients who met Sepsis-3 criteria, developed hypotension (MAP ≤ 65 mmHg), and initiated vasopressor therapy within the first 24 hours of admission. The outcome of interest is serum lactate measured at 72 hours, a clinically relevant marker of tissue hypoperfusion in sepsis (Nguyen et al., 2010).

We considered four counterfactual policies defined by discontinuing vasopressors once MAP was maintained at or above 65, 70, 75, or 80 mmHg for 12 consecutive hours. Figure 3 reports CAPO estimates with 95% confidence intervals based on the estimated influence function. The results exhibit a consistent trend: higher MAP targets (more aggressive vasopressor use) are associated with higher lactate levels at 72 hours, although the estimated effects are modest. This pattern is consistent with a randomized control trial that reports no survival benefit from higher MAP targets (Asfar et al., 2014) and aligns directionally with current guideline recommendations to avoid unnecessary vasopressor exposure (Evans et al., 2021).

Figure 3.

Figure 3.

Higher MAP target associated with higher lactate level

6. Conclusion

We identify a structural limitation of the prevailing separate estimation paradigm for longitudinal CATE estimation, in which independent nuisance fitting across counterfactual policies leads to finite-sample variance inflation. Leveraging the structure of ICE G-computation, we propose a policy-aware outcome reparameterization that enables principled model sharing across policies while preserving identification. Our approach yields a substantial reduction in RMSE.

Figure 1.

Figure 1.

Illustration of the PEQ-Net. Step 1 computes per-step policy embeddings using pairwise MMD distances followed by MDS. Step 2 aggregates the resulting embeddings with a policy encoder and conditions the shared Q-functions on the encoded policy representation.

Impact Statement.

This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none of which we feel must be specifically highlighted here.

Acknowledgment

We thank Xintong Li for her contributions to MIMIC-III data processing and the reproduction of the MIMIC-Extract data extraction pipeline, and thank Zhenxing Xu for his contribution to MIMIC-IV data processing. We also thank Diyang Li for assistance with the theoretical derivations. This work utilized computing resources provided by AWS. We would also like to acknowledge the support from NSF 2212175, NIH RF1AG072449, RF1AG084178, R01AG080991, R01AG080624, R01AG076448, R01AG076234, and R01NS140142.

A. Algorithms

A.1. Inference

Algorithm 3.

PEQ-Net Inference

1: Input: Evaluation Data Oii=1m; Prespecified counterfactual sequences π(k)k=1K; Learned model blocks q,g,ϕ,ρ, with parameters θ.
2: Output: ψˆ(k) for k=1,…,K
3: for k=1,…,K do
4:  for t=1 to τ do
5:   Qt(k)At,Ht=qϕHt,At;ρ~ρt+1:τ(k)
6:   Gt=gϕHt
7:  end for
8:  ψˆ(k)=LTMLEOii=1m;Qt(k)t=1τ;Gtt=1τ
9: end for

A.2. LTMLE

Algorithm 4.

LTMLE

1: Input: Dataset Oii=1n; Initial estimates of Qt and πˆt for t=1,…,τ; L1 regularization coefficient: λ.
2: Output: CAPO estimate ψˆn=PnQ1,ϵ1a˙1,H1
3: Initialize Qτ+1=Y,ϵτ+1=0
4: Initialize submodel:
logitQt,ϵt=logitQt+ϵt
and loss function
Ltϵt=∏s=1t1As=a˙sa˙s⋅πˆsHs+1-a˙s1-πˆsHsℒbceQt,ϵtAt,Ht,Qt+1,ϵt+1a˙t+1,Ht+1
5:
6: for t=τ to 1 do
7:  ϵt←arg minϵtPnLtϵt+λϵt
8: end for

B. Theory and Proof

B.1. Proof of Lemma 3.1

Lemma 3.1. Consider the separate estimation paradigm where nuisance models are subject to independent random initialization. Even when two policies behave exactly the same at all steps, the second-order remainder in CATE generally does not cancel, i.e., Rem(i),(j)≠0 almost surely.

Proof. Notation. For time s, let Qs(i),*As,Hs and Qˆs(i)As,Hs denote the true and estimated outcome model under policy π(i), and let πs*Hs and πˆsHs denote the true and estimated propensity scores. Define the corresponding behavioral densities

ηs*As,Hs=Asπs*Hs+1-As1-πs*Hs,ηˆsAs,Hs=AsπˆsHs+1-As1-πˆsHs.

The true behavioral density ηs* is invariant to the choice of counterfactual policy. However, under the separate estimation paradigm, nuisance models are refit independently for each policy. We therefore denote by ηˆs[i] the behavioral density estimate obtained from the nuisance estimation run associated with policy π(i).

For a counterfactual policy πs(i), define the induced counterfactual density: ηs(i)As,Hs=1As=πs(i)Hs.

To avoid ambiguity, note that ηˆs[i] denotes an estimate of the behavioral density, whereas ηs(i) is fully determined by the counterfactual policy.

Define the following error and weight terms:

  • Propensity error: ξG,s[i]=ηˆs[i]-ηs*,

  • Outcome error: ξQ,s(i)=Qˆs(i)-Qs(i),*,

  • Cumulative weight: Cs(i)=∏r=1s-1ηr(i)ηˆr(i),

  • Importance weight: Ws(i)=Cs(i)ηs(i)ηs*ηˆs[i]=1ηs*∏r=1sηr(i)ηˆr[i].

Analogous definitions apply for policy π(j).

Remainder representation.

By Lemma 1 of Díaz et al. (2023), the second-order remainder of the CAPO estimator under policy π(k) admits the representation

Rem(k)=∑s=1τ-1ERs(k)As,Hs,

where

Rs(k)=Cs(k)ηs(k)ηˆs[k]-ηs(k)ηs*Qˆs(k)-Qs(k),*.

Since the CATE is defined as the difference between two CAPO estimators, its second-order remainder is

Rem(i),(j)=∑s=1τ-1ERs(i)As,Hs-Rs(j)As,Hs.

Decomposition.

For a fixed time step s, algebraic manipulation yields

Rs(i)-Rs(j)=Cs(i)⋅ηs(i)ηˆs[i]-ηs(i)ηs*⋅Qˆs(i)-Qs(i),*-Cs(j)⋅ηs(j)ηˆs[j]-ηs(j)ηs*⋅Qˆs(j)-Qs(j),*=Cs(i)ηs(i)ηs*ηˆs[i]ηs*-ηˆs[i]Qˆs(i)-Qs(i),*-Cs(j)ηs(j)ηs*ηˆs[j]ηs*-ηˆs[j]Qˆs(j)-Qs(j),*=Ws(i)ξG,s[i]ξQ,s(i)-Ws(j)ξG,s[j]ξQ,s(j)=Ws(i)ξG,s[i]ξQ,s(i)-Ws(j)ξG,s[i]ξQ,s(i)+Ws(j)ξG,s[i]ξQ,s(i)-Ws(j)ξG,s[j]ξQ,s(j)=Ws(i)-Ws(j)ξG,s[i]ξQ,s(i)+Ws(j)ξG,s[i]ξQ,s(i)-ξG,s[j]ξQ,s(j)=Ws(i)-Ws(j)ξG,s[i]ξQ,s(i)+Ws(j)ξG,s[i]ξQ,s(i)-ξG,s[j]ξQ,s(i)+ξG,s[j]ξQ,s(i)-ξG,s[j]ξQ,s(j)=Ws(i)-Ws(j)ξG,s[i]ξQ,s(i)⏟Term I+Ws(j)ξQ,s(i)ξG,s[i]-ξG,s[j]⏟Term II+Ws(j)ξG,s[j]ξQ,s(i)-ξQ,s(j)⏟Term III (7)
Non-vanishing under identical policies.

Assume π(i)=π(j), so that ηs(i)=ηs(j)=ηs for all s. Under the separate estimation paradigm, nuisance models are initialized and optimized independently, implying that

ηˆs[i]≠ηˆs[j]andQˆs(i)≠Qˆs(j)

almost surely for at least one s.

We now show that each term above is non-zero almost surely.

  • Term I: Since ηˆs[i]≠ηˆs[j],Ws(i)-Ws(j)=∏r=1sηrηs*∏r=1s1ηˆr[i]-∏r=1s1ηˆr[j]≠0.

  • Term II: ξG,s[i]-ξG,s[j]=ηˆs[i]-ηˆs[j]≠0.

  • Term III: ξQ,s(i)-ξQ,s(j)=Qˆs(i)-Qˆs(j)≠0.

Conclusion.

The second-order remainder of the CATE estimator is the sum of three non-vanishing terms. Although these terms depend on common nuisance estimates, they are functionally distinct. There is therefore no structural mechanism that enforces exact cancellation among them. Consequently,

Rem(i),(j)≠0almost surely,

which completes the proof. □

B.2. Proof of Lemma 4.1

Lemma 4.1 (Identification of reparameterized Q-functions). For any policy π(k), the reparameterized outcome regressions Qt⋅,⋅,πt+1:τ(k)t=1τ defined in Eq. (5) identify the same CAPO as standard ICE G-computation. In particular,

EQ1ICEπ1(k)H1,H1=EQ1π1(k)H1,H1,π2:τ(k).

Proof. We show that the reparameterized Q-functions coincide pointwise with the standard ICE Q-functions, and therefore identify the same target parameter.

Terminal step (t=τ).

At the final time step, there is no future policy tail. By definition,

QτAτ,Hτ,∅=EY∣Aτ,Hτ=QτICEAτ,Hτ, (8)

so the two definitions agree.

Inductive argument.

Fix a deterministic counterfactual policy π(k). We proceed by backward induction on t∈{τ-1,…,1}.

Base case (t=τ-1).

By the reparameterized definition,

Qτ-1Aτ-1,Hτ-1,πτ(k)=EQτπτ(k)Hτ,Hτ,∅∣Aτ-1,Hτ-1,πτ(k)=EQτπτ(k)Hτ,Hτ∣Aτ-1,Hτ-1=EQτICEπτ(k)Hτ,Hτ∣Aτ-1,Hτ-1=Qτ-1ICEAτ-1,Hτ-1.

The second equality follows because πτ(k) is deterministic and Qτ(⋅,⋅) is the true outcome regression; conditioning on the fixed policy does not alter the conditional expectation given Aτ-1,Hτ-1. The third equality uses Eq.(8).

Inductive step.

Assume that for some t+1≤τ-1,

Qt+1At+1,Ht+1,πt+2:τ(k)=Qt+1ICEAt+1,Ht+1

Then

QtAt,Ht,πt+1:τ(k)=EQt+1πt+1(k)Ht+1,Ht+1,πt+2:τ(k)∣At,Ht,πt+1:τ(k)=EQt+1ICEπt+1(k)Ht+1,Ht+1∣At,Ht,πt+1:τ(k)=EQt+1ICEπt+1(k)Ht+1,Ht+1∣At,Ht=QtICEAt,Ht,

where the second equality uses the inductive hypothesis and the third equality uses the determinism of πt+1(k).

By induction, the two constructions coincide for all t=1,…,τ. Evaluating at a˙1(k),H1 and taking expectations yields the claimed equality of target parameters. □

B.3. Definition of Trajectory-level MMD

For a policy sequence π1:t, the induced policy trajectory distribution is defined on the product space 𝒵1×⋯×𝒵t. We equip this space with the product kernel ∏r=1tk⋅,zr, which induces the product RKHS ℱ1:t=⨂r=1tℱr. The corresponding mean embedding can be represented as:

μ1:t=Ez1~P1,…,zt~Pt∏r=1tk⋅,zr∈ℱ1:t.

Distances between policy sequences can then be measured by the MMD between their trajectory-level mean embeddings, μ1:t(i)-μ1:t(j)ℱ1:t, computed analogously to the single-step case.

B.4. MMD analysis of policy sequences

Lemma B.1. Let k be a normalized Gaussian kernel, i.e., 0<k(⋅,⋅)≤1 and k(z,z)=1. For any subsequence interval 1≤m≤n≤τ, there exists a constant C>0 such that

μm:n(i)-μm:n(j)ℱm:n≤C⋅μ1:τ(i)-μ1:τ(j)ℱ1:τ.

Proof. Fix 1≤m≤n≤τ and two policies π(i),π(j). Write P1:τ(i) and P1:τ(j) for the trajectory distributions of Z1:τ∈𝒵1×⋯×𝒵τ induced by π(i) and π(j), respectively, and let Pm:n(i),Pm:n(j) denote the corresponding marginals on 𝒵m×⋯×𝒵n. Let μ1:τ(i),μ1:τ(j)∈ℱ1:τ and μm:n(i),μm:n(j)∈ℱm:n be the associated mean embeddings under the product kernels.

We first note a uniform boundedness property implied by normalization. For any distribution P on a space 𝒵 with RKHS ℱ induced by k, the mean embedding μP=EZ~P[k(⋅,Z)] satisfies

μPℱ2=EZ[k(⋅,Z)],EZ′k⋅,Z′ℱ=EZ,Z′~PkZ,Z′≤EZ~P[k(Z,Z)]=1,

where the second equality follows from the reproducing property of the RKHS, and the inequality uses kZ,Z′≤1. Thus μPℱ≤1, and by the triangle inequality,

μP-μQℱ≤μPℱ+μQℱ≤2for anyP,Q. (9)

The same argument applies to the product RKHS ℱm:n induced by the product kernel km:nzm:n,zm:n′=∏t=mnk𝒵tzt,zt′, since 0<km:n≤1 and km:n(z,z)=1.

We now consider two cases.

Case 1: μ1:τ(i)-μ1:τ(j)ℱ1:τ=0. Because Gaussian kernels are characteristic, the product Gaussian kernel on 𝒵1×⋯×𝒵τ is also characteristic, hence

μ1:τ(i)-μ1:τ(j)ℱ1:τ=0⟹P1:τ(i)=P1:τ(j).

Equality of the joint distributions implies equality of all marginals, so Pm:n(i)=Pm:n(j). Applying characteristicness again on 𝒵m×⋯×𝒵n yields

Pm:n(i)=Pm:n(j)⟹μm:n(i)-μm:n(j)ℱm:n=0.

Therefore the desired inequality holds for any C>0 (e.g., take C=1).

Case 2: μ1:τ(i)-μ1:τ(j)ℱ1:τ>0. Define

C:=μm:n(i)-μm:n(j)ℱm:nμ1:τ(i)-μ1:τ(j)ℱ1:τ.

Then by construction,

μm:n(i)-μm:n(j)ℱm:n=C⋅μ1:τ(i)-μ1:τ(j)ℱ1:τ.

Moreover, C is finite because the numerator is bounded by 2 via Eq. (9), while the denominator is strictly positive in this case. Hence, there exists a finite constant C>0 satisfying the claimed inequality.

Combining the two cases completes the proof. □

B.5. Assumption

Assumption B.2 (Regularity). We assume the true outcome model Qt* and the counterfactual density product ∏r=1tηr (definition in Appendix B.1) are Lipschitz continuous with respect to the MMD between policy-induced distributions of their relevant sub-trajectory. That is, for any two policies π(i),π(j) and any time t, there exist constants LQ,Lη<∞ such that:

Qt(i),*-Qt(j),*2≤LQμt+1:τ(i)-μt+1:τ(j)ℱt+1:τ, (10)
∏r=1tηr(i)-∏r=1tηr(j)2≤Lημ1:t(i)-μ1:t(j)ℱ1:t. (11)

B.6. Proof of Theorem 4.2

Theorem 4.2 (Lipschitz control of the CATE second-order remainder). Suppose the parameterized outcome model and the policy encoder are Lipschitz in their respective inputs, and that the true outcome model and the policy-induced density product are Lipschitz continuous with respect to policy-induced trajectory distributions (detailed in Assumption B.2). Then there exists a finite constant LR<∞ such that the magnitude of the second-order remainder in the CATE policy contrast is controlled by the trajectory-level policy distance: Rem(i),(j)≤LRμ1:τ(i)-μ1:τ(j)ℱ1:τ.

Proof. We bound each component of Rem(i),(j) in the decomposition(Eq. (7)).

  • Term I: By Cauchy–Schwarz, Ws(i)-Ws(j)ξG,s[i]ξQ,s(i)≤Ws(i)-Ws(j)2ξG,s[i]ξQ,s(i)2.

    Using the shared estimate ηˆr and factoring common terms,
    Ws(i)-Ws(j)2=1ηs*∏r=1sηr(i)ηˆr-1ηs*∏r=1sηr(j)ηˆr2=1ηs*∏r=1s1ηˆr∏r=1sηr(i)-∏r=1sηr(j)2≤1ηs*∏r=1s1ηˆr2∏r=1sηr(i)-∏r=1sηr(j)2.
    By Assumption B.2 (Eq. (11)),
    ∏r=1sηr(i)-∏r=1sηr(j)2≤Lημ1:s(i)-μ1:s(j)ℱ1:s.
    Applying Lemma B.1 yields μ1:s(i)-μ1:s(j)ℱ1:s≤Cμ1:τ(i)-μ1:τ(j)ℱ1:τ. Therefore, there exists a finite constant C1 such that
    Ws(i)-Ws(j)ξG,s[i]ξQ,s(i)≤C1μ1:τ(i)-μ1:τ(j)ℱ1:τ.
  • Term II: Under the shared modeling paradigm, the estimated treatment mechanism is identical across counterfactual policies, i.e., ξG,s(i)=ξG,s(j). Hence this term vanishes:
    Ws(j)ξQ,s(i)ξG,s(i)-ξG,s(j)=0.
  • Term III: The final LTMLE step updates the initial estimate Qˆs(k) to a targeted estimate Qˆs(k),ϵ by solving the score equation. We note that under the strict positivity assumption, the fluctuation magnitude ϵ is bounded. Hence, this bounded update preserves the local geometry of the initial estimate. Therefore, the continuity of the targeted estimate is controlled by the continuity of the initial neural network output:
    ∃Cϵ<∞,Qˆs(i),ϵi-Qˆs(j),ϵj2≤CϵQˆs(i)-Qˆs(j)2. (12)

This allows us to rely on the Lipschitz architecture of the initial Qˆ to control Term III. Then, by Cauchy–Schwarz and the triangle inequality,

Ws(j)ξG,s(j)ξQ,s(i)-ξQ,s(j)≤Ws(j)ξG,s(j)2Qˆs(i),ϵi-Qˆs(j),ϵj2+Qs(i),*-Qs(j),*2≤Ws(j)ξG,s(j)2CϵQˆs(i)-Qˆs(j)2+Qs(i),*-Qs(j),*2.

We next bound Qˆs(i)-Qˆs(j)2 in terms of the trajectory-level policy distance. By assumption, the parameterized outcome model is Lipschitz in the policy embedding, ρ~ρs+1:τ(k), we have

Qˆs(i)-Qˆs(j)2≤LQˆρ~ρs+1:τ(i)-ρ~ρs+1:τ(j)2. (13)

Moreover, the policy encoder ρ~ is Lipschitz in its sequential inputs, so

ρ~ρs+1:τ(i)-ρ~ρs+1:τ(j)2≤Lρ~∑r=s+1τρr(i)-ρr(j)2. (14)

By construction of the per-time-step policy embedding, the embedding distance recovers the single-step MMD distance, i.e.,

ρr(i)-ρr(j)2=μr(i)-μr(j)ℱrfor eachr∈{1,…,τ}. (15)

Combining (13)–(15) yields

Qˆs(i)-Qˆs(j)2≤LQˆLρ~∑r=s+1τμr(i)-μr(j)ℱr.

Finally, we lift each single-step distance to the full trajectory distance using Lemma B.1 with the interval m=n=r, which gives a constant C such that for all r,

μr(i)-μr(j)ℱr≤Cμ1:τ(i)-μ1:τ(j)ℱ1:τ.

Therefore,

Qˆs(i)-Qˆs(j)2≤LQˆLρ~(τ-s)Cμ1:τ(i)-μ1:τ(j)ℱ1:τ. (16)

For the true outcome model difference Qs(i),*-Qs(j),*2, Assumption B.5 (Eq. (10)) together with Lemma B.1 yields

Qs(i),*-Qs(j),*2≤LQμs+1:τ(i)-μs+1:τ(j)ℱs+1:τ≤LQCμ1:τ(i)-μ1:τ(j)ℱ1:τ.

Substituting the above bounds into the display at the beginning of Term III shows that

Ws(j)ξG,s(j)ξQ,s(i)-ξQ,s(j)≤C3μ1:τ(i)-μ1:τ(j)ℱ1:τ

for some finite constant C3.

Conclusion.

Summing over s in Eq. (7), Term II is identically zero and Terms I and III are each bounded by a finite constant multiple of μ1:τ(i)-μ1:τ(j)ℱ1:τ. Therefore, there exists LR<∞ such that

Rem(i),(j)≤LRμ1:τ(i)-μ1:τ(j)ℱ1:τ,

which completes the proof. □

C. Experiment Setting

C.1. Semi-Synthetic Data DGP

Limited Semi-synthetic DGP

We adopt the semi-synthetic DGP from DeepACE. Using the preprocessing pipeline of Wang et al. (2020), we extract 10 time-varying covariates Xt∈R10 over τ=15 time steps. These covariates are treated as observed patient states and are directly taken from real-world measurements.

Given the observed history, binary treatments At∈{0,1} are simulated according to a stochastic, dynamic treatment policy. The treatment assignment probability at time t depends on past covariates, past intermediate outcomes, and a treatment intensity variable ℓt=ℓt-1+2At-1X‾ttanhYt, with initialization ℓ0=T/2-3. Treatment is assigned as

πt=1σ∑i=1h(-1)i1-iX‾t-i+tanhYt-i/2-tanhℓt-1-T2+ϵtA>0.5,

and outcomes are generated according to

Yt+1=5∑i=1h(-1)i1-itanhsinX‾1:5,t-iAt-i+cosX‾5:10,t-iAt-i+ϵtY,

where X‾1:5,t-i represent the mean of the first five covariates at step t-i, similarly for X‾5:10,t-i. The time lag h=8. Noise terms satisfy ϵtA,ϵtY~𝒩0,0.52.

Our target estimand is the terminal outcome Y15. Intermediate outcomes Yt for t<15 are absorbed into Lt+1 (Section 2), yielding Lt=Xt,Yt-1⊤∈R11.

Expanded Semi-synthetic DGP

In the simple DGP above, patient covariates are unaffected by treatment. To introduce a stronger treatment–confounder feedback loop, we further synthesize treatment-dependent time-varying covariates.

Specifically, we generate latent covariates Zt∈R5 with initialization Z1~𝒩(0,I) and dynamics

Zt+1=ω1⋅Zt+ω2⋅AtσZt2+ω3⋅X‾t+ϵtZ,

where ϵtZ~𝒩0,0.32 and the coefficients ω=ω1,ω2,ω3 are randomly drawn and fixed to (0.37,0.42,0.29). These synthesized covariates both affect and are affected by treatment.

We concatenate Zt with the observed covariates to form the augmented state

Xt†=Xt,Zt⊤∈R15.

Treatment assignment and outcome generation follow the same structural equations as in the Limited Semi-synthetic DGP, with Xt replaced by Xt†. Noise distributions remain unchanged.

C.2. Counterfactuals

We consider two types of counterfactual treatment regimes:

  • (a) Deterministic treatment sequences. When counterfactuals correspond to fixed binary treatment values at each time step, we adapt the setup of DeepACE. The baseline policy is the always-treat policy, under which treatment is always administered (i.e., At=1 for all τ=15 time steps). In addition to this baseline, we evaluate three deterministic counterfactual sequences: (3) treatment is never administered at any time step; (2) treatment is initiated at time step 5 and continued until the end; and (3) treatment is administered during the first 10 steps and then discontinued. In results, we use CF 1a, CF 2a, and CF 3a to denote the CATE between the always-treat policy and the three counterfactual policies, respectively.

  • (b) Dynamic treatment policies. We consider deterministic, time-varying treatment policies in experiments. These policies are constructed by varying the threshold in the treatment assignment rule while keeping the functional form fixed. Specifically, for the limited semi-synthetic DGP, we define a policy sequence π=π1,…,πτ, where each decision rule πt is parameterized by a threshold γ:
    πt=1σ∑i=1h(-1)i1-iX‾t-i+tanhYt-i/2-tanhℓt-1-T2>γ. (17)

The policy in the expanded DGP also follows the same functional form, but the covariates Xt are replaced by the augmented covariates Xt†.

In both the limited and expanded semi-synthetic DGPs, we use the policy γ=0.5 across all time steps as the baseline policy. All reported results correspond to contrasts between each counterfactual policy and this baseline.

We consider two scenarios with different levels of policy similarity:

  1. Partial deviation: counterfactual policies differ from the baseline only in the first two time steps. Specifically, CF 1b corresponds to the contrast between the baseline policy and a policy with γ=0.4 for the first two steps and γ=0.5 thereafter, while CF 2b corresponds to γ=0.6 for the first two steps and γ=0.5 thereafter. In other words, these counterfactuals share identical actions with the baseline for the last 13 steps.

  2. Full deviation: counterfactual policies differ from the baseline at all time steps. CF 1c and CF 2c correspond to the contrasts with constant policies γ=0.4 and γ=0.6, respectively. In the ablation study, we further include two extreme policies, with CF 3c and CF 4c corresponding to γ=0 (“always treat”) and γ=1 (“never treat”) at all time steps.

C.3. Model Implementation

We implement G-computation and LTMLE with Super Learner using the ltmle R package, setting gcomp=TRUE for the former. Super Learner constructs an optimally weighted ensemble of base learners via k-fold cross-validation; throughout, we set k=3 and include a generalized linear model, random forest, XGBoost, and a generalized additive model (GAM) with regression splines as candidate learners.

DeepACE is implemented using the authors’ original codebase (Frauen et al., 2023). For DeepLTMLE, we follow the original paper to derive our own implementation.

For PEQ-Net, we extend DeepLTMLE with our policy encoder module. To construct policy embedding, we compute the pairwise MMD distance using Gaussian kernel, and apply metric MDS from scikit-learn to obtain the per-time-step policy encoding. The kernel bandwidth is selected using a median heuristic: at each time step, we randomly sample 500 history–action pairs, compute all pairwise Euclidean distances, and take their median; the bandwidth is then set to 1/(2 * median). The number of layers and hidden dimensions of the policy encoder (implemented as an RNN) are treated as hyperparameters; here, both the Transformer block and the policy encoder share the hyperparameter ‘number of layers’.

All deep learning models, including DeepACE, DeepLTMLE, and our proposed method, are trained for 500 epochs.

For all baseline models, including G-computation and LTMLE with super learner, DeepACE, and DeepLTMLE, we follow their original implementation and fit separate models to estimate the CAPO for each counterfactual. For our model, we fit one model to estimate the CAPO for all counterfactuals. Finally, we take the difference between these CAPOs to derive CATE estimates.

C.4. Hyperparameter Tuning

We use the random search strategy to tune the hyperparameters for all models. Since we only have factual data, we select hyperparameter by minimizing the factual loss: LmseQAτ,Hτ,Y+∑t=1τLbceGHt,At. The hyperparameter grid is shown in Table C.1.

C.5. Ablation: ICE G-computation only

In this ablation study, we followed the exact same strategy in Section C.4 to train DeepLTMLE and PEQ-Net on the same datasets. After training, we don’t conduct the LTMLE debiasing step but directly take the average of Q1πH1,H1 as the CAPO estimates, following the original ICE G-computation procedure. Results are shown in Table C.2 and C.3.

Table C.1.

Hyperparameter tuning grid used for all datasets and counterfactual settings.

Hyperparameter DeepACE DeepLTMLE PEQ-Net
Batch size {128, 256} {128, 256} {128, 256}
Learning rate {5e-4, 1e-3, 5e-3} {5e-4, 1e-3, 5e-3} {5e-4, 1e-3, 5e-3}
Hidden size {8, 16, 32} {8, 16, 32} {8, 16, 32}
Dropout rate {0.0, 0.1} {0.0, 0.1} {0.0, 0.1}
Number of layers — {1, 2, 3} {1, 2, 3}
Number of heads — {2, 4} {2, 4}
α — {0.05, 0.1} {0.05, 0.1}
Hidden size of policy encoder — — {8,16}

Table C.2.

Ablation: Isolating Improvements in the Outcome Regression (Q) with counterfactuals of dynamic treatment policy.

DGP Model Policy differ only in the first two steps Policy differ in all steps
Bias RMSE Bias RMSE
CF 1b CF 2b CF 1b CF 2b CF 1c CF 2c CF 1c CF 2c
Limited D.LTMLE 0.0998±0.0780 0.1007±0.1070 0.1255 0.1450 0.2316 ± 0.1522 0.2335 ±0.1423 0.2750 0.2716
PEQ-Net 0.0015±0.0021 0.0132±0.0070 0.0026 0.0148 0.0957 ±0.0770 0.1410 ± 0.0746 0.1216 0.1586
Expanded D.LTMLE 0.0906±0.0887 0.1270±0.1449 0.1252 0.1899 0.3751 ± 0.2970 0.4883 ± 0.3064 0.4738 0.5724
PEQ-Net 0.0003±0.0001 0.0030±0.0017 0.0003 0.0034 0.0916±0.0569 0.2726±0.0881 0.1071 0.2858

C.6. Ablation: Comparison with finetuning and multi-Q-head strategy of DeepLTMLE

This ablation study is conducted on the counterfactuals with dynamic treatment policies using the dataset with expanded time-varying confounding.

For finetuning, we first train the DeepLTMLE model for the behavioral policy (threshold=0.5 for all τ=15 time steps) on the combined training set, yielding the CAPO for this sequence. Then we freeze the parameters in the transformer block and the G-head but leave the Q-head trainable, and train the model on the remaining counterfactual sequence one by one.

For the multi-Q-head architecture, we modify DeepLTMLE: the transformer block and the G-head are unchanged, and multiple Q-heads are initiated, one for each policy. The model is jointly trained on all policies.

Finally, we obtain CATE by differencing the CAPOs. These experiments were repeated on data generated with 20 different random seeds, and the mean absolute bias is reported.

C.7. Additional analysis on policy embedding

Visualization of policy embedding

To inspect whether our policy embedding procedure can reflect the similarity among policies, we embed five counterfactual policies with different thresholds γ (see Eq (17) for their functional form) across 15 time steps. Figure C.1 shows a consistent geometric structure across time steps: policies with similar intervention patterns are mapped to nearby representations, while more dissimilar policies are clearly separated. This indicates that the embedding captures meaningful relationships between policies in a structured manner.

Sensitivity to kernel bandwidth choice

In our policy embedding, the kernel bandwidth is selected using a median heuristic: at each time step, we randomly sample 500 history–action pairs, compute all pairwise Euclidean distances, and take their median; the bandwidth is then set to 1/(2 * median). For sensitivity analysis, we vary it as γ/(2*median) with γ∈{0.01,0.1,1,10,100}. Table C.4 shows that RMSE on the expanded DGP remains stable across settings, indicating PEQ-Net’s performance is robust to the bandwidth choices.

Scalability with respect to the number of policies

We run the policy embedding procedure with a varying number of policies K. Table C.5 confirms its quadratic computational complexity with respect to K.

Table C.3.

Ablation: Isolating Improvements in the Outcome Regression (Q) with counterfactuals of deterministic sequences.

Model Limited Time-varying Confounding Expanded Time-varying Confounding
Bias RMSE Bias RMSE
CF 1a CF 2a CF 3a CF 1a CF 2a CF 3a CF 1a CF 2a CF 3a CF 1a CF 2a CF 3a
D.LTMLE (Q only) 0.78±0.65 0.68±0.56 0.92±0.95 1.00 0.88 1.31 0.80±0.76 1.10±0.85 0.58±0.58 1.09 1.37 0.81
PEQ-Net (Q only) 0.53±0.38 0.27±0.24 0.21±0.19 0.65 0.36 0.28 0.63±0.36 0.20±0.17 0.26±0.22 0.72 0.26 0.33
Figure C.1.

Figure C.1.

Visualization of policy embedding across time steps via PCA

Table C.4.

PEQ-Net with varying kernel bandwidth for policy embedding. Results are aggregated over 10 seeds.

γ RMSE
CF 1c CF 2c
0.01 0.21 0.23
0.1 0.22 0.27
1 0.17 0.23
10 0.21 0.24
100 0.21 0.21
Table C.5.

Runtime of policy embedding with respect to the number of policies K.

K Runtime
3 2.68 s
5 4.36 s
10 13.09 s
20 53.18 s

Footnotes

Proceedings of the 43rd International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026.

References

  1. Asfar P, Meziani F, Hamel J-F, Grelon F, Megarbane B, Anguel N, Mira J-P, Dequin P-F, Gergaud S, Weiss N, et al. High versus low blood-pressure target in patients with septic shock. New England Journal of Medicine, 370(17):1583–1593, 2014. [DOI] [PubMed] [Google Scholar]
  2. Austin PC. An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate behavioral research, 46(3):399–424, 2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Bang H and Robins JM. Doubly robust estimation in missing data and causal inference models. Biometrics, 61 (4):962–973, 2005. [DOI] [PubMed] [Google Scholar]
  4. Bibaut A, Malenica I, Vlassis N, and Van Der Laan M. More efficient off-policy evaluation through regularized targeted learning. In International Conference on Machine Learning, pp. 654–663. PMLR, 2019. [Google Scholar]
  5. Bica I, Alaa AM, Jordon J, and van der Schaar M. Estimating counterfactual treatment outcomes over time through adversarially balanced representations. In International Conference on Learning Representations, 2020. [Google Scholar]
  6. Borg I and Groenen PJ. Modern multidimensional scaling: Theory and applications. Springer, 2005. [Google Scholar]
  7. Bossens DM and Thomas PS. Low variance off-policy evaluation with state-based importance sampling. In 2024 IEEE Conference on Artificial Intelligence (CAI), pp. 871–883. IEEE, 2024. [Google Scholar]
  8. Chakraborty B and Moodie EE. Statistical methods for dynamic treatment regimes, volume 2. Springer, 2013. [Google Scholar]
  9. Chernozhukov V, Chetverikov D, Demirer M, Duflo E, Hansen C, Newey W, and Robins J. Double/debiased machine learning for treatment and structural parameters, 2018.
  10. Chesnaye NC, Stel VS, Tripepi G, Dekker FW, Fu EL, Zoccali C, and Jager KJ. An introduction to inverse probability of treatment weighting in observational research. Clinical kidney journal, 15(1):14–20, 2022. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Chiu Y-H, Wen L, McGrath S, Logan R, Dahabreh IJ, and Hernán MA. Evaluating model specification when using the parametric g-formula in the presence of censoring. American journal of epidemiology, 192(11): 1887–1895, 2023. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Cho BM, Mukhin Y, Gan K, and Malenica I. Kernel debiased plug-in estimation: Simultaneous, automated debiasing without influence functions for many target parameters. In International Conference on Machine Learning, pp. 8534–8555. PMLR, 2024. [PMC free article] [PubMed] [Google Scholar]
  13. Chwialkowski KP, Ramdas A, Sejdinovic D, and Gretton A. Fast two-sample testing with analytic representations of probability measures. Advances in Neural Information Processing Systems, 28, 2015. [Google Scholar]
  14. Cole SR and Hernán MA. Constructing inverse probability weights for marginal structural models. American journal of epidemiology, 168(6):656–664, 2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Díaz I, Williams N, Hoffman KL, and Schenck EJ. Nonparametric causal effects based on longitudinal modified treatment policies. Journal of the American Statistical Association, 118(542):846–857, 2023. [Google Scholar]
  16. Duan Y, Jia Z, and Wang M. Minimax-optimal off-policy evaluation with linear function approximation. In International Conference on Machine Learning, pp. 2701–2709. PMLR, 2020. [Google Scholar]
  17. Dudík M, Langford J, and Li L. Doubly robust policy evaluation and learning. In Proceedings of the 28th International Conference on International Conference on Machine Learning, pp. 1097–1104, 2011. [Google Scholar]
  18. Evans L, Rhodes A, Alhazzani W, Antonelli M, Coopersmith CM, French C, Machado FR, Mcintyre L, Ostermann M, Prescott HC, et al. Surviving sepsis campaign: international guidelines for management of sepsis and septic shock 2021. Critical care medicine, 49 (11):e1063–e1143, 2021. [DOI] [PubMed] [Google Scholar]
  19. Farajtabar M, Chow Y, and Ghavamzadeh M. More robust doubly robust off-policy evaluation. In International Conference on Machine Learning, pp. 1447–1456. PMLR, 2018. [Google Scholar]
  20. Frauen D, Hatt T, Melnychuk V, and Feuerriegel S. Estimating average causal effects from patient trajectories. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pp. 7586–7594, 2023. [Google Scholar]
  21. Frauen D, Hess K, and Feuerriegel S. Model-agnostic meta-learners for estimating heterogeneous treatment effects over time. In International Conference on Learning Representations, volume 2025, pp. 85750–85779, 2025. [Google Scholar]
  22. Fujimoto S, Meger D, and Precup D. A deep reinforcement learning approach to marginalized importance sampling with the successor representation. In International Conference on Machine Learning, pp. 3518–3529. PMLR, 2021. [Google Scholar]
  23. Gretton A, Borgwardt KM, Rasch MJ, Schölkopf B, and Smola A. A kernel two-sample test. Journal of Machine Learning Research, 13(25):723–773, 2012a. URL http://jmlr.org/papers/v13/gretton12a.html. [Google Scholar]
  24. Gretton A, Sejdinovic D, Strathmann H, Balakrishnan S, Pontil M, Fukumizu K, and Sriperumbudur BK. Optimal kernel choice for large-scale two-sample tests. Advances in neural information processing systems, 25, 2012b. [Google Scholar]
  25. Guo S, Shen F, and Li N. Estimating the treatment effect over time under general interference through deep learner integrated tmle. arXiv preprint arXiv:2412.04799, 2024. [Google Scholar]
  26. Hanna J, Niekum S, and Stone P. Importance sampling policy evaluation with an estimated behavior policy. In International Conference on Machine Learning, pp. 2605–2613. PMLR, 2019. [Google Scholar]
  27. Hernán MA and Robins JM. Estimating causal effects from epidemiological data. Journal of Epidemiology & Community Health, 60(7):578–586, 2006. [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Hernán MA and Robins JM. Causal inference, 2010.
  29. Hess K, Frauen D, Melnychuk V, and Feuerriegel S. Igcnet for conditional average potential outcome estimation over time. In The Fourteenth International Conference on Learning Representations, 2024. [Google Scholar]
  30. Jiang N and Li L. Doubly robust off-policy value evaluation for reinforcement learning. In Balcan MF and Weinberger KQ. (eds.), Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 652–661, New York, New York, USA, 20–22 Jun 2016. PMLR. URL https://proceedings.mlr.press/v48/jiang16.html. [Google Scholar]
  31. Johnson A, Pollard T, and Mark R. MIMIC-III Clinical Database. PhysioNet, September 2016. doi: 10.13026/C2XW26. URL https://doi.org/10.13026/C2XW26. Version 1.4. [DOI] [Google Scholar]
  32. Kallus N and Uehara M. Double reinforcement learning for efficient off-policy evaluation in markov decision processes. Journal of Machine Learning Research, 21(167): 1–63, 2020. URL http://jmlr.org/papers/v21/19-827.html. [Google Scholar]
  33. Kosorok MR. Introduction to empirical processes and semiparametric inference. Springer, 2008. [Google Scholar]
  34. Kruskal JB. Multidimensional scaling by optimizing goodness of fit to a nonmetric hypothesis. Psychometrika, 29(1):1–27, 1964. [Google Scholar]
  35. Le H, Voloshin C, and Yue Y. Batch policy learning under constraints. In International Conference on Machine Learning, pp. 3703–3712. PMLR, 2019. [Google Scholar]
  36. Li D and Gan K. Targeted maximum likelihood learning: An optimization perspective. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=n63KgrgVHG. [Google Scholar]
  37. Li R, Hu S, Lu M, Utsumi Y, Chakraborty P, Sow DM, Madan P, Li J, Ghalwash M, Shahn Z, et al. G-net: a recurrent network approach to g-computation for counterfactual prediction under a dynamic treatment regime. In Machine Learning for Health, pp. 282–299. PMLR, 2021. [Google Scholar]
  38. Lim B. Forecasting treatment responses over time using recurrent marginal structural networks. Advances in neural information processing systems, 31, 2018. [Google Scholar]
  39. Lin R, Guo Y, and Gan K. Optimal adjustment sets for nonparametric estimation of weighted controlled direct effect. Advances in Neural Information Processing Systems, 38:93167–93220, 2026. [Google Scholar]
  40. Liu Q, Li L, Tang Z, and Zhou D. Breaking the curse of horizon: Infinite-horizon off-policy estimation. Advances in neural information processing systems, 31, 2018. [Google Scholar]
  41. Liu R, Hu L, Perry Wilson F, Warren JL, and Li F. A bayesian approach to the g-formula via iterative conditional regression. Statistics in Medicine, 44(13–14): e70123, 2025. [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Mahmood AR, Van Hasselt HP, and Sutton RS. Weighted importance sampling for off-policy learning with linear function approximation. Advances in neural information processing systems, 27, 2014. [Google Scholar]
  43. McGrath S, Lin V, Zhang Z, Petito LC, Logan RW, Hernán MA, and Young JG. gformula: an r package for estimating the effects of sustained treatment strategies via the parametric g-formula. Patterns, 1(3), 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  44. Melnychuk V, Frauen D, and Feuerriegel S. Causal transformer for estimating counterfactual outcomes. In International conference on machine learning, pp. 15293–15329. PMLR, 2022. [Google Scholar]
  45. Murphy SA. Optimal dynamic treatment regimes. Journal of the Royal Statistical Society Series B: Statistical Methodology, 65(2):331–355, 2003. [Google Scholar]
  46. Newey WK and Robins JR. Cross-fitting and fast remainder rates for semiparametric estimation, 2018. URL https://arxiv.org/abs/1801.09138.
  47. Nguyen HB, Loomba M, Yang JJ, Jacobsen G, Shah K, Otero RM, Suarez A, Parekh H, Jaehne A, and Rivers EP. Early lactate clearance is associated with biomarkers of inflammation, coagulation, apoptosis, organ dysfunction and mortality in severe sepsis and septic shock. Journal of inflammation, 7(1):6, 2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  48. Oprescu M, Park DK, Luo X, Yoo S, and Kallus N. Gst-unet: A neural framework for spatiotemporal causal inference with time-varying confounding. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. [Google Scholar]
  49. Petersen ML, Porter KE, Gruber S, Wang Y, and Van Der Laan MJ. Diagnosing and responding to violations in the positivity assumption. Statistical methods in medical research, 21(1):31–54, 2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  50. Rahimi A and Recht B. Random features for large-scale kernel machines. Advances in neural information processing systems, 20, 2007. [Google Scholar]
  51. Rein SM, Li J, Hernan M, and Beam A. Deep learning methods for the noniterative conditional expectation g-formula for causal inference from complex observational data. arXiv preprint arXiv:2410.21531, 2024. [Google Scholar]
  52. Robins J. A new approach to causal inference in mortality studies with a sustained exposure period—application to control of the healthy worker survivor effect. Mathematical modelling, 7(9–12):1393–1512, 1986. [Google Scholar]
  53. Robins J and Hernan M. Estimation of the causal effects of time-varying exposures. Chapman & Hall/CRC Handbooks of Modern Statistical Methods, pp. 553–599, 2008. [Google Scholar]
  54. Robins JM. Marginal structural models versus structural nested models as tools for causal inference. In Statistical models in epidemiology, the environment, and clinical trials, pp. 95–133. Springer, 2000. [Google Scholar]
  55. Rosenbaum PR and Rubin DB. The central role of the propensity score in observational studies for causal effects. Biometrika, 70(1):41–55, 1983. [Google Scholar]
  56. Rosenbaum PR and Rubin DB. Reducing bias in observational studies using subclassification on the propensity score. Journal of the American statistical Association, 79 (387):516–524, 1984. [Google Scholar]
  57. Rosenblum M and Van Der Laan MJ. Targeted maximum likelihood estimation of the parameter of a marginal structural model. The international journal of biostatistics, 6 (2):19, 2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  58. Rudi A, Carratino L, and Rosasco L. Falkon: An optimal large scale kernel method. Advances in neural information processing systems, 30, 2017. [Google Scholar]
  59. Schlegel M, Chung W, Graves D, Qian J, and White M. Importance resampling for off-policy prediction. Advances in Neural Information Processing Systems, 32, 2019. [Google Scholar]
  60. Seedat N, Imrie F, Bellot A, Qian Z, and van der Schaar M. Continuous-time modeling of counterfactual outcomes using neural controlled differential equations. In International Conference on Machine Learning, pp. 19497–19521. PMLR, 2022. [Google Scholar]
  61. Sejdinovic D, Sriperumbudur B, Gretton A, and Fukumizu K. Equivalence of distance-based and rkhs-based statistics in hypothesis testing. The annals of statistics, pp. 2263–2291, 2013. [Google Scholar]
  62. Shahn Z, Shapiro NI, Tyler PD, Talmor D, and Lehman L.-w. H. Fluid-limiting treatment strategies among sepsis patients in the icu: a retrospective causal analysis. Critical Care, 24(1):62, 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  63. Shen SP, Ma Y, Gottesman O, and Doshi-Velez F. State relevance for off-policy evaluation. In International Conference on Machine Learning, pp. 9537–9546. PMLR, 2021. [Google Scholar]
  64. Shirakawa T, Li Y, Wu Y, Qiu S, Li Y, Zhao M, Iso H, and Van Der Laan M. Longitudinal targeted minimum loss-based estimation with temporal-difference heterogeneous transformer. Proceedings of machine learning research, 235:45097, 2024. [PMC free article] [PubMed] [Google Scholar]
  65. Snowden JM, Rose S, and Mortimer KM. Implementation of g-computation on a simulated data set: demonstration of a causal inference technique. American journal of epidemiology, 173(7):731–738, 2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  66. Stitelman OM, De Gruttola V, and van der Laan MJ. A general implementation of tmle for longitudinal data applied to causal inference in survival analysis. The International Journal of Biostatistics, 8(1):1–39, 2012. [DOI] [PubMed] [Google Scholar]
  67. Stuart EA. Matching methods for causal inference: A review and a look forward. Statistical science: a review journal of the Institute of Mathematical Statistics, 25(1): 1, 2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  68. Taubman SL, Robins JM, Mittleman MA, and Hernán MA. Intervening on risk factors for coronary heart disease: an application of the parametric g-formula. International journal of epidemiology, 38(6):1599–1611, 2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  69. Thomas P and Brunskill E. Data-efficient off-policy policy evaluation for reinforcement learning. In Balcan MF and Weinberger KQ. (eds.), Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 2139–2148, New York, New York, USA, 20–22 Jun 2016a. PMLR. URL https://proceedings.mlr.press/v48/thomasa16.html. [Google Scholar]
  70. Thomas P and Brunskill E. Data-efficient off-policy policy evaluation for reinforcement learning. In International conference on machine learning, pp. 2139–2148. PMLR, 2016b. [Google Scholar]
  71. Van der Laan MJ, Rose S, et al. Targeted learning: causal inference for observational and experimental data, volume 4. Springer, 2011. [Google Scholar]
  72. Voloshin C, Le HM, Jiang N, and Yue Y. Empirical study of off-policy policy evaluation for reinforcement learning. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 1). [Google Scholar]
  73. Wang S, McDermott MBA, Chauhan G, Ghassemi M, Hughes MC, and Naumann T. Mimic-extract: a data extraction, preprocessing, and representation pipeline for mimic-iii. In Proceedings of the ACM Conference on Health, Inference, and Learning, ACM CHIL ‘20, pp. 222–235. ACM, April 2020. doi: 10.1145/3368555.3384469. URL http://dx.doi.org/10.1145/3368555.3384469. [DOI] [Google Scholar]
  74. Wen L, Young JG, Robins JM, and Hernán MA. Parametric g-formula implementations for causal survival analyses. Biometrics, 77(2):740–753, 2021. [DOI] [PMC free article] [PubMed] [Google Scholar]
  75. Williams C and Seeger M. Using the nyström method to speed up kernel machines. Advances in neural information processing systems, 13, 2000. [Google Scholar]
  76. Xie T, Ma Y, and Wang Y-X. Towards optimal off-policy evaluation for reinforcement learning with marginalized importance sampling. Advances in neural information processing systems, 32, 2019. [Google Scholar]
  77. Xu J, Cai H, and Zheng X. Timing of vasopressin initiation and mortality in patients with septic shock: analysis of the mimic-iii and mimic-iv databases. BMC Infectious Diseases, 23(1):199, 2023. [DOI] [PMC free article] [PubMed] [Google Scholar]
  78. Xu S, Ross C, Raebel MA, Shetterly S, Blanchette C, and Smith D. Use of stabilized inverse propensity scores as weights to directly estimate relative risk and its confidence intervals. Value in Health, 13(2):273–277, 2010. [DOI] [PMC free article] [PubMed] [Google Scholar]

RESOURCES