arXiv:2610.22770stat.MLOct 2026

Manuscript Offprint

arXiv:2610.22770

Unit-level aggregation breaks coverage in causal foundation models

Gabe Schulman, Lucius E. J. Bynum, Yoav Wald

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Causal foundation models (CFMs) show promising results for treatment-effect estimation, with unit-level estimates that are competitive on standard benchmarks. Many causal analyses, however, inform decisions through effects averaged over groups of units, such as the full sample, the treated units, or a subgroup, and for such decisions a CFM is useful only if its credible intervals are calibrated. We examine these intervals and find that their coverage degrades, both in simple synthetic settings and on standard benchmarks. On ACIC 2016, for example, temperature-calibrated 95% intervals from CausalPFN (Balazadeh et al., 2025) fall below nominal coverage beyond groups of 30 out of 4802 units, and intervals for the full-sample average contain the true value in only 20% of datasets.

We trace this problem to how these models are trained and how their intervals are formed. They output a predictive distribution for one unit at a time and, at inference time, combine the unit-level variances as if the errors on different units were independent. We show formally that posterior uncertainty over the data-generating process makes these errors correlated. As a result, the combined variance is too small by a factor that grows with the size of the group. Empirically, this factor predicts where coverage fails and by how much. We then show that two neural process models, which make joint predictions for a group of units, account for this correlation and substantially improve coverage on synthetic tasks and, as heads on a frozen CausalPFN, on all six benchmarks.

1 INTRODUCTION

Causal Foundation Models (CFMs) are pre-trained on simulated causal datasets and estimate treatment effects for a new dataset in a single forward pass. Recent examples, including CausalPFN (Balazadeh et al., 2025), Do-PFN (Robertson et al., 2025), and CausalFM (Ma et al., 2026), perform competitively on synthetic and semi-synthetic benchmarks without fitting a new estimator to each dataset. CFMs typically estimate effects at the unit level, through Conditional Average Treatment Effects (CATEs) that describe the average treatment effect as a function of the observed covariates.

Many causal questions, however, concern effects averaged over a group of units, such as the population average treatment effect (PATE), the average treatment effect on the treated (ATT), and subgroup effects. For instance, clinical trials often focus on subgroup estimands (ICH, 2019; EMA, 2019), drugs have been approved for specific subpopulations after subgroup findings motivated dedicated trials (Taylor et al., 2004), and large policy evaluations report prespecified subgroup analyses alongside intervals too wide to rule out clinically meaningful effects (Baicker et al., 2013). We call any average of the CATE over a set of units a subset-CATE (see, e.g., Dorie et al., 2022) and define it formally in Section 3. In principle, a CFM can estimate any subset-CATE by averaging its unit-level estimates. One trained model can then target any subgroup without refitting, including the full sample and the treated units, which give analogues of the PATE and ATT.

In applied settings such as medicine, decisions often depend on how uncertain the estimate is, so a CFM is useful for these questions only if its intervals for group averages are calibrated. We show that the intervals current CFMs report for group averages, including the full sample, have no coverage

†^{\dagger}Equal supervision.

Figure

fraction of the sample aggregated, k/nk/n

Figure 1: Coverage of nominal 95% subset-CATE intervals from temperature-calibrated CausalPFN on standard benchmarks, with unit-level aggregation. Subsets are drawn uniformly at random. The horizontal axis is the fraction of the sample aggregated, and its right edge is the full sample. Thin dotted lines are the prediction of Equation (1), with mSm_S and ρS\rho_S measured once per benchmark and held fixed across kk, and the horizontal dashed line marks nominal coverage.

guarantee and fall below nominal on every benchmark we test, and we propose two models that address this problem. Some CFMs output a predictive distribution for each unit (Balazadeh et al., 2025; Ma et al., 2026), and the unit-level credible intervals CausalPFN forms from it are conservative on our benchmarks. CausalPFN also returns a full-sample average, which it reports as the ATE, with a 95% credible interval formed by averaging independent draws from the unit-level predictive distributions after an optional temperature calibration. On ACIC 2016 (Dorie et al., 2019), however, this interval contains the true full-sample average in only 8 of the 40 datasets we use when calibrated and in 18 of 40 when not. Mourão et al. (2026) report similarly poor ATE coverage on simulated clinical data. Intervals from the same procedure fall below nominal coverage for subsets larger than 11% of the sample on IHDP (Hill, 2011; Shalit et al., 2017) and 0.6% on ACIC 2016 (Figure 1).

Current CFMs form the aggregate interval by summarizing each unit's uncertainty separately and combining the summaries as if the units' errors were independent; we call this unit-level aggregation. Because Do-PFN (Robertson et al., 2025), CausalFM (Ma et al., 2026), and CCPFN (Stith et al., 2026) provide no aggregate estimator, any interval for a subset-CATE has to be built from their unit-level outputs. When there is uncertainty about the data-generating process, however, a model that overestimates one unit's effect tends to overestimate the others' too. Averaging over units then shrinks only the part of the error that is not shared. For a subset of k units, let ρS\rho_S be the correlation between the model's errors on two distinct units of the subset, taken over tasks (draws of the SCM, the dataset, and the subset; Section 4.1), and let mSm_S be the ratio of the variance the model reports for a unit to its mean squared error ( mS=1m_S = 1 for calibrated unit-level intervals). Under mean-zero Gaussian errors and a fixed reported variance, a nominal 95% interval formed by unit-level aggregation has coverage

C(k)  =  2Φ(1.96mS1+(k−1)ρS)−1.(1)\mathcal{C}(k)\;=\;2\Phi\bigg(1.96\sqrt{\frac{m_{S}}{1+(k-1)\rho_{S}}}\bigg)-1. \tag{1}

The denominator is the design effect of survey sampling (Kish, 1965), applied here to estimation errors. Because it grows linearly in k, coverage tends to zero for any fixed ρS>0\rho_S > 0. With over-wide unit-level intervals ( mS>1m_S > 1), coverage still falls, but at larger k. On ACIC 2016, for example, CausalPFN has mS=1.63m_S = 1.63 and ρS=0.02\rho_S = 0.02. For these values, Equation (1) predicts that coverage falls below nominal at 32 units and reaches 20% on the full sample; we observe 30 units and 20%.

Once the data are observed, the remaining uncertainty in a unit’s effect comes from the structural causal model (SCM) that generated them. The effects of all units depend on that same SCM. Unless the data determine the SCM, the unit effects are dependent a posteriori, and an estimator’s errors on different units are in general correlated. The exact posterior represents this dependence. Unit-level aggregation ignores it, even though the model’s unit-level intervals reflect the same uncertainty.

Accounting for this correlation requires sampling the unit effects jointly. Let τi\tau_i be the CATE of unit ii, SS the set of units in the subset, ζ\zeta the parameters of the SCM, and π(ζ∣D)\pi(\zeta \mid \mathcal{D}) their posterior given the dataset D\mathcal{D}. Joint and unit-level sampling both average draws of (τi)i∈S(\tau_i)_{i \in S} and differ only in where the integral over ζ\zeta is placed. They draw from

unit-level:

∏i∈S∫p(τi∣ζ)dπ(ζ∣D),(2)\prod_{i\in S}\int p(\tau_{i}\mid\zeta)d\pi(\zeta\mid\mathcal{D}), \tag{2}

SCM-marginalized:

∫∏i∈Sp(τi∣ζ)dπ(ζ∣D).(3)\int\prod_{i\in S}p(\tau_{i}\mid\zeta)d\pi(\zeta\mid\mathcal{D}). \tag{3}

Placing the integral inside the product, as unit-level aggregation does, treats the unit effects as independent once the SCM is integrated out. They share the SCM, however, and this induces the error correlation ρS\rho_{S} in Equation (1). SCM-marginalized aggregation places the integral outside the product and so accounts for the dependence between units. We approximate it with a latent neural process (NP) (Garnelo et al., 2018b), which replaces the SCM with a learned latent variable, and with a direct-decode conditional neural process (CNP) (Garnelo et al., 2018a), which learns the distribution of the subset-CATE directly.

Our contributions are as follows:

• Diagnosis. We show that unit-level aggregation understates the variance of any subset-CATE, whether over the full sample, the treated units, or a subgroup, by the design effect. Under Gaussian errors with a fixed reported variance, its coverage is given by Equation (1) (Proposition 1).

• Source. We show that, for the posterior mean, the error covariance is the covariance of unit effects under the posterior over the SCM (Proposition 2). It is generally nonzero unless the posterior determines the queried unit effects, and it cannot be computed from unit-level marginals alone.

• Method. We propose two SCM-marginalized models, a latent NP and a direct-decode CNP, that integrate over the SCM jointly for all units of the subset (Section 4.3), and train them both on a synthetic family and as heads on a frozen CausalPFN.

• Evidence. CausalPFN’s intervals lose nominal coverage on all six standard benchmarks, including for the full sample. With the weights held fixed, unit-level coverage at the largest subset is at most 0.47 across 60 cells, while SCM-marginalized coverage has a median of 0.89. On the six benchmarks, the two models as heads on a frozen CausalPFN cover the full-sample average in 90% and 89% of 240 datasets, against 25% and 52% for unit-level aggregation from the same weights and 53% for CausalPFN. Proposition 1 predicts coverage on the synthetic family to within a median absolute error of 0.05 (Section 5).

References (64)