Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2026 Sep 17.
Published in final edited form as: Proc Mach Learn Res. 2026;300:784–792.

Regularizing Extrapolation in Causal Inference

David Arbour 1,*, Harsh Parikh 2,*, Bijan Niknam 3, Elizabeth Stuart 4, Kara Rudolph 5, Avi Feller 6
PMCID: PMC13580717  NIHMSID: NIHMS2169327  PMID: 42751675

Abstract

Many causal inference and machine learning estimators are linear smoothers, where the prediction is a weighted average of training outcomes. Whether weights are constrained to be non-negative creates a key tradeoff: non-negative weights (e.g., inverse propensity weighting, random forests) limit extrapolation but can worsen covariate imbalance, while unconstrained weights (e.g., OLS, kernel ridge regression) improve balance but increase dependence on parametric assumptions. We propose a unified framework that directly penalizes extrapolation via a soft constraint on negative weights, replacing the standard hard non-negativity restriction. We derive a worst-case error bound and introduce a novel “bias-bias-variance” tradeoff among distributional imbalance, model misspecification, and estimator variance; this tradeoff is especially pronounced in high dimensions with poor positivity. We develop a convex optimization procedure that regularizes this bound and outline how to use the extrapolation penalty as a sensitivity analysis for parametric assumptions. We demonstrate our approach on synthetic data and a real-world application generalizing randomized trial estimates to a target population.

1. INTRODUCTION

A core challenge in observational causal inference and domain adaptation is to adjust data distributions so that features are comparable across distinct groups, such as control and treated arms or source and target populations [Imbens and Rubin, 2015, Farahani et al., 2021]. Weighting estimators and linear smoothers, in which the prediction is a weighted average of training outcomes, are widely used for such adjustment; examples include implicit weighting estimators like ordinary least squares (OLS) and random forests and explicit weighting approaches like inverse propensity score weighting [Li et al., 2013] and importance sampling [Thomas and Brunskill, 2017].

An important divide among weighting estimators is whether weights are constrained to be non-negative, such as in traditional IPW, matching [Stuart, 2010], the synthetic control method [Abadie et al., 2010], and stable balancing weights [Zubizarreta, 2015, Ben-Michael et al., 2021a], as well as in the weighting component of popular doubly robust estimators like double machine learning [Chernozhukov et al., 2018]. This constraint limits extrapolation and dependence on parametric modeling assumptions, but typically at the cost of worse feature imbalance between re-weighted groups. This imbalance is especially pronounced in high-dimensional settings, when the curse of dimensionality means that positivity is less likely to hold, leading to further bias [D’Amour et al., 2021]. By contrast, linear smoothers like OLS and kernel ridge regression allow for arbitrarily negative weights [Robins et al., 2007], which can improve feature imbalance but at the cost of greater model dependence and higher estimator variance. Finally, augmented estimators that combine outcome modeling with explicit weighting strategies can be viewed as performing controlled extrapolation, balancing model dependence against feature imbalance. Pure weighting and pure outcome modeling thus represent the two extremes of no versus uncontrolled extrapolation.

In this paper, we leverage this geometric perspective to establish a general framework for systematically controlling extrapolation. In particular, we propose a unified approach that directly penalizes the level of extrapolation, replacing the current practice of a hard non-negativity constraint with a soft constraint and corresponding hyperparameter. Unlike prior research on extrapolation in machine learning that emphasizes predictions beyond observed covariate support, we conceptualize extrapolation through unit weights, a particularly natural framework for handling high-dimensional covariates [Ben-Michael et al., 2021b]. Specifically, our contributions are:

  • Bias-bias-variance tradeoff. We propose a framework quantifying a “bias-bias-variance” tradeoff, decomposing error into bias from distributional imbalance, bias from outcome model misspecification, and estimator variance. This captures key tradeoffs encountered in common causal inference and distribution shift scenarios.

  • Error bound and constrained optimization. We derive an error bound based on worst-case Hölder continuity deviations from linearity. We present an optimization approach to minimize this bound, explicitly controlling tradeoffs between biases. We characterize the finite-sample variance through our error bounds.

  • Sensitivity analysis framework. We introduce a sensitivity analysis methodology integrated into our optimization framework, enabling systematic evaluation of distributional imbalance and outcome model misspecification impacts. We illustrate this using synthetic data and a practical application involving the transportation of causal estimates to a novel target population.

1.1. Related work

Extrapolation and generalization are core topics in causal inference and machine learning. Recent surveys by Degtiar and Rose [2023] and Johansson et al. [2022] provide comprehensive overviews on generalizability and transportability methods.

Extrapolation and the synthetic control method.

Extrapolating far from the support of the data is a longstanding concern in statistics and the social sciences especially; see King and Zeng [2006] for a seminal discussion of possible dangers of unchecked extrapolation. Methods that limit extrapolation are common; the synthetic control method [Abadie et al., 2010] is a particularly prominent example. Doudchenko and Imbens [2016] discuss the non-negativity constraint in this context, and explore possible regularization. Most relevant to our approach, Ben-Michael et al. [2021b] developed the augmented synthetic control method, which combines outcome modeling with constrained weights to reduce bias while controlling extrapolation.

Extrapolation in machine learning.

Within machine learning, there has been substantial recent progress on approaches for addressing extrapolation. Shen and Meinshausen [2024] introduced engression, a framework that views extrapolation through the lens of distributional regression, enabling principled uncertainty quantification outside the training distribution. Kong et al. [2024] developed a causal lens for understanding extrapolation, establishing theoretical connections between causal structure and extrapolation. Netanyahu et al. [2023] proposed a transductive approach for learning to extrapolate, leveraging unlabeled test points to guide the extrapolation process. Dong and Ma [2022] provided foundational analysis toward understanding the extrapolation of nonlinear models to unseen domains, establishing bounds on extrapolation error. Finally, Pfister and Bühlmann [2024] developed extrapolation-aware nonparametric statistical inference methods, with formal guarantees on validity beyond the support of training data.

Unlike this recent literature, we approach extrapolation from a weighting perspective, which offers particular advantages in high-dimensional settings. Rather than focusing on predictions outside the covariate support, we frame extrapolation in terms of the properties of unit weights, providing a natural parameterization for high-dimensional settings [Ben-Michael et al., 2021b]. This perspective allows us to directly quantify and regularize the degree of extrapolation without relying on complex directional derivatives or high-dimensional density estimation.

Positivity violations and shifting the target.

Our discussion is closely related to the literature on positivity violations in causal inference. Crump et al. [2006], Li et al. [2018], and Parikh et al. [2025] all proposed to avoid issues due to positivity violations by shifting the estimand to regions with greater overlap. By contrast, our approach directly incorporates the severity of positivity violations into the weight estimation process.

Weighting representations.

A growing literature highlights the connections between various causal estimators through their weighting representations [Chattopadhyay and Zubizarreta, 2023]. Knaus [2024] provided a unified framework for viewing treatment effect estimators as weighted outcomes. Bruns-Smith et al. [2023] showed that augmented balancing weights can be interpreted as a form of linear regression. Lin and Han [2022] examined regression-adjusted imputation estimators through their weighting properties. Our framework builds on these insights by explicitly parameterizing the degree of extrapolation through weight regularization, providing a continuum of estimators that navigate the bias-variance tradeoff.

2. PRELIMINARIES

2.1. Setup and notation

To ease exposition, we focus on the causal inference problem of estimating the missing control potential outcome for the Average Treatment Effect on the Treated (ATT). As we note below, however, these results hold for general linear estimands as well as for domain adaptation in ML [Johansson et al., 2022].

For each unit i∈[n], we observe the tuple (Xi,Yi,Zi), with covariates Xi∈𝒳, outcome Yi∈R, and binary treatment Zi∈{0,1}. Invoking SUTVA, let Yi(0) and Yi(1) denote the control and treated potential outcomes, respectively, for unit i. Our estimand of interest is the ATT, EYi(1)-Yi(0)∣Zi=1; we discuss generalizations below. Since we observe Y(1) for the treated group, the key challenge is to estimate the missing control potential outcome mean, EYi(0)∣Zi=1. Finally, define the density ratio dQ/dP(x), where Q and P denote the populations of units assigned to treatment and control, respectively. We need the following key assumptions for nonparametric identification:

  • A.1. (Exchangeability) E[Y(0)∣X,Z=1]=E[Y(0)∣X,Z=0]

  • A.2. (Population overlap) dQ/dP(x)<∞ for all x∈𝒳

In our setup, we consider situations when the population overlap assumption A.2. might be violated. In that case, researchers can instead rely on parametric assumptions on μ(x)=EY(0)∣Xi=x, such as linearity, to identify and estimate the expected outcomes.

Finally, following Chattopadhyay and Zubizarreta [2023], we will focus on estimating the mean at a target covariate profile, x⋆∈𝒳, corresponding to our estimand of interest. For the ATT, this profile is simply the mean of the treated population, x⋆=E[X∣Z=1], where μx⋆=E[Y(0)∣Z=1].

Linear in features.

Since we are focused on linear smoothers, we consider models that are linear in some features, but which could be complex functions of the underlying covariates. This is an extremely large model class that ranges from simple linear models to the last layer embedding from a pre-trained large language model. For our setup, we let x be the features in the representation implied by the parametric model, rather than simply the raw covariates. We further assume:

Assumption 2.1. μ is Hölder continuous such that μ(x)-μx′≤a⋅x-x′α, with a>0 and α>0.

Parameterizing μ in terms of its Hölder constants is useful for characterizing departures from linearity that directly affect the estimation error bound.

General linear estimands.

We can leverage recent work on the Riesz representer [Chernozhukov et al., 2022a] to immediately generalize our results to any linear functional of the data. Following Bruns-Smith et al. [2023], for each unit i∈[n], we observe the tuple (Xi,Yi,Zi), with covariates Xi∈𝒳, outcome Yi∈R, and treatment Zi∈𝒵. The target functional is then EhXi,Zi,m for a function h∈L2, where m(x,z)=EYi∣Xi=x,Zi=z. Many common problems in causal inference and domain adaptation are special cases of this setup, including counterfactual quantities like the average derivative and the expected policy-specific outcome. Finally, define a feature map ϕ:𝒳×𝒵→Rd; the target feature profile is then ϕ*(x,z)=E[h(X,Z,ϕ)]. Our results below apply by replacing the simple covariate profile x⋆ with the much more general feature profile ϕ⋆(x,z).

2.2. Weighting form of causal inference estimators

Our focus is on weighting estimators or linear smoothers [Buja et al., 1989] of the form:

μˆx⋆=∑i=1nw⋆←ixiYi,

with weights w⋆←ixi, where ⋆←i emphasizes that the weights can depend both on the source covariates xi and the target covariates x⋆ [Lin and Han, 2022]. When there is no ambiguity, we suppress the dependence on the covariates xi and the target x⋆.

A broad class of estimators have this form. See Knaus [2024] for a comprehensive discussion of the weighting form for common causal inference estimators. We highlight several special cases here, with a focus on whether the implied weights are constrained to be non-negative.

Explicit weighting estimators.

The first class of methods estimate the density ratio dQ/dP^(x), either directly or indirectly.

  • Traditional Inverse Propensity Score Weighting. In standard IPW [Rosenbaum, 1987], researchers first estimate a propensity score, e(x)=P[Zi=1∣Xi=x] via a binary classifier like logistic regression, and then plug into a known functional form for dQ/dP(x). For the ATT, wˆ(x)=eˆ(x)/(1-eˆ(x)); since eˆ(x)∈(0,1),wˆi(x)>0 for all i.

  • Balancing weights, synthetic control, and matching. An alternative weighting approach instead directly estimates dQ/dP(x) via constrained optimization [Ben-Michael et al., 2021a]. For example, consider the minimum variance weights that control imbalance in x between P and Q:
    wˆ∈argminw∈𝒲∑i=1nwiXi-x⋆p2+λ‖w‖22, (1)

    where ‖⋅‖p is the p vector norm and where 𝒲 are possible constraints on the weights. Stable balancing weights [Zubizarreta, 2015] and the Synthetic Control Method [Abadie et al., 2010] are special cases where 𝒲 is the simplex (wi≥0,∑wi=1) and the imbalance norm is p=∞ and p=2, respectively. Matching is a special case where the weights are also constrained to be discrete.

  • Riesz regression. A final weighting approach, also known as automatic estimation of the Riesz representer [Chernozhukov et al., 2022b] also finds weights via Problem (1), albeit without imposing the constraint that weights are non-negative. For example, minimum distance lasso Riesz regression in Chernozhukov et al. [2022b] solves Equation (1) with 𝒲=Rn and p=∞.

Linear smoothers and implicit weighting estimators.

A wide range of popular outcome models are linear smoothers that implicitly estimate weights w, including (kernel ridge) regression, k-nearest neighbors, random forests, xgboost, and many implementations of neural networks; see Lin and Han [2022], Curth et al. [2024]. We highlight two prominent examples with and without a non-negativity constraint.

  • (Kernel) ridge regression. For features X, the implied ridge regression weights are:
    w⋆←i=x⋆⊤X⊤X+λI-1Xi,

    where λ is a regularization parameter; ordinary least squares (OLS) as a special case when λ=0. Kernel ridge regression is instead based on the implied kernel features ϕ(x); see Bruns-Smith et al. [2023], Hirshberg et al. [2019]. As Bruns-Smith et al. [2023] discuss, the ridge regression weights are equivalent to solving optimization problem (1) with the imbalance norm set to p=2 and with 𝒲=Rn, which does not include a non-negativity constraint.

  • Random forests. As Athey et al. [2019] discuss in the context of causal inference, (honest) random forests is a locally adaptive linear smoother with non-negative weights:
    wˆ⋆←i=1B∑b=1BIx⋆∈Lb(x)Lb(x),

    where Lb is the set of units that share a leaf node with the target x⋆ and b=1,…,B index the trees.

Augmented and hybrid estimators.

Finally, augmented or hybrid estimators combine initial weights w0 and outcome model mˆ:

μˆdrx⋆=∑i=1Nwˆi0Yi+mˆx⋆-∑i=1Nwi0mˆxi=mˆx⋆+∑i=1Nwˆi0Yi-mˆxi.

When mˆ is a linear smoother, then μˆdr(x) also has a weighting representation. Let mˆx⋆=∑ωˆi(x)Yi for a weighting function ωˆ:Rd→Rn. Following Ben-Michael et al. [2021b]:

μˆdrx⋆=∑i=1Nwˆi0+wˆiadjYiwherewˆiadj≡ωˆix⋆-∑j=1nwˆj0ωˆixj.

For example, when the outcome model is ridge regression, the implied weights for the doubly robust estimator have the following form:

wˆidr=wˆi0+x⋆-x′wˆ0′x′x+λI-1xi.

Importantly, even if the initial weights w0 are constrained to be non-negative, such as in traditional IPW, the implied doubly robust weights wdr could be negative. In fact, the combined weights can be negative even if both the initial weights w0 and the outcome model-implied weights ωˆ are non-negative.

There are many examples of combined estimators of this form: standard Augmented IPW [Chattopadhyay and Zubizarreta, 2023], bias correction for inexact matching [Lin et al., 2021], augmented synthetic control method [Ben-Michael et al., 2021b], and regression-adjusted imputation estimators more broadly [Lin and Han, 2022]. Finally, both debiased machine learning [Chernozhukov et al., 2018] and automatic debiased machine learning [Chernozhukov et al., 2022a] have this form. The former constrains the initial weights to be non-negative; the latter does not.

3. REGULARIZING WORST-CASE EXTRAPOLATION BIAS

Our goal is to bound the estimation error μx⋆-∑i=1nwiYi. We begin by building intuition for our approach in three steps.

Reflection representation.

Under linearity, μ-xi=-μxi, so a negative weight wi<0 on xi yields wiμxi=wiμ-xi; in other words, a negative weight wi is equivalent to applying a positive weight wi to the reflected point -xi. We can then construct a “reflected” estimator, denoted by ‡, which reflects points with negative weights around the origin:

μˆ‡x⋆=∑i=1nwi1wi≥0μXi+wi1wi<0μ-Xi=∑i=1nwiμXi‡,Xi‡=Xi,wi≥0-Xi,wi<0,

where μˆx⋆=μˆ‡x⋆ if μ is an odd function, and where wiXi=wiXi‡ for all i.

Measuring parametric model violations.

The difference between μˆx⋆ and μˆ‡x⋆ measures the degree to which the assumed parametric model is violated. Specifically, we can write μ-xi=δxi-μxi, where δxi≡μ-xi+μxi. If μ is an odd function (e.g., μ is linear through the origin), then δxi=0 for all i. Thus, δxi is a point-specific measure of the extent to which the true outcome function violates the assumed parametric model; throughout, our discussion of “nonlinearity” should be understood as referring to such violations.

We use this representation to decompose the estimator μˆx⋆:

μˆx⋆=∑i=1nwiYi=∑i=1nwiμXi+ϵi=∑i=1nwi1wi≥0μXi+wi1wi<0μ-Xi-δXi+wiϵi=∑i=1nwiμXi‡⏟μˆ‡x⋆+∑i=1nwi1wi<0δXi⏟model violation+∑i=1nwiϵi⏟noise.

Error bound.

Although δ(X) is unknown, we can bound it via Hölder continuity: |δ(x)|=∣μ(x)+μ(-x)≤|μ(x)-μ(0)|+|μ(-x)-μ(0)|≤2a‖x‖α, where the last step uses μ(0)=0, which holds after centering.* The resulting error bound is therefore

μx⋆-μˆx⋆≤∑i=1nwiμXi‡-μx⋆⏟error inμˆ‡x⋆+2a∑i=1nwi1wi<0Xiα⏟error due to model violation+∑i=1nwiϵi⏟noise. (2)

The first term directly depends on the imbalance between the target point x⋆ and the re-weighted (reflected) training points |w|′X‡. The second term captures additional error due to model violation, corresponding to the δ(X) term above; this is the key new term that our framework regularizes. The third term is the noise.

3.1. Characterizing asymmetry-induced bias

Thus far we have presented a conservative nonparametric bound. We now provide a slightly refined characterization by noting that the extent of the bias induced by negative weights is driven by the asymmetry in μ. We do so by considering the decomposition of μ into its even and odd components, i.e., μ(x)=μe(x)+μo(x). By the definition of odd functions, we have -μo(x)=μo(-x); we can then bound the worst-case risk of wˆ using the assumed Hölder constants a and α and isolate the effect of the even component. The formal statement is given below in Proposition 3.1; the proof is given in Appendix C.

Proposition 3.1. Let μˆx*=∑i=1nwˆiYi be the estimate of μx* with weights estimated via Equation (4) (defined below). Given Yi=μXi+ϵi where ϵi are independent random variables with Eϵi=0 and finite second moment σ2=Eϵi2, and μ is Hölder continuous with constants a and α. If ϵi are sub-Gaussian† with parameter σ, then with probability at least 1-δ,

|μ(x*)−μ^(x*)|≤|μ(x*)−∑i=1n|w^i|μ(Xi‡)|+2∑i=1n|w^i|1(w^i<0)a‖Xi‖α+σ‖w^‖22log(2/δ) (3)

where Xi‡=signwˆiXi as defined above. The first term is the imbalance of the reflected estimator μˆ‡x*=∑iwˆiμXi‡; the second is the model violation bias due to negative weights (identical to the second term of (2)); the third is the noise.

The proof in Appendix C proceeds via an even-odd decomposition that shows that negative weights introduce additional bias only through the even component of μ; the odd part is absorbed exactly into the first term via the reflection Xi‡. The noise term in Proposition 3.1 requires a sub-Gaussian assumption.

Since μe is unidentifiable from a single dataset, we construct a conservative worst-case form that does not require access to μe. For completeness, Proposition C.1 in Appendix C provides an empirical analog that approximates μe via nearest-neighbor matching when the data are approximately symmetric.

Finally, following Chattopadhyay and Zubizarreta [2023], we define negative influence as the fraction of total weight on units with negative weights, ∑i1wi<0]wi/∑iwi. This is a useful summary of the extent to which the estimate relies on extrapolation.

3.2. Proposed Estimator

We now propose an estimator to learn weights w that directly control the error bound in Equation (2). To do so, we modify the standard balancing weights optimization problem in Equation (1) by using the Lagrangian form of the non-negativity constraint, rather than the hard constraint. Thus, the combined estimator minimizes the error bound by controlling three terms: covariate imbalance, dispersion of the weights, and level of extrapolation:

wˆ∈argminw∑i=1nwiXi-x⋆22⏟(a)imbalance+λ‖w‖22⏟(b)variance+γ∑i=1n1wi<0wiXiα⏟(c)extrapolation (4)

where

  • Term (a): Enforces balance between the target point x⋆ and the re-weighted training points X1,…,Xn, recalling that wiXi=wiXi‡ for all i. We focus on p=2, but this generalizes to p=∞. This corresponds to the first term of (2).

  • Term (b): Regularizes the dispersion of the weights w, controlling the noise term via ‖wˆ‖2 in Proposition 3.1.

  • Term (c): Penalizes model violation bias: the penalty γ∑i1wi<0wiXiα is proportional to the second term of (2), with γ scaling the sensitivity to parametric model violations.‡

Compared to the standard balancing weights problem (1), which trades off only imbalance and variance, the new objective (4) introduces term (c) to control extrapolation. When the target lies outside the convex hull of the training points, achieving balance requires some weights to be negative, which increases both ‖w‖2 and reliance on parametric assumptions. For γ=0, Equation (4) recovers unconstrained balancing weights; at the other extreme, γ→∞ is equivalent to a hard non-negativity constraint. Increasing γ reduces extrapolation bias and ‖w‖2 but worsens imbalance in term (a).

Regularizing existing estimators.

Since many causal estimators have a weighting representation (Section 2.2), we can regularize extrapolation in any baseline estimator with implied weights w′ by solving

wˆ∈argminww-w′22+γ∑i=1n1wi<0wiXiα.

For example, the augmented synthetic control method [Ben-Michael et al., 2021b] first solves with non-negative weights, then augments with a ridge outcome model that implicitly introduces negative adjustment weights; the formulation above instead directly controls the degree of negativity through γ.

Convexity.

Despite the indicator function in term (c), the optimization problem (4) is strongly convex and admits a unique global minimizer. To see this, note that 1wi<0wi=max0,-wi, which is convex as the pointwise maximum of two affine functions. Term (a) is a squared norm of an affine function of w, hence convex, and term (b) is strongly convex with parameter 2λ. More generally, term (c) can be written using an ℓp norm over the vector of per-unit penalties. When p=1 (as written above and in Proposition 3.2), introducing slack variables si≥-wi,si≥0 reduces the problem to a quadratic program (QP), which can be solved exactly in polynomial time with standard solvers. When p=2, the problem becomes a second-order cone program (SOCP), which is likewise solvable in polynomial time.

Finally, we can specialize the error bound for our proposed estimator:

Proposition 3.2 (Regularized Bound). Let wˆ solve Equation (4) and μˆx*=∑i=1nwˆiYi where Yi=μXi+ϵi. Under the assumptions of Proposition 3.1, with probability at least 1-δ:

μx*−μ^x*≤μx*−∑i=1w^iμXi‡+2∑i=1nw^i1w^i<0aXiα+σx*2log(2/δ)/λ

where Xi‡=signwˆiXi as in Proposition 3.1.

The proof is provided in the appendix. The variance term σx*2log(2/δ)/λ does not depend on γ: increasing γ further constrains the feasible set and cannot inflate ‖wˆ‖2. This means regularizing extrapolation reduces the bias terms without incurring additional variance cost. The full bias-bias-variance tradeoff is demonstrated empirically in Sections 4 and 5.

3.3. Practical guidance: γ as a sensitivity parameter

We argue that γ should be treated as a sensitivity parameter rather than a tuning parameter, and encourage researchers to examine the full set of estimates it spans. We recommend the following procedure:

  1. Fix λ via cross-validation on the standard balancing weights problem (i.e., with γ=0).

  2. Sweep γ over a grid from 0 to a value γmax at which all weights become non-negative.

  3. For each γ, record the point estimate, covariate balance (RMSE), and negative influence.

  4. Examine how estimates change across this range to assess sensitivity to parametric assumptions.

If the goal is a single point estimate, we can instead choose γ* in the spirit of Lepski’s method, selecting the largest γ for which the change in the point estimate remains below a researcher-defined cutoff.

4. SYNTHETIC DATA STUDY

We evaluate our approach using synthetic data with both linear and nonlinear data generating processes (DGPs) where the target point lies outside the convex hull of training points (Figure 1), creating a challenging extrapolation scenario with limited sample size (n=10 training units, n/p=5). We also consider a high-dimensional setting (p=5000,n/p=0.2) using the Friedman DGP. Full descriptions and additional figures are provided in Appendix D.

Figure 1:

Figure 1:

Convex hull of source (training) and target units. The target point lies outside the convex hull, requiring extrapolation.

We consider two DGPs:

Linear:μ(X)=β⊤X,
Nonlinear:μ(X)=2X12+X2+X1X2.

For the linear DGP, where the parametric assumption holds, estimation error increases monotonically as we regularize extrapolation (i.e., increase γ): relying on correct parametric assumptions yields optimal estimates. However, for the nonlinear DGP (Figure 2), the quadratic and interaction terms violate the linearity assumption. The results illustrate the bias-bias-variance tradeoff predicted by our theory: small amounts of extrapolation remain beneficial due to the linear component, but excessive extrapolation leads to high error rates due to violations of the parametric model. The high-dimensional experiment further demonstrates that sweeping over γ smoothly interpolates between parametric regression-like behavior (unconstrained extrapolation) and IPW-like behavior (no extrapolation).

Figure 2:

Figure 2:

Estimation error (MSE) for the nonlinear DGP as a function of γ. The U-shaped curve illustrates the bias-bias-variance tradeoff: small γ allows beneficial extrapolation, while large γ incurs bias from poor balance.

5. GENERALIZING MEDICATION FOR OPIOID USE DISORDER TRIAL EVIDENCE

We now apply our framework to the problem of generalizing causal estimates from a randomized trial to a target population. Appendix B states the formal identification assumptions and maps this setting onto the general framework of Section 2.2.

The Starting Treatment With Agonist Replacement Therapies (START) trial (Si=1), initiated in 2006, was a multi-center study comparing buprenorphine versus methadone in treating opioid use disorder [Saxon et al., 2013, Hser et al., 2014]. The trial enrolled 1,271 participants, who were randomized in a 2:1 ratio to receive either buprenorphine or methadone. Methadone was found to have higher rates of patient retention in treatment compared to buprenorphine [Hser et al., 2014]. Our analysis focuses on the outcome of relapse to regular opioid use within 24 weeks of medication assignment, defined as non-study opioid use for four consecutive weeks or daily use for seven consecutive days.

Parikh et al. [2025] identified that Hispanic women with a pre-treatment history of amphetamine and benzodiazepine use were underrepresented in the START trial relative to the target population (Si=0), highlighting a practical violation of the positivity assumption T.4.. In this study, we estimate the target average treatment effect (TATE), τ=EYi(1)-Yi(0)∣Si=0, for this underrepresented subgroup using our proposed framework alongside standard linear regression, gradient boosting regression (GBR), inverse probability weighting (IPW), and double machine learning estimators.

The target sample is drawn from the 2015–2017 Treatment Episode Dataset - Admissions (TEDS-A), which includes data on individuals entering publicly funded substance use treatment programs across 48 states (excluding Oregon and Georgia) and the District of Columbia. Our analysis focuses on Hispanic women with a pre-treatment history of amphetamine and benzodiazepine use.

We code methadone as Z=1 and buprenorphine as Z=0, with Y=1 representing relapse. Pretreatment covariates include age, race, biological sex, and substance use history (amphetamine, benzodiazepines, cannabis, and intravenous drug use) measured at the initiation of medication for opioid use disorder (MOUD) treatment. For each treatment arm z∈{0,1}, we estimate μzx⋆=EYi∣Xi=x⋆,Si=1,Zi=z at the target profile x⋆=EXi∣Si=0 using the trial participants assigned to arm z as source units. The estimated TATE is then τˆ=μˆ1x⋆-μˆ0x⋆.

We then apply our proposed framework to this problem. By varying γ from 0.01 to 10, we examine how treatment effect estimates shift with increasing regularization of negative weights. Without regularization, the point estimates converge to those from linear regression. As regularization intensifies, however, the estimates smoothly shift towards zero and occasionally change sign from negative to positive for smaller values of λ. This sensitivity underscores the influence of assumptions on the point estimates. While increasing γ reduces negative influence (Figure 5), it worsens covariate balance, as reflected in higher RMSE values (Figure 4). Thus, our framework highlights a trade-off between minimizing reliance on parametric assumptions and achieving optimal covariate balance. Applied researchers should therefore interpret treatment effect estimates for this under-represented subgroup with caution given the sensitivity to modeling assumptions. As Parikh et al. [2025] emphasized, collecting more representative trial data is critical to credibly estimate treatment effects.

Figure 5:

Figure 5:

Negative influence, defined as the contribution of negative weights in estimation, for different values of γ and λ.

Figure 4:

Figure 4:

Balance between the trial and the target samples measured as the root mean squared error (RMSE) for different values of γ and λ.

6. CONCLUSION

This work proposes a framework for regularizing extrapolation in causal inference by replacing hard non-negativity constraints with soft penalties on negative weights. Our theoretical error bounds show a fundamental “bias-bias-variance” tradeoff between distributional imbalance, model misspecification, and estimator variance, decomposing extrapolation bias through a novel reflection perspective. Empirically, synthetic data experiments confirm that controlled extrapolation smoothly interpolates between fully constrained and unconstrained approaches. A real-world medication trial illustrates how sweeping over the regularization parameter provides a practical sensitivity analysis for transportability estimates under positivity violations.

Limitations and Future Work.

Our approach focuses on weighting-type estimators and relies on Hölder continuity and conditional ignorability, which may not hold in practice. Operationalizing sensitivity analysis for unmeasured confounding is a critical next step; existing proposals for balancing weights [Soriano et al., 2023] do not directly apply to our framework, and adapting such methods is an important direction. More broadly, future work should extend the bias-biasvariance tradeoff analysis to more flexible estimator classes and weaker continuity assumptions. A key open question is to characterize data-generating processes under which soft-constrained extrapolation (γ>0) provably improves MSE relative to both unconstrained (γ=0) and fully constrained (γ→∞) estimators, for example when the density ratio is large near x⋆. Finally, our theoretical results assume sub-Gaussian noise, though analogous bounds follow under bounded outcomes via Hoeffding-type inequalities.

Supplementary Material

1

Figure 3:

Figure 3:

Target Average Treatment Effects for the Target Sample for Hispanic Females who have a history of Amphetamine and Benzodiazepine use in TEDS-A population. Each hue corresponds to a value of λ and the x-axis corresponds to different values of γ (on log scale).

ACKNOWLEDGMENTS

The authors would like to thank the reviewers, the area chair, and the program chair of AISTATS 2026 for their constructive input to help improve the paper. Harsh Parikh, Kara Rudolph, and Elizabeth Stuart would like to acknowledge that this work was funded by NIH NIDA R01DA056407.

Footnotes

Proceedings of the 29th International Conference on Artificial Intelligence and Statistics (AISTATS) 2026, Tangier, Morocco. PMLR: Volume 300. Copyright 2026 by the author(s).

*

Replace Yi with Yi-μˆ(0), where μˆ(0) is the fitted intercept.

†

We assume mean zero sub-Gaussian noise, analogous results can be obtained with this assumption replaced by bounded noise.

‡

In practice, α=1 corresponds to Lipschitz continuity; larger α assumes smoother departures from the parametric model and penalizes extrapolation less aggressively.

Contributor Information

David Arbour, Adobe Research.

Harsh Parikh, Yale University.

Bijan Niknam, Johns Hopkins University.

Elizabeth Stuart, Johns Hopkins University.

Kara Rudolph, Columbia University.

Avi Feller, University of California, Berkeley.

References

  1. Abadie A, Diamond A, and Hainmueller J. Synthetic control methods for comparative case studies: Estimating the effect of california’s tobacco control program. Journal of the American statistical Association, 105(490):493–505, 2010. [Google Scholar]
  2. Athey S, Tibshirani J, and Wager S. Generalized random forests. 2019.
  3. Ben-Michael E, Feller A, Hirshberg DA, and Zubizarreta JR. The balancing act in causal inference. arXiv preprint arXiv:2110.14831, 2021a. [Google Scholar]
  4. Ben-Michael E, Feller A, and Rothstein J. The augmented synthetic control method. Journal of the American Statistical Association, 116(536):1789–1803, 2021b. [Google Scholar]
  5. Bruns-Smith D, Dukes O, Feller A, and Ogburn EL. Augmented balancing weights as linear regression. arXiv preprint arXiv:2304.14545, 2023. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Buja A, Hastie T, and Tibshirani R. Linear smoothers and additive models. The Annals of Statistics, pages 453–510, 1989. [Google Scholar]
  7. Chattopadhyay A and Zubizarreta JR. On the implied weights of linear regression for causal inference. Biometrika, 110(3):615–629, 2023. [Google Scholar]
  8. Chernozhukov V, Chetverikov D, Demirer M, Duflo E, Hansen C, Newey W, and Robins J. Double/debiased machine learning for treatment and structural parameters. The Econometrics Journal, 21(1):C1–C68, 2018. [Google Scholar]
  9. Chernozhukov V, Newey WK, and Singh R. Automatic debiased machine learning of causal and structural effects. Econometrica, 90(3):967–1027, 2022a. [Google Scholar]
  10. Chernozhukov V, Newey WK, and Singh R. Debiased machine learning of global and local parameters using regularized riesz representers. The Econometrics Journal, 25(3):576–601, 2022b. [Google Scholar]
  11. Crump RK, Hotz VJ, Imbens G, and Mitnik O. Moving the goalposts: Addressing limited overlap in the estimation of average treatment effects by changing the estimand, 2006.
  12. Curth A, Jeffares A, and van der Schaar M. Why do random forests work? understanding tree ensembles as self-regularizing adaptive smoothers. arXiv preprint arXiv:2402.01502, 2024. [Google Scholar]
  13. Degtiar I and Rose S. A review of generalizability and transportability. Annual Review of Statistics and Its Application, 10(1):501–524, 2023. [Google Scholar]
  14. Dong K and Ma T. First steps toward understanding the extrapolation of nonlinear models to unseen domains. arXiv preprint arXiv:2211.11719, 2022. [Google Scholar]
  15. Doudchenko N and Imbens GW. Balancing, regression, difference-in-differences and synthetic control methods: A synthesis. Technical report, National Bureau of Economic Research, 2016. [Google Scholar]
  16. D’Amour A, Ding P, Feller A, Lei L, and Sekhon J. Overlap in observational studies with high-dimensional covariates. Journal of Econometrics, 221(2):644–654, 2021. [Google Scholar]
  17. Farahani A, Voghoei S, Rasheed K, and Arabnia HR. A brief review of domain adaptation. Advances in data science and information engineering: proceedings from ICDATA 2020 and IKE 2020, pages 877–894, 2021. [Google Scholar]
  18. Hirshberg DA, Maleki A, and Zubizarreta JR. Minimax linear estimation of the retargeted mean. arXiv preprint arXiv:1901.10296, 2019. [Google Scholar]
  19. Hser Y-I, Saxon AJ, Huang D, Hasson A, Thomas C, Hillhouse M, Jacobs P, Teruya C, McLaughlin P, Wiest K, et al. Treatment retention among patients randomized to buprenorphine/naloxone compared to methadone in a multisite trial. Addiction, 109(1):79–87, 2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Imbens GW and Rubin DB. Causal inference in statistics, social, and biomedical sciences. Cambridge University Press, 2015. [Google Scholar]
  21. Johansson FD, Shalit U, Kallus N, and Sontag D. Generalization bounds and representation learning for estimation of potential outcomes and causal effects. Journal of Machine Learning Research, 23 (166):1–50, 2022. [Google Scholar]
  22. Kapoor S and Vaidya PM. Fast algorithms for convex quadratic programming and multicommodity flows. In Proceedings of the eighteenth annual ACM symposium on Theory of computing, pages 147–159, 1986. [Google Scholar]
  23. King G and Zeng L. The dangers of extreme counterfactuals. Political analysis, 14(2):131–159, 2006. [Google Scholar]
  24. Knaus MC. Treatment effect estimators as weighted outcomes. arXiv preprint arXiv:2411.11559, 2024. [Google Scholar]
  25. Kong L, Chen G, Stojanov P, Li H, Xing E, and Zhang K. Towards understanding extrapolation: a causal lens. Advances in Neural Information Processing Systems, 37:123534–123562, 2024. [Google Scholar]
  26. Li F, Zaslavsky AM, and Landrum MB. Propensity score weighting with multilevel data. Statistics in Medicine, 32(19):3373–3387, 2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Li F, Morgan KL, and Zaslavsky AM. Balancing covariates via propensity score weighting. Journal of the American Statistical Association, 113(521): 390–400, 2018. [Google Scholar]
  28. Lin Z and Han F. On regression-adjusted imputation estimators of the average treatment effect. arXiv preprint arXiv:2212.05424, 2022. [Google Scholar]
  29. Lin Z, Ding P, and Han F. Estimation based on nearest neighbor matching: from density ratio to average treatment effect. arXiv preprint arXiv:2112.13506, 2021. [Google Scholar]
  30. Netanyahu A, Gupta A, Simchowitz M, Zhang K, and Agrawal P. Learning to extrapolate: A transductive approach. arXiv preprint arXiv:2304.14329, 2023. [Google Scholar]
  31. Parikh H, Ross R, Stuart E, and Rudolph K. Who are we missing?: A principled approach to characterizing the underrepresented population. Journal of the American Statistical Association, 0(ja):1–32, 2025. doi: 10.1080/01621459.2025.2495319. [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Pfister N and Bühlmann P. Extrapolation-aware nonparametric statistical inference. arXiv preprint arXiv:2402.09758, 2024. [Google Scholar]
  33. Robins J, Sued M, Lei-Gomez Q, and Rotnitzky A. Comment: Performance of double-robust estimators when” inverse probability” weights are highly variable. Statistical Science, 22(4):544–559, 2007. [Google Scholar]
  34. Rosenbaum PR. Model-based direct adjustment. Journal of the American statistical Association, 82 (398):387–394, 1987. [Google Scholar]
  35. Saxon AJ, Ling W, Hillhouse M, Thomas C, Hasson A, Ang A, Doraimani G, Tasissa G, Lokhnygina Y, Leimberger J, et al. Buprenorphine/naloxone and methadone effects on laboratory indices of liver health: a randomized trial. Drug and alcohol dependence, 128(1–2):71–76, 2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  36. Shen X and Meinshausen N. Engression: extrapolation through the lens of distributional regression. Journal of the Royal Statistical Society Series B: Statistical Methodology, page qkae108, 2024. [Google Scholar]
  37. Soriano D, Ben-Michael E, Bickel PJ, Feller A, and Pimentel SD. Interpretable sensitivity analysis for balancing weights. Journal of the Royal Statistical Society Series A: Statistics in Society, 186(4):707–721, 2023. [Google Scholar]
  38. Stuart EA. Matching methods for causal inference: A review and a look forward. Statistical Science, 25 (1):1–21, 2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  39. Thomas PS and Brunskill E. Importance sampling with unequal support. In AAAI, pages 2646–2652, 2017. [Google Scholar]
  40. Zubizarreta JR. Stable weights that balance covariates for estimation with incomplete outcome data. Journal of the American Statistical Association, 110 (511):910–922, 2015. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

1

RESOURCES