Unit-level aggregation breaks coverage in causal foundation models
Organizations: New York University · Technion
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 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.
Figures & tables
| dataset | covariates | source | ||
|---|---|---|---|---|
| Synthetic family | simulated | Appendix A | 500 | 3 |
| Hill-A | simulated | Hill (2011) , setting A | 1000 | 25 |
| Friedman | simulated | 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 and Schafer (2007) | 1000 | 4 |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| 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 |
| subset | |||||
| , 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 |
| , nested covariate cell | |||||
| benchmark | nRMSE | cov at = | 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%) |
| model | aggregation | =5 | =50 | =500 | =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 |
| cov at = | |||||
|---|---|---|---|---|---|
| 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 |
| CausalPFN | CNP head | latent NP head | |||
|---|---|---|---|---|---|
| benchmark | unit-level | 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] |
| 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 |
Causal Foundation Models
Causal foundation models are pretrained models that discover causal graphs or estimate effects on new datasets using data and causal assumptions.
See all 22 papers