Manuscript Offprint
arXiv:2610.22770Unit-level aggregation breaks coverage in causal foundation models
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
Equal supervision.

fraction of the sample aggregated,
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 and measured once per benchmark and held fixed across , 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 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 be the ratio of the variance the model reports for a unit to its mean squared error ( 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
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 . With over-wide unit-level intervals ( ), coverage still falls, but at larger k. On ACIC 2016, for example, CausalPFN has and . 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 be the CATE of unit , the set of units in the subset, the parameters of the SCM, and their posterior given the dataset . Joint and unit-level sampling both average draws of and differ only in where the integral over is placed. They draw from
unit-level:
SCM-marginalized:
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 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).
Design effects and clustered data. Correlation within groups inflates the variance of an average by the design effect, which Kish (1965) introduced for complex surveys and which also applies to cluster sampling (Cochran, 1977) and cluster-randomized trials (Hedges, 2007). We apply it to a model's estimation errors, whose correlation comes from the posterior over the SCM, not from the sampling design.
Uncertainty quantification for amortized inference. In the amortized prediction setting, prior-data fitted networks (PFNs) are trained on synthetic learning problems drawn from a prior, so that a single forward pass approximates posterior inference (Müller et al., 2022), and they are state of the art on tabular data (Hollmann et al., 2023; 2025). Nagler (2023) studies the statistical properties of PFNs as pre-tuned predictors, analyzing their bias and variance. Later work extends PFNs to full posteriors (Reuter et al., 2025) and to credible sets for a global functional (Ng et al., 2026). Notably, Nagler &
Rügamer (2025) note that their pointwise procedure does not provide joint inference across query points, which a subset-CATE interval requires, and leave it to future work. Equations (2) and (3) correspond to the marginal and joint predictive distributions of Wen et al. (2021) and Osband et al. (2023). Gaussian and autoregressive CNPs model the dependence between target points that standard CNPs omit (Markou et al., 2022; Bruinsma et al., 2023), and quantile CNPs have been applied to amortized estimation of unit-level and population-level causal estimands (Bynum et al., 2026).
Causal foundation models. PFNs and other amortized methods have been applied to causal effect estimation (Nilforoshan et al., 2023; Zhang et al., 2024; Bynum et al., 2025; Balazadeh et al., 2025; Robertson et al., 2025; Ma et al., 2026; Stith et al., 2026), where they perform competitively on standard benchmarks. Those that report uncertainty typically do so for single units or, like CausalPFN, aggregate independent unit-level draws, and two recent papers examine their uncertainty for aggregate effects. Mourão et al. (2026) evaluate CausalPFN on simulated clinical scenarios and report poor coverage of its 95% credible interval for the ATE, attributing it to estimation bias and inadequate uncertainty quantification. Melnychuk et al. (2026) show that a PFN's posterior for an aggregate effect can have a prior-induced bias that does not vanish asymptotically, which precludes frequentist consistency. They also note that a PFN's pointwise predictive distributions do not determine a unique joint posterior and that sampling them independently ignores the dependence between points. They obtain joint draws with martingale posteriors. We quantify the coverage lost by independent aggregation for arbitrary subsets and show that CausalPFN forms its full-sample interval this way. Our latent NP models this dependence through a shared latent variable, and our CNP predicts the subset average directly.
3 SETUP
We consider effect estimation under a binary treatment. Each unit has covariates , a treatment , and potential outcomes , one of which is observed as . We write the CATE as and for its value at unit .
Subset-CATE. Our target averages these unit-level effects over a queried subset of units. Let be the indices of the subset and its size. We define
and refer to as the subset-CATE.
Because averages at the realized covariates of the units in , it is a finite-sample estimand—the estimand of Abadie & Imbens (2006) restricted to the units in . It differs from the sample average treatment effect , which includes unit-level noise, and from the PATE .
At , is the CATE of a single unit. At it is a sample analogue of the PATE, and the quantity existing CFMs report as the ATE; at it is the analogous quantity for the ATT.
Meta-learning. CFMs are amortized causal estimators, with recent methods building on the meta-learning tradition of prior-data fitted networks (Müller et al., 2022; Hollmann et al., 2023). Such models are trained on tasks drawn i.i.d. from a task distribution. Each task consists of a structural causal model (SCM) , a dataset drawn from the SCM, and a subset of one or more units, drawn given , whose subset-CATE is queried. We write for the CATE under SCM when the dependence matters. Current CFMs typically set , so the training target is the CATE. The model then returns a predictive distribution for a single unit's treatment effect, whose mean and variance we write as and . Estimating for with a credible interval requires combining and across units in .
Uncertainty quantification and coverage. CFMs that provide uncertainty quantification typically report a credible interval, since they are designed to approximate a posterior distribution under a known prior. We denote the interval for as . When it is symmetric about we write , with the standard deviation the model reports for and the standard normal quantile ( at our ).
We evaluate credible intervals by their coverage, the fraction of queries where the interval contains the true subset-CATE. Coverage at subset size k is
where the probability is over the SCM , the dataset , and the subset of size , drawn uniformly or by a selection rule. Here is the distribution of evaluation tasks, which can differ from a model's training prior ; for a benchmark, the probability is over its datasets. Appendix B gives the estimator we use for and the task counts behind each reported value.
Identification. Our analysis assumes that all confounders are observed and that positivity holds, so that the subset-CATE is identified. Our synthetic family satisfies both by construction (Appendix A). The benchmarks have no unobserved confounding, but IHDP and some ACIC 2016 settings have limited overlap, so part of their error can come from extrapolation.
4 WHY UNIT-LEVEL AGGREGATION BREAKS COVERAGE
4.1 THE DESIGN EFFECT
Let denote the estimator's error at unit . Since is an average of unit-level effects, the subset-CATE error is the average of unit-level errors, . We define two moments of the errors and their ratio, with expectations over tasks as in Equation (5),
We use raw second moments because coverage depends on the total error, including any bias in unit-level estimates. We define the moments over the queried subset because a query that selects units on a covariate (e.g., patients aged 40–60) may have more strongly correlated errors than the dataset as a whole. When is drawn uniformly, , , and equal their values for the full sample and so do not depend on . Appendix D shows how and change for selected subgroups.
Existing CFMs combine the unit-level variances as if the errors were independent, which gives the reported variance
CausalPFN’s aggregate estimator averages independent draws from the units’ predictive distributions, which makes it a Monte Carlo version of Equation (7) (Appendix E).
Proposition 1 (Design effect; cf. Kish 1965). Let , with expectations over , , and as in Equation (5). The mean squared error of is
If the interval is with from Equation (7), then the ratio of reported to actual squared error and (when does not vary across queries) the coverage are
where and is the average variance the model reports for a unit in . If, in addition, is mean-zero Gaussian, then .
src/causalpfn/causal_estimator.py:517 and src/causalpfn/models/icl_model.py:61 of Balazadeh et al. (2026), at commit 7da4afa.
Proof sketch (Appendix G). Expanding gives diagonal terms, which contribute on average, and cross terms, which contribute ; the rest follows by dividing Equation (7) by Equation (8) and standardizing the error.
The standardized error in Equation (10) has second moment one regardless of , , and . As a result, once the shape of its distribution is fixed, these quantities affect coverage only through . Under Gaussian errors, the interval attains nominal coverage at , and for coverage is below nominal and increasing in . For , setting gives the largest subset for which the reported interval is wide enough,
Calibrated unit-level intervals ( ) give , so nominal coverage holds for single units only. Narrower ones ( ) attain nominal coverage at no subset size under Gaussian errors. Wider ones attain it up to , with inversely proportional to .
Equations (8) and (9) hold for any error distribution. When the reported variance varies across queries, Equation (1) is an approximation, since R is a ratio of expectations (Appendix G); we test it in Section 5.2.
4.2 THE SOURCE OF THE ERROR CORRELATION
For the posterior mean, the correlation in Proposition 1 comes entirely from posterior uncertainty over the SCM. Write for the observed record of unit . Given the SCM, the units of a task are i.i.d. The SCM itself is random, however, so the joint distribution of the units is a mixture over SCMs,
which does not factorize across units. Because observing one unit is informative about , and hence about the others, the units are exchangeable but not independent. De Finetti's theorem (de Finetti, 1937), in the general form of Hewitt & Savage (1955), shows that any infinitely exchangeable sequence admits such a representation for some random measure. For CFMs, that measure is the observational distribution of the SCM, and under the assumptions of Section 3 each is a functional of it. A CFM that is permutation invariant in its context treats its data as exchangeable.
Proposition 2 (Source of the correlation). For any estimator whose outputs are functions of D,
If is conditionally independent of the unit effects given , then is the average, over , , and pairs of distinct units in , of this covariance plus , where . For the posterior mean under , .
Proof sketch (Appendix G). Given , the outputs are fixed; given as well, each is fixed. Hence , and the law of total covariance leaves only the covariance of and across posterior draws of . Averaging over , , and pairs gives . The term is positive when the estimator errs in the same direction at units and .
Equation (3) includes this covariance, and Equation (2) sets it to zero. The unit-level marginals do not determine it (Appendix G), so recovering it requires a joint model of the unit effects or, as in martingale posteriors (Ng et al., 2026; Melnychuk et al., 2026), repeated forward passes.
4.3 SCM-MARGINALIZED AGGREGATION
The posterior variance of averages the covariance of Proposition 2 over all pairs of units,
In practice, both distributions in Equations (2) and (3) are approximated by Monte Carlo sampling. The two schemes differ in whether the unit effects in one draw are sampled independently or computed
| dataset | covariates | source | n | d |
|---|---|---|---|---|
| Synthetic family | simulated | Appendix A | 500 | 3 |
| Hill-A | simulated | Hill (2011), setting A | 1000 | 25 |
| Friedman | simulated U(0,1) | Friedman (1991), confounded | 1000 | 10 |
| IHDP | real, IHDP study | Hill (2011); splits of Shalit et al. (2017) | 747 | 25 |
| Hill-B | simulated | Hill (2011), setting B | 1000 | 25 |
| Kang-Schafer | simulated, nonlinear in 4 latents | Kang & Schafer (2007) | 1000 | 4 |
| ACIC 2016 | real, competition covariate table | Dorie et al. (2019) | 4802 | 58 |
Table 1: Datasets used in our experiments. Our models are trained and evaluated on the synthetic family, our heads on CausalPFN are evaluated on the six benchmarks, and CausalPFN is evaluated on all seven. Hill-A, Hill-B, Friedman, and Kang–Schafer are our reimplementations (Appendix A). d is the number of covariates supplied to the estimator.
under one shared draw of the SCM. Let be one draw of the subset-CATE and one draw of the SCM. Conditional on , the variance of one draw is
unit-level:
SCM-marginalized: ,
The first is what CausalPFN's aggregate estimator computes, and it omits the cross terms of Equation (14). The second includes them, because the units in a draw share one SCM. For the exact posterior under , the first gives in Proposition 1, and the second gives and exact coverage at every (Corollary 1). Since no CFM outputs draws of , the models below approximate SCM-marginalized aggregation without them.
Latent NP. A latent NP (Garnelo et al., 2018b) replaces the SCM with a learned latent variable . An encoder maps the context to a distribution , and a decoder maps , the context, and a unit's covariates to a distribution over that unit's effect. The model's joint distribution over the unit effects is then
which has the SCM-marginalized form of Equation (3) with in place of . The model is trained on two likelihood terms estimated with draws of from , with no KL term (cf. Foong et al., 2020): one for each unit's effect and one for on a random subset , averaging the decoded unit effects within each draw (Appendix B). Because the decoder treats units as independent given , any dependence between units that the model learns must be captured by . The subset-level term trains this dependence directly, since for large subsets the variance the model assigns to comes mainly from how the within-draw averages vary across draws. At inference, we sample one per Monte Carlo draw, decode every unit of from it, and average, which implements Equation (16) with in place of . Uncertainty in the per-unit decoder given is still combined as in unit-level aggregation.
Direct-decode CNP. The CNP (Garnelo et al., 2018a) takes as a mask in the forward pass and outputs a Gaussian . When it is trained to minimize over uniformly drawn subsets of all sizes, the best Gaussian output has the mean and variance of the posterior under its training prior (Proposition 3). It thus reports the variance of Equation (14), cross terms included, without sampling. Because is an input, the model need not be retrained for new subsets.
5 EXPERIMENTS
5.1 SETUP
Datasets. We train and evaluate our own models on a synthetic family of SCMs (Appendix A). Each task draws a new SCM with three covariates and units, and has a closed form for every subset. A sharpness parameter controls how far propensity scores are pushed toward 0 and 1;
we use and for our models and for CausalPFN. CausalPFN is evaluated on the same family and on six standard benchmarks (Table 1), and our heads on CausalPFN on the six benchmarks. Because all of them have simulated response surfaces, we score intervals against each unit's known conditional effect (Appendix A).
Models. CausalPFN is used as released, without retraining, with intervals formed by its own aggregate estimator. On the benchmarks we enable its built-in per-dataset temperature calibration; on the synthetic family we use its default, which leaves calibration off. Our CNP and latent NP are trained at s = 1, with three seeds each (Appendix B). To evaluate SCM-marginalized aggregation on the benchmarks, we also train both models as heads on the frozen CausalPFN, on a broader prior with n between 100 and 5000 and up to 60 covariates, with three seeds each. Each head reads CausalPFN's last hidden states and its unit-level effect mean and standard deviation (Appendix B). No benchmark is used for training or checkpoint selection.
Experiments. The benchmark experiment applies CausalPFN to each benchmark, querying uniformly drawn subsets of increasing size on 40 datasets per benchmark. The fixed-weight experiment holds a trained CNP or latent NP fixed and, for the same subset, forms one interval by unit-level aggregation, as in Equation (2), and one by SCM-marginalized aggregation, as in Equation (3). Because weights, context, subsets, and targets are shared, the comparison isolates the aggregation step (for the CNP, the point estimate also differs). It tests the mechanism and is not a comparison with CausalPFN. It covers six subset selection rules for the CNP and three for the latent NP, plus s = 4 for the CNP with uniformly drawn subsets. We call each of the 60 combinations of trained model, rule, subgroup size, and s a cell (Appendix B). The head experiment repeats the fixed-weight comparison with the heads on the six benchmarks, on the datasets and uniformly drawn subsets of the benchmark experiment. The variance-ratio experiment compares coverage with Proposition 1 for every model, rule, and subset size.
Metrics. We report coverage of nominal 95% intervals, estimated over tasks and subsets as in Appendix B, and , the subset size at which observed coverage first falls below nominal. Because and require the true effects, we use them only to explain the results.
5.2 RESULTS
Benchmarks. Table 4 in Appendix F gives the full results behind Figure 1. Coverage starts at or above nominal on every benchmark in the figure and falls below it as subsets grow, fastest on ACIC 2016 and slowest on Hill-A, where it falls below nominal only beyond half the sample. Equation (1) approximates the observed curves but overstates coverage on Hill-B and Kang–Schafer (Appendix F). The error correlation alone does not predict where coverage fails. Hill-A has the largest correlation in the suite ( ) but is the last to fall below nominal, while Hill-B, with a correlation twenty times smaller, loses coverage at 5.8% of its sample. Equation (11) accounts for the ordering, since Hill-A's unit-level intervals are far too wide ( ) and Hill-B's only slightly ( ). Accurate unit-level estimates do not ensure aggregate coverage either. Although Kang–Schafer has the second-lowest normalized RMSE in the suite (0.09), it loses coverage at 2.1% of its sample.
Fixed weights. In Figure 2, the unit-level interval shrinks at close to the rate that independence implies, and at the largest subsets it is 7.7 times narrower than the SCM-marginalized interval for the CNP and 5.5 times for the latent NP. Unit-level coverage falls with k, while SCM-marginalized coverage stays between 0.90 and 0.98. Across all 60 cells, SCM-marginalized coverage at the largest subset has a median of 0.89 (range 0.70 to 0.99), and its lowest value exceeds the highest unit-level value (0.47). Coverage is lowest for the CNP at s = 4, outside its training distribution, and for subsets selected on the true effect, which Corollary 1 excludes because S depends on the SCM. The latent NP, whose decoder treats units as independent given z, has a median of 0.83. In a separate comparison without fixed weights, with three models trained at n = 2000, unit-level coverage is 0.17 at k = n, and the two SCM-marginalized models reach 0.97 and 0.98 (Table 5).
Heads on CausalPFN. Figure 3 and Table 7 in Appendix F repeat the fixed-weight comparison with the added heads on the six benchmarks. At , unit-level aggregation from the same weights covers between 0.10 and 0.72, and SCM-marginalized aggregation between 0.71 and 1.00. Over

Figure 2: Unit-level and SCM-marginalized aggregation from one CNP and one latent NP, with uniformly drawn subsets at s = 1, showing interval width and coverage against subset size.

Figure 3: Coverage of nominal 95% subset-CATE intervals on the six benchmarks, with subsets drawn uniformly at random. Left: CausalPFN with unit-level aggregation, as in Figure 1. Middle and right: SCM-marginalized aggregation from the CNP and latent NP heads on the frozen CausalPFN, with lines showing the mean over three seeds and bands their range. The heads condition on the whole sample, while the CausalPFN curves come from its public interface, which on ACIC 2016 conditions groups of units on their nearest neighbours (Appendix F). The figure compares aggregation rules on the same benchmarks, not the accuracy of the models.
the six benchmarks, the full-sample interval contains the true value in 90% of the 240 datasets for the CNP head and 89% for the latent NP head, against 25% and 52% under unit-level aggregation and 53% for CausalPFN. It is furthest below nominal on ACIC 2016 (0.71 and 0.78) and Hill-B (0.83 and 0.85). The heads do not improve unit-level accuracy. Their normalized RMSE is lower than CausalPFN's on Hill-A, Friedman, and Kang–Schafer and higher on Hill-B (0.52 against 0.28), IHDP (0.20 and 0.21 against 0.11), and ACIC 2016 (0.30 against 0.27), and at k = n their intervals are wider than CausalPFN's on every benchmark (Table 8).
Variance ratio. Figure 4 plots observed coverage against R. We compare it with the prediction for , since for the predicted coverage is at least nominal. Unit-level coverage closely follows Equation (1), with a median absolute error of 0.043 for our models and 0.021 for CausalPFN on the synthetic family. Because Equations (8) and (9) are exact given and , the figure mainly tests the Gaussian and fixed-variance assumptions. SCM-marginalized points lie well above the curve (median absolute error 0.315), since their intervals include the cross terms. On the benchmarks, the prediction for unit-level aggregation from the heads has a median absolute error of 0.029 for the CNP.

Figure 4: Measured coverage against the variance ratio R of Proposition 1, pooled across models, values of s, subset selection rules, and subset sizes. The curve is Equation (1), with and measured from unit-level errors. SCM-marginalized points are plotted at the R of unit-level aggregation.
head and 0.042 for the latent NP head over the points with , with its largest error on IHDP for both heads (0.23 and 0.15; Appendix F).
6 DISCUSSION AND LIMITATIONS
Our CNP and latent NP are small models trained on a synthetic family; we do not claim they match CausalPFN's accuracy or generality. As heads on a frozen CausalPFN, they recover most of the coverage lost on the benchmarks but not all of it, and their unit-level estimates are less accurate than CausalPFN's on three of the six, most of all on Hill-B and IHDP. Because our family has few parameters, a small latent can capture most of the posterior dependence, but richer priors may require a larger one. On benchmarks, part or all of can come from the shared bias term of Proposition 2, which no aggregation rule removes.
For existing models, rescaling unit-level intervals to be calibrated did not help in our experiments, and it made coverage worse when they were too wide (Appendix C). Multiplying the aggregate variance by the design effect brings coverage close to nominal, but it requires and . They could be estimated on simulated tasks, but they vary across our benchmarks by more than an order of magnitude (Table 4) and depend on the model as well as the subgroup.
7 CONCLUSION
Causal foundation models commonly form intervals for effects averaged over the full sample, the treated units, or a subgroup by combining unit-level intervals as if the errors were independent. Because posterior uncertainty over the SCM makes these errors correlated, the combined variance is too small by the design effect, and coverage falls as the group grows. We observe this on all six standard benchmarks, trace it to the aggregation step with the weights held fixed, and predict its size from and . Integrating over the SCM jointly for all units recovers the missing covariance. Both models we test that do so give much higher coverage than unit-level aggregation, on the synthetic family and as heads on a frozen CausalPFN on the six benchmarks, though not always at the nominal level.
USE OF AI TOOLS
We used large language models to aid and polish writing, for retrieval and discovery of related work, and to draft sections of this paper. All drafted text was reviewed and revised by the authors, all cited work was verified against primary sources, and all theoretical claims and experimental results are the authors' own.
REPRODUCIBILITY STATEMENT
Appendix A specifies the synthetic family in full, including the coefficient priors and the propensity mechanism, and gives the covariate source, sample size, and generating design for each of the six benchmarks. Appendix B gives the architectures, the training setup and checkpoint selection for each model, and the task and subset counts behind every coverage estimate we report. Appendix E identifies the CausalPFN code paths our characterization relies on, at a pinned commit. CausalPFN is used as released, without retraining, with the calibration settings of Section 5.1. Code to reproduce every figure and table, with the recorded configuration and training command for each of our trained models, is available at https://github.com/gabeschulman-nyu/subset-cate-coverage.
REFERENCES
Alberto Abadie and Guido W. Imbens. Large sample properties of matching estimators for average treatment effects. Econometrica, 74(1):235–267, 2006.
Ahmed M. Alaa, Zaid Ahmad, and Mark van der Laan. Conformal meta-learners for predictive inference of individual treatment effects. In Advances in Neural Information Processing Systems, volume 36, pp. 47682–47703, 2023. Oral. arXiv:2308.14895.
Katherine Baicker, Sarah L. Taubman, Heidi L. Allen, Mira Bernstein, Jonathan H. Gruber, Joseph P. Newhouse, Eric C. Schneider, Bill J. Wright, Alan M. Zaslavsky, and Amy N. Finkelstein. The Oregon experiment: Effects of Medicaid on clinical outcomes. New England Journal of Medicine, 368(18):1713–1722, 2013.
Vahid Balazadeh, Hamidreza Kamkari, Valentin Thomas, Benson Li, Junwei Ma, Jesse C. Cresswell, and Rahul G. Krishnan. CausalPFN: Amortized causal effect estimation via in-context learning. In Advances in Neural Information Processing Systems, volume 38, pp. 154945–154984, 2025. Spotlight. arXiv:2506.07918.
Vahid Balazadeh, Hamidreza Kamkari, Valentin Thomas, Benson Li, Junwei Ma, Jesse C. Cresswell, and Rahul G. Krishnan. CausalPFN, 2026. Software repository, commit 7da4afa. https://github.com/vdblm/CausalPFN.
Wessel P. Bruinsma, Stratis Markou, James Requeima, Andrew Y. K. Foong, Tom R. Andersson, Anna Vaughan, Anthony Buonomo, J. Scott Hosking, and Richard E. Turner. Autoregressive conditional neural processes. In International Conference on Learning Representations, 2023. arXiv:2303.14468.
Lucius E. J. Bynum, Aahlad Manas Puli, Diego Herrero-Quevedo, Nhi Nguyen, Carlos Fernandez-Granda, Kyunghyun Cho, and Rajesh Ranganath. Black box causal inference: Effect estimation via meta prediction. arXiv preprint arXiv:2503.05985, 2025.
Lucius E. J. Bynum, Rajesh Ranganath, and Kyunghyun Cho. Computational identifiability. arXiv preprint arXiv:2606.19361, 2026.
Victor Chernozhukov, Denis Chetverikov, Mert Demirer, Esther Duflo, Christian Hansen, Whitney Newey, and James Robins. Double/debiased machine learning for treatment and structural parameters. The Econometrics Journal, 21(1):C1–C68, 2018.
Victor Chernozhukov, Mert Demirer, Esther Duflo, and Iván Fernández-Val. Fisher–Schultz lecture: Generic machine learning inference on heterogeneous treatment effects in randomized experiments, with an application to immunization in India. Econometrica, 93(4):1121–1164, 2025.
William G. Cochran. Sampling Techniques. John Wiley & Sons, New York, 3rd edition, 1977.
Bruno de Finetti. La prévision: ses lois logiques, ses sources subjectives. Annales de l'Institut Henri Poincaré, 7(1):1–68, 1937.
Vincent Dorie, Jennifer Hill, Uri Shalit, Marc Scott, and Dan Cervone. Automated versus do-it-yourself methods for causal inference: Lessons learned from a data analysis competition. Statistical Science, 34(1):43–68, 2019.
Vincent Dorie, George Perrett, Jennifer L. Hill, and Benjamin Goodrich. Stan and bart for causal inference: Estimating heterogeneous treatment effects using the power of stan and the flexibility of machine learning. Entropy, 24(12), 2022. ISSN 1099-4300. doi: 10.3390/e24121782. URL https://www.mdpi.com/1099-4300/24/12/1782.
EMA. Guideline on the investigation of subgroups in confirmatory clinical trials. Technical Report EMA/CHMP/539146/2013, European Medicines Agency, 2019.
Andrew Y. K. Foong, Wessel P. Bruinsma, Jonathan Gordon, Yann Dubois, James Requeima, and Richard E. Turner. Meta-learning stationary stochastic process prediction with convolutional neural processes. In Advances in Neural Information Processing Systems, volume 33, pp. 8284–8295, 2020. arXiv:2007.01332.
Jerome H. Friedman. Multivariate adaptive regression splines. The Annals of Statistics, 19(1):1–67, 1991.
Marta Garnelo, Dan Rosenbaum, Christopher J. Maddison, Tiago Ramalho, David Saxton, Murray Shanahan, Yee Whye Teh, Danilo J. Rezende, and S. M. Ali Eslami. Conditional neural processes. In International Conference on Machine Learning, volume 80 of PMLR, pp. 1704–1713, 2018a. arXiv:1807.01613.
Marta Garnelo, Jonathan Schwarz, Dan Rosenbaum, Fabio Viola, Danilo J. Rezende, S. M. Ali Eslami, and Yee Whye Teh. Neural processes. arXiv preprint arXiv:1807.01622, 2018b. ICML Workshop on Theoretical Foundations and Applications of Deep Generative Models.
Larry V. Hedges. Effect sizes in cluster-randomized designs. Journal of Educational and Behavioral Statistics, 32(4):341–370, 2007.
Edwin Hewitt and Leonard J. Savage. Symmetric measures on Cartesian products. Transactions of the American Mathematical Society, 80(2):470–501, 1955.
Jennifer L. Hill. Bayesian nonparametric modeling for causal inference. Journal of Computational and Graphical Statistics, 20(1):217–240, 2011.
Noah Hollmann, Samuel Müller, Katharina Eggensperger, and Frank Hutter. TabPFN: A transformer that solves small tabular classification problems in a second. In International Conference on Learning Representations, 2023. arXiv:2207.01848.
Noah Hollmann, Samuel Müller, Lennart Purucker, Arjun Krishnakumar, Max Körfer, Shi Bin Hoo, Robin Tibor Schirrmeister, and Frank Hutter. Accurate predictions on small data with a tabular foundation model. Nature, 637(8045):319–326, 2025.
ICH. ICH E9(R1) addendum on estimands and sensitivity analysis in clinical trials. Technical report, International Council for Harmonisation of Technical Requirements for Pharmaceuticals for Human Use, 2019. Step 4 final version, adopted 20 November 2019.
Joseph D. Y. Kang and Joseph L. Schafer. Demystifying double robustness: A comparison of alternative strategies for estimating a population mean from incomplete data. Statistical Science, 22(4):523–539, 2007.
Leslie Kish. Survey Sampling. John Wiley & Sons, New York, 1965.
Lihua Lei and Emmanuel J. Candès. Conformal inference of counterfactuals and individual treatment effects. Journal of the Royal Statistical Society: Series B, 83(5):911–938, 2021. arXiv:2006.06138.
Yuchen Ma, Dennis Frauen, Emil Javurek, and Stefan Feuerriegel. Foundation models for causal inference via prior-data fitted networks. In International Conference on Learning Representations, 2026. arXiv:2506.10914.
Stratis Markou, James Requeima, Wessel P. Bruinsma, Anna Vaughan, and Richard E. Turner. Practical conditional neural processes via tractable dependent predictions. In International Conference on Learning Representations, 2022. arXiv:2203.08775.
Valentyn Melnychuk, Vahid Balazadeh, Stefan Feuerriegel, and Rahul G. Krishnan. Frequentist consistency of prior-data fitted networks for causal inference. In International Conference on Machine Learning, volume 306 of PMLR, pp. 87581–87611, 2026. arXiv:2603.12037.
Pascal Memmesheimer, Vincent Heuveline, and Jürgen Hesser. A systematic review of conformal inference procedures for treatment effect estimation: Methods and challenges. arXiv preprint arXiv:2509.21660, 2025.
Francisco Mourão, David Hajage, Daria Bystrova, Bertrand Bouvarel, Nathanaël Lapidus, Fabrice Carrat, and Benjamin Glemain. Prior-data fitted networks for causal inference: a simulation study with real-world scenarios. arXiv preprint arXiv:2603.15928, 2026.
Samuel Müller, Noah Hollmann, Sebastian Pineda Arango, Josif Grabocka, and Frank Hutter. Transformers can do Bayesian inference. In International Conference on Learning Representations, 2022. arXiv:2112.10510.
Thomas Nagler. Statistical foundations of prior-data fitted networks. In International Conference on Machine Learning, volume 202 of PMLR, pp. 25660–25676, 2023. arXiv:2305.11097.
Thomas Nagler and David Rügamer. Uncertainty quantification for prior-data fitted networks using martingale posteriors, 2025. arXiv:2505.11325.
Kenyon Ng, Edwin Fong, David T. Frazier, Jeremias Knoblauch, and Susan Wei. TabMGP: Martingale posterior with TabPFN. In International Conference on Machine Learning, 2026. arXiv:2510.25154.
Hamed Nilforoshan, Michael Moor, Yusuf Roohani, Yining Chen, Anja Šurina, Michihiro Yasunaga, Sara Oblak, and Jure Leskovec. Zero-shot causal learning. In Advances in Neural Information Processing Systems, volume 36, pp. 6862–6901, 2023.
Ian Osband, Zheng Wen, Seyed Mohammad Asghari, Vikranth Dwaracherla, Morteza Ibrahimi, Xiuyuan Lu, and Benjamin Van Roy. Epistemic neural networks. In Advances in Neural Information Processing Systems, volume 36, 2023. arXiv:2107.08924.
Arik Reuter, Tim G. J. Rudner, Vincent Fortuin, and David Rügamer. Can transformers learn full Bayesian inference in context? In International Conference on Machine Learning, volume 267 of PMLR, pp. 51531–51582, 2025. arXiv:2501.16825.
Jake Robertson, Arik Reuter, Siyuan Guo, Noah Hollmann, Frank Hutter, and Bernhard Schölkopf. Do-PFN: In-context learning for causal effect estimation. In Advances in Neural Information Processing Systems, volume 38, pp. 174811–174848, 2025. Robertson and Reuter contributed equally. arXiv:2506.06039.
Vira Semenova and Victor Chernozhukov. Debiased machine learning of conditional average treatment effects and other causal functions. The Econometrics Journal, 24(2):264–289, 2021. arXiv:1702.06240.
Uri Shalit, Fredrik D. Johansson, and David Sontag. Estimating individual treatment effect: Generalization bounds and algorithms. In International Conference on Machine Learning, volume 70 of PMLR, pp. 3076–3085, 2017. arXiv:1606.03976.
Christopher Stith, Medha Barath, Vahid Balazadeh, Jesse C. Cresswell, and Rahul G. Krishnan. Causal foundation models with continuous treatments, 2026. arXiv:2605.15133.
Anne L. Taylor, Susan Ziesche, Clyde Yancy, Peter Carson, Ralph D'Agostino, Jr., Keith Ferdinand, Malcolm Taylor, Kirkwood Adams, Michael Sabolinski, Manuel Worcel, and Jay N. Cohn. Combination of isosorbide dinitrate and hydralazine in blacks with heart failure. New England Journal of Medicine, 351(20):2049–2057, 2004.
Zheng Wen, Ian Osband, Chao Qin, Xiuyuan Lu, Morteza Ibrahimi, Vikranth Dwaracherla, Mohammad Asghari, and Benjamin Van Roy. From predictions to decisions: The importance of joint predictive distributions. arXiv preprint arXiv:2107.09224, 2021.
Jiaqi Zhang, Joel Jennings, Agrin Hilmkil, Nick Pawlowski, Cheng Zhang, and Chao Ma. Towards causal foundation model: on duality between optimal balancing and attention. In International Conference on Machine Learning, volume 235 of PMLR, pp. 59042–59065, 2024.
A DATA-GENERATING PROCESSES
We use a synthetic family so that the true subset-CATE can be computed exactly for any subset and the conditions under which coverage fails can be varied.
A.1 SYNTHETIC FAMILY
Each task draws a fresh set of coefficients, then units from the resulting SCM. Covariates are independently for with , and each unit is summarized by the feature vector
which includes squared terms so that both treatment assignment and outcome may depend nonlinearly on the covariates.
Treatment is assigned according to a propensity score , and the outcome is generated as
The sharpness controls how far propensity scores are pushed toward 0 and 1. For any , stays in [0.05, 0.95], so positivity holds. Our models are trained only at , and the CNP is also evaluated at , outside its training distribution. We evaluate CausalPFN at , and the settings above account for 25 of its 29 points with in Figure 4.
The CATE is
The covariates enter both the propensity score and the outcome, so they are confounders. Since they are fully observed, is identified.
Since is available in closed form, is computed exactly for every task and subset, and targets add no Monte Carlo error to the coverage estimates.
The per-task coefficients are drawn as
independently across tasks.
Given the coefficients, units are drawn independently, so they are i.i.d. given the SCM and exchangeable but not independent marginally, as in Section 4.2.
A.2 BENCHMARKS
We evaluate CausalPFN on the six standard benchmarks of Table 1 and on a heavy-tailed variant of Hill-B. In each, the response surfaces are simulated, so each unit's conditional effect is known. We score intervals against it, not against the difference of the two noisy potential outcomes, and there is no unobserved confounding by construction. IHDP and ACIC 2016 pair the simulated surfaces with covariates from real studies; IHDP uses the ihdp_npci_1-100 splits and ACIC 2016 the official aciccomp2016 generator. The other designs simulate the covariates as well, with and independent noise on each potential outcome.
• Hill-A. Twenty-five covariates, a logistic propensity in the first five, , and with , so the effect is constant at 4, as in surface A of Hill (2011).
• Hill-B. The same covariates and propensity, with the entries of drawn from with probabilities , and with and set so that the average effect on the treated is 4. Unlike Hill (2011), is drawn separately from . The heavy-tailed variant replaces the Gaussian noise with noise.
• Friedman. Ten U(0,1) covariates, a logistic propensity in , as in Friedman (1991), and effect .
• Kang–Schafer. Four latent variables , of which the estimator sees only the transformed covariates of Kang & Schafer (2007), a logistic propensity in , and , so the effect is zero for every unit.
We use splits 1–40 of 100 for IHDP, settings 1–40 of 77 for ACIC 2016 (one replication each), and seeds 1–40 for the simulated designs, for 40 datasets per benchmark. In Hill-A, Friedman, and Kang–Schafer the effect is the same function of the covariates in every dataset, so under the benchmark’s own distribution the posterior covariance in Proposition 2 is zero and all of comes from the shared bias term .
B TRAINING AND EVALUATION PROTOCOL
Architectures. Both models encode each unit's covariates, treatment, and outcome, and mean-pool the encodings into a summary of the sample. The CNP also pools the encodings of the queried subset and decodes a Gaussian for from the two summaries in a single pass. The latent NP adds a 16-dimensional Gaussian latent z whose mean and scale are computed from the sample summary, decodes each unit's effect given z as a 64-bin histogram on in standardized units, and forms within each draw of z. Every network is a two-layer ReLU MLP of width 128, and neither model uses attention.
Training. Both models are trained on the synthetic family of Appendix A at s = 1 and n = 500. The CNP is trained on subsets drawn uniformly at random, with size sampled log-uniformly between 1 and n, by Gaussian negative log-likelihood. The latent NP's loss uses 16 draws of z and has two terms. The first is the cross-entropy of each unit's histogram against a Gaussian-smoothed target at its true effect, averaged over draws. The second, with weight 2, is the negative log of the average over draws of a Gaussian likelihood for , with S drawn as for the CNP and, within each draw, the Gaussian matching the mean and variance of the average of the decoded unit effects. There is no KL term, and z is drawn from the same distribution at inference, so this is a Monte Carlo likelihood objective similar to that of Foong et al. (2020). The latent NP standardizes each task's outcome and covariates, and the CNP works on the raw scale, in both training and evaluation. We use Adam with learning rate and cosine decay to , batches of 64 tasks, and 30,000 steps. We train three seeds of each model. One seed takes about one GPU-hour for the CNP and under two for the latent NP.
Subset selection rules. The fixed-weight experiment uses six rules, each applied to a sample of n = 500: uniformly drawn subsets of the whole sample; the top 25% of units by ; the bottom fraction by true propensity score; a random anchor unit and its nearest neighbours in covariate space; the top fraction by the model's own predicted effect; and the top fraction by the true effect, an oracle rule. For the last four rules, the fraction is 0.10, 0.25, or 0.50. The CNP uses all six rules at s = 1 and uniformly drawn subsets at s = 4, for 15 settings; the latent NP uses the first three rules at s = 1, for 5 settings. With three seeds each, this gives 45 CNP cells and 15 latent NP cells. Uniformly drawn subsets vary k at a fixed error correlation, and the other rules select subgroups, as an analyst would. For the latent NP, the two intervals share the unit-level marginals and differ only in the aggregation step; for the CNP, they also differ in the point estimate, since the SCM-marginalized interval is decoded directly.
Checkpoint selection. We evaluate the checkpoint with the best score over the full run on 256 held-out validation tasks, using negative log-likelihood for the CNP and per-unit RMSE for the latent NP.
Heads on CausalPFN. For the benchmarks, we train both models as heads on the released CausalPFN (version 0.1.4), whose 18.8M parameters are frozen. Each dataset takes one forward pass with all n units as context, and each unit is queried under t = 0 and t = 1. A unit's input to the head is CausalPFN's last hidden state under both treatments, which its own output layer reads, together with its unit-level effect mean and standard deviation in units of sd(y). The CNP head (461k parameters) applies a small network to each unit, averages the outputs over the sample and over S, and decodes a Gaussian for from the two averages, , and . The latent NP head (621k parameters) draws a 16-dimensional z from a Gaussian computed from the sample average and decodes each unit's effect given z as a 64-bin histogram on in units of sd(y); effects outside this range, 0.9% of units on Hill-B and 0.3% on ACIC 2016, fall in the end bins. Both are trained with the losses and optimizer above, with gradients clipped at norm 1.0. Training tasks are generated online and never reused, about 5M per run at about 20 tasks per step over 250,000 steps, with n log-uniform between 100 and 5000 and between 1 and 60 covariates. Half of the tasks draw covariates from 330 real OpenML tables, excluding the source tables of the benchmarks, and half simulate them. Outcome surfaces are MLPs, trees, or additive functions with heterogeneous effects, propensities lie in [0.02, 0.98], and noise is Gaussian, t, or skewed. Each task contributes 32 subsets of log-uniform size, instead of one. Each run keeps the checkpoint with the lowest validation loss on 256 held-out prior tasks, checked every 5000 steps, using the negative log-likelihood of for the CNP head and the training objective for the latent NP head, where the latent NP above is selected on per-unit RMSE. We train three seeds of each head, and the same seed gives both heads the same task stream. For the CNP head, unit-level aggregation queries the head with each unit alone as the subset and combines the resulting Gaussians as in Equation (7). For the latent NP head, each unit receives its own independent draw of z.
Estimating coverage. We estimate of Equation (5) over M tasks with L subsets sampled per task,
Standard errors on are clustered by task, since subsets from one task share its error component. The fixed-weight experiment uses 64 tasks with 24 subsets each, the comparison 96 tasks with 24 subsets each, and the benchmarks 40 datasets with 48 subsets each.
Measuring and . We compute and as the empirical second moments of Equation (6), from unit-level errors against the analytic targets of Appendix A, and as the model's average reported unit-level variance divided by . Both and require the true effects, so neither can be computed in practice, and we use them only as diagnostics. On the benchmarks, we pool errors in outcome units over the 40 datasets, compute the moments at each subset size from one subset per dataset, and report the median over sizes. Where error scales differ widely across datasets, the estimate depends on this choice. For the CNP head on Hill-B, for example, is 0.84 with this estimator and 0.44 when all 48 subsets per dataset and size are used, and Equation (1) is correspondingly less reliable there (Appendix G).
C CORRECTING FOR THE DESIGN EFFECT
Correcting and then separates the contribution of unit-level calibration from that of the aggregation step.
Table 2 compares three intervals built from the same unit-level outputs. The reported interval is the model's own. The rescaled interval divides the unit-level variances by , the standard correction for miscalibrated unit-level intervals, and then aggregates at the unit level as before. The + design effect interval additionally multiplies the aggregate variance by . The CNP row averages its three seeds, each corrected with its own and .
In the three CausalPFN rows , and rescaling lowers coverage at both the smallest subset and . Under unit-level aggregation, only over-wide unit-level intervals offset the design effect, and rescaling removes them without correcting the aggregation. The CNP's unit-level intervals are close to calibrated ( ), so rescaling changes little and coverage at stays near 0.24.
| model | data | interval | cov, smallest | cov, | ||
|---|---|---|---|---|---|---|
| CausalPFN | , all units | 21.90 | 500 | reported | 1.00 | 0.94 |
| rescaled | 0.91 | 0.41 | ||||
| + design effect | 0.91 | 0.93 | ||||
| CausalPFN | , bottom 10% | 3.63 | 44 | reported | 0.99 | 0.79 |
| rescaled | 0.96 | 0.58 | ||||
| + design effect | 0.96 | 0.93 | ||||
| CausalPFN | IHDP | 5.43 | 747 | reported | 1.00 | 0.60 |
| rescaled | 0.98 | 0.25 | ||||
| + design effect | 0.98 | 0.93 | ||||
| CNP (ours) | 0.93 | 500 | unit-level | 0.89 | 0.23 | |
| rescaled | 0.91 | 0.24 | ||||
| + design effect | 0.92 | 0.93 |
Table 2: Coverage of the three intervals of Appendix C at the smallest and largest subset in each setting. is the largest evaluated subset size within the pool. The + design effect interval uses and measured against the true effects and is not available in practice.
CausalPFN's own temperature calibration acts like rescaling. Its full-sample interval on ACIC 2016 covers the true value in 18 of 40 datasets without it and in 8 with it.
The design-effect interval removes the dependence on , as Equation (9) implies, but it requires and measured against the true effects and so cannot be used in practice.
D SUBGROUP SELECTION
In Table 3, subsets are selected on the propensity score or on covariates, as an analyst querying a subgroup would select them, instead of uniformly at random.
Narrowing a pool raises but shrinks , so the largest reachable design effect changes much less than either and falls for the narrowest pools.
Narrow propensity strata also lower , whereas nested covariate cells leave it roughly unchanged and covariate neighbourhoods raise it. A rule that raises without lowering need not reduce coverage below nominal.
At , nested covariate cells reach comparable to the bottom 25% propensity stratum and still never fall below nominal, because stays high. At , where starts lower, the first two covariate cells do.
E HOW EXISTING MODELS CONSTRUCT SUBSET-CATE INTERVALS
CausalPFN. Each unit's predictive distribution is a histogram over 1024 bins (Balazadeh et al., 2025). The subset-CATE point estimate is the average of the relevant unit-level point estimates. For the credible interval, its code draws one sample from each unit's predictive distribution, averages those samples across the units in , repeats this many times, and takes percentiles of the resulting distribution of averages. For every subset, including the full sample, we apply this procedure to per-unit draws from CausalPFN's sampler.
Let denote the -th draw from unit 's predictive distribution, and let be the corresponding draw of the subset-CATE. Given , draws for different units are generated independently and share no randomness, so the covariance terms vanish and the variance of each aggregate draw is exactly
where is the variance of unit 's predictive distribution. This is Equation (7), and the percentiles the code returns are Monte Carlo estimates of the quantiles of this distribution.
| subset | |||||
|---|---|---|---|---|---|
| s = 1, propensity stratum | |||||
| all units (baseline) | 0.034 | 21.90 | 500 | 17.9 | 398 |
| bottom 50% | 0.069 | 23.23 | 250 | 18.3 | 216 |
| bottom 25% | 0.120 | 14.10 | 125 | 15.9 | 83 |
| bottom 10% | 0.224 | 8.07 | 44 | 10.6 | 34 |
| s = 1, nested covariate cell | |||||
| 0.043 | 22.89 | 177 | 8.7 | — | |
| 0.076 | 23.83 | 89 | 7.7 | — | |
| 0.122 | 26.46 | 31 | 4.7 | — | |
| s = 1, covariate neighbourhood | |||||
| nearest 50% | 0.075 | 45.46 | 250 | 19.6 | — |
| nearest 25% | 0.143 | 46.08 | 125 | 18.7 | — |
| nearest 10% | 0.231 | 36.09 | 44 | 10.9 | — |
| s = 4, propensity stratum | |||||
| all units (baseline) | 0.059 | 9.20 | 500 | 30.4 | 93 |
| bottom 50% | 0.076 | 9.72 | 250 | 20.0 | 89 |
| bottom 25% | 0.142 | 6.12 | 125 | 18.6 | 31 |
| bottom 10% | 0.257 | 3.63 | 44 | 12.1 | 8 |
| s = 4, nested covariate cell | |||||
| 0.069 | 9.41 | 177 | 13.1 | 86 | |
| 0.095 | 9.58 | 89 | 9.4 | 58 | |
| 0.176 | 8.44 | 31 | 6.3 | — | |
Table 3: Subset selection rules on CausalPFN at , with intervals formed by unit-level aggregation, over 64 tasks with 48 subsets per task. is the largest evaluated subset size within the pool and the design effect at that size; “—” means coverage never falls below nominal within the pool. is defined in Section 5.1.
The interval the code returns is a percentile interval of the sampled aggregate distribution instead of the symmetric interval . The two coincide when the sampled distribution is symmetric, and the average of independent draws approaches a Gaussian as grows, so the discrepancy is largest at small and negligible at the subset sizes where coverage fails. Whether matches unit 's actual squared error is a separate question, which measures.
Do-PFN and CausalFM. Neither provides an aggregate estimator. The only uncertainty quantification in Do-PFN's repository, which is not part of its estimation interface, builds an interval from the standard error across units and so also assumes independence. CausalFM returns a Gaussian mixture for each unit, and the interval construction in its documentation samples each unit's mixture independently and forms a separate interval for each unit. The only aggregate quantity in its documentation is an average of unit-level point estimates, with no associated credible interval.
F ADDITIONAL RESULTS
Sample size. Whether falls with depends on the prior. When a few shared parameters drive the effect, as in our synthetic family, errors on different units stay correlated as the posterior concentrates, so need not fall at all. If it fell as , the design effect at a fixed fraction of the sample would stay constant in . Table 6 gives results for CausalPFN on the synthetic family of Appendix A at five sample sizes.
The decay is far slower than . A power law fitted to the five points has exponent , and over the sixteenfold range of in the table falls by a factor of 1.7. The largest subset grows with while the correlation barely falls, so the design effect at the full sample, , grows from 6 at to 47 at .
Coverage at nonetheless stays close to nominal across the table, because grows as well. CausalPFN's per-unit errors shrink faster than the intervals it reports for them, so rises from 7 to 40, with a fitted exponent of 0.62, and the numerator of Equation (9) grows about as fast as the
| benchmark | n | nRMSE | cov at k=n | se | |||
|---|---|---|---|---|---|---|---|
| Hill-A | 1000 | 0.0771 | 35.13 | 0.07 | 0.82 | 0.06 | 502 (50%) |
| Friedman | 1000 | 0.0334 | 11.75 | 0.10 | 0.70 | 0.07 | 383 (38%) |
| IHDP | 747 | 0.0420 | 5.43 | 0.11 | 0.60 | 0.08 | 85 (11%) |
| Hill-B heavy-tailed | 1000 | 0.0077 | 2.03 | 0.30 | 0.53 | 0.08 | 62 (6.2%) |
| Hill-B | 1000 | 0.0038 | 1.42 | 0.28 | 0.53 | 0.08 | 58 (5.8%) |
| Kang-Schafer | 1000 | 0.0185 | 1.43 | 0.09 | 0.30 | 0.07 | 21 (2.1%) |
| ACIC 2016 | 4802 | 0.0202 | 1.63 | 0.27 | 0.20 | 0.06 | 30 (0.6%) |
Table 4: The benchmarks of Figure 1 and the heavy-tailed variant of Hill-B, which the figure omits: CausalPFN with its temperature calibration, unit-level aggregation, subsets drawn uniformly at random, 40 datasets per benchmark. is the subset size at which observed coverage first falls below nominal, interpolated in , with as a percentage of the sample. nRMSE is the root-mean-square error of the per-unit effect estimates divided by the standard deviation of the observed outcome, within each dataset and averaged over datasets. Rows are ordered by .
| model | aggregation | k=5 | k=50 | k=500 | k=2000 |
|---|---|---|---|---|---|
| CNP | unit-level | 0.93 | 0.61 | 0.29 | 0.17 |
| latent NP | SCM-marginalized | 1.00 | 0.98 | 0.97 | 0.97 |
| CNP | SCM-marginalized | 0.95 | 0.98 | 0.98 | 0.98 |
Table 5: Coverage of nominal 95% subset-CATE intervals at n = 2000 over 96 tasks with 24 subsets each. The two CNP rows are separately trained models. Each model was trained once, with optimization settings that differ from Appendix B and from each other, so the comparison is not controlled for optimization.
| n | cov at k=n | ||||
|---|---|---|---|---|---|
| 125 | 0.0385 | 7.03 | — | 6 | 0.95 ± 0.02 |
| 250 | 0.0422 | 14.25 | — | 12 | 0.96 ± 0.02 |
| 500 | 0.0339 | 21.90 | 398 | 18 | 0.94 ± 0.03 |
| 1000 | 0.0230 | 32.67 | 980 | 24 | 0.95 ± 0.02 |
| 2000 | 0.0230 | 40.08 | 1376 | 47 | 0.93 ± 0.03 |
Table 6: CausalPFN on the synthetic family of Appendix A at five sample sizes, with subsets drawn uniformly at random, 64 tasks and 48 subsets per task; coverage at is given one standard error clustered by task. The same CausalPFN model is used throughout, so no training choice varies down the table. is the design effect at the full sample; “—” means coverage never falls below nominal. is defined in Section 5.1.
denominator. On the benchmarks of Section 5.2, lies between 1.42 and 35.1, and coverage falls below nominal on every one of them.
Accuracy of the predictions. The measured is within of Equation (11) on Hill-A, Kang-Schafer, and ACIC 2016, larger on Friedman, and smaller on IHDP. On Hill-B and its heavy-tailed variant, it is about half the prediction, and Equation (1) overstates full-sample coverage there (0.72 and 0.66, against 0.53) and on Kang-Schafer (0.41, against 0.30). One possible reason is that the predictions use moments pooled over the 40 datasets. Coverage is concave in , so variation in across datasets can lower pooled coverage below the prediction (Appendix G). On the synthetic family (Table 6), coverage stays within sampling error of nominal, so is noisy there.
The heavy-tailed variant. Hill-B heavy-tailed is omitted from Figure 1 for legibility and appears in Table 4. Replacing Hill-B's Gaussian noise with noise changes little. Coverage falls below nominal at of the sample, against for Hill-B, and both reach 0.53 at the full sample.
| benchmark | CausalPFN unit-level | CNP head | latent NP head | ||
|---|---|---|---|---|---|
| unit-level | SCM-marg. | unit-level | SCM-marg. | ||
| Hill-A | 0.82 | 0.18 [.12, .20] | 0.94 [.88, .97] | 0.62 [.57, .70] | 0.92 [.85, .97] |
| Hill-B | 0.53 | 0.30 [.23, .35] | 0.83 [.78, .95] | 0.42 [.25, .57] | 0.85 [.68, .97] |
| Friedman | 0.70 | 0.23 [.20, .25] | 0.97 [.90, 1.00] | 0.68 [.68, .70] | 0.90 [.82, .97] |
| Kang-Schafer | 0.30 | 0.38 [.35, .42] | 1.00 [1.00, 1.00] | 0.72 [.68, .78] | 0.98 [.97, 1.00] |
| IHDP | 0.60 | 0.30 [.20, .42] | 0.94 [.90, 1.00] | 0.48 [.47, .50] | 0.89 [.80, .95] |
| ACIC 2016 | 0.20 | 0.10 [.07, .15] | 0.71 [.68, .72] | 0.18 [.17, .20] | 0.78 [.70, .88] |
| covered, of 240 | 126 | 59 [54, 68] | 216 [211, 222] | 125 [117, 131] | 213 [207, 217] |
Table 7: Coverage of nominal 95% intervals for the full-sample average (k = n) on the six benchmarks, 40 datasets each. CausalPFN's column is the full-sample column of Table 4. The heads' columns give the mean over three seeds, with the range of the per-seed values in brackets. Standard errors clustered by dataset are at most 0.06 for the heads. The last row counts datasets whose full-sample interval contains the true value.
| benchmark | model | nRMSE | width, own | width, unit-level | ||
|---|---|---|---|---|---|---|
| Hill-A | CausalPFN | 35.13 | 0.0771 | 0.07 | — | 0.055 |
| CNP head | 2.83 | 0.2367 | 0.06 | 0.092 | 0.012 | |
| latent NP head | 24.19 | 0.1613 | 0.06 | 0.103 | 0.038 | |
| Hill-B | CausalPFN | 1.42 | 0.0038 | 0.28 | — | 0.047 |
| CNP head | 0.84 | 0.0183 | 0.52 | 0.184 | 0.050 | |
| latent NP head | 0.97 | 0.0122 | 0.52 | 0.198 | 0.068 | |
| Friedman | CausalPFN | 11.75 | 0.0334 | 0.10 | — | 0.041 |
| CNP head | 1.28 | 0.0618 | 0.07 | 0.076 | 0.010 | |
| latent NP head | 13.19 | 0.0708 | 0.07 | 0.067 | 0.033 | |
| Kang-Schafer | CausalPFN | 1.43 | 0.0185 | 0.09 | — | 0.013 |
| CNP head | 2.85 | 0.0393 | 0.05 | 0.069 | 0.010 | |
| latent NP head | 13.65 | 0.0382 | 0.05 | 0.050 | 0.026 | |
| IHDP | CausalPFN | 5.43 | 0.0420 | 0.11 | — | 0.055 |
| CNP head | 3.90 | 0.0554 | 0.20 | 0.192 | 0.040 | |
| latent NP head | 8.84 | 0.0942 | 0.21 | 0.221 | 0.084 | |
| ACIC 2016 | CausalPFN | 1.63 | 0.0202 | 0.27 | — | 0.019 |
| CNP head | 0.96 | 0.0261 | 0.30 | 0.093 | 0.016 | |
| latent NP head | 2.46 | 0.0181 | 0.30 | 0.111 | 0.029 |
Table 8: Unit-level calibration, error correlation, accuracy, and interval width on the six benchmarks. and use the estimator of Appendix B, from each model's unit-level means and standard deviations (for the CNP head, the head queried with each unit alone), and nRMSE is defined as in Table 4. CausalPFN's , , and nRMSE are those of Table 4. Widths are mean widths of the full-sample interval in units of sd(y): own is the head's SCM-marginalized interval, and unit-level is unit-level aggregation from the same model. CausalPFN's width is computed with the whole sample as context, at the temperatures fitted for Table 4. Heads: mean over three seeds.
Heads on the benchmarks. Tables 7 and 8 and Figures 5 and 6 give the results behind Section 5.2. The per-seed range of SCM-marginalized coverage at is widest for the latent NP head on Hill-B (0.68 to 0.97) and ACIC 2016 (0.70 to 0.88). Equation (1) follows unit-level coverage closely on Hill-A, Friedman, and Kang-Schafer, with a largest error of at most 0.09 for either head. Its largest errors are on IHDP (0.23 for the CNP head and 0.15 for the latent NP head) and, for the CNP head, on Hill-B (0.12), the two benchmarks on which depends most on the estimator (Appendix B).
Context on ACIC 2016. Figure 1 and Table 4 use CausalPFN's public interface, which on ACIC 2016 conditions each window of units on its nearest neighbours instead of the whole sample. Rescored with the whole sample as context, as for the heads, and at the temperatures fitted for Figure 1, CausalPFN's full-sample coverage on ACIC 2016 is 0.25 instead of 0.20. On the other benchmarks the two agree to within 0.03.
CNP head (3 seeds): SCM-marginalized vs unit-level aggregation, same weights
Hill-A (n=1000)
Friedman (n=1000)
IHDP (n=747)

Hill-B (n=1000)
Kang-Schafer (n=1000)
ACIC 2016 (n=4802)
SCM-marginalized (CNP head)
predicted,
unit-level aggregation, same weights
Figure 5: Fixed-weight comparison for the CNP head on the six benchmarks, with subsets drawn uniformly at random: SCM-marginalized aggregation and unit-level aggregation from the same weights. Lines show the mean over three seeds and bands their range. Dotted lines average the three seeds' predictions from Equation (1) for unit-level aggregation, each with and measured once per benchmark.
G PROOFS
Throughout, E, Var, Cov, and Pr are over , , and S, as in Equation (5). All errors have finite second moments, and . We say that S is selected on the data if S is conditionally independent of given . Uniformly drawn subsets and subsets chosen by covariates or by the model's own estimates are selected on the data. In our synthetic family, subsets chosen by the true propensity score are as well, because is independent of under the prior and enters a separate factor of the likelihood, so the two remain independent given . Subsets chosen by the true effect are not.
Proof of Proposition 1. Since ,
Taking expectations and using Equation (6) gives , which is Equation (8). By Equation (7), , and dividing by Equation (8) gives Equation (9). If takes the same value for every query of size , then , and if and only if , which is Equation (10). If in addition is mean-zero Gaussian, the standardized error is standard normal and .
The same expansion, with and , gives for .
Latent-NP head (3 seeds): SCM-marginalized vs unit-level aggregation, same weights

Figure 6: As Figure 5, for the latent NP head.
Coverage when the reported variance varies. Suppose that, given , is Gaussian with mean zero and variance , as for the posterior mean when is selected on the data and the posterior of is Gaussian. Then with and , so . The ratio of Equation (9) is the average of weighted by . Since is concave, when is independent of , and Equation (1) then overstates coverage. Without this independence the direction can reverse. If is fixed and only varies, coverage is convex in wherever it is below , and pooling then raises it above .
Proof of Proposition 2. Given , each and each is fixed, and with . Since differs from by a quantity that is fixed given , , which is Equation (13). If is selected on the data, the law of the unit effects given equals their law given , so for ,
Averaging over pairs of distinct units in and then over gives . The posterior mean under has .
Aggregation for a general model. For a model with joint predictive distribution for and marginals , unit-level aggregation reports the law of under , and SCM-marginalized aggregation reports its law under . For the exact posterior, is the law of under , and the two are Equations (2) and (3) with the point mass at . For the latent NP, is the distribution in Equation (17). The CNP outputs a Gaussian for directly (Proposition 3), and a model that returns only marginals, such as CausalPFN, supports only unit-level aggregation.
Corollary 1 (Exact posterior). Let and under , and let be selected on the data. Then (i) unit-level aggregation has and ; (ii) SCM-marginalized aggregation, which reports , has with this variance in place of ; and (iii) if the posterior of has a continuous distribution function, its equal-tailed credible interval has for every .
Proof. (i) For , , so and , and Proposition 1 gives . (ii) The point estimate is and the reported variance is , so , which equals the expected reported variance. (iii) Given , follows its posterior, so the interval contains it with conditional probability . Averaging over gives the claim.
Part (iii) concerns coverage averaged over , as in Equation (5), and does not imply coverage at a fixed SCM. In our synthetic family the outcome is linear in Gaussian coefficients with known noise variance, and enters a separate factor of the likelihood, so the posterior of is Gaussian and the interval in (iii) is . Because enters only the propensity factor, this posterior is the same function of at every , so the corollary applies at as well, and the population minimizer of Proposition 3 at is also the exact posterior at .
Marginals do not determine the joint. Let the unit effects have marginals . For every , the Gaussian with these marginals and all pairwise correlations gives . This ranges from under independence to at , the largest value any joint distribution with these marginals allows, since the standard deviation of a sum is at most the sum of the standard deviations. The marginals are thus consistent with every design effect between 1 and , and no function of them alone equals for every joint posterior. A rule that also uses the model's prior can sometimes do better. In a linear-Gaussian model with known features, for instance, the marginal variances at enough units determine the posterior covariance of the coefficients. The statement in Section 4.2 concerns rules that use the marginals alone.
Proposition 3 (Bayes-optimal Gaussian output). Let training tasks draw , , and a subset selected on the data, with and . Among all measurable maps , the expected loss is minimized by and , uniquely up to sets of probability zero under the training distribution of .
Proof. Given , the conditional expected loss equals plus a constant, which is uniquely minimized at and . Because is selected on the data, these equal the posterior mean and variance of given . Minimizing the conditional loss for each minimizes its expectation.
As in Müller et al. (2022, Insight 1), the training loss is an expected cross-entropy to the posterior, and restricted to Gaussian outputs its minimizer matches the posterior's first two moments. The result describes the population minimizer. A trained network approximates it well only for tasks like those seen in training, which for our CNP include subsets of every size but not datasets at s = 4.