Manuscript Offprint
arXiv:2610.08078ProximalFM: Amortized Proximal Causal Inference under Hidden Confounding
Abstract
Standard causal identification methods often assume no unmeasured confounding and can fail when relevant confounders are unobserved. Proximal causal inference instead uses proxy variables to identify effects under hidden confounding and additional assumptions. However, nonparametric proximal estimation can be challenging in practice: recovering causal estimands such as the conditional average treatment effect (CATE) requires solving an ill-posed integral equation that is data-hungry, hyperparameter-sensitive, and optimization-unstable. Bayesian inference for such models provides a desirable alternative, mitigating these difficulties by regularizing through the prior. However, computing a posterior is itself challenging, as a typical likelihood function will include latent variables. Following the recent success of tabular foundation models in backdoor, instrumental variable, and frontdoor settings, we propose that prior-data fitted networks (PFNs) are uniquely suited to resolve this bottleneck. Indeed, by training on synthetic data sampled from compliant structural causal models with access to oracle counterfactuals, we simplify the task substantially, amortizing the implied Bayesian operator inversion into a single transformer forward pass. Compared to prior literature that focuses primarily on point estimation, our model, PROXIMALFM, explicitly targets the Bayesian posterior distribution of the CATE. One unique aspect of this problem is that we need to provide Monte Carlo estimates of the oracle CATEs, leading to a novel variation of PFNs that accounts for the added stochastic error. Across a diverse suite of proximal regimes, PROXIMALFM achieves consistently strong CATE-estimation performance without dataset-specific tuning, with its largest advantage when latent confounding is substantial and the proxies are weakly informative; it also provides fast inference through a single amortized forward pass.
Code and reproducibility:
https://github.com/ChristopheMuller/ProximalFM
1 Introduction
Causal inference from observational data is a fundamental task across disciplines, yet its validity typically hinges on the no unmeasured confounding assumption. This assumption requires that investigators have measured a sufficiently rich set of covariates to ensure that supervised regression and classification functions can, in theory, also provide how an outcome varies under intervention on a possible cause of interest (Hernán & Robins, 2020), with specialized estimation methods improving on off-the-shelf uses of supervised learning. In practice, however, there are often unmeasured variables that are plausible confounders (e.g., unrecorded disease severity).
One of the most common tasks in causal inference is estimating the conditional average treatment effect (CATE) function: how an outcome variable Y potentially varies in expectation, as we vary a treatment variable A by intervening on the latter. This is a function of an observed realization of a vector of covariates X. Using the notation to denote the potential outcome under a hypothetical intervention on A at level a (Rubin, 1972), the CATE function for a binary A is given by
This is identifiable from observational data if unconfoundedness holds. That failing, other assumptions are needed. Proximal causal learning has emerged as a principled framework to identify and estimate causal effects when
Corresponding author: christophe.muller@stats.ox.ac.uk hidden confounders cannot be ruled out (Tchetgen Tchetgen et al., 2020). The main idea is to exploit auxiliary variables, proxies, which are associated with the hidden confounders without fully removing their influence. However, using proxy information while avoiding parametric models requires solving ill-posed integral equations, leading to a difficult estimation problem. As a result, current nonparametric (Ghassami et al., 2022; Sverdrup & Cui, 2023; Yang et al., 2023) and neural estimation methods (NMMR, Kompa et al., 2022) are computationally demanding, requiring intensive, dataset-specific optimization.
Simultaneously, the machine learning community is shifting toward amortized inference via foundation models. Prior-data fitted networks (PFNs, Müller et al., 2022) have demonstrated that transformers can learn to perform Bayesian inference through in-context learning. Models like TabPFN and its successors have shown state-of-the-art performance on small tabular datasets without requiring retraining (Grinsztajn et al., 2026). As we review in the next section, recent work has extended PFN-style models to causal inference settings. However, they generally do not make use of proximal assumptions, limiting their utility in the presence of hidden confounders. Our contributions are:
-
PROXIMALFM: a foundation model for proximal causal learning. We introduce PROXIMALFM, the first tabular foundation model designed for proximal causal inference. It leverages proxy variables without requiring dataset-specific training at deployment. Causal effects are obtained in a single forward pass through a target dataset, providing a Bayesian solution to an ill-posed inverse problem without hyperparameter tuning.
-
A structural prior and Monte Carlo CATE targets for proximal causal learning. We introduce a diverse prior over structural causal models that enforces the proximal assumptions for identification. We use Monte Carlo integration to approximate the CATE. These approximations are then used as targets to train PROXIMALFM. This prior determines the inductive bias regularizing the proximal estimation problem amortized by PROXIMALFM.
-
Comprehensive evaluation, from semi-synthetic data to physical systems. We evaluate PROXIMALFM on diverse semi-synthetic proximal benchmarks that combine real-world covariate distributions with known, controlled causal mechanisms. Beyond semi-synthetic benchmarks, we take a first step towards evaluation on real physical systems using Causal Chambers (Gamella et al., 2025), a controlled physical testbed for causal inference.
Amortized causal learning The success of tabular models has motivated their application to causal inference. Causal foundation models are pretrained on a prior over causal data-generating processes and use in-context learning to estimate causal quantities on new datasets in a single forward pass. Stith, Rahmani, and Cresswell (2026) provide a recent overview of this emerging literature.
Robertson et al. (2026) introduced Do-PFN, demonstrating that transformer-based foundation models can learn causal estimation procedures directly from synthetic data and perform zero-shot inference on unseen datasets. Balazadeh Meresht et al. (2026) introduced CausalPFN, a framework for doing amortized learning of causal effects identified through unconfoundedness. This setting was also considered in Luedtke and Chung (2024), under an adversarially chosen prior. Ma et al. (2026) proposed CausalFM, extending causal foundation models beyond unconfoundedness, such as the case of identifiable additive-error instrumental-variable (IV) settings. Rather than learning a single causal estimator, CausalFM trains separate models for distinct causal identification strategies, thereby preserving the classical separation between identification and estimation. Balazadeh et al. (2026) relaxes the assumption of additive-error in the IV setting to build in-context learners for bounding causal effects for

(a)
(b)
(c)
(d)
Figure 1: Examples of DAGs compatible with proximal causal identification assumptions. In every panel, Z and W are informative proxies for the unmeasured confounder U. Direct Z–A edges (in either direction) and a direct edge are optional.
instrumental variables. Different from proximal learning, such partial identification IV methods do not typically exploit multiple proxies, nor exploit completeness assumptions (as defined in the next section) that could otherwise allow for identification.
Despite these advances, a foundation model designed for proximal causal inference remains absent from the literature.
2 Proximal causal inference
We consider an observational causal inference setting where the standard assumption of no unmeasured fails. Our objective is to estimate the CATE, as in Eq. (1), for binary treatments. Let the observed variables be , where denotes a treatment of interest, is the outcome, and is a set of measured covariates. The unmeasured confounders are denoted by .
In the presence of U, the standard exchangeability condition is violated (Hernán & Robins, 2020). To achieve identification, we adopt the proximal causal learning framework (see, e.g., Miao et al., 2018; Tchetgen Tchetgen et al., 2020). This framework partitions L into three subsets, each with a distinct role. Let where X contains baseline covariates, while Z and W are complementary proxies for U. Z is a treatment-confounding proxy: while it carries information about the latent U, it may otherwise be related directly to treatment assignment. Conversely, W is an outcome-confounding proxy which carries information about U and may otherwise directly shape the outcome. Figure 1 illustrates some admissible proximal directed acyclic graphs (DAGs), with formal restrictions stated in the following section.
2.1 Identifying assumptions
To identify the causal effect , it suffices for the joint distribution of to satisfy the following conditions:
Assumption 1 (Latent exchangeability). The potential outcomes are independent of the treatment assignment conditional on the observed covariates X and the unmeasured confounders U:
Assumption 2 (Proxy exclusion restrictions). The proxies must satisfy conditional independencies relative to the treatment and outcome:
• Treatment-inducing proxy:
• Outcome-inducing proxy:
Assumption 3 (Latent positivity). Every observational unit has a non-zero probability of receiving any given treatment assignment, even when conditioning on the observed covariates and the unmeasured confounder:
Assumption 4 (Completeness). The proxies must capture enough variation in U to identify the causal effect. For any square-integrable measurable functions v of U and g of Z,
2.2 Classical and modern estimation via bridge functions
In addition to Assumptions 1–4, we assume the regularity conditions ensuring the existence of an outcome confounding bridge function . This function satisfies the Fredholm integral equation (Miao et al., 2018; Tchetgen Tchetgen et al., 2020)
The bridge function enables identification of the conditional average treatment effect through the proximal g-formula
Equation (3) identifies the effect conditional on X alone by averaging over the proxies.
Early approaches to recovering this bridge function focused on parametric proximal g-computation. Under linear specifications, proximal g-computation reduces to a two-stage estimation procedure closely related to instrumental variable methods. While computationally efficient, proximal two-stage least squares (P2SLS, Tchetgen Tchetgen et al., 2020) relies heavily on strict parametric assumptions. To capture more complex confounding mechanisms, recent two-stage methods have replaced linear regressions with highly flexible nonparametric approximators, such as kernel proxy variable (KPV, Mastouri et al., 2021) and deep feature proxy variable (Xu et al., 2021).
An alternative is to estimate the outcome bridge function by directly enforcing the conditional moment restriction equivalent to Equation (2). Proxy maximum moment restriction (PMMR, Mastouri et al., 2021) leverages a reproducing kernel Hilbert space, while neural maximum moment restriction (NMMR, Kompa et al., 2022) extends this approach by using neural networks.
A separate strand of methods are doubly-robust meta-learners for heterogeneous treatment effect estimation, e.g. P-learner from Sverdrup and Cui (2023) and the Forster-Warmuth learner of (Yang et al., 2023). They estimate an outcome bridge and a treatment bridge functions, then constructs a pseudo-outcome from them. These outcomes are used to fit a standard conditional mean regression mapping the domain of covariates X to treatment effect.
While these modern approaches are highly adaptive, they introduce their own practical hurdles. They demand complex, dataset-specific hyperparameter tuning and extensive model retraining from scratch for every new causal task. The kernel methods also require the computation of kernel matrices, which can impose computational and memory burden in large sample sizes. This motivates the search for an amortized alternative capable of directly estimating from observational context.
3 ProximalFM
We propose PROXIMALFM, a PFN for proximal causal inference. Pre-trained on synthetic proximal models, PROXIMALFM predicts a posterior distribution over from an observational context and query covariates x. Unlike existing approaches, it does this without explicitly solving an ill-posed inverse problem as an intermediate step. Instead, it directly outputs a CATE posterior from a single forward pass of a neural network.
3.1 A synthetic prior for proximal identification
To train PROXIMALFM, we construct a prior over structural causal models (SCMs, Pearl, 2009). An SCM specifies a causal graph, structural functions mapping parent variables and exogenous noise to child variables, and distributions over the exogenous noise. Each SCM defines an episode: its structure stays identical throughout, while each of its units is generated by drawing fresh noise and propagating it through its structural equations:
(4)
The exogenous-noise vectors are drawn independently for every unit from distributions specified by the episode's SCM. X, U, Z, and W may contain continuous and categorical columns. is drawn from a

Observational Context
Subsample:
Context:
Training Targets
MC mean:
CATE target:
MC noise:
Figure 2: Synthetic-prior episode: each covariate is fixed across downstream SCM draws. One draw forms the observational context; replicate potential outcomes yield Monte Carlo CATE targets and their sampling variance. is the unbiased sample variance of the paired treatment effects.
Bernoulli propensity. and are continuous. A generated unit is the tuple : both potential outcomes are generated, but the observational dataset keeps only .
II satisfies two complementary objectives. First, each SCM must be valid and satisfy the proximal assumptions. Second, the prior must be diverse: we build on the synthetic prior of TabICLv1 (Qu et al., 2025), in which each causal mechanism is a randomly initialized multi-layer perceptron. The prior II induces variation across SCMs in their dimensions, nonlinear functional forms, feature types and noise distributions, as well as in confounding strength, treatment overlap, and treatment-effect heterogeneity. An overview of the synthetic prior is available in Appendix B.1.
Enforcing proximal assumptions. By construction, every SCM drawn from is designed to satisfy the identification conditions of Section 2.1 (see Appendix B.3 for empirical diagnostics):
• Structural constraints (1 & 2). By construction in (4), mutual independence of the exogenous noises and the specified mechanism inputs encode the required exclusions. The corresponding conditional independencies follow immediately for every sampled SCM.
• Positivity (3). Guaranteed by clamping treatment assignment probabilities to with before sampling A.
• Completeness (4). Unlike structural graph constraints, completeness is a more subtle, distribution-level condition: it is untestable in observational data and cannot be strictly guaranteed by construction for arbitrary non-linear mechanisms (Tchetgen Tchetgen et al., 2020). The prior therefore relies on a heuristic requiring the dimensions of W and Z to be greater than the one of U. Their cardinalities also dominate the one of U (see Appendix B.2.4).
Contexts & Monte Carlo targets. A naive training framework partitions each dataset of units generated from the prior, , into context units and query units. The context becomes while the query inputs and targets are . The PFN then uses the query individual treatment effects (ITE, ) as targets to be predicted from . While simple, this framework is flawed. First, training on ITEs would target their conditional distribution, whereas our estimand is the CATE . Second, the ITE distribution depends on the joint law of . Our prior defines this law, but it is typically unknown and not identified from observational data, so the learned ITE uncertainty would only reflect our choice of prior.
We instead approximate the CATE of the query units. As is an average over the heterogeneity in U, W and noise, it cannot be generated in a single draw. Each query is kept fixed and we run the downstream SCM K times with independent noise. We obtain the individual effects whose mean is , with estimated sampling variance (Figure 2). The estimator is unbiased for at every K and as K grows, so K trades compute against target precision. The transformer receives exclusively the observational context and the query covariates ; the Monte Carlo estimates and are reserved for training supervision.

Figure 3: PROXIMALFM architecture. , , and are learned structural-role embeddings; encodes the factual outcome according to treatment.
3.2 Model & objective
PROXIMALFM is a PFN trained to map an observational dataset directly to a Bayesian posterior distribution over the CATE estimand. Given an observational context set of observed units and a query covariate vector , the model outputs a predictive distribution over the CATE in a single forward pass. As it is trained on datasets from the proximal prior (Section 3.1), its output approximates the CATE posterior predictive distribution under (Müller et al., 2022): dataset-specific Bayesian inference is amortized once at pre-training time.
Encoding the proximal setting. The backbone of PROXIMALFM follows the TabICLv2 architecture (Qu et al., 2026); we defer architectural details to Appendix C.1. Our modifications concern the input processing which must carry the causal role of each column as the roles of are not identifiable from their position or values. PROXIMALFM differs from regular tabular models such as TabICLv2 in two respects. First, its target is not observed in the context: the ITE is never observed, only the factual outcome is. These observations only provide evidence about the underlying SCM and its CATE function . Second, PROXIMALFM targets the posterior distribution over the CATE, , rather than a distribution over an individual-level label such as the ITE.
Each query is represented by only: including its proxy values would condition the prediction on the proxies and change the target away from the CATE . We add structural role embeddings, a learnable token per feature group , added to its column embeddings. A treatment-aware target encoder is also implemented. It consists of two linear projections of the outcome selected by the treatment indicator , so that outcomes observed under treatment and control are embedded separately (Figure 3).
Posterior output & noise-aware loss. PROXIMALFM uses a single distributional head to predict the posterior distribution directly, rather than separate heads for the two potential outcomes. We use regression-as-classification: is predicted as a histogram over 2000 equal-width bins spanning , in units of the standard deviation of the observed outcomes in context.
The synthetic targets are Monte Carlo averages over replicates. For sufficiently large , their Monte Carlo error is approximately Gaussian by the central limit theorem, with variance estimated by . Scoring them directly under a distributional loss would inflate the predicted variance by approximately . Because is estimated, we correct for it by blurring the model rather than the target: we maximize the likelihood of under the noise-convolved predictive distribution
giving, over the query points ,
The Monte Carlo inflation is removed: the minimizer of (6) approximates the posterior over , up to finite histogram resolution and the Gaussian approximation to the Monte Carlo noise. The closed form of (5) for a histogram head is given in Appendix C.2. We add a squared-error regularizer on the posterior mean, . The total training objective is . At inference time, PROXIMALFM outputs the full CATE posterior distribution in a single forward pass, with point estimate . Details on the training are available in Appendix C.3.
3.3 From proximal identification to Bayesian consistency
Let parametrize an SCM drawn from . We adapt the Bayesian consistency argument of Balazadeh Meresht et al. (2026) to the CATE , where , the conditional expected potential outcome (CEPO). Under the proximal identifying conditions, including completeness and existence of an outcome bridge, each CEPO is an observational functional . Their difference therefore identifies and directly targeting CATE requires no change to this identification argument.
Suppose these conditions hold almost surely under the SCM prior . Under the measurability and integrability assumptions in Appendix A, for each admissible fixed query and -almost every true SCM , the oracle Bayesian posterior mean satisfies
Theorem A.4 establishes asymptotic consistency of the Bayesian CATE target underlying PROXIMALFM: as the observational context grows, the oracle posterior concentrates on the true CATE and its mean converges to that value. This provides a theoretical foundation for the inference target that PROXIMALFM learns to approximate through Monte Carlo supervision and amortized inference. Our trained model's posterior-mean predictions inherit consistency when their approximation error relative to the oracle also vanishes.
4 Evaluation
4.1 Evaluation setting
Methods evaluated. We compare PROXIMALFM against three families of methods. First, proximal estimators recover causal effects through bridge functions or conditional moment restrictions. These are the only baselines encoding the proximal identification assumptions. Second, we evaluate existing causal foundation models that assume no unmeasured confounding. Third, conventional S-, T-, and X-meta-learners provide other non-proximal backdoor baselines (Künzel et al., 2019). The backdoor methods are evaluated by either fitting X alone or fitting followed by marginalizing the proxy-conditional contrast over the proxies. Both variants return a function of x, but neither is generally identified as under the proximal assumptions. Appendix D.1 lists all methods and refers to their configuration and implementation details.
Datasets. Appendix D.2 details our semi-synthetic datasets generation. The covariates X and unobserved U are features from real-world data. The proxies W and Z are then generated from . Similarly, the treatment assignment A and outcomes are generated from . Note that we don’t use Z and W as direct inputs when generating the treatment and outcomes.
This semi-synthetic approach grounds the simulation on real-world features, while having control over dataset properties such as confounding strength of U and proxy informativeness of about U. We consider a factorial design crossing linear versus nonlinear mechanisms, low versus high latent-confounding strength, and low versus high proxy informativeness, yielding eight configurations. For each of the eight settings, we evaluate 12 datasets with three independent replicates each, giving a total of 288 evaluation instances. We set .

Figure 4: Median CATE nPEHE across benchmark episodes versus context size. Rows show linear and nonlinear mechanisms; columns vary latent confounding and proxy reliability. The dotted line marks the constant-ATE baseline (nPEHE = 1); lower is better.
4.2 Empirical results
PROXIMALFM is competitive across settings. Figure 4 summarizes the performance of selected methods, with detailed results available in Tables D.7–D.10. Across all eight settings, PROXIMALFM is competitive, with its clearest advantage at larger context sizes under high confounding and low proxy reliability. Among the proximal methods, P-learner (TabICL) is also consistently competitive, but typically requires larger context sizes to obtain good performance. KPV and PMMR generally underperform, possibly because of the use of kernel-based bridge functions in this moderate dimension regime ( ). Flexible backdoor methods such as S-learner (TabICL) and CausalPFN perform surprisingly well when combined with simple proxy marginalization. Their performance deteriorates, however, when strong confounding is combined with low proxy information.
PROXIMALFM plateaus beyond its training range. We next consider the nonlinear regime with high latent confounding and low proxy reliability (Figure D.2, Table D.11). This is a particularly relevant proximal setting: the confounding cannot be ignored, the proxy signal is weak and thus conditioning on proxies is insufficient. As the context grows beyond , the P-learner (TabICL) continues to improve and becomes the strongest method, whereas PROXIMALFM improves little further and remains close to the constant-ATE baseline. A plausible explanation is a mismatch between evaluation and pre-training context sizes: PROXIMALFM was trained on contexts of at most 2048 observations. To assess this, we continue training the model for limited time on episodes with contexts of up to 5000 observations (Appendix C.3.1, ProximalFM-FT). The adapted model shows small improvements at large context sizes, consistent with limited large-context training support contributing to the observed plateau.
PROXIMALFM is fast and requires no task-specific tuning. PROXIMALFM lies on a favourable accuracy–runtime frontier (Figure 5). It achieves among the strongest CATE ranks while requiring little end-to-end runtime compared to several competing proximal methods. Moving inference from CPU to MPS further reduces its runtime without changing its predictions. PROXIMALFM does not require hyperparameter selection, simplifying deployment and making its reported runtime unaffected by the choice of a selection grid.
The posterior is overconfident on semi-synthetic data. Figure D.3 compares nominal and empirical credible-interval coverage. On datasets sampled from the pre-training prior, coverage is close to nominal across all context sizes, and posterior uncertainty contracts steadily as the context grows. On the other hand, on the semi-synthetic

● End-to-end runtime · O· Post-selection runtime — ProximalFM: MPS → CPU
Figure 5: Accuracy and speed at context size n = 2048, shown separately for linear and nonlinear mechanisms. Points show median runtime per episode against median paired CATE nPEHE rank (IQR whiskers). Filled and hollow points respectively include and exclude hyperparameter selection. The orange segment compares PROXIMALFM on CPU and MPS. More details in Appendix D.3.1.
datasets, the posterior is increasingly overconfident as the context size grows. This undercoverage under distribution shift is consistent with the out-of-distribution experiments from Balazadeh Meresht et al. (2026). Notably, the posterior standard deviation continues to decrease beyond the maximum pre-training context size.
Proxy informativeness matters. The good performance of TabICL and CausalPFN in the semi-synthetic benchmark raises the question of whether flexible backdoor methods can substitute for proximal estimation. We investigate this in a setting with linear outcome and Gaussian proxy mechanisms, where we control the information that carries about (Appendix D.4). At , PROXIMALFM outperforms proxy-marginalized CausalPFN throughout the sweep and proxy-adjusted linear regression (OLS) in most settings, although OLS catches up when proxies nearly reveal . Well specified proximal 2SLS (Tchetgen Tchetgen et al., 2020) provides a reference for what matching the estimator to this mechanism can achieve.
Towards a real physical evaluation. We compare ATE estimations on Causal Chambers, a physical system with a known causal graph (Gamella et al., 2025) (Appendix E). Backdoor meta-learners outperform proximal learners, including PROXIMALFM. We interpret this cautiously: PROXIMALFM is designed for CATE, this benchmark has only twelve configurations of one one-dimensional system and moderate sample size (1 000 observations each).
5 Conclusion
We introduced PROXIMALFM, an amortized estimator for CATE under the proximal learning assumptions. Existing causal foundation models address settings such as backdoor, instrumental-variable, and frontdoor identification, but are not designed to exploit proxies for proximal identification. Rather than solving an ill-posed bridge equation separately for each new dataset, PROXIMALFM learns from synthetic episodes to estimate CATE from observational data, with regularization implied by the prior. Its CATE posterior also provides uncertainty estimates, though credible intervals can be overconfident beyond the training prior. Together with models for other identification settings, it gives practitioners a fast way to compare estimates under different plausible identifying assumptions.
Acknowledgements
AK acknowledges funding support from His Majesty's Government in the development of this research. JZ is funded by the Pioneer Center for Statistical and computational Methods for Advanced Research to Transform Biomedicine (SMARTbiomed), DNRF grant number P4 and a 2026 Jesus College, University of Oxford, SCR Major Research Grant. RS is partially funded by the EPSRC Open Fellowship EP/W024330/1 and, by the Causality in Healthcare AI (CHAI) Hub, EPSRC grant number EP/Y028856/1. AL was funded through a Patient-Centered Outcomes Research Institute (PCORI) Award (ME-2024C2-39990).
References
Balazadeh, V., Kamkari, H., Barath, M., Silva, R., & Krishnan, R. G. (2026). Iv-icl: Bounding causal effects with instrumental variables via in-context learning. arXiv preprint arXiv:2605.12924.
Balazadeh Meresht, V., Kamkari, H., Thomas, V., Ma, J., Li, B., Cresswell, J., & Krishnan, R. (2026). Causalpfn: Amortized causal effect estimation via in-context learning. Advances in Neural Information Processing Systems, 38, 154945–154984.
Dikkala, N., Lewis, G., Mackey, L., & Syrgkanis, V. (2020). Minimax Estimation of Conditional Moment Models. Advances in Neural Information Processing Systems, 33, 12248–12262.
Erickson, N., Purucker, L., Tschalzev, A., Holzmüller, D., Desai, P., Salinas, D., & Hutter, F. (2026). Tabarena: A living benchmark for machine learning on tabular data. Advances in Neural Information Processing Systems, 38.
Gamella, J. L., Peters, J., & Bühlmann, P. (2025). Causal chambers as a real-world physical testbed for ai methodology. Nature Machine Intelligence, 7(1), 107–118. https://doi.org/10.1038/s42256-024-00964-x
Garg, A., Ali, M., Hollmann, N., Purucker, L., Müller, S., & Hutter, F. (2025). Real-tabPFN: Improving tabular foundation models via continued pre-training with real-world data. 1st ICML Workshop on Foundation Models for Structured Data. https://openreview.net/forum?id=BtEiqKsIMw
Ghassami, A., Ying, A., Shpitser, I., & Tchetgen Tchetgen, E. (2022). Minimax kernel machine learning for a class of doubly robust functionals with application to proximal causal inference. International Conference on Artificial Intelligence and Statistics, 7210–7239.
Grinsztajn, L., Flöge, K., Key, O., Birkel, F., Jund, P., Roof, B., Manium, M., Bin, S., Bühler, M., Garg, A., et al. (2026). Tabpfn-3: Technical report. arXiv preprint arXiv:2605.13986.
Grinsztajn, L., Oyallon, E., & Varoquaux, G. (2022). Why do tree-based models still outperform deep learning on typical tabular data? Advances in Neural Information Processing Systems, 35.
Hernán, M., & Robins, J. (2020). Causal inference: What if. Chapman & Hall/CRC.
Hollmann, N., Müller, S., Eggensperger, K., & Hutter, F. (2023, September). TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Second [arXiv:2207.01848 [cs]]. https://doi.org/10.48550/arXiv.2207.01848
Hollmann, N., Müller, S., Purucker, L., Krishnakumar, A., Körfer, M., Hoo, S. B., Schirrmeister, R. T., & Hutter, F. (2025). Accurate predictions on small data with a tabular foundation model. Nature, 637(8045), 319–326. https://doi.org/10.1038/s41586-024-08328-6
Kompa, B., Bellamy, D., Kolokotrones, T., Beam, A., et al. (2022). Deep learning methods for proximal inference via maximum moment restriction. Advances in Neural Information Processing Systems, 35, 11189–11201.
Künzel, S. R., Sekhon, J. S., Bickel, P. J., & Yu, B. (2019). Meta-learners for Estimating Heterogeneous Treatment Effects using Machine Learning [arXiv:1706.03461 [math.ST]]. Proceedings of the National Academy of Sciences, 116(10), 4156–4165. https://doi.org/10.1073/pnas.1804597116
Luedtke, A., & Chung, I. (2024). Adversarial monte carlo meta-learning of conditional average treatment effects. In Handbook of statistical methods for precision medicine (pp. 237–248). Chapman; Hall/CRC.
Ma, Y., Frauen, D., Javurek, E., & Feuerriegel, S. (2026). Foundation models for causal inference via prior-data fitted networks. International Conference on Learning Representations, 2026, 79065–79098.
Mastouri, A., Zhu, Y., Gultchin, L., Korba, A., Silva, R., Kusner, M., Gretton, A., & Muandet, K. (2021). Proximal Causal Learning with Kernels: Two-Stage Estimation and Moment Restriction. Proceedings of the 38th International Conference on Machine Learning, 7512–7523. Retrieved April 13, 2026, from https://proceedings.mlr.press/v139/mastouri21a.html
Miao, W., Geng, Z., & Tchetgen Tchetgen, E. J. (2018). Identifying causal effects with proxy variables of an unmeasured confounder. Biometrika, 105(4), 987–993. https://doi.org/10.1093/biomet/asy038
Miller, J. W. (2018). A detailed treatment of doob's theorem. https://arxiv.org/abs/1801.03122
Müller, S., Hollmann, N., Arango, S. P., Grabocka, J., & Hutter, F. (2022). Transformers can do bayesian inference. International Conference on Learning Representations. https://openreview.net/forum?id=KSugKcbNf9
Neal, B., Huang, C.-W., & Raghupathi, S. (2021, March). RealCause: Realistic Causal Inference Benchmarking [arXiv:2011.15007 [cs]]. https://doi.org/10.48550/arXiv.2011.15007
Pearl, J. (2009). Causality: Models, Reasoning and Inference, 2nd edition. Cambridge University Press.
Purucker, L., Tschalzev, A., Erickson, N., Blayer, G., Holzmüller, D., Arazi, A., Pfefferle, A., Tajjar, M., Varoquaux, G., & Hutter, F. (2026). Beyond iid: How general are tabular foundation models, really? https://arxiv.org/abs/2606.30410
Qu, J., Holzmüller, D., Varoquaux, G., & Le Morvan, M. (2025). TabICL: A tabular foundation model for in-context learning on large data. In A. Singh, M. Fazel, D. Hsu, S. Lacoste-Julien, F. Berkenkamp, T.
Maharaj, K. Wagstaff, & J. Zhu (Eds.), Proceedings of the 42nd international conference on machine learning (pp. 50817–50847, Vol. 267). PMLR. https://proceedings.mlr.press/v267/qu25d.html
Qu, J., Holzmüller, D., Varoquaux, G., & Morvan, M. L. (2026). TabICLv2: A better, faster, scalable, and open tabular foundation model. Forty-third International Conference on Machine Learning. https://openreview.net/forum?id=SxsyLjIfWB
Robertson, J., Reuter, A., Guo, S., Hollmann, N., Hutter, F., & Schölkopf, B. (2026). Do-pfn: In-context learning for causal effect estimation. Advances in Neural Information Processing Systems, 38, 174811–174848.
Rubin, D. (1972). Estimating Causal Effects of Treatments in Experimental and Observational Studies [_eprint: https://onlinelibrary.wiley.com/doi/pdf/10.1002/j.2333-8504.1972.tb00631.x]. ETS Research Bulletin Series, 1972(2), i–31. https://doi.org/10.1002/j.2333-8504.1972.tb00631.x
Stith, C., Barath, M., Balazadeh, V., Cresswell, J. C., & Krishnan, R. G. (2026). Causal foundation models with continuous treatments. 2nd ICML Workshop on Foundation Models for Structured Data. https://openreview.net/forum?id=DzcWAYcR2n
Stith, C., Rahmani, H., & Cresswell, J. C. (2026). Causal foundation models. https://arxiv.org/abs/2609.03003
Sverdrup, E., & Cui, Y. (2023). Proximal causal learning of conditional average treatment effects. International Conference on Machine Learning, 33285–33298.
Tchetgen Tchetgen, E. J., Ying, A., Cui, Y., Shi, X., & Miao, W. (2020, September). An Introduction to Proximal Causal Learning [arXiv:2009.10982 [stat]]. https://doi.org/10.48550/arXiv.2009.10982
Xu, L., Kanagawa, H., & Gretton, A. (2021). Deep proxy causal learning and its application to confounded bandit policy evaluation. Advances in Neural Information Processing Systems, 34, 26264–26275.
Yang, Y., Kuchibhotla, A., & Tchetgen Tchetgen, E. (2023). Forster-Warmuth counterfactual regression: A unified learning approach. https://doi.org/10.48550/arXiv.2307.16798
Zeitler, J. (2025). Physical benchmarks for testing algorithms. Nature Machine Intelligence, 7(2), 166–167. https://doi.org/10.1038/s42256-025-00999-8
Appendix
A Consistency result 15
A.1 Setup and identification 15
A.2 Consistency of the oracle CATE posterior 15
A.3 Proximal identification 16
A.4 Application to PROXIMALFM 16
B Details on the proximal prior 18
B.1 Step-by-step procedure 18
B.2 Generative model components 21
B.2.1 Parameters of the prior 21
B.2.2 Dimensions & dimension heuristic 24
B.2.3 MLP generation, noise & edge sampling 24
B.2.4 Post-process: categorisation, outlier and scaling 26
B.2.5 Treatment assignment 30
B.2.6 Potential outcomes & heterogeneity remix 31
B.2.7 Monte Carlo CATE supervision 32
B.2.8 Visualize the prior 32
B.3 Proximal assumption audit 36
B.3.1 Overlap 36
B.3.2 Exclusion restrictions 36
B.3.3 Latent exchangeability and confounding strength 38
B.3.4 Proxy relevance 40
C Model architecture, objective, training, and validation 42
C.1 Architecture 42
C.2 The noise-aware histogram loss 44
C.3 Training the model 45
C.3.1 Post-training on larger context sizes 47
C.4 Validation and posterior diagnostics 49
C.4.1 Validation datasets 49
C.4.2 Point-estimate validation 49
C.4.3 Distributional validation 49
C.4.4 Posterior representation & smoothing 51
C.4.5 Posterior dynamics 52
D Details on results 54
D.1 Baseline methods 54
D.1.1 Backdoor meta-learners, in-context learners and proxy marginalization 55
D.1.2 P-learner 57
D.1.3 Neural moment matching regression ..... 57
D.1.4 Proxy maximum moment restriction ..... 59
D.1.5 Kernel proxy variable ..... 60
D.2 Semi-synthetic benchmarks from real covariates ..... 61
D.3 Results on semi-synthetic datasets ..... 63
D.3.1 Speed ..... 71
D.4 Synthetic study of proxy informativeness ..... 71
E Towards a real physical system: Causal Chambers ..... 74
A Consistency result
We adapt the observational-equivalence argument of Balazadeh Meresht et al. (2026) to the CATE functional. The result characterizes the oracle Bayesian learner under the SCM prior used in the main text. Its application to PROXIMALFM is elaborated in Section A.4.
A.1 Setup and identification
Let range over a standard Borel parameter space . Each SCM induces a joint law of the observed variables and both potential outcomes, with and . Write for the observed variables, taking values in a standard Borel space , and for their law. Under the joint Bayesian model, first draw and then draw independently from . The observational context is .
Assumption 5 (Measurability). The map is measurable, and the image is a Borel subset of , the standard Borel space of probability laws on . We choose jointly measurable versions of
Throughout what follows, fix an admissible query x at which these conditional means are defined and the stated assumptions apply. Our results apply pointwise in x and we treat the query as fixed (if instead a query is sampled from an SCM-dependent covariate distribution and provides additional evidence, the same argument uses the conditional prior , assuming the context and query are conditionally independent given and the assumptions below hold for that prior.)
Assumption 6 (Integrability). At the query under consideration,
Integrability of both CEPOs is sufficient, since .
Definition A.1 (Observational equivalence and CATE-identifiability). Two SCMs are observationally equivalent when . The prior is CATE-identifiable at if there is a measurable map such that for -almost every .
Definition A.2 (CEPO-identifiability). The prior is CEPO-identifiable at if, for each , there is a measurable with for -almost every .
CEPO-identifiability implies CATE-identifiability by taking . The converse is unnecessary and need not hold, since a common unidentified component of the two means can cancel in their difference.
The oracle CATE posterior and its mean are
(10)
A.2 Consistency of the oracle CATE posterior
Working directly with represents observational equivalence classes by their common law. Let be the distribution of under , and choose a measurable version of
Lemma A.3 (Limit within observational equivalence classes). Under Assumptions 5–6, for -almost every , i.i.d. observations from satisfy
Proof. Conditional on , the law of the entire observation sequence is and does not depend further on . Thus
Moreover, conditional Jensen’s inequality gives . The model indexed by , with sampling law , is measurable and identifiable by construction. Theorem 2.2 of Miller (2018) therefore gives almost surely under the joint Bayesian law. Intersecting the probability-one events on which (13) holds for each and disintegrating with respect to proves the stated parameterwise conclusion, as in Corollary 2.3 of Miller (2018).
Theorem A.4 (CATE identification and oracle consistency). Under Assumptions 5–6, the following are equivalent at the fixed query x:
-
The prior is CATE-identifiable at x.
-
For -almost every , i.i.d. observations from satisfy
Under these conditions the exact CATE posterior also concentrates: for -almost every and every ,
Proof. If almost surely, then -almost everywhere. Intersecting the pullback of this set with the full-prior-measure set in Lemma A.3 proves consistency. Conversely, consistency and Lemma A.3 imply for -almost every . The measurable function therefore witnesses CATE-identifiability.
For posterior concentration, apply the same Doob argument to the bounded functions for all rational . Intersecting the resulting countably many full-measure sets gives convergence of the posterior probabilities of these half-lines to their values at . For any , choose rational thresholds on either side of , each within of it. The posterior mass outside these thresholds tends to zero, proving (15).
A.3 Proximal identification
Suppose the proximal assumptions hold -almost surely, including the completeness and bridge-existence conditions needed for the conditional proximal g-formula at the fixed query x. For an appropriate outcome bridge and the chosen identifying versions of the conditional means, the formula yields
(16)
The right-hand sides are identified by the observational law as their measurable representations give CEPO- and hence CATE-identifiability. Theorem A.4 consequently applies. Equivalently, when both CEPO posterior means are consistent and integrable, linearity gives
Note that this identity does not require the trained model to estimate the CEPO.
A.4 Application to PROXIMALFM
For independent downstream simulations from the SCM's conditional potential-outcome law given , independent of the context conditional on , the target satisfies
With finite second moments, population squared-error regression on these labels therefore targets the oracle posterior mean even at finite K. Recovering the full posterior from noisy labels additionally requires a correctly specified and identifiable measurement-error model, or a limit in which Monte Carlo error vanishes. Our theoretical result does not establish exact recovery by the finite-K Gaussian noise-aware objective or its combination with a mean penalty but is instead concerned with an oracle learner.
To make this explicit, let be the mean predicted by PROXIMALFM. Then
(19)
Theorem A.4 controls the second term. Consistency of the learned estimator also requires the first term (comprising supervision, representation, and training errors) to vanish as context size grows, which extends beyond the scope of our theoretical contributions and would require substantially more developments in the theory of in-context learning.
B Details on the proximal prior
B.1 Step-by-step procedure
We generate each synthetic dataset from an independently sampled structural causal model (SCM) compatible with the proximal DAG. The full routine is sketched in Figure B.1 and specified in Algorithm 1; this section walks through it and fixes notation used across Appendix B.
Throughout, a dataset consists of units (the sequence length) and the target estimand is the conditional average treatment effect . Because marginalises over all unit-level heterogeneity beyond , we approximate the conditional expected potential outcomes (CEPOs) by Monte Carlo integration: every unit is replicated times, sharing its covariate value while drawing fresh exogenous noise—and therefore fresh latent-confounder and proxy realizations—and the potential outcomes are averaged over the replicates.
Once per dataset: structure. We first sample the latent and observed dimensionalities, drawing the confounder dimension from a law skewed toward small values and then the proxy dimensions , conditionally on so as to respect the completeness heuristic , , with the covariate dimension drawn independently and uniformly; the sampling laws and the resulting induced marginals are described below in Appendix B.2.2. We then instantiate the causal mechanisms , , , , , as independently initialised random multilayer perceptrons in the style of TabICL (Qu et al., 2025), together with an auxiliary confounding-duplication network (described below), and sample the per-dataset hyperparameters (network depth, width, activations, noise scales; see Appendix B.2.1). Mechanisms, dimensions and hyperparameters are held fixed across all units and their replicates, so the entire dataset is drawn from the same SCM.
Per replicate: the topological pass. The baseline covariates are generated once,
and each row is tiled K times. The remaining variables are sampled in topological order over all rows in a single vectorised pass, with mutually independent exogenous noise drawn afresh for every row:
where denotes standardisation to zero mean and unit variance and applies the feature postprocessing of Appendix B.2.4 (optional categorisation, outlier clamping, and scaling). The exogenous-noise blocks are sized proportionally to each mechanism's non-noise input width via a per-dataset share parameter (see Table B.3), so the noise level does not shrink as signal width grows. Crucially, Z is excluded from the inputs of and , and W is excluded from those of and , so the proxy exclusion restrictions of Assumption 2 hold by construction for any realisation of the random mechanisms.
Notation: , , , , denote per-mechanism random subsets of 's columns, each drawn independently with its own per-dataset keep probability (see Appendix B.2.3); every mechanism that reads , including , sees one of these subsets rather than the full block. Likewise, we'll use the notation and to denote random column subsets for the direct proxy edges.
Mechanism wiring: confounding control and edge subsampling. Three per-dataset knobs then set which columns actually feed each mechanism. First, to control how strongly the confounder influences each of A and Y – independently of , which in a random MLP would otherwise pin the confounding to U's accidental share of the input width – we target a share , of each mechanism's inputs to be U-derived and convert it to a column count with and n the width of the non-U inputs. The mechanism is then fed either a subsample of U's columns (when ) or all of U plus columns of a shared nonlinear re-encoding (when ); we write , for these confounding-controlled inputs. We detail this knob in Appendix B.2.3.
Second and third, the direct covariate and proxy edges are made per-column optional, mirroring each other. Every mechanism downstream of X - i.e. , , , , – receives an independent random subset , , , ,
Algorithm 1 Generation of one proximal dataset.
Require: sequence length T, Monte Carlo count K, hyperparameters.
1: sample from (22); sample , , from (23)
2: instantiate random MLP mechanisms , , , , , ,
3: sample per-dataset hyperparameters: noise shares, confounding shares , , edge keep-probabilities, overlap knobs , ,
4: repeat
5: , tiled K times and standardised to
6: subsample covariate inputs , , , ,
7: draw independent noise , , , , over all TK rows
8: , standardised to
9: , standardised to
10: , standardised to
11: subsample direct-proxy inputs and
12: form , from and via confounding shares ,
13: , , , ;
14:
15:
16: , , , )
17: draw ; remix to via (30)
18: for
19: select per unit; keep observed
20: remove constant columns from X, U, W, Z; update active dims , , ,
21: until , , , and categorical dominance of W, Z over U.
22: return observed and targets
, each column entering with its own per-dataset keep probability . Similarly, each column of (resp. ) enters (resp. ) with its own per-dataset keep probability , giving subsets , . These masks alter the random-function prior without adding graph edges: they only remove direct , , or inputs, while the and inputs and the completeness heuristics remain unchanged.
Potential outcomes, heterogeneity remix, and the observed dataset. The outcome mechanism returns both potential outcomes from a shared forward pass, which are remixed via a per-dataset heterogeneity dial into , ranging continuously from the raw, fully heterogeneous effect ( ) to a single constant effect ( ); we detail and analyse this construction in Appendix B.2.6. Averaging the remixed potential outcomes over the replicates of unit gives the CEPO estimates , and hence the CATE target . To form the observed dataset, one replicate is retained per unit, yielding the tuple with . The transformer sees only these observational components; the CEPO targets are used purely as training targets and are never observed.
Proximal conditions. The construction enforces latent ignorability and the proxy exclusion restrictions of Assumptions 1 and 2 through the mechanism input restrictions and independent exogenous noises. Positivity (Assumption 3) is enforced by the clipped treatment propensity (Appendix B.2.5). Completeness (Assumption 4) cannot be guaranteed for arbitrary nonlinear mechanisms; instead, the prior imposes numeric and categorical proxy-profile heuristics (Appendices B.2.2 and B.2.4). Empirical diagnostics of the resulting overlap, exclusion restrictions, confounding strength, and proxy relevance are collected in Appendix B.3.

computed on the Monte-Carlo replicate rows
Figure B.1: Detailed diagram of the proximal prior's per-dataset generation pipeline.
B.2 Generative model components
B.2.1 Parameters of the prior
Three sets of parameters govern the prior. Structural parameters (Table B.1) fix the shape of a dataset – the sampling laws of the four block dimensions, the number of rows, and the number of Monte Carlo replicates behind the targets – and are the reference point for the dimension analysis of Appendix B.2.2. Fixed hyperparameters (Table B.2) are shared constants, identical across the whole prior. Sampled hyperparameters (Table B.3) are instead drawn once per dataset from a meta-distribution – typically a log-scaled truncated normal whose own centre is itself uniform on a log scale – so that mechanism depth, width, activation, and noise scale, as well as the causal knobs governing overlap and confounding strength, vary across the prior rather than being pinned to a single value.
The fixed table lists only the constants that pin down behaviour described qualitatively elsewhere in this appendix; the generator additionally exposes on/off switches for the mechanisms of the following subsections – the dimension heuristic (Appendix B.2.2), categorical completeness (Appendix B.2.4), the confounding-share subsampling of 's inputs to and , and the per-column subsampling of the direct and covariate edges (Appendix B.2.3). All are enabled throughout the prior.
Table B.1: Structural parameters of the prior: the block dimensions and the dataset shape. Each dimension is drawn per dataset from the law shown, stated in terms of the ceilings listed below it. The proxy dimensions are drawn conditionally on so that the completeness heuristic of Appendix B.2.2.
| hyperparameter | value | description |
|---|---|---|
| Block dimensions | ||
| dim_X | Unif{0,...,max_dim_X} | observed baseline covariate dimension |
| dim_U | triangular on {1,...,max_dim_U} | latent confounder dimension |
| dim_W | Unif{d_U,...,max_dim_W} | outcome-inducing proxy dimension |
| dim_Z | Unif{d_U,...,max_dim_Z} | treatment-inducing proxy dimension |
| Dimension bounds | ||
| max_dim_X | 10 | covariate-dimension ceiling |
| max_dim_U | 10 | confounder-dimension ceiling (of Appendix B.2.2) |
| max_dim_W | 10 | outcome-confounding proxydimension ceiling |
| max_dim_Z | 10 | treatment-confounding proxydimension ceiling |
| Dataset | ||
| context_rows | Unif{64,...,2047} | context rows per episode |
| n_query | 128 | fixed query rows per episode |
| mc_cate | 250 | MC replicates per row behind the targets |
| mc_target_rows | query rows only | rows carrying MC CEPO targets |
Table B.2: Fixed hyperparameters of the prior, held constant across every dataset. Listed are the constants that pin down behaviour the surrounding text describes only qualitatively; switches whose shipped value is that behaviour itself are stated in the text instead.
| hyperparameter | value | description |
|---|---|---|
| Mechanism | ||
| noise_std | 0.001 | tiny fixed per-layer dither so continuous columns realise distinct values |
| Feature corruption | ||
| max_categories | 50 | cap on categories per feature |
| proxy_cat_cover_prob | 0.5 | chance a proxy mirrors a category (vs. a continuous wildcard) |
| Positivity | ||
| propensity_epsilon | 0.001 | positivity clamp on the propensity |
| Completeness | ||
| completeness_max_attempts | 50 | resample budget before giving up |
Table B.3: Per-dataset sampled hyperparameters of the prior. Each is drawn once per dataset from the listed meta-distribution; log-scaled truncated normals draw their centre log-uniformly over the stated mean range and add the lower bound as an offset.
| hyperparameter | sampling law | description |
|---|---|---|
| Mechanism | ||
| num_layers | log-scaled trunc. normal, mean log Unif[1, 6], int 2 | mechanism MLP depth |
| hidden_dim | log-scaled trunc. normal, mean log Unif[5, 130], int 4 | mechanism MLP width |
| mlp_activations | categorical over 54 random activation functions | activation, drawn from a random library |
| init_std | log-scaled trunc. normal, mean log Unif[0.01, 10], real 0 | weight-initialisation scale |
| block_wise_dropout | categorical (random weights) | block-sparse vs. dense weight init |
| mlp_dropout_prob | scaled Beta on [0, 0.9], shapes Unif[0.1, 5] | dropout rate (dense init only) |
| Noise | ||
| sampling | categorical(random weights) | family of the root cause variables |
| pre_sample_cause_stats | categorical (random weights) | pre-sample per-cause mean/std (normal sampling) |
| noise_share_of_input_in_U | Beta(1.2, 2.8) | target noise share of inputs ( width) |
| noise_share_of_input_in_W | Beta(1.2, 2.8) | target noise share of inputs ( width) |
| noise_share_of_input_in_Z | Beta(1.2, 2.8) | target noise share of inputs ( width) |
| noise_share_of_input_in_A | Beta(1.2, 2.8) | target noise share of inputs ( width) |
| noise_share_of_input_in_Y | Beta(1.2, 2.8) | target noise share of inputs ( width) |
| Causal | ||
| propensity_shift | Unif[-2.5, 2.5] | treatment-logit bias (marginal treated fraction) |
| propensity_scale | log-scaled trunc. normal, mean log Unif[0.5, 3], real 0.1 | treatment-logit gain (overlap vs. confounding) |
| confounding_share_of_U_in_Y | Beta(1.2, 2.8) | target share of inputs drawn from |
| confounding_share_of_U_in_A | Beta(1.2, 2.8) | target share of inputs drawn from |
| direct_edge_share_of_W_in_Y | Beta(1, 1) | per-column keep probability of the direct edge |
| direct_edge_share_of_Z_in_A | Beta(1, 1) | per-column keep probability of the direct edge |
| covariate_share_of_X_in_U | Beta(1, 1) | per-column keep probability of the direct edge |
| covariate_share_of_X_in_W | Beta(1, 1) | per-column keep probability of the direct edge |
| covariate_share_of_X_in_Z | Beta(1, 1) | per-column keep probability of the direct edge |
| covariate_share_of_X_in_A | Beta(1, 1) | per-column keep probability of the direct edge |
| covariate_share_of_X_in_Y | Beta(1, 1) | per-column keep probability of the direct edge |
| Feature corruption | ||
| cat_col_prob | Beta(1, 3) | per-column categorisation probability |
B.2.2 Dimensions & dimension heuristic
The block dimensions are sampled according to the completeness heuristic introduced in Appendix B.1. The confounder dimension is drawn from a triangular (linearly decreasing) law on ,
which skews toward small values. Conditional on , the two proxy dimensions are sampled uniformly subject to , while the covariate dimension is sampled independently and uniformly:
This conditional-uniform sampling has a convenient consequence in the common-bound configuration used here, where , , and all range from 1 to a shared maximum . When follows the triangular law, the weight placed on exactly cancels the normaliser of the conditional uniform, so the induced marginal of each proxy dimension is the linear ramp
and likewise for .
The triangular choice for is what buys this. Had been uniform, the same conditional sampling would induce a harmonic proxy marginal, with the -th harmonic number, which piles proxy mass against the ceiling : the value is reachable from every , whereas small requires a small , so probability accumulates at the top (for , ). The triangular law flattens this to the linear ramp of (24) ( ), and lowers the mean confounder and proxy dimensions from 5.5 and 7.75 to 4.0 and 7.0 respectively. Figure B.2 shows the delivered marginals of both schemes against these analytic laws.

Figure B.2: Delivered marginal distributions of the block dimensions , , across the prior, for the shipped (triangular ) and the alternative (uniform ) sampling, overlaid with their analytic sampling laws (dashed: triangular; dotted: uniform). Bars are empirical frequencies over 1024 datasets. Uniform pushes proxy mass against the ceiling ; the triangular law spreads it into the linear ramp of (24). Delivered bars track the theoretical curves, confirming the generator samples the intended laws.
B.2.3 MLP generation, noise & edge sampling
TabICL builds a single random MLP that turns a block of root “causes” into one feature table, reading its columns from the pooled activations of the MLP’s intermediate layers. We reuse that construction unchanged as the mechanism for each individual node – the layer stack, the random activation library, the block-sparse or dropout-masked Gaussian initialisation, and the pooled-output selection, all sampled once per dataset (Table B.3); we refer to TabICL for these details (Qu et al., 2025). In PROXIMALFM, the innovative step is that a proximal dataset is not one block but a chain of them, , , , , , along a proximal learning DAG. Wiring one block into the next raises two questions a single-MLP generator never faces:

Figure B.3: Every dial: each input channel’s share of ’s (top) and ’s (bottom) total input variance, against its own sampled knob (s for the U-channel, the covariate and proxy keep-probabilities for and , the noise share for ). Solid line: moving average. Each knob steers its channel’s delivered variance share.
• How should a parent block enter the child’s mechanism?
• How should we inject fresh per-node randomness while keeping it proportional to the signal?
Parents and noise. The root mechanism has no parents and maps a sampled noise input block straight to the covariates, . Every downstream mechanism instead concatenates its standardised parent blocks with a fresh input block of its own, e.g. as in (21). These per-node blocks play the role of exogenous noise: we draw them from the same sampler TabICL uses for its root causes – each column independently normal, uniform, multinomial, or clamped Zipf under per-dataset mixing weights – and size each to a per-dataset share of its mechanism’s signal width (Table B.3), so the noise-to-signal ratio stays controlled rather than shrinking as the parent blocks grow. The MLP’s own within-layer Gaussian perturbation is left small (noise_std = ), so in practice the input blocks carry essentially all of a node’s exogenous randomness. Postprocessing Corrupt( ) (Appendix B.2.4) then reshapes each block before it is consumed.
Edge sampling. At the MLP level, the parent blocks above are passed through dataset-specific column masks. For each mechanism that depends on X, we draw a keep probability from Unif[0, 1] and retain the columns of independently according to that probability. The same procedure is applied to the and links, producing the masked proxy inputs and . Thus edge sampling can only remove potential parents from the fixed proximal DAG: the completeness links remain intact, and no new dependencies are introduced. The resulting subgraphs therefore retain the dimensionality heuristic and the structural proximal restrictions. The separate control of how strongly U enters and is described next.
Confounding control. In a random MLP the confounder's influence on A and Y would be pinned by U's share of each mechanism's input width, hence by ; to decouple confounding strength from we target a share , of the inputs to , to be U-derived and translate it into a column count k. When k does not exceed the mechanism sees a k-column subsample of U; when it does, it sees all of U plus extra columns drawn from a shared nonlinear re-encoding , itself a random MLP, giving the confounding-controlled inputs , . Since is a deterministic function of U, these extra columns carry no information beyond U – they only let the prior push confounding above what alone would permit, without altering the DAG or the completeness edges.


Figure B.4: Output side of the composition: what each mechanism’s output depends on, measured by a cross-fitted TabICL regression on the delivered data. Columns 1–3 plot each parent channel’s unique leave-one-out (drop in out-of-fold when that block is removed from the predictors) against its own knob, for (top, target logit( )) and (bottom, target ); column 4 plots the unexplained share against the noise knob. Solid line: moving average. Each channel’s dependence rises with its knob, as at the input level. The U-channel reads modestly because leave-one-out credits only signal unique to U, not the part shared with its child proxy.
Figure B.3 evaluates the effect on the mechanisms’ input variance of the four signal knobs, one per channel governing the U-, X-, proxy- and noise-channels respectively. We observe clearly the expected behaviour, as higher values for a knob correspond to a higher proportion of input variance carried by its own channel, on average. Then, Figure B.4 considers the outputs of each mechanism, and evaluates their dependence on the input. On the delivered data we predict each mechanism’s output from its parent blocks with a cross-fitted in-context regressor (TabICL, out-of-fold so every row is predicted exactly once), and read each block’s unique contribution as the leave-one-out drop . For we predict the raw treatment logit logit( ) from ; for the potential outcome from ; the noise channel, having no block to drop, is read as the unexplained share .
Figure B.4 shows each channel’s contribution rising with its own knob, mirroring Figure B.3 at the output level: the mechanisms are predicted with median , and the noise knob visibly inflates the unexplained share. Two caveats with this procedure. First, the blocks are supersets of the subsampled columns each mechanism actually consumed, so a drop is a lower bound on the true dependence. Second, because leave-one-out credits only unique signal, the confounder channel reads low wherever U is partly recoverable from its child proxy. On the Y side, is post heterogeneity-remix, so its also absorbs the exogenous mixing (which vanishes as ).
B.2.4 Post-process: categorisation, outlier and scaling
Each block passes through the Corrupt( ) pipeline of TabICL (Qu et al., 2025) before being consumed in (21): a random subset of columns is discretised into categories, outliers are clamped at 4 standard deviations, and the result is standardised. Like TabICL, we apply this to each mechanism's output rather than within its MLP layers, as Stith, Barath, et al. (2026) instead suggest.
Categorisation interacts with the completeness assumptions of Appendix B, which we preserve through two heuristics on the delivered blocks. Numerically, we keep . Categorically, every column of must be
Confounder: confounding_share_of_U_in_. Covariate: covariate_share_of_X_in_. Proxy: direct_edge_share_of_in. Noise: noise_share_of_input_in_*.
Table B.4: Worked examples of the categorical-completeness heuristic for the fixed confounder profile (one numerical column and two categorical columns, with 5 and 3 categories). A proxy block satisfies the heuristic when its columns can be matched one-to-one to those of so that each is at least as informative: a numerical column dominates anything, and a categorical column dominates a categorical requirement only if it has at least as many categories. A numerical proxy column may thus cover a categorical requirement, but a categorical proxy column can never cover a numerical one.
| Proxy profile P | Heuristic? | Reason |
|---|---|---|
| [num, 5-cat, 3-cat] | ok | exact match, column for column |
| [num, 8-cat, 4-cat] | ok | categorical columns carry more categories than required |
| [num, num, 3-cat] | ok | a numerical column covers U's 5-cat column |
| [num, num, num] | ok | numerical columns dominate every requirement |
| [num, num] | no | too few columns () |
| [num, 4-cat, 3-cat] | no | the 4-cat column cannot cover U's 5-cat column |
| [5-cat, 5-cat, 3-cat] | no | only one numerical column for U's two numerical columns |
| [num, num, 2-cat] | no | a numerical wildcard covers the 5-cat column, leaving the 2-cat column to cover U's 3-cat column, but 2 < 3 |
dominated by a distinct proxy column: a numerical column of by a numerical proxy column, and a categorical column of by either a numerical proxy column or a categorical one with at least as many categories; as exemplified in Table B.4.
Numeric completeness. The dimension heuristic is imposed at sampling time, but the constant-column filtering that follows (Algorithm 1, line 20) can shrink a block afterwards, so we re-check it on the delivered dimensions. Figure B.5 illustrates this heuristic enforcement.
Categorical completeness. We call categorically complete w.r.t. when every column of matches a distinct, at-least-as-informative column of ("dominates"). Whenever is categorised, the prior builds each proxy to satisfy this by construction: it reserves one numerical column per numerical column of , covers each categorical column of with either a numerical column or – with probability proxy_cat_cover_prob = 50% – a categorical column drawing strictly more categories, and fills any surplus proxy columns freely. Figure B.6 contrasts the block compositions this yields with and without this construction: default (enforcement on) and no_enforcement ( categorised, proxies left unconstrained) start from the same categorised , but under no_enforcement the proxies end up no more numerical than itself, so nothing forces domination.
Enforcement scales with 's demand. Figure B.7 reads the covering rule off the delivered data from two angles. Conditioning on a single column's cardinality (panels a–b), the proxy block's numerical fraction is roughly flat in that cardinality and sits above the unconstrained arm ( vs. ), while the mean category count of the proxy's categorical columns grows with the column's cardinality under default ( at 2 categories to in the 30+ bin), exactly as the "strictly more categories" covering rule dictates, and stays flat at under no_enforcement. Enforcement therefore acts on the depth of the proxy's categorical columns, not on how many of them there are.
Panel (c) makes the same point negatively, at the dataset level. The categorical share of the proxies rises with 's categorical demand in both arms, because the per-dataset categorisation propensity is shared across blocks: a dataset that discretises many columns of also discretises many columns of its proxies, enforcement or not. Enforcement in fact leaves the proxies less categorical than the free no_enforcement arm at every demand level ( vs. ), consistent with the reserved numerical columns of panel (a). So the categorical share is not the signature of enforcement; the per-column depth of panel (b), and the survival rate below, are.
Joint distribution of and the other blocks, per variant
triangular: vs

triangular: vs
uniform: vs
triangular: vs
uniform: vs
uniform: vs

datasets
datasets
datasets
Figure B.5: Joint distribution of the latent dimension against each feature block ( , , ), one row per prior variant (triangular, uniform). Colour encodes the number of delivered datasets falling in each ( ) cell. The diagonal line on the panels marks the completeness heuristic , ; both variants place their mass on or below it, i.e. constant-column filtering does not measurably break the heuristic imposed at sampling time. carries no such constraint and is shown for reference.

Figure B.6: Column-type composition of each block (U, W, Z), one 100%-stacked bar per variant (default: categorical completeness enforced; no_enforcement: proxies left unconstrained). Each bar partitions a block's columns into continuous (grey, “cont.”) and categorical, the latter binned by category count (2–5 singletons, then coarser 6–10, 11–20, 21– tail bins). Continuous columns dominate every block; contrasting W/Z across the two variants shows how much enforcement pushes proxy columns categorical relative to the unconstrained no_enforcement arm.
(a)

U col.: categories
default no_enforcement
(b)
U col.: categories
(c)
|cats(U)|
Figure B.7: How enforcement makes proxy structure track U's categorical demand, pooling W and Z across the default and no_enforcement variants; shaded bands are ± one SEM. (a, b) condition on a single U column's own cardinality: the x-axis bins a U column by its category count (continuous “num”, then 2, ..., 9, and coarser tail bins up to “30+”), and each point averages a statistic of the co-occurring proxy block over every dataset containing a U column of that kind – (a) the fraction of proxy columns that are continuous, essentially flat in U's cardinality but higher under default, and (b) the mean category count of the proxy's categorical columns, which rises with U's cardinality under default but stays low under no_enforcement. (c) moves to the dataset level: the mean fraction of categorical proxy columns against U's total categorical demand |cats(U)|, with bins of fewer than 5 datasets dropped. Both arms rise (the per-dataset categorisation propensity is shared across blocks) and default sits below no_enforcement: enforcement deepens the proxy's categorical columns rather than multiplying them. Because proxy statistics in (a, b) are block-level rather than tied to a matched column, those trends reflect association with “the dataset contains a U column of this kind,” not a one-to-one mapping.
B.2.5 Treatment assignment
The treatment mechanism maps the confounding-controlled confounder input , the covariate subset , the direct proxy subset and fresh noise to a single scalar logit per row,
with excluded from the inputs so that the proxy exclusion restriction of Assumption 2 holds by construction (Equation 21). The treatment is binary; the steps below turn into a propensity score and draw .
Logit normalisation. A random MLP fixes neither the location nor the spread of its output, both of which drift with depth, width and input scale; left raw, the induced treatment prevalence and the amount of overlap would be an uncontrolled by-product of the sampled architecture. We therefore standardise the logits across the rows of the dataset to zero mean and unit variance,
so that the assignment distribution is decoupled from the accidental scale of and every dataset starts from a common footing before the overlap knobs act.
Shift and scale. Two per-dataset propensity knobs then set the assignment regime through an affine map of the standardised logits,
both drawn once per dataset (see Table B.3). The shift b moves the marginal treatment prevalence away from the balanced split – negative b makes treatment rare, positive b makes it common – while the scale s controls how sharply assignment depends on the covariates and confounder: small s flattens the logits toward a coin flip (strong overlap, weak confounding channelled through A), whereas large s sharpens them toward near-deterministic assignment (weaker overlap).
Propensity and sampling. A sigmoid turns the shifted logits into a propensity score, from which the treatment is drawn Bernoulli,
Overlap clamp. Because a large can push arbitrarily close to 0 or 1, we clamp the propensity into with before sampling,
guaranteeing a floor on the probability of each treatment arm and hence enforcing positivity/overlap ( ) for every row by construction (Assumption 3). We audit the delivered overlap across the prior in Appendix B.3.1.
Figure B.8 shows this five-step pipeline on a single representative dataset, following one unit (in red) from its raw logit through to its treatment draw.

Figure B.8: The treatment-assignment pipeline of (25)–(29) on one representative dataset, tracking a single unit (red line) across all five stages. (a) The raw logit , whose scale and offset are an uncontrolled by-product of the sampled architecture. (b) The standardised of (26), pinned to zero mean and unit variance. (c) The affine of (27), shifted and sharpened by the two sampled overlap knobs. (d) The propensity of (28), confined to by the clamp of (29) (dotted bounds, drawn at an enlarged for visibility; production ). (e) The realised treatment across the batch (fraction in each arm), with the tracked unit's realised arm marked in red.
B.2.6 Potential outcomes & heterogeneity remix
The outcome mechanism emits both potential outcomes from a single forward pass, returning the pair from a common input and exogenous draw ; the two arms differ only in their read-out, so the raw effect stays coupled through the shared latent state.
Left as is, a dataset’s effect heterogeneity would be an uncontrolled by-product of the sampled MLP. To let the prior span the full range from strongly modulated effects to a single constant effect, we remix the raw outcomes before forming the targets. With a per-dataset dial , a per-row weight , and the raw average effect ,
(30)
This construction follows the heterogeneity knob of RealCause (Neal et al., 2021), later re-used in the causal-foundation-model prior of CausalPFN (Balazadeh Meresht et al., 2026).
Substituting (30) collapses the per-row weights to , so linearly interpolates each unit's effect between its raw value ( , fully heterogeneous) and the dataset mean ( , fully homogeneous). Anchoring at rather than zero preserves the ATE at every ; the per-row simply shares the required shift between and for each unit; averaged across rows, this allocation and the compensating terms leave the marginal means of , (hence the outcome levels and the ATE) unchanged in expectation, so the dial reshapes only the spread of the effect.
Because the collapse also gives , the dial should act on the delivered data as a pure, proportional spread control. Figure B.9 checks this across the prior: is drawn independently per dataset and recorded, so the shipped prior is itself a sweep, and the (outcome-scaled) effect dispersion tracks it closely, while the outcome coupling approaches its exact value of 1.
(a) effect density

(b) outcome coupling
(c) delivered spread
Figure B.9: The heterogeneity dial on the delivered prior, over 1024 datasets. All statistics are ratios, since each SCM’s outcome carries its own arbitrary scale. (a) Two datasets’ effect densities on a shared outcome-scaled axis, each centred on its own (dashed line), one gathered ( ) and one spread ( ); the pair is chosen with matched raw dispersion (1.127 vs. 1.125), so the contrast is attributable to rather than to SCM variation. (b) The outcome coupling corr( ) against (solid line: moving average). At the effect is the constant , so and the coupling is exactly 1 (dashed reference). (c) Distribution of the delivered dispersion per bin (Spearman 0.78 overall), against the proportionality implied by the collapse; within-bin spread is dominated by variation in . Because the reference line is anchored at zero and uses the overall median for its slope, the panel verifies strict proportionality to —linear scaling starting from the origin—rather than predicting the absolute magnitude of dispersion.
B.2.7 Monte Carlo CATE supervision
For a query covariate row , mc_cate specifies the number of independent downstream SCM draws used to approximate its CATE. The covariates remain fixed, while the latent confounder , proxies, and exogenous outcome noise are redrawn. Within draw , both potential outcomes are evaluated on the same latent state, yielding the paired effect . We supervise on , an unbiased estimate of , with estimated sampling variance . Thus controls target precision, not the SCM or estimand: its standard error decreases as , at generation cost proportional to .
B.2.8 Visualize the prior
We close Appendix B.2 with three galleries of the delivered data, each a fixed-seed cross-section of the prior's diversity: Figure B.10 shows individual feature marginals, one column per block and one sampled dataset per row (the propensity for A, both potential outcomes , for Y); Figure B.11 shows within-block dependence, scattering two features of the same block ( against the draw A, and against for the scalar blocks); and Figure B.12 shows cross-block dependence for a chosen few block pairs – the parent→child edges U-W, U-Z, the proxy pair W-Z (associated only through the shared latent U), and the confounder against the propensity .

Figure B.10: Gallery of feature marginals: one column per block , the propensity for , both potential outcomes for ), one row per randomly sampled dataset. Each panel is one feature column's histogram, solid for continuous columns and dashed for categorical ones; the column overlays (blue) and (red). Feature blocks share the standardised axis Corrupt leaves; and keep their natural scale.

Figure B.11: Within-block dependence: one column per block, one randomly sampled dataset per row, each panel a scatter of two features from that block. For X, U, W, Z the two features are random columns of the block (sampled from datasets of width 2); for A the panel plots the propensity against the treatment draw A; for Y the two potential outcomes vs . Rows are subsampled for legibility; feature axes inherit the standardised scale.

Figure B.12: Cross-block dependence: one column per chosen block pair, one sampled dataset per row, each panel a scatter of one feature from each block. U-W and U-Z are the parent→child edges; W-Z is the proxy pair, associated only through the shared latent U (no direct edge); is the confounder against the propensity . Rows are subsampled for legibility; feature axes inherit the standardised scale.
B.3 Proximal assumption audit
B.3.1 Overlap
Positivity (Assumption 3) cannot fail in this prior: the clamp of (29) confines to with chosen deliberately small (see Table B.2), so is never exactly 0 or 1 and every row carries nonzero mass in both treatment arms by construction. Strictly, the stored is realised conditional on the unit's full set of mechanism inputs rather than the marginal that Assumption 3 is stated over, since 's logit also depends on the proxy and the mechanism's own exogenous noise; but the marginal is the expectation of this finer-grained over , so keeping every realised away from 0, 1 is a sufficient, if anything conservative, condition for the marginal to be as well, and auditing the stored values directly is valid. The question worth auditing is therefore not whether positivity holds but how close the sampled overlap knobs push toward that clamp in practice, since a propensity pinned near 0 or 1 leaves little residual randomness in treatment assignment for any estimator to exploit even though positivity technically holds. The audit needs no additional estimation: Figure B.13 is a direct summary of these stored propensities.
Because is small, the clamp only bites at the very extremes and the vast majority of rows sit well within it: across the prior, 84.0% of all rows fall inside the conventional band [0.05, 0.95], and only 42.6% of datasets contain even a single row on the clamp, with the median dataset containing none. Overlap is nonetheless deliberately stressed away from that safe interior: the median dataset still places 13.6% of its rows outside [0.05, 0.95], since the sharpness s of (27) is sampled precisely to span easy and hard assignment regimes.
(a) pooled overlap margin

(b) per-dataset quantile curves
Figure B.13: Delivered overlap across the prior, from the stored true propensity (no estimation involved). (a) Pooled distribution of the overlap margin over all rows of 1024 datasets, on a logarithmic axis: the margin measures each unit's distance from a degenerate assignment, folding both tails into one axis, and the log scale is what makes the mass piled on the clamp (dotted) visible at all. Bars are per-bin shares of all rows on a logarithmic grid, so bin width grows to the right. (b) Per-dataset quantile function of , summarised across datasets by the median curve with the 25–75% and 10–90% inter-dataset bands. Dashed lines mark the practical-overlap band [0.05, 0.95] in both panels.
B.3.2 Exclusion restrictions
The proxy exclusion restriction of Assumption 2, and , holds by construction: (21) never wires into or , nor into or . We audit this with a cross-fitted regression: on the side, the incremental of adding to a conditioning set that already contains everything the clause names; on the side, the analogous for against the raw treatment logit logit( ) given . Both are expected to be .
A near-zero is only informative if the estimator could have detected a leak had one been present. We therefore pair each check with a positive control that repeats the same regression with dropped from the conditioning set (Y-side: ; A-side: ): since is the only path linking to and to , removing it makes the excluded block genuinely predictive, and the control must light up clearly nonzero. Because the control’s power
(a) excluded from :

(b) excluded from :
Figure B.14: Exclusion-restriction audit (Assumption 2) over 1024 datasets. Each panel is one clause – (a) excluded from , (b) excluded from – and each column a cross-fitted incremental of the excluded block: conditioning on is the check (expected ), control: dropped the positive control (expected clearly positive). Colour and horizontal position both encode , i.e. how much confounding that draw carries (linear ramp, floored at 0, capped at the 95th percentile). Both checks stay on zero regardless of colour; both controls fan upward with warmer colour, most visibly in the top tercile of (Table B.5).
scales with how much confounding a given draw actually carries, the figure also colours and ranks each point by , the unique contribution of to the target: the control should fan upward with warmer colour, while the check stays flat and near zero regardless of colour.
Figure B.14 confirms this reading. Both checks sit on zero (median , ), while both controls are slightly positive and rise further on the third of datasets with the largest -dependence, with a positive Spearman correlation between and the control (0.375 Y-side, 0.415 A-side) visible as the colour gradient climbing alongside the control column. The zero-leak reading is therefore not an artefact of a blind test: the same regression detects a real, confounder-mediated dependence whenever is removed, and detects none when the exclusion restriction is left intact.
Table B.5: Exclusion-restriction audit (Assumption 2): cross-fitted incremental of the excluded block over the stated conditioning set, for the check (conditions on ) and the positive control ( dropped). Top confounded is the third of datasets with the largest ( with minus without it).
| conditioning set | role | datasets | median | 90th pct | share > 0.02 |
|---|---|---|---|---|---|
| Z excluded from | |||||
| {A, X, U, Z} | conditions on U | all | -0.002 | 0.007 | 0.021 |
| {A, X, U, Z} | conditions on U | top confounded | -0.005 | 0.004 | 0.012 |
| {A, X, Z} | positive control | all | 0.004 | 0.099 | 0.313 |
| {A, X, Z} | positive control | top confounded | 0.029 | 0.222 | 0.598 |
| W excluded from | |||||
| {X, U, W} | conditions on U | all | -0.003 | 0.009 | 0.020 |
| {X, U, W} | conditions on U | top confounded | -0.004 | 0.004 | 0.021 |
| {X, W} | positive control | all | 0.012 | 0.218 | 0.415 |
| {X, W} | positive control | top confounded | 0.060 | 0.395 | 0.677 |
B.3.3 Latent exchangeability and confounding strength
Latent exchangeability (Assumption 1) holds by construction. Treatment is drawn from , while both potential outcomes are generated without treatment as an input and depend on and independent outcome noise (Equation (21)). Conditional on , the exogenous draws generating and treatment are independent of the ones that generate and the potential outcomes. So, for each . This establishes the assumption; we investigate the strength of the confounding of below, but this does not test the conditional independence or prove finite-sample unbiasedness.
Figure B.15 compares five estimators (unadjusted; T-learners adjusting for or ; and oracle T-learners adjusting for or ) against the generated oracle ATE mean , with absolute errors divided by (Table B.6). Median errors are close (unadjusted 0.041; oracle- 0.025). Errors above 0.1 occur in 24.1% of datasets without adjustment but only 10.7–10.8% with either oracle. This reduction is consistent with residual confounding in some draws, although finite-sample estimation error also contributes to each rate. Figure B.16 groups datasets by the delivered share of and : the backdoor- error is higher mainly when the treatment mechanism receives a larger share of -derived inputs. The pattern is modest at this sample size; adjusting for removes this confounding pathway, explaining why the oracle error does not rise in the same way.
Table B.6: ATE error across adjustment sets. Errors are absolute deviations from the in-sample mean , divided by . All adjusted estimates use cross-fitted T-learners; the oracle rows include the latent .
| rung | adjustment set | role | median error | 90th pct | share > 0.1 |
|---|---|---|---|---|---|
| naive | none | unadjusted | 0.041 | 0.195 | 0.241 |
| backdoor X | correct if no latent confounder | 0.037 | 0.163 | 0.211 | |
| backdoor XWZ | DAG-blind: everything measured | 0.030 | 0.121 | 0.148 | |
| oracle XU | identification: minimal sufficient set | 0.028 | 0.104 | 0.108 | |
| oracle XUW | efficiency: adds , a parent of | 0.025 | 0.105 | 0.107 |

Figure B.15: Confounding-strength comparison (Table B.6) over 1024 datasets. Each violin shows normalised absolute ATE error on a log axis, scored against mean( ): naive (no adjustment), backdoor X and (T-learners on measured covariates), and oracle and (T-learners also given the latent confounder).
(a) backdoor X

(b) oracle — control
Figure B.16: Backdoor-X and oracle-(X, U) error over the delivered confounding-share grid: 1024 datasets binned on the quantiles of the delivered U share of (rows) and (columns) (Figure B.3). Cells report the median normalised error on a shared colour scale. The backdoor panel’s top row (delivered U share of above 0.495) is elevated at 0.045–0.046 against 0.028–0.041 in the two rows below, and is nearly flat across ’s share. The oracle panel shows no comparable pattern.
B.3.4 Proxy relevance
Completeness (Assumption 4) asks that and carry enough variation in for the bridge functions to be identified, not merely that they are wide enough. Appendices B.2.2 and B.2.4 enforce only a counting surrogate and its categorical analogue dominates – which holds on of delivered datasets by construction and is silent on whether satisfying it buys functional recoverability of . We audit that directly with a cross-fitted regression: for each column of and each proxy , the incremental , incremental over because is itself a parent of (Equation 21) and a proxy that merely re-encoded it would be useless for identification however high its raw . We aggregate each proxy's over 's columns two ways: the mean (treating every column as equally important) and the minimum, since completeness is a claim about all of and one unrecoverable direction is enough to break it.
Figure B.17 reads the same quantity three ways. Panel (a) shows both proxies are relevant on the typical draw (median , over of datasets positive) but the weakest column is a materially harder story (median , roughly of datasets below the 0.1 weak line). Panel (b) conditions on each proxy's own dimension slack : relevance rises with slack, validating the heuristic's spirit. Panel (c) conditions on the proxy mechanism's sampled noise share, and relevance falls as that share grows, as the dilution story predicts. Table B.7 separates the two components of slack. Mean relevance has a modest positive correlation with proxy width ( for both proxies). Weakest-column relevance rises with slack () and falls with (), but has almost no association with proxy width alone ( for , 0.017 for ). Because the prior samples proxy width conditional on , wider proxies tend to accompany higher-dimensional ; recovering the weakest column can therefore remain difficult as proxy width increases, especially since taking a minimum over more columns tends to lower that statistic.
Table B.7: Proxy-relevance audit (Assumption 4): cross-fitted incremental of each proxy for the latent columns, aggregated over by the mean or by the weakest column. The counting heuristic (Appendix B.2.4) passes for every dataset, so the share column is the rate at which it and functional recoverability disagree. is Spearman's correlation with each candidate driver: the proxy's own width , , the slack that conflates the two, and the sampled noise share of the input.
| aggregation over | median | share < 0.1 | noise | |||
|---|---|---|---|---|---|---|
| mean | 0.273 | 0.226 | 0.166 | -0.002 | 0.208 | -0.202 |
| weakest | 0.053 | 0.593 | 0.034 | -0.249 | 0.277 | -0.140 |
| mean | 0.271 | 0.235 | 0.166 | -0.023 | 0.226 | -0.208 |
| weakest | 0.052 | 0.588 | 0.017 | -0.272 | 0.281 | -0.095 |
(a) pooled relevance

(b) by dimension slack
(c) by mechanism noise
Figure B.17: Proxy relevance measured by the cross-fitted increment , shown separately for and . (a) Distribution of the mean and weakest-column over ; boxes show the IQR and whiskers the 10th–90th percentiles. (b) Median by proxy dimension slack , with slack pooled. (c) Median by sampled noise share of , in six equal-frequency bins per proxy. Bands in (b) and (c) show the IQR.
C Model architecture, objective, training, and validation
C.1 Architecture
PROXIMALFM encodes a dataset in the three sequential stages of TabICLv2 (Qu et al., 2026), which we use unchanged. A column embedder maps each scalar cell to an embedding through a shared inducing-point set transformer applied along the unit axis, so that a cell is represented relative to the empirical distribution of its own column. A row interactor then treats the embedded cells of a unit as a sequence of tokens along the column axis, applies a transformer with rotary positional encoding, and concatenates the outputs of prepended learnable CLS tokens into a single vector per unit. Finally, an in-context learner runs a transformer over the sequence of unit vectors in which query units attend to context units but not to one another; no positional encoding is applied along the unit axis, so the model is equivariant to the ordering of the dataset. All blocks are pre-norm and use the query-aware scalable softmax of Qu et al. (2026). Our only removals are the classification-specific components, which a continuous causal estimand does not use; the remaining departures are described below.
A target that is never observed. Every departure below follows from one change of task. In tabular in-context learning the query is a context row with a missing label: the model predicts , the same variable it has just seen realized in the context, and the query differs from a context unit only in that one entry is withheld. PROXIMALFM predicts , which is realized for no unit in the table. The observed columns are evidence about the mechanism that generates it, and supervision comes from the prior's oracle targets rather than from held-out labels.
Two context columns consequently have no query counterpart. The outcome is context-only in TabICL as well, but there it is withheld because it is the answer; here it is withheld because a query unit is a covariate profile, not a realized unit, and the same holds for the treatment : the estimand averages over both arms, so no value of can sensibly be attached to the query vector . The proxies are a different case. A query unit can have a and a , and the prior generates them, so withholding them is a design choice rather than a structural necessity: conditioning on them would target instead. We follow the proximal literature in conditioning on the baseline covariates alone (Section 2.2) and marginalizing over the proxies. At inference the model therefore sees the context table in full and a query reduced to alone. The modifications below adapt the backbone to exactly this interface.
Structural role embeddings. The backbone from TabICL consumes a single undifferentiated feature matrix, whereas proximal identification treats the three observed blocks asymmetrically: the roles of Z, W and X are necessary to be known in order to infer the causal estimand of interest. Nothing in the values themselves reveals that role. Column order alone cannot supply it either: the block sizes are resampled for every dataset, so no fixed column index marks where one block ends and the next begins, and the model would have to infer the two boundaries from the data before it could use them. We therefore tag the role explicitly. Writing for the shared cell projection into , a cell of block enters the column embedder as
after which the three blocks are concatenated along the column axis into a single sequence of columns. Role identity is thus carried by the embedding rather than by position. The treatment A is not passed as a column at all: it enters only through the target encoder described next.
Treatment-aware target encoder. The remaining two observed variables, y and a, are not handled the way X, Z and W are. They are present for context units and absent for queries, so instead of being concatenated to the input row as columns, they are added to the tokens of context units. This also settles how a is encoded: it qualifies y rather than standing beside it, since an outcome means one thing under treatment and another under control. We therefore hold two projections and select between them with the observed treatment indicator,
Outcome and arm are thus encoded jointly, and the treated and control response surfaces may occupy different directions in embedding space from the first layer onwards. The encoder is applied at two points, the column embedder and the in-context learner, with untied parameters.
Standardization and query-row proxy masking. Each of X, Z, W and y is standardized column-wise using the empirical mean and standard deviation of the context units only, so that no query information reaches the model through the scale and predictions are invariant to affine rescaling of the inputs.
A query unit is then presented without its proxies. The Z and W positions of query rows are filled with a fixed value of 0 and then masked out of the attention in the row interactor, so those tokens do not merely carry a neutral value but are invisible to the query representation altogether. The same protocol applies during training and at inference time.
Output head. For each query unit the in-context learner emits logits, passed through a softmax to give the predictive distribution over a fixed grid of equal-width bins spanning , expressed in units of the context standard deviation of . Discretizing the predictive distribution in this way is standard practice for PFNs (Hollmann et al., 2023) and is what allows a single forward pass to return a full distribution without committing to a parametric family; amortized causal models adopt it as well (Balazadeh Meresht et al., 2026). A single head is placed directly over the CATE rather than one head per arm. Although , the two CEPOs are functionals of the same unknown SCM and are therefore generally dependent under its posterior given . Their marginal posterior distributions alone do not determine the posterior of their difference: convolving them would implicitly impose posterior independence and omit their covariance, which can misstate the CATE uncertainty. Directly learning the distribution of avoids this unsupported joint-posterior assumption.
Two properties of the discretization matter for what follows. First, we read the bin probabilities as a piecewise-uniform density rather than as point masses at the bin centers. This is what makes the noise convolution of (34) exact, and it puts a floor of — the standard deviation of a single bin, of width — on any posterior standard deviation the head can report. Second, the grid is a hard support constraint: a target outside cannot be represented at all, so the bounds must be wide enough to cover the CATE distribution the prior produces. Chosen , and B are reported in Table C.1.
Hyperparameters. Table C.1 lists the configuration of the three stages. Two entries are worth reading together. The column embedder and the row interactor operate at the embedding dimension E, but the in-context learner receives the concatenation of the CLS tokens and therefore runs at ; since it is also the deepest stage, it accounts for 28.3M of the 29.6M parameters, the column embedder and row interactor contributing 0.9M and 0.4M respectively. These parameters are kept identical to those of TabICLv2, so that its pre-trained weights can be used to initialize every component we did not modify.
Table C.1: Architectural hyperparameters of PROXIMALFM. The three stages are those of TabICLv2, kept at its values so that its pre-trained weights initialize every component we did not modify; the output head is ours. Parameter counts are per stage, the in-context learner's including the head.
| Stage | Hyperparameter | Value |
|---|---|---|
| Shared | Embedding dimension | 128 |
| Feedforward expansion factor | 2 | |
| Activation | GELU | |
| Normalization | pre-norm | |
| Dropout | 0.0 | |
| Column embedder | Blocks | 3 |
| Attention heads | 8 | |
| Inducing points | 128 | |
| Scalable softmax | query-aware, elementwise | |
| Row interactor | Blocks | 3 |
| Attention heads | 8 | |
| CLS tokens | 4 | |
| RoPE base | ||
| In-context learner | Blocks | 12 |
| Attention heads | 8 | |
| Model dimension | 512 | |
| Output head | Bins | 2000 |
| Grid | [-5, 5] | |
| Parameters | Column embedder | 0.9 M |
| Row interactor | 0.4 M | |
| In-context learner | 28.3 M | |
| Total | 29.6 M |
C.2 The noise-aware histogram loss
This section gives the closed form of the training objective of Section 3.2, together with the motivation for scoring a noise-convolved predictive distribution rather than fitting the Monte Carlo targets directly.
Notation and standardization. All quantities below live on the context-standardized scale. For a dataset with context rows, let and denote the empirical mean and standard deviation of the observed outcomes . Outcomes are standardized as , so the CATE target and its Monte Carlo variance enter as
the location shift cancelling in the difference . Because and are computed on context rows only, no query information leaks into the scale.
The head emits logits over a fixed uniform grid spanning with bin width , and denotes the predicted probability of bin . We write for the standard normal CDF. The quantity denotes the variance of an auxiliary Gaussian smoothing kernel, expressed on this standardized scale; it is distinct from the row-specific Monte Carlo variance and is annealed during training according to the schedule described in Appendix C.3.
Closed form. Whereas is the model's predictive distribution over the estimand , the quantity actually observed during training is the noisy measurement ; is the predictive density that induces over that measurement. Write the per-row variance as , combining the known target noise with the annealed smoothing scale (also known). Conditioning on which bin contains the estimand, the law of total probability gives
(34)
The first factor is read straight off the head. The second follows from the piecewise-uniform continuous reading of the histogram: given that Q lies in bin b, the head places it uniformly within that bin, so
where the integral runs over the mean of the Gaussian. The training objective is the negative log-likelihood of the observed target under (34), evaluated at :
Why convolve the model rather than fit the target. Consider the population risk of (36) at fixed context. The target is distributed as , the posterior over the estimand blurred by Monte Carlo error. A negative log-likelihood is minimized when the scored density matches the density of the data, i.e. when
The Monte Carlo variance cancels on both sides: the correction is exact for any value of , and the recovered converges to the posterior as is annealed. Fitting the same head directly to instead—the noise-unaware objective—has population optimum , over-dispersed by exactly the target noise. The distortion is not a constant offset that could be calibrated away post hoc: varies across query points, and is largest precisely where the individual treatment effect is most heterogeneous, so the inflation is heaviest in the regions where posterior width is most informative.
Full objective. To align the point prediction with the estimand, a squared-error penalty on the posterior mean is added,
with the bin centers, giving . The penalty does not compete with the distributional objective: because the Monte Carlo error is zero-mean, the minimizer of (36) already carries the posterior mean and hence minimizes (38) as well, leaving the population optimum of unchanged for any . At inference time the predictive distribution is reported un-blurred, as .
C.3 Training the model
All results in this paper come from a single training run, and every number below is a property of that one run.
Configuration. Table C.2 reports the configuration in full: the prior the datasets are drawn from, the objective and its smoothing schedule, the optimizer, the pre-trained backbone the run is initialized from, and the validation sets used for checkpoint selection. Training runs for 75 000 steps at an effective batch of 64 datasets, accumulated in micro-batches of 16, for 4.8M datasets consumed in total — each drawn fresh from the prior and seen exactly once, so there is no notion of an epoch and no train/validation split on the prior itself.
(a) objective and its terms

(b) past the anneal (step 3.5k on)
(c) schedules

(d) mean term in detail

Figure C.1: Training curves for PROXIMALFM. (a) The objective and its two terms against log step, with the -annealing window shaded; the dashed line is the loss of a uniform density over the CATE grid, matching the value at initialisation. (b) The same curves on a linear step axis after the anneal. (c) The and learning-rate schedules. (d) A magnified view of the weighted mean term, , with the -annealing window again shaded. Stochastic curves show the median and interquartile band within log-spaced step bins in panels (a) and (d), and linearly spaced bins in panel (b); the deterministic schedules in panel (c) are shown without binning.
Schedules and training curves. Figure C.1 shows the objective and the two schedules. The learning rate follows a linear warmup over 2 500 steps into a cosine decay; the smoothing scale of (36) is held at its initial value for 500 steps and then annealed linearly over 3 000 steps to two bin widths, its final value for the remaining of the training (panel c). The anneal is the reason the loss level is not comparable across the shaded window: changing changes the training objective, so movement during the anneal cannot be attributed solely to learning.
Panels (a) and (b) show that, after the initial phase, the total objective becomes dominated by the distributional term, the mean term staying a small regularizer term. Once the anneal is complete, both the distributional term and the total objective continue to decrease through step 75 000, but at a diminishing rate. Panel (d) zooms on the mean term of the loss. We observe that it follows the behaviour of the distributional term closely.
Validity of the objective. Three logged diagnostics establish that the loss the curves above report was well posed throughout. First, the grid of the output head is a hard support constraint: a target outside cannot be represented by any forecast on the grid, so a non-negligible out-of-grid fraction would invalidate every number scored on it. Averaged over the CATE targets in the on-the-fly synthetic training prior, the share of targets falling outside the grid is , i.e. 0.02%, exceeding 1% on 275 of 75 000 steps.
Second, the Monte Carlo targets carried their full replicate budget. Each query row’s CATE target is an average over K replicate draws, and the realized K can be capped below the requested value by the generator’s memory budget. The mean realized K was 250 — the requested value — at every logged step, so the cap never bound.
Third, sampling noise remained material at Monte Carlo replicates. The ratio of the mean target-noise standard deviation to the mean predicted posterior standard deviation averaged 0.20, rising from 0.15 shortly after the anneal to 0.22 over the final third as the posterior sharpened while remained fixed. Ignoring this noise would therefore add the heterogeneous per-row variance to the learned posterior variance, motivating the noise-aware correction.
Cost. Table C.3 summarizes the computational cost of the run. Interestingly, model optimization was not the dominant expense: generating the synthetic prior consumed 43.46 GPU-hours (65.7%), approximately the cost of the forward and backward passes (27.4%). Validation accounted for a further 5.4%, while checkpointing, logging, and startup contributed only 1.5%. In total, training consumed 66.15 H100 GPU-hours over 75 000 steps and 4.8 million synthetic datasets, averaging 3.17 seconds per step.
C.3.1 Post-training on larger context sizes
The main training run represents contexts of at most 2048 observations. We therefore perform a post-training experiment to test whether the limited support at larger context sizes contributes to the plateau observed in Section 4.2. Starting from the completed main-training checkpoint, we optimize for a total of 30 000 steps on the same causal prior and noise-aware objective, but draw context sizes uniformly from 64 to 5 000 observations (with 128 query rows). Uniform, rather than log-uniform, sampling ensures that the adaptation gives substantial weight to the newly introduced large contexts while retaining smaller contexts for rehearsal. We retain the effective meta-batch size of 64 datasets, use a lower learning rate of with a 500-step warmup, and enable activation recomputation to fit the longer sequences.
To make this adaptation inexpensive and limit changes to the learned representation, we load the complete main-training checkpoint and freeze all parameters except the in-context predictor. Within that predictor, its first six transformer blocks are frozen as well, so only its later layers and unfrozen predictor parameters are optimized. We evaluate the resulting checkpoints on separate frozen prior and realistic validation suites constructed at large context sizes.
Table C.2: Training configuration of PROXIMALFM: the prior the model is trained on, the objective and its smoothing schedule, the optimizer, the pre-trained backbone it is initialized from, and the validation sets used for checkpoint selection.
| Stage | Hyperparameter | Value |
|---|---|---|
| Prior | Confounder dimension | 1–10 |
| Treatment proxy dimension | 1–10 | |
| Outcome proxy dimension | 1–10 | |
| Covariate dimension | 0–10 | |
| Context units | 64–2048 (uniform) | |
| Query units | 128 | |
| Monte Carlo worlds | 250 | |
| MC targets on context units | no | |
| Objective | Loss | noise_aware |
| Mean penalty | 0.5 | |
| Bins | 2000 | |
| Grid [, ] | [-5, 5] | |
| Bin width | 0.005 | |
| Initial smoothing | 0.5 | |
| held constant for | 500 steps | |
| linear decay over | 3000 steps | |
| Final smoothing | 0.01 (2w) | |
| Optimization | Optimizer | AdamW |
| Learning rate | ||
| Schedule | cosine_warmup | |
| Warmup | 2500 steps | |
| Weight decay | 0 | |
| Gradient clipping | 1 | |
| Training steps | 75000 | |
| Datasets per step | 64 (16 × 4 accumulated) | |
| Precision | bfloat16 (AMP) | |
| Seed (numpy / torch) | 1234 / 1234 | |
| Initialization | Init. checkpoint | ckpt_tabicl/tabicl-regressor-v2-20260212.ckpt |
| Transfer rules | ckpt_tabicl/transfer_rules.yaml | |
| Weights only (fresh optimizer) | yes | |
| Validation | Prior set | prior_val_v1 |
| Prior set: episodes / interval | 500 / 200 steps | |
| Realistic set | synt_val_v1 | |
| Realistic set: episodes / interval | 480 / 100 steps | |
| Selection metric | synt_dist/crps (min) |
Table C.3: Cost of the PROXIMALFM training run, as measured GPU-hours. Validation is the two frozen evaluation datasets, scored at their logging intervals throughout training.
| Hours | % | ||
|---|---|---|---|
| Compute | Prior generation | 43.46 | 65.7 |
| Forward / backward | 18.12 | 27.4 | |
| Validation, prior set (376 passes) | 1.27 | 1.9 | |
| Validation, realistic set (751 passes) | 2.34 | 3.5 | |
| Checkpointing, logging, startup | 0.96 | 1.5 | |
| Total | GPU-hours (1× H100 NVL) | 66.15 | 100.0 |
| Scale | Training steps | 75000 | |
| Synthetic datasets consumed | 4800000 | ||
| Seconds per step | 3.17 | ||
C.4 Validation and posterior diagnostics
C.4.1 Validation datasets
We monitor the training of PROXIMALFM on a fixed suite of 480 datasets, balanced across 12 hand-written realistic proximal mechanisms. These mechanisms cover clinical severity and frailty, latent patient subtypes, threshold-based treatment assignment, utilization counts, censored survival, marketing uplift, educational selection, wage returns, hierarchical site effects, nonlinear ordinal proxies, interaction-driven confounding, and near-null effects under strong confounding. These settings span a diverse range of datasets: continuous, binary, ordinal and categorical variables, the treatment is binary, the outcomes may be continuous, skewed, count-valued, zero-inflated, or censored.
For each dataset, the dimensions of U, X, W and Z are sampled with the same procedure as in the prior (Appendix B.2.2). Each episode contains exactly 2048 context rows and 128 query points. The query target CATEs are computed by averaging 10 000 Monte Carlo replicates of ITE draws. At this replicate count, the Monte Carlo sampling noise is approximately 0.025 times the predictive posterior standard deviation (of the last model checkpoint). The same fixed validation set is evaluated at every training checkpoint.
C.4.2 Point-estimate validation
We measure the point-estimate performance at both ATE and CATE levels. The ATE prediction is estimated as the average of the CATE predictions from the query set,
and so is the target ATE also computed from the references CATEs. To evaluate the ATE estimation, we use the root mean squared error (RMSE) and the bias of the ATE normalized by the standard deviation of the episode's CATEs.
Regarding CATE evaluation, we use normalized precision in estimation of heterogeneous effect (nPEHE),
We also measure the shape- , which isolates the recovery of treatment-effect heterogeneity from constant level error,
A constant-ATE prediction gives nPEHE = 1 and .
Figure C.2 shows the evolution of point-estimate performance on the fixed realistic-mechanism validation suite. In the initial stage of training, the model performs worse than the constant-ATE baseline (CATE nPEHE above 1 and the shape is close to or below zero). After approximately 3 500 training steps, the median nPEHE falls below the constant-ATE baseline and the shape becomes positive. Performance then continues to improve throughout training: ATE RMSE decreases, normalized ATE bias moves towards zero, nPEHE falls further, and the shape increases. The narrowing interquartile bands indicate that performance also becomes more consistent across validation episodes.
C.4.3 Distributional validation
We evaluate the predictive posterior using the continuous ranked probability score (CRPS), the predictive standard deviation relative to the prediction error, and empirical coverage of central credible intervals. For query row i, let denote the predicted distribution over , with CDF , mean , and variance . Let denote the Monte Carlo CATE target and let denote its estimated sampling variance.
The CRPS evaluates the full predictive distribution against the target:
(a) ATE RMSE

(b) normalized ATE bias
(c) CATE nPEHE
(d) CATE shape

training step
training step
Figure C.2: Evolution of point-estimate performance during training on the fixed realistic-mechanism validation suite (Appendix C.4.1). Curves show the validation metric at each evaluation step. The shaded regions in panels (b)–(d) indicate the interquartile range across validation episodes. (a) ATE RMSE, a pooled metric and therefore shown without an episode-level band. (b) normalized ATE bias, where zero denotes no bias. (c) CATE nPEHE, with the dashed line marking the constant-ATE baseline (nPEHE = 1). (d) CATE shape , with the dashed line marking the corresponding constant-ATE baseline ( ). Lower values are preferred in panels (a) and (c), while panel (b) is centered at zero and higher values are preferred in panel (d). For readability, curves and shaded bands are lightly smoothed by taking medians within log-spaced training-step bins.
(a) CRPS

(b) predictive SD / RMSE
(c) coverage
(d) credible-interval width

training step
training step
Figure C.3: Evolution of distributional predictive performance during training on the fixed realistic-mechanism validation suite (Appendix C.4.1). (a) CRPS, for which lower values indicate better probabilistic predictions. (b) predictive standard deviation divided by RMSE, with the dashed line at one denoting calibrated predictive spread. (c) empirical 90% and 50% coverages, with the dashed lines marking the nominal coverage levels and the shaded regions showing the interquartile ranges across validation episodes. (d) widths of the central 90% and 50% credible intervals, pooled over validation rows. Panels (b) and (d) use logarithmic y-axes. For readability, curves are lightly smoothed by taking medians within log-spaced training-step bins.
We also report the ratio of predictive standard deviation to prediction error,
where is the total number of validation query rows. The subtraction of removes the Monte Carlo noise from the observed prediction error. This denominator equals the average predictive variance under calibration, in expectation. Values below one indicate overconfident predictions, whereas values above one indicate underconfidence.
Figure C.3 displays the evolution of these distributional metrics during training. CRPS decreases as the model learns. Both the ratio SD/RMSE and the empirical coverages converge to overconfident states.
C.4.4 Posterior representation & smoothing
The histogram representation of the predictive posterior can produce visually spiky densities. Small changes in the allocation of probability across neighbouring bins may have little effect on the training objective while producing noticeably different density shapes. We therefore use the CDF as an intermediate representation for visualization. A Savitzky–Golay filter is applied to the raw CDF, and the corresponding density is obtained by numerical differentiation. As illustrated in Figure C.4, the smoothed CDF stays very close to the original CDF, but its implied density is easier to interpret. This postprocessing is applied only for visual inspection and does not
(a) raw posterior PDF

(b) raw posterior CDF
(c) smoothed CDF (window 50 bins)
(d) PDF implied by smoothed CDF
Figure C.4: Illustration of the spiky posterior-density representation for one selected query point from the validation suite. (a) Raw posterior density induced by the model's histogram output. (b) Corresponding raw CDF. (c) CDF after Savitzky–Golay smoothing with a 50-point window and polynomial degree three. (d) Density obtained by differentiating the smoothed CDF. The smoothed CDF closely follows the raw CDF while yielding a more visually interpretable density. The dashed line marks the true CATE. Smoothing is used for visualization only; all validation metrics are computed from the original posterior representation.
alter the predictive distribution used to compute validation metrics. Future work may investigate regularization techniques during training to encourage smoother posterior estimates.
C.4.5 Posterior dynamics
Figure C.5 shows that posterior width is initially independent of context size: at the first checkpoints, all context sizes produce similarly wide predictions. Over the first thousands of training steps, the width stays independent of the context size, but becomes narrower. Later in training, context-dependent contraction becomes evident, with larger context sizes producing narrower posteriors while smaller contexts remain wider. At the final checkpoint, the mean predictive standard deviation decreases from approximately 0.54 at to 0.10 at .
Figure C.6 illustrates the evolution of the predictive posterior for a fixed query point. Early in training, the posterior is diffuse and weakly dependent on context size. As training progresses, it concentrates around the true CATE, with the larger context producing a noticeably sharper final posterior.

Figure C.5: Posterior-width contraction during training on the fixed realistic-mechanism validation suite (Appendix C.4.1). Each cell reports the mean predictive posterior standard deviation averaged over all validation query rows, for a given training checkpoint and context size. Widths are expressed in standardized units and use the piecewise-uniform posterior variance. The shared colour scale is logarithmic.

Figure C.6: Evolution of the predictive CATE posterior for one fixed query point from the realistic-mechanism validation suite (Appendix C.4.1). Curves show the density obtained from the posterior CDF at four training checkpoints, with training steps indicated by colour. The same query point is evaluated with (a) and (b) . The dashed line marks the true CATE. Densities are shown in standardized units. The CDFs are smoothed for visualization, following Appendix C.4.4.
D Details on results
D.1 Baseline methods
The baseline methods are either newly implemented or adjusted from existing codebases. All relevant code and configurations are available in our codebase.
Table D.1: Catalogue of CATE predictors selected in the main benchmark.
| Predictor | Family | Fitted estimator and prediction rule | Details |
|---|---|---|---|
| S-learner (ridge) | Backdoor meta-learner | S-learner with ridge regression. | Appendix D.1.1 |
| S-learner (RF) | Backdoor meta-learner | S-learner with random forest. | Appendix D.1.1 |
| S-learner (TabICL) | Backdoor meta-learner | S-learner with zero-shot TabICL. | Appendix D.1.1 |
| S-learner (TabICL) + kNN marg. | Backdoor meta-learner | S-TabICL fit on , then 16-neighbour proxy marginalisation. | Appendix D.1.1 |
| S-learner (TabICL) + kernel marg. | Backdoor meta-learner | S-TabICL fit on , then 16-neighbour kernel proxy marginalisation (scale 1). | Appendix D.1.1 |
| T-learner (ridge) | Backdoor meta-learner | T-learner with ridge regression. | Appendix D.1.1 |
| T-learner (RF) | Backdoor meta-learner | T-learner with random forest. | Appendix D.1.1 |
| T-learner (TabICL) | Backdoor meta-learner | T-learner with zero-shot TabICL. | Appendix D.1.1 |
| T-learner (ridge) + kNN marg. | Backdoor meta-learner | T-OLS fit on , then 16-neighbour proxy marginalisation. | Appendix D.1.1 |
| T-learner (ridge) + kernel marg. | Backdoor meta-learner | T-OLS fit on , then 16-neighbour kernel proxy marginalisation (scale 1). | Appendix D.1.1 |
| X-learner (RF) | Backdoor meta-learner | X-learner with random forest. | Appendix D.1.1 |
| X-learner (TabICL) | Backdoor meta-learner | X-learner with zero-shot TabICL. | Appendix D.1.1 |
| P-learner (ridge) | Proximal | Kernel-bridge P-learner with ridge final-stage CATE regression. | Appendix D.1.2 |
| P-learner (RF) | Proximal | Kernel-bridge P-learner with random-forest final-stage CATE regression. | Appendix D.1.2 |
| P-learner (TabICL) | Proximal | Kernel-bridge P-learner with TabICL final-stage CATE regression. | Appendix D.1.2 |
| KPV (ind. ) | Proximal | KPV bridge with integrated over the context empirical marginal. | Appendix D.1.5 |
| KPV (cond. ) | Proximal | KPV bridge with locally conditional integration. | Appendix D.1.5 |
| PMMR (ind. ) | Proximal | PMMR bridge with integrated over the context empirical marginal. | Appendix D.1.4 |
| PMMR (cond. ) | Proximal | PMMR bridge with locally conditional integration. | Appendix D.1.4 |
| NMMR-V (fixed; ind. ) | Proximal | V-statistic NMMR, fixed RBF width, with marginal integration. | Appendix D.1.3 |
| NMMR-V (fixed; cond. ) | Proximal | V-statistic NMMR, fixed RBF width, with conditional integration. | Appendix D.1.3 |
Continued on next page
Table D.1: Catalogue of CATE predictors selected in the main benchmark (continued).
| Predictor | Family | Fitted estimator and prediction rule | Details |
|---|---|---|---|
| NMMR-U (fixed; ind. W) | Proximal | U-statistic NMMR, fixed RBF width, with marginal W integration. | Appendix D.1.3 |
| NMMR-U (fixed; cond. W) | Proximal | U-statistic NMMR, fixed RBF width, with conditional W | X = x integration. | Appendix D.1.3 |
| NMMR-V (median; ind. W) | Proximal | V-statistic NMMR, median-heuristic RBF width, with marginal W integration. | Appendix D.1.3 |
| NMMR-V (median; cond. W) | Proximal | V-statistic NMMR, median-heuristic RBF width, with conditional W | X = x integration. | Appendix D.1.3 |
| NMMR-U (median; ind. W) | Proximal | U-statistic NMMR, median-heuristic RBF width, with marginal W integration. | Appendix D.1.3 |
| NMMR-U (median; cond. W) | Proximal | U-statistic NMMR, median-heuristic RBF width, with conditional W | X = x integration. | Appendix D.1.3 |
| CausalFM | Causal ICL | Pre-trained causal foundation model, X only. | Appendix D.1.1 |
| Do-PFN | Causal ICL | Pre-trained causal foundation model, X only. | Appendix D.1.1 |
| CausalPFN | Causal ICL | Pre-trained causal foundation model, X only. | Appendix D.1.1 |
| CausalPFN + kNN marg. | Causal ICL | CausalPFN fit on (X, W, Z), then 16-neighbour proxy marginalisation. | Appendix D.1.1 |
| CausalPFN + kernel marg. | Causal ICL | CausalPFN fit on (X, W, Z), then 16-neighbour kernel proxy marginalisation (scale 1). | Appendix D.1.1 |
| PROXIMALFM | Proximal foundation model | Amortized proximal transformer; query proxies are masked. | Section 3 |
D.1.1 Backdoor meta-learners, in-context learners and proxy marginalization
We evaluate some methods estimating the CATE under the backdoor adjustment assumptions. First, we evaluate standard causal meta-learners from the backdoor adjustment framework (Künzel et al., 2019), specifically the S-learner, T-learner, and X-learner. We also implement some in-context learners: CausalPFN (Balazadeh Meresht et al., 2026), CausalFM (Ma et al., 2026) and Do-PFN (Robertson et al., 2026). In our proximal causal setting, the presence of the unobserved confounder directly violates the conditional ignorability assumption these methods rely on . Consequently, all backdoor methods are misspecified. They serve as empirical baselines.
Because the causal estimand of interest is the covariate-conditional effect , yet observational data contain proxy variables that carry information about , we evaluate backdoor methods under two distinct options:
-
Discard proxies (X-only): The learners are trained exclusively on baseline covariates , discarding entirely. This reflects the standard practice of ignoring unobserved confounding and assuming .
-
Proxy conditioning with marginalization : To avoid disadvantaging backdoor methods by withholding proxy features, we also fit learners on the full feature set . Because this yields a proxy-conditional effect rather than , we post-process the predictions by integrating out with respect to a local empirical estimate of .
Note that even with proxy features and marginalization, Option 2 does not identify : naive regression is insufficient under the proximal assumptions (Section 2).
Meta-learner formulations. We evaluate three meta-learning architectures (Künzel et al., 2019):
• S-Learner: Fits a single regressor on the pooled data predicting Y from features and treatment A. The effect is estimated as . When proxies are included, it estimates .
• T-Learner: Fits separate regressors on the control cohort ( ) and on the treated cohort ( ), predicting . This allows separate response surfaces for each arm, at the cost of not sharing information across arms.
• X-Learner: A four-stage crossover architecture designed for imbalanced treatments. After fitting base models , it imputes counterfactual pseudo-effects and , trains second-stage models and to predict them, and combines them using an estimated propensity score :
In our implementation, is estimated via logistic regression.
Each meta-learner accepts three distinct base model classes:
• Ridge regression: Standardized linear model with penalty selected via 4-fold cross-validation.
• Random forest: 100 trees with maximum depth and minimum leaf size chosen via 4-fold cross-validation.
• TabICLv2 (Qu et al., 2026): In-context tabular foundation model evaluated zero-shot.
In-context learners. We evaluate CausalPFN, CausalFM and Do-PFN in their pretrained, zero-shot form: each model uses the episode's observed data as context, with no episode-specific parameter updates. CausalPFN and CausalFM directly return a CATE prediction for each query. Do-PFN instead predicts outcomes under each treatment arm, and we take their difference to form the CATE.
Proxy marginalization. When trained on , a meta-learner predicts a proxy-conditional contrast . Because the evaluation target is the covariate-conditional effect , we recover a function of alone by integrating out the proxies against a local empirical estimate of :
Crucially, the integration uses the aligned context pairs rather than a Cartesian product of marginals, preserving the empirical joint dependence between the two proxies. The neighborhood comprises the context points closest to under a feature-standardized Euclidean distance:
We evaluate two local weighting schemes for :
• k-NN weighting: Uniform weights over the k nearest context atoms, .
• Gaussian kernel weighting: Nadaraya-Watson exponential weights with bandwidth scale s > 0:
In our benchmarks, we use k = 16 and fixed kernel scale s = 1.0.
D.1.2 P-learner
We implement the P-learner of Sverdrup and Cui (2023). The cross-fitted score and final-stage regression follow their procedure. For bridge estimation, we use a Nyström-approximation of the minimax RKHS formulation, described below.
For each data point, we compute the doubly robust proximal score:
The outcome and treatment bridges are characterized, for , by the conditional moments
(48)
We obtain the CATE estimate by regressing the cross-fitted scores on , . The mean of the same scores gives the corresponding proximal ATE estimate.
Kernel bridge estimation. We estimate both bridges using the regularised minimax RKHS formulation of Dikkala et al. (2020), following Sverdrup and Cui (2023). The outcome bridge is represented by RBF features of , and the treatment bridge by of . Because of computational and memory constraints, we use the Nyström method with landmark points sampled from the training fold. The kernel bridge estimators have closed-form solutions with penalties and on the two bridges.
Hyperparameter tuning. Several components of the method is subject to a choice of parameter. First of all, the CATE predictor can be made using any general predictor. We use a ridge regularized linear regression, a random forest or TabICL (Qu et al., 2026). The parameters of the random forest and ridge regressor are chosen by cross-validation, TabICL does not require parameter tuning.
Then, regarding the bridge functions and , the regularizer and are chosen by cross-validation to minimize their moment loss. The Nyström rank is fixed. The kernel bandwidth is chosen by the median heuristic, and not searched. Table D.2 summarizes the hyperparameters.
Score stabilisation. The estimated treatment-bridge weight can have large magnitude: we cap it at before forming (47).
D.1.3 Neural moment matching regression
We adapted the implementation of the neural moment matching regression (NMMR) method of Kompa et al. (2022) to our setting. Their code estimates one population-level quantity per dataset, , evaluated on a grid of treatment values, which for a binary treatment is simply the two arms whose difference is the ATE. Our benchmark instead asks for the CATE at each query row of every episode.
The method. NMMR replaces the outcome bridge of (2) by a neural network and fits it directly, with no two-stage regression. This neural network is trained on an observational dataset, with simple gradient descent. It uses the following loss function, determined by an RBF kernel matrix on the conditioning variables , and :
which determines the quadratic forms to minimize
Original implementation available at https://github.com/beamlab-hsph/Neural-Moment-Matching-Regression.
Table D.2: P-learner settings. Bridge regularization parameters are selected separately within each cross-fitting fold using held-out moment loss. Final-stage hyperparameters are selected per episode using four-fold cross-validated prediction MSE.
| Component | Setting | Value |
|---|---|---|
| Cross-fitting | Folds (stratified on ) | 4 |
| Bridge class | Kernel | RBF, blockwise median heuristic |
| Nyström rank | 256 | |
| Bridge regularization | sweep: | |
| Selection criterion | Held-out proximal moment loss | |
| Validation fraction | 0.25 | |
| (critic loss) | , fixed | |
| Proximal score | Weight clipping | 20 |
| Final-stage CV | Folds | 4 |
| Selection criterion | Mean squared error | |
| Ridge final stage | Model | Standardized ridge regression |
| Ridge penalty | searched: | |
| Random-forest final stage | Number of trees | 100, fixed |
| Maximum depth | searched: | |
| Minimum leaf size | searched: | |
| Maximum feature fraction | 1, fixed | |
| TabICL final stage | Model | Zero-shot prediction, no tuning |
the V- and U-statistics. The U-statistic drops the diagonal: it is unbiased but noisier, while the V-statistic is biased but lower variance. We report both as separate entries, as in the original paper.
Deviations at prediction time. The reference code never produces a conditional ATE, even though the bridge it fits supports one. It returns a single scalar per arm, , whose difference is an ATE. Recovering of (3) instead means marginalising at each query point; we consider two possibilities.
-
We assume ("ind. W"). The direct transposition of the reference code: average the fitted bridge over the empirical marginal of in the context, . This is a valid strategy only if one assumes that .
-
We do not assume ("cond. W"). We approximate by averaging over the marginal of implied by the context, reweighted by a Gaussian kernel on . This computes the proximal g-formula, without independence assumption, but at a cost of an extra smoothing bandwidth.
Implementation corrections & computational notes. We do the following changes in the code compared to original code. First, in the MLP used to model the bridge function, the original implementation applied a ReLU transformation on the last layer. This made the prediction of negative outcomes impossible, and was removed in our implementation. Second, for computational optimization, we avoid recomputing the kernel matrix at each iteration mini-batch, but compute the complete matrix once and sub-sample from it.
Kernel bandwidth. The original implementation uses a fixed bandwidth of in the Equation (49). This has obvious drawbacks as the average distance between data points grow with the dimensionality of these points. In non-trivial dimensions, the kernel becomes the identity matrix, and all information from the proxy is lost: the bridge function becomes a direct estimator of in the V-statistic case, and very unstable in the U-statistic one. Therefore, we implement an alternative bandwidth which is defined by the median heuristic and does not suffer from this degeneration in higher dimension. Both alternatives are evaluated.
Hyperparameter selection. We follow the tuning from Kompa et al. (2022) and choose hyperparameters of the MLP based on the V- and U-statistics on a held-out validation split. The model is then refitted on the whole context using the final parameters. The parameter space searched is described in Table D.3. Note that we do not evaluate every configuration, but sample without repetitions 10 of them.
Table D.3: NMMR settings. Values marked searched are selected per episode by the procedure described below; the remainder are fixed across all episodes. The U- and V-statistic variants are reported as separate methods, so the loss is fixed within a run rather than searched.
| Component | Setting | Value |
|---|---|---|
| Bridge class | MLP, ReLU, linear output | |
| Hidden width | searched: | |
| Depth (hidden layers) | searched: | |
| Moment kernel | RBF over | |
| Length scale | fixed at 1.0 or median heuristic | |
| Loss | U- or V-statistic (50) | one method each |
| Optimisation | Adam, learning rate | searched: |
| Weight decay () | ||
| Epochs | sweep: | |
| Minibatch size | 256 | |
| Prediction | W strategy | ind. W / cond. W |
| smoothing length scale (Wcond) | median heuristic | |
| Neighbours (Wcond) | 512 | |
| Tuning | Validation fraction | 0.2 |
| Search budget | 10 of 18 configurations |
D.1.4 Proxy maximum moment restriction
We reimplemented the proxy maximum moment restriction (PMMR) method of Mastouri et al. (2021), instead of reusing the authors' experimental code. This allowed us to adjust the code for our usecases (prediction of CATE, with binary treatments). We preserved the PMMR's RKHS bridge class and objective, but adapted treatment kernel to binary setting, and changed the prediction heads to the same two cases as described for NMMR (Appendix D.1.3).
The method. PMMR fits the same outcome bridge as NMMR, but takes it in an RKHS rather than in a neural network class, which makes the minimiser available in closed form. We use column-wise Gaussian kernels for , and , and a binary indicator kernel for . With their products kernels over and , respectively, write the two matrices:
so that and the V-statistic (50) of the residuals under is minimised by
Here penalises and is the regulariser of the original method; is added for numerical stability.
Deviations at prediction time. As for NMMR, the reference code returns only , which here is with . We obtain through the same two strategies as NMMR (“ind. W”, “cond. W”), with the same caveats. Unlike NMMR, Wcond does not need extra hyperparameters: the weights used to approximate are determined by the from the model.
Hyperparameter selection. We select per episode on the V-statistic of a held-out fraction of the context, with the scoring kernel fixed at the median heuristic of the held-out rows, so that all candidates are compared on one metric rather than each on its own. The parameter space is described in Table D.4. It splits in two: the bandwidth multipliers enter the matrices and , while enters only the matrix assembled in (52). We therefore sample the former and enumerate the latter exhaustively for each draw, re-solving (52) at every off a single pair of , .
Original implementation available at https://github.com/yuchen-zhu/kernel_proxies.
Computational notes. For binary the kernel is an indicator, so (52) is block diagonal by arm and we assemble and solve it one arm at a time; this is exact and reduces computational and memory costs.
Table D.4: PMMR settings. Bandwidth multipliers are sampled; the regularisers are swept, i.e. every combination is evaluated for each bandwidth draw. Both are selected per episode on the held-out V-statistic.
| Component | Setting | Value |
|---|---|---|
| Kernels | Bandwidths baseline | per-column median heuristic |
| Kernel bandwidth multiplier (W,X) | searched: {0.8, 1, 1.2} | |
| Kernel bandwidth multiplier (Z) | searched: {0.8, 1, 1.2} | |
| Regularisation | λ (RKHS norm) | swept: |
| Cholesky jitter | ||
| Prediction | W strategy | “ind. W”, “cond. W” |
| Tuning | Validation fraction | 0.2 |
| Search budget | all 9 bandwidth multipliers × 5 regularisers |
D.1.5 Kernel proxy variable
We reimplemented the kernel proxy variable (KPV) method of Mastouri et al. (2021), presented in the same paper as PMMR and sharing its released code. Again, the reimplementation allowed us to adjust the code for our usage: binary kernel and CATE predictions.
The method. KPV fits the same outcome bridge as PMMR and in the same RKHS, but reaches it through two ridge regressions rather than one moment restriction. The theoretical formulation uses two samples, of size and of size . Following the released implementation, we reuse the complete context in both stages, so and . The first stage regresses the feature map of on , giving the conditional mean embedding ; writing for the product kernel over the conditioning set, its solution is
The second stage regresses on that embedding, which yields the bridge coefficients in closed form,
with taken on and on . As done in PMMR, we use columnwise Gaussian kernels for and , and a binary indicator one for . Unlike PMMR, the conditional distribution of given the conditioning set is estimated explicitly, in the first stage, rather than left implicit in a moment condition.
Hyperparameter selection. We use the authors' closed-form leave-one-out criterion for both regularisers, run inside each fit. On the other hand, we modify the hyperparameter tuning of the kernel bandwidth. As suggested by the authors, we initialize the search by the median heuristic. We then search around this initialization by minimizing the stage-2 leave-one-out criterion (instead of the stage-1 one, used in their implementation). We prefer this as it compares bandwidths using prediction error against the same outcome , whereas stage-1 LOOCV changes both the input kernel and the -kernel defining the loss, making scores across bandwidths less directly comparable. Table D.5 summarises the tuning parameters.
Deviations at prediction time. As for NMMR and PMMR, the reference returns only , here . We obtain through the same two strategies ("ind. W", "cond. W"), with the same caveats. As in PMMR, the marginalisation is over the joint , whereas the released code averages the two grams separately, which agrees only if in sample. The reference estimates the population effect by averaging the fitted bridge over a separate test sample; we instead use the context rows, which also serve as the fitting sample.
Implementation corrections & computational notes. In the original implementation, the median bandwidth is recomputed at every kernel call, and prediction uses the default scale rather than using the training one. Therefore, training and prediction do not use the same fitted kernel. We instead estimate each bandwidth once from the context and reuse it consistently. The released driver also fits a separate input scaler to the test data; we reuse the transformation from the context. Finally, we leverage the binary aspect of the treatment kernel to solve the closed-form formulas arm by arm, reducing computational and memory costs without changing the estimator.
Table D.5: KPV settings. Both stages use all context rows. The regularizers and are selected within each fit by their closed-form leave-one-out criteria. The shared kernel-scale multiplier is selected per episode using the stage-2 LOOCV loss.
| Component | Setting | Value |
|---|---|---|
| Data split | (stage-1 rows) | |
| (stage-2 rows) | ||
| Kernels | Kernel family | Column-wise Gaussian RBF for X, W, Z; binary for A |
| Base bandwidths | Per-column median heuristic, estimated on the context | |
| Shared multiplier c on | Shared across X, W, Z; searched: {0.8, 1.0, 1.2} | |
| Regularization | searched by LOOCV; 10-point log grid in | |
| Prediction | W strategy | “ind. W”, “cond. W” |
| Tuning | Selection score | Stage-2 leave-one-out loss |
| Bandwidth candidates | 3 per episode; no separate validation split |
D.2 Semi-synthetic benchmarks from real covariates
We construct proximal benchmarks from twelve numerical datasets in the INRIA-SODA tabular benchmark collection (Grinsztajn et al., 2022). Real source rows supply the joint distribution of observed and hidden variables. We generate treatment, proxies, and outcomes with known causal mechanisms. Crossing linear/nonlinear mechanisms, weak/strong confounding, and weak/strong proxy information gives configurations. Three seeded realizations per configuration give 288 realizations. Figure D.1(a) shows how the real covariate distribution enters the construction.
Sources and calibration. We select twelve datasets from the INRIA-SODA tabular benchmark collection with at least 20 features and 10 000 rows. For each source, we reserve a fixed set of rows for calibration and use the remaining rows to construct evaluation episodes. Calibration rows determine missing-value handling, clipping, and feature standardisation; the resulting transformations remain fixed across episodes. We exclude features that cannot be reliably calibrated.
We assign the retained source columns, which may include the dataset's original prediction target, to observed covariates and hidden source variables using a deterministic ordering. The two groups contain the same number of features; we use for our experiments. Each realization samples context and query rows from the evaluation pool without replacement. Table D.6 reports the original sizes of the selected datasets.
Latent and observed mechanisms. For each row, we draw independently and set
Because and come from the same source row, retains some of their dependence. The independent noise term adds variation in even when is fixed. Let be identity in the linear family and componentwise asinh in the nonlinear family. A separate calibration innovation stream determines
The covariance uses the population denominator and the inverse square root is symmetric. We draw and rescale it to so that has unit calibration standard deviation. Treatment and baseline outcome share this latent score.
https://huggingface.co/datasets/inria-soda/tabular-benchmark
(a) Real-covariate benchmark Paired features from one empirical row

Proxy signal fraction
11 sources × 8 configurations
× 3 realizations
(b) Gaussian proxy sweep
independently
Independent Gaussian errors

Joint ,
100 levels
50,000 rows per dataset
Dashed nodes denote hidden variables. denotes CATE.
Figure D.1: Construction of the generated proximal benchmarks. (a) A shared real source row supplies dependent observed covariates and hidden source features. Independent Gaussian innovation augments the hidden features. Both X and U enter the proxy measurements and the treatment and outcome mechanisms. (b) Independent Gaussian X and U define the controlled synthetic study. The joint proxy information parameter changes the measurement channels while preserving the causal variables within each dimension. The diagrams display the generated causal structure, with independent disturbances suppressed where indicated.
The linear observed basis contains the coordinates of X. The nonlinear basis applies one uniformly selected transformation from t, , , and to each coordinate, then adds products for up to eight distinct coordinate pairs selected uniformly without replacement. After standardising these basis columns on calibration rows, let K denote their number. For each role , we draw independent coefficients from and standardise the resulting linear combinations on calibration rows to obtain . The functions are scalar and each have coordinates. Standard deviations used to normalise the score, basis, and functions have a floor of . We set
where , and define . The CATE function therefore has calibration mean 0.5 and standard deviation one.
Proxy channels. We obtain orthogonal , from independent Gaussian matrices using QR decomposition. We choose signs for a nonnegative diagonal in the triangular factor. For , define
With independent standard-normal errors, the proxy measurements are
The map is identity in the linear family and componentwise asinh in the nonlinear family. Weak and strong proxy settings use and . This parameter is the calibration latent-signal fraction in each measurement coordinate before the observed offset and observation map. Joint predictive information about U also depends on the source distribution and both proxy channels.
Table D.6: Original sizes of the twelve selected datasets. Feature counts exclude the original prediction target, although that column remains eligible for selection as a source variable in our construction.
| Source | Rows | Features |
|---|---|---|
| pol | 10 082 | 26 |
| MiniBooNE | 72 998 | 50 |
| default-of-credit-card-clients | 13 272 | 20 |
| Higgs | 940 160 | 24 |
| jannis | 57 580 | 54 |
| heloc | 10 000 | 22 |
| covertype | 423 680 | 54 |
| albert | 58 252 | 31 |
| road-safety | 111 762 | 32 |
| Ailerons | 13 750 | 33 |
| superconduct | 21 263 | 79 |
| Allstate_Claims_Severity | 188 318 | 124 |
Treatment, outcomes, and bridge. Using independent treatment and outcome disturbances, we generate
Weak confounding uses and strong confounding uses (1.25, 1.5). The potential outcomes share their disturbance, giving the exact heterogeneous effect
An explicit outcome bridge is
Here is identity or componentwise sinh. Independent, zero-mean measurement error gives . The graph in Figure D.1(a) also gives and , establishing
The nonlinear family consequently retains an explicit bridge through invertible measurement transformations.
Paired configurations. For each source and dimension, feature assignments are fixed across all configurations and realizations. Within a realization, all configurations use the same sampled rows; configurations in the same mechanism family also share fitted functions and random disturbances. Different realizations independently sample rows from the same evaluation pool and redraw the mechanisms and disturbances. Their sampled rows may overlap.
D.3 Results on semi-synthetic datasets

T-learner (ridge)
P-learner (ridge)
NMMR-V (fixed; cond. W)
S-learner (TabICL) + kNN marg.
P-learner (TabICL)
CausalPFN
CausalPFN + kNN marg.
ProximalFM-FT (ours)
ProximalFM (ours)
Figure D.2: Learning curves and error decomposition for the nonlinear, high-confounding, low-proxy-reliability setting (36 episodes: 12 sources with three realizations each). (a) Median CATE nPEHE versus context size; the dotted line marks the constant-ATE benchmark (nPEHE = 1). ProximalFM-FT continues training the main checkpoint on the same prior and objective with contexts up to 5 000 rows, updating only part of the in-context predictor (Appendix C.3.1). (b) For query-row errors , their mean , and true CATE variance , the episode-level decomposition is nPEHE . Panel (b) plots the first term horizontally (squared bias in the query-average treatment effect) and the second vertically (heterogeneity error after removing that bias). Dotted contours show constant ; plotted coordinates are separate component medians, so they need not reproduce panel (a)'s median nPEHE. Arrows and larger markers indicate increasing context size (128–8 192). ProximalFM-FT moves mainly leftward: post-training improves the average effect estimate, with little improvement in CATE shape.
(a) Coverage by context

(b) Calibration
(c) Posterior contraction
(d) Coverage by context
(e) Calibration

(f) Posterior contraction
Figure D.3: Posterior calibration and contraction. The top row evaluates 400 datasets drawn from the pre-training prior; the bottom row evaluates 120 semi-synthetic datasets with nonlinear mechanisms, high confounding, and low proxy reliability. In every episode, the same 256 query points are evaluated as the context grows through nested prefixes from 128 to 8 192 observations. (a,d) Coverage by context: each solid curve gives empirical coverage of a central CATE credible interval at one nominal level (1%, 5%, 10%, ..., 95%, 99%); the faint dotted line of the same colour marks that level's nominal coverage. (b,e) Calibration: each curve fixes a context size, coloured from purple (128) to yellow (8 192), and plots empirical against nominal coverage. The dotted diagonal denotes perfect calibration; curves below it indicate undercoverage. (c,f) Posterior contraction: the black curve is the mean predicted CATE posterior standard deviation across query rows. The grey band is the interquartile range of episode-level mean standard deviations, showing variation between datasets. These panels use logarithmic vertical axes. Coverage stays close to nominal on the prior, whereas the semi-synthetic intervals increasingly undercover as context grows, even though their predicted uncertainty contracts.
Table D.7: Exhaustive semisynthetic CATE nPEHE results at . Each entry first averages the three replicates of each source dataset, then averages equally over the 12 sources; lower is better. The lowest mean in each column is bold. Other underlined methods are not significantly worse than that empirical best under one-sided exact paired sign-flip tests across source-level means, with Holm correction within the column ().
| Method | Linear | Nonlinear | ||||||
|---|---|---|---|---|---|---|---|---|
| Low confounding | High confounding | Low confounding | High confounding | |||||
| Low proxy | High proxy | Low proxy | High proxy | Low proxy | High proxy | Low proxy | High proxy | |
| S-learner (ridge) | 1.027 | 1.027 | 1.458 | 1.458 | 1.059 | 1.059 | 1.459 | 1.459 |
| S-learner (RF) | 0.868 | 0.868 | 1.229 | 1.229 | 0.986 | 0.986 | 1.542 | 1.542 |
| S-learner (TabICL) | 0.782 | 0.782 | 1.336 | 1.336 | 0.937 | 0.937 | 1.457 | 1.457 |
| S-learner (TabICL) + kNN marg. | 0.885 | 0.895 | 1.070 | 0.921 | 0.973 | 0.982 | 1.259 | 0.986 |
| S-learner (TabICL) + kernel marg. | 0.888 | 0.888 | 1.064 | 0.914 | 0.966 | 0.966 | 1.245 | 0.966 |
| T-learner (ridge) | 0.603 | 0.603 | 1.466 | 1.466 | 1.122 | 1.122 | 1.837 | 1.837 |
| T-learner (RF) | 0.846 | 0.846 | 1.580 | 1.580 | 1.157 | 1.157 | 1.751 | 1.751 |
| T-learner (TabICL) | 0.865 | 0.865 | 1.637 | 1.637 | 1.232 | 1.232 | 1.810 | 1.810 |
| T-learner (ridge) + kNN marg. | 0.639 | 0.603 | 1.255 | 0.694 | 1.063 | 1.103 | 1.631 | 1.398 |
| T-learner (ridge) + kernel marg. | 0.665 | 0.610 | 1.276 | 0.704 | 1.064 | 1.074 | 1.634 | 1.395 |
| X-learner (RF) | 0.718 | 0.718 | 1.436 | 1.436 | 1.025 | 1.025 | 1.605 | 1.605 |
| X-learner (TabICL) | 0.737 | 0.737 | 1.509 | 1.509 | 1.065 | 1.065 | 1.669 | 1.669 |
| CausalFM | 0.738 | 0.738 | 1.306 | 1.306 | 1.048 | 1.048 | 1.566 | 1.566 |
| Do-PFN | 0.806 | 0.806 | 1.294 | 1.294 | 1.606 | 1.606 | 1.604 | 1.604 |
| CausalPFN | 0.641 | 0.641 | 1.408 | 1.408 | 1.055 | 1.055 | 1.687 | 1.687 |
| CausalPFN + kNN marg. | 0.577 | 0.565 | 1.112 | 0.654 | 0.971 | 0.945 | 1.460 | 1.048 |
| CausalPFN + kernel marg. | 0.597 | 0.574 | 1.133 | 0.668 | 0.979 | 0.956 | 1.466 | 1.072 |
| P-learner (RF) | 0.731 | 0.708 | 1.267 | 0.916 | 0.993 | 0.980 | 1.514 | 1.222 |
| P-learner (ridge) | 0.571 | 0.581 | 1.181 | 0.771 | 1.001 | 0.995 | 1.511 | 1.221 |
| P-learner (TabICL) | 0.652 | 0.664 | 1.289 | 0.891 | 0.984 | 0.972 | 1.535 | 1.210 |
| KPV (cond. W) | 1.325 | 1.021 | 1.905 | 1.192 | 1.300 | 1.014 | 2.054 | 1.204 |
| KPV (independent W) | 0.955 | 0.953 | 1.395 | 0.970 | 1.040 | 1.003 | 1.551 | 1.028 |
| PMMR (cond. W) | 0.957 | 0.922 | 1.011 | 0.953 | 1.006 | 1.002 | 1.105 | 1.072 |
| PMMR (independent W) | 0.993 | 0.989 | 0.982 | 0.953 | 1.017 | 1.021 | 1.039 | 1.006 |
| NMMR-V (fixed; cond. W) | 0.954 | 0.910 | 1.090 | 0.917 | 1.012 | 1.013 | 1.290 | 1.006 |
| NMMR-V (fixed; ind. W) | 0.957 | 0.915 | 1.094 | 0.926 | 1.016 | 1.017 | 1.292 | 1.006 |
| NMMR-U (fixed; cond. W) | 430.450 | 155.343 | 55.108 | 937.488 | ||||
| NMMR-U (fixed; ind. W) | 408.021 | 148.985 | 55.162 | |||||
| NMMR-V (median; cond. W) | 1.060 | 1.051 | 1.045 | 0.983 | 1.077 | 1.072 | 1.115 | 1.028 |
| NMMR-V (median; ind. W) | 1.061 | 1.051 | 1.044 | 0.983 | 1.077 | 1.073 | 1.115 | 1.029 |
| NMMR-U (median; cond. W) | 6.500 | 1.479 | 5.725 | 1.768 | 51.236 | 1.439 | 6.794 | 1.341 |
| NMMR-U (median; ind. W) | 6.940 | 1.460 | 5.725 | 1.763 | 49.715 | 1.420 | 7.024 | 1.324 |
| ProximalFM (ours) | 0.621 | 0.608 | 1.058 | 0.733 | 0.953 | 0.947 | 1.329 | 0.968 |
Table D.8: Exhaustive semisynthetic CATE nPEHE results at . Each entry first averages the three replicates of each source dataset, then averages equally over the 12 sources; lower is better. The lowest mean in each column is bold. Other underlined methods are not significantly worse than that empirical best under one-sided exact paired sign-flip tests across source-level means, with Holm correction within the column ().
| Method | Linear | Nonlinear | ||||||
|---|---|---|---|---|---|---|---|---|
| Low confounding | High confounding | Low confounding | High confounding | |||||
| Low proxy | High proxy | Low proxy | High proxy | Low proxy | High proxy | Low proxy | High proxy | |
| S-learner (ridge) | 1.013 | 1.013 | 1.564 | 1.564 | 1.023 | 1.023 | 1.580 | 1.580 |
| S-learner (RF) | 0.669 | 0.669 | 1.423 | 1.423 | 0.849 | 0.849 | 1.546 | 1.546 |
| S-learner (TabICL) | 0.499 | 0.499 | 1.294 | 1.294 | 1.432 | 1.432 | ||
| S-learner (TabICL) + kNN marg. | 0.527 | 0.581 | 1.053 | 0.683 | 0.793 | 0.822 | 1.206 | 0.865 |
| S-learner (TabICL) + kernel marg. | 0.526 | 0.574 | 1.053 | 0.678 | 0.811 | |||
| T-learner (ridge) | 0.315 | 0.315 | 1.338 | 1.338 | 1.015 | 1.015 | 1.665 | 1.665 |
| T-learner (RF) | 0.690 | 0.690 | 1.506 | 1.506 | 0.921 | 0.921 | 1.605 | 1.605 |
| T-learner (TabICL) | 0.498 | 0.498 | 1.451 | 1.451 | 1.531 | 1.531 | ||
| T-learner (ridge) + kNN marg. | 1.041 | 0.978 | 0.926 | 1.441 | 1.008 | |||
| T-learner (ridge) + kernel marg. | 0.307 | 1.051 | 0.975 | 0.897 | 1.437 | 0.981 | ||
| X-learner (RF) | 0.530 | 0.530 | 1.381 | 1.381 | 0.814 | 0.814 | 1.508 | 1.508 |
| X-learner (TabICL) | 0.424 | 0.424 | 1.379 | 1.379 | 1.462 | 1.462 | ||
| CausalFM | 0.638 | 0.638 | 1.288 | 1.288 | 0.945 | 0.945 | 1.467 | 1.467 |
| Do-PFN | 0.609 | 0.609 | 1.362 | 1.362 | 1.043 | 1.043 | 1.516 | 1.516 |
| CausalPFN | 0.372 | 0.372 | 1.330 | 1.330 | 1.488 | 1.488 | ||
| CausalPFN + kNN marg. | 0.356 | 0.310 | 1.035 | 0.826 | ||||
| CausalPFN + kernel marg. | 0.360 | 0.314 | 1.043 | |||||
| P-learner (RF) | 0.606 | 0.569 | 1.273 | 0.741 | 0.830 | 0.808 | 1.406 | 0.896 |
| P-learner (ridge) | 0.410 | 0.379 | 1.164 | 0.567 | 0.922 | 0.910 | 1.443 | 0.991 |
| P-learner (TabICL) | 0.498 | 0.465 | 1.244 | 0.661 | 1.368 | |||
| KPV (cond. W) | 1.936 | 0.909 | 3.028 | 1.202 | 2.039 | 0.996 | 2.573 | 1.162 |
| KPV (independent W) | 1.222 | 0.844 | 2.172 | 0.898 | 1.228 | 0.903 | 2.013 | 0.956 |
| PMMR (cond. W) | 0.878 | 0.856 | 0.910 | 0.914 | 0.898 | 1.009 | ||
| PMMR (independent W) | 0.911 | 0.924 | 0.912 | 0.962 | 0.966 | 0.993 | ||
| NMMR-V (fixed; cond. W) | 0.727 | 0.695 | 1.187 | 0.781 | 0.883 | 0.892 | 1.368 | 0.973 |
| NMMR-V (fixed; ind. W) | 0.731 | 0.706 | 1.190 | 0.793 | 0.887 | 0.901 | 1.371 | 0.982 |
| NMMR-U (fixed; cond. W) | 14.122 | 0.929 | 3.879 | 0.955 | 2.371 | 0.998 | 33.761 | 1.009 |
| NMMR-U (fixed; ind. W) | 15.140 | 0.935 | 3.891 | 0.959 | 2.385 | 1.002 | 33.990 | 1.011 |
| NMMR-V (median; cond. W) | 1.044 | 1.036 | 0.977 | 1.040 | 1.045 | 0.997 | ||
| NMMR-V (median; ind. W) | 1.044 | 1.037 | 0.980 | 1.042 | 1.047 | 1.001 | ||
| NMMR-U (median; cond. W) | 1.079 | 1.081 | 1.100 | 1.023 | 1.072 | 1.067 | 1.014 | |
| NMMR-U (median; ind. W) | 1.079 | 1.081 | 1.101 | 1.023 | 1.073 | 1.068 | 1.014 | |
| ProximalFM (ours) | 0.392 | 0.370 | 0.468 | |||||
Table D.9: Exhaustive semisynthetic CATE nPEHE results at . Each entry first averages the three replicates of each source dataset, then averages equally over the 12 sources; lower is better. The lowest mean in each column is bold. Other underlined methods are not significantly worse than that empirical best under one-sided exact paired sign-flip tests across source-level means, with Holm correction within the column ().
| Method | Linear | Nonlinear | ||||||
|---|---|---|---|---|---|---|---|---|
| Low confounding | High confounding | Low confounding | High confounding | |||||
| Low proxy | High proxy | Low proxy | High proxy | Low proxy | High proxy | Low proxy | High proxy | |
| S-learner (ridge) | 1.011 | 1.011 | 1.567 | 1.567 | 1.024 | 1.024 | 1.593 | 1.593 |
| S-learner (RF) | 0.568 | 0.568 | 1.384 | 1.384 | 0.793 | 0.793 | 1.497 | 1.497 |
| S-learner (TabICL) | 0.379 | 0.379 | 1.256 | 1.256 | 1.393 | 1.393 | ||
| S-learner (TabICL) + kNN marg. | 0.393 | 0.426 | 0.994 | 0.552 | 0.694 | 0.732 | 1.169 | 0.783 |
| S-learner (TabICL) + kernel marg. | 0.396 | 0.425 | 0.995 | 0.550 | 0.686 | 0.715 | 1.159 | 0.765 |
| T-learner (ridge) | 0.242 | 0.242 | 1.284 | 1.284 | 0.998 | 0.998 | 1.627 | 1.627 |
| T-learner (RF) | 0.561 | 0.561 | 1.413 | 1.413 | 0.786 | 0.786 | 1.502 | 1.502 |
| T-learner (TabICL) | 0.382 | 0.382 | 1.357 | 1.357 | 1.425 | 1.425 | ||
| T-learner (ridge) + kNN marg. | 0.990 | 0.967 | 0.874 | 1.390 | 0.934 | |||
| T-learner (ridge) + kernel marg. | 0.225 | 0.197 | 0.992 | 0.962 | 0.855 | 1.386 | 0.913 | |
| X-learner (RF) | 0.453 | 0.453 | 1.326 | 1.326 | 0.734 | 0.734 | 1.459 | 1.459 |
| X-learner (TabICL) | 0.348 | 0.348 | 1.303 | 1.303 | 1.396 | 1.396 | ||
| CausalFM | 0.616 | 0.616 | 1.272 | 1.272 | 0.927 | 0.927 | 1.453 | 1.453 |
| Do-PFN | 0.544 | 0.544 | 1.314 | 1.314 | 0.993 | 0.993 | 1.537 | 1.537 |
| CausalPFN | 0.297 | 0.297 | 1.277 | 1.277 | 1.412 | 1.412 | ||
| CausalPFN + kNN marg. | 0.273 | 0.224 | 0.977 | 0.333 | 1.175 | 0.675 | ||
| CausalPFN + kernel marg. | 0.275 | 0.225 | 0.979 | 0.338 | 1.168 | |||
| P-learner (RF) | 0.515 | 0.482 | 1.147 | 0.572 | 0.769 | 0.727 | 1.280 | 0.761 |
| P-learner (ridge) | 0.322 | 0.290 | 1.033 | 0.891 | 0.879 | 1.348 | 0.893 | |
| P-learner (TabICL) | 0.416 | 0.387 | 1.094 | 1.218 | ||||
| KPV (cond. W) | 1.499 | 0.926 | 2.598 | 1.208 | 1.433 | 0.825 | 2.208 | 0.960 |
| KPV (independent W) | 0.993 | 0.775 | 1.944 | 0.840 | 1.006 | 0.858 | 1.829 | 0.896 |
| PMMR (cond. W) | 0.878 | 0.846 | 1.062 | 0.903 | 0.918 | 0.897 | 1.188 | 0.995 |
| PMMR (independent W) | 0.903 | 0.910 | 1.033 | 0.905 | 0.956 | 0.961 | 1.156 | 0.991 |
| NMMR-V (fixed; cond. W) | 0.604 | 0.580 | 1.132 | 0.720 | 0.834 | 0.841 | 1.370 | 0.925 |
| NMMR-V (fixed; ind. W) | 0.609 | 0.602 | 1.135 | 0.745 | 0.840 | 0.859 | 1.375 | 0.937 |
| NMMR-U (fixed; cond. W) | 0.919 | 0.894 | 1.071 | 0.905 | 0.992 | 0.984 | 1.178 | 0.990 |
| NMMR-U (fixed; ind. W) | 0.920 | 0.903 | 1.076 | 0.920 | 0.994 | 0.989 | 1.180 | 0.995 |
| NMMR-V (median; cond. W) | 1.006 | 1.005 | 1.055 | 0.951 | 1.038 | 1.022 | 1.175 | 1.003 |
| NMMR-V (median; ind. W) | 1.006 | 1.009 | 1.058 | 0.956 | 1.041 | 1.027 | 1.178 | 1.006 |
| NMMR-U (median; cond. W) | 1.063 | 1.049 | 1.124 | 1.002 | 1.060 | 1.050 | 1.011 | |
| NMMR-U (median; ind. W) | 1.063 | 1.050 | 1.122 | 1.007 | 1.060 | 1.051 | 1.010 | |
| ProximalFM (ours) | 0.300 | 0.279 | 0.365 | |||||
Table D.10: Exhaustive semisynthetic CATE nPEHE results at . Each entry first averages the three replicates of each source dataset, then averages equally over the 12 sources; lower is better. The lowest mean in each column is bold. Other underlined methods are not significantly worse than that empirical best under one-sided exact paired sign-flip tests across source-level means, with Holm correction within the column ().
| Method | Linear | Nonlinear | ||||||
|---|---|---|---|---|---|---|---|---|
| Low confounding | High confounding | Low confounding | High confounding | |||||
| Low proxy | High proxy | Low proxy | High proxy | Low proxy | High proxy | Low proxy | High proxy | |
| S-learner (ridge) | 1.011 | 1.011 | 1.560 | 1.560 | 1.022 | 1.022 | 1.606 | 1.606 |
| S-learner (RF) | 0.513 | 0.513 | 1.356 | 1.356 | 0.740 | 0.740 | 1.476 | 1.476 |
| S-learner (TabICL) | 0.310 | 0.310 | 1.239 | 1.239 | 0.564 | 0.564 | 1.371 | 1.371 |
| S-learner (TabICL) + kNN marg. | 0.291 | 0.298 | 0.953 | 0.441 | 0.580 | 0.624 | 1.111 | 0.695 |
| S-learner (TabICL) + kernel marg. | 0.293 | 0.297 | 0.953 | 0.437 | 0.585 | 0.608 | 1.111 | 0.679 |
| T-learner (ridge) | 0.205 | 0.205 | 1.264 | 1.264 | 1.112 | 1.112 | 1.754 | 1.754 |
| T-learner (RF) | 0.482 | 0.482 | 1.363 | 1.363 | 0.751 | 0.751 | 1.482 | 1.482 |
| T-learner (TabICL) | 0.306 | 0.306 | 1.303 | 1.303 | 0.604 | 0.604 | 1.420 | 1.420 |
| T-learner (ridge) + kNN marg. | 0.179 | 0.132 | 0.960 | 0.271 | 1.052 | 0.936 | 1.491 | 0.984 |
| T-learner (ridge) + kernel marg. | 0.181 | 0.134 | 0.962 | 0.272 | 1.046 | 0.913 | 1.486 | 0.961 |
| X-learner (RF) | 0.382 | 0.382 | 1.286 | 1.286 | 0.678 | 0.678 | 1.429 | 1.429 |
| X-learner (TabICL) | 0.299 | 0.299 | 1.262 | 1.262 | 0.504 | 0.504 | 1.352 | 1.352 |
| CausalFM | 0.600 | 0.600 | 1.262 | 1.262 | 0.917 | 0.917 | 1.460 | 1.460 |
| Do-PFN | 0.454 | 0.454 | 1.279 | 1.279 | 0.961 | 0.961 | 1.547 | 1.547 |
| CausalPFN | 0.246 | 0.246 | 1.255 | 1.255 | 0.545 | 0.545 | 1.372 | 1.372 |
| CausalPFN + kNN marg. | 0.217 | 0.167 | 0.946 | 0.285 | 0.571 | 0.540 | 1.127 | 0.595 |
| CausalPFN + kernel marg. | 0.218 | 0.168 | 0.948 | 0.288 | 0.567 | 0.521 | 1.121 | 0.571 |
| P-learner (RF) | 0.420 | 0.401 | 0.985 | 0.493 | 0.675 | 0.642 | 1.112 | 0.675 |
| P-learner (ridge) | 0.237 | 0.203 | 0.882 | 0.311 | 0.870 | 0.859 | 1.219 | 0.873 |
| P-learner (TabICL) | 0.334 | 0.308 | 0.939 | 0.420 | 0.575 | 0.553 | 1.037 | 0.589 |
| KPV (cond. W) | 1.745 | 0.715 | 2.778 | 0.934 | 1.752 | 0.781 | 2.591 | 0.948 |
| KPV (independent W) | 1.163 | 0.707 | 2.081 | 0.764 | 1.110 | 0.797 | 1.982 | 0.855 |
| PMMR (cond. W) | 0.881 | 0.843 | 1.084 | 0.905 | 0.924 | 0.892 | 1.217 | 1.005 |
| PMMR (independent W) | 0.897 | 0.905 | 1.050 | 0.902 | 0.954 | 0.957 | 1.182 | 0.994 |
| NMMR-V (fixed; cond. W) | 0.527 | 0.535 | 1.104 | 0.663 | 0.803 | 0.805 | 1.369 | 0.901 |
| NMMR-V (fixed; ind. W) | 0.531 | 0.557 | 1.109 | 0.694 | 0.807 | 0.818 | 1.372 | 0.910 |
| NMMR-U (fixed; cond. W) | 0.893 | 0.843 | 1.061 | 0.881 | 0.991 | 0.970 | 1.173 | 0.978 |
| NMMR-U (fixed; ind. W) | 0.897 | 0.858 | 1.063 | 0.902 | 0.992 | 0.979 | 1.175 | 0.984 |
| NMMR-V (median; cond. W) | 0.964 | 0.966 | 1.123 | 0.939 | 1.008 | 1.007 | 1.268 | 0.990 |
| NMMR-V (median; ind. W) | 0.969 | 0.972 | 1.127 | 0.950 | 1.008 | 1.009 | 1.271 | 0.997 |
| NMMR-U (median; cond. W) | 1.035 | 1.032 | 1.127 | 1.002 | 1.054 | 1.047 | 1.232 | 1.005 |
| NMMR-U (median; ind. W) | 1.035 | 1.032 | 1.134 | 1.003 | 1.054 | 1.048 | 1.228 | 1.006 |
| ProximalFM (ours) | 0.241 | 0.217 | 0.834 | 0.302 | 0.572 | 0.546 | 1.029 | 0.620 |
Table D.11: Extended-context semisynthetic CATE nPEHE results for nonlinear mechanisms with high confounding and low proxy reliability. Each entry first averages the 3 replicates of each source dataset, then averages equally over the 12 sources; lower is better. The lowest mean in each column is bold. Other underlined methods are not significantly worse than that empirical best under one-sided exact paired sign-flip tests across source-level means, with Holm correction within the column ().
| Method | Context size | ||||||
|---|---|---|---|---|---|---|---|
| 128 | 256 | 512 | 1,024 | 2,048 | 4,096 | 8,192 | |
| S-learner (ridge) | 1.459 | 1.499 | 1.580 | 1.593 | 1.606 | 1.597 | 1.608 |
| S-learner (RF) | 1.542 | 1.536 | 1.546 | 1.497 | 1.476 | 1.602 | 1.473 |
| S-learner (TabICL) | 1.457 | 1.449 | 1.432 | 1.393 | 1.371 | 1.340 | 1.317 |
| S-learner (TabICL) + kNN marg. | 1.259 | 1.235 | 1.206 | 1.169 | 1.111 | 1.065 | 1.020 |
| S-learner (TabICL) + kernel marg. | 1.245 | 1.231 | 1.196 | 1.159 | 1.111 | 1.064 | 1.016 |
| T-learner (ridge) | 1.837 | 1.699 | 1.665 | 1.627 | 1.754 | 1.711 | 1.647 |
| X-learner (RF) | 1.605 | 1.559 | 1.508 | 1.459 | 1.429 | 1.504 | 1.363 |
| X-learner (TabICL) | 1.669 | 1.493 | 1.462 | 1.396 | 1.352 | 1.330 | 1.307 |
| CausalPFN | 1.687 | 1.541 | 1.488 | 1.412 | 1.372 | 1.371 | 1.376 |
| CausalPFN + kNN marg. | 1.460 | 1.338 | 1.264 | 1.175 | 1.127 | 1.121 | 1.117 |
| CausalPFN + kernel marg. | 1.466 | 1.349 | 1.251 | 1.168 | 1.121 | 1.140 | 1.127 |
| P-learner (RF) | 1.514 | 1.485 | 1.406 | 1.280 | 1.112 | 0.964 | 0.732 |
| P-learner (ridge) | 1.511 | 1.489 | 1.443 | 1.348 | 1.219 | 1.110 | 0.952 |
| P-learner (TabICL) | 1.535 | 1.467 | 1.368 | 1.218 | 1.037 | 0.847 | 0.660 |
| NMMR-V (fixed; cond. W) | 1.290 | 1.363 | 1.368 | 1.370 | 1.369 | 1.336 | 1.337 |
| NMMR-V (fixed; ind. W) | 1.292 | 1.366 | 1.371 | 1.375 | 1.372 | 1.338 | 1.339 |
| NMMR-U (fixed; cond. W) | 33.761 | 1.178 | 1.173 | 1.144 | 1.141 | ||
| NMMR-U (fixed; ind. W) | 33.990 | 1.180 | 1.175 | 1.149 | 1.144 | ||
| NMMR-V (median; cond. W) | 1.115 | 1.191 | 1.109 | 1.175 | 1.268 | 1.334 | 1.391 |
| NMMR-V (median; ind. W) | 1.115 | 1.188 | 1.111 | 1.178 | 1.271 | 1.335 | 1.396 |
| NMMR-U (median; cond. W) | 6.794 | 1.318 | 1.121 | 1.129 | 1.232 | 1.247 | 1.231 |
| NMMR-U (median; ind. W) | 7.024 | 1.311 | 1.121 | 1.132 | 1.228 | 1.242 | 1.230 |
| ProximalFM (ours) | 1.329 | 1.210 | 1.151 | 1.061 | 1.029 | 0.988 | 0.964 |
| ProximalFM-FT (ours) | 1.333 | 1.216 | 1.145 | 1.049 | 1.007 | 0.960 | 0.930 |
D.3.1 Speed
We measured runtime in a separate run of the 36 semi-synthetic episodes with nonlinear mechanisms, strong confounding, and weak proxy information. Episodes were executed sequentially in one process to avoid contention between simultaneous benchmark jobs; methods retained the parallelism specified for their own hyperparameter searches. At each context size, the recorded wall-clock time covers estimator construction, fitting, and prediction on the 256 query rows. The filled points in Figure 5 show the median of these per-episode times at ; hollow points subtract the measured hyperparameter-search time. Accuracy ranks come independently from the complete semi-synthetic evaluation matrix, using paired episode-level CATE nPEHE ranks.
D.4 Synthetic study of proxy informativeness
We vary proxy information within a fixed causal mechanism to examine when proximal estimation offers an advantage over regression adjustment using proxies. For each , we generate 20 information levels equally spaced from 0.01 to 0.99.
For each of the resulting 60 datasets, we evaluate methods using 128, 512, or 2048 context rows and the same 256 held-out query rows. Each block X, U, W, Z has dimension d. Figure D.1(b) shows the causal structure and proxy-information control.
Causal mechanism and heterogeneity. For every observation, are mutually independent vectors. The independent outcome disturbance is . Independent uniform draws determine the Bernoulli treatments. Define
We generate
The individual and conditional average effects satisfy
Thus the CATE varies with X, while latent variation also modifies individual effects. In the population, and . Normalising the scores by holds the population scales of confounding and heterogeneity fixed across dimensions.
Joint proxy information. For each dimension, we draw and fix independent orthogonal matrices , using Gaussian matrices and QR decomposition with a nonnegative triangular diagonal. At target information , define and generate
Each proxy coordinate has unit variance. Each complete proxy block alone explains a fraction q of each latent coordinate's variance. The joint Gaussian distribution gives
Consequently, the population for predicting any coordinate of U from jointly is exactly s. Independence of X preserves this value when conditioning additionally on X. The rotations mix latent coordinates without changing information.
Bridge and pairing. Define the unbiased proxy score . An explicit bridge is
Independent proxy errors give , and averaging the bridge contrast over gives . The proxy-score error has conditional variance . This quantifies the noise amplification as proxy information decreases, even though the bridge equation remains valid.
Estimator comparison. We fit an interacted proximal two-stage least-squares (2SLS) estimator (Tchetgen Tchetgen et al., 2020) with bridge and instrument designs
Writing for projection onto the instrument column space, 2SLS minimises . The treatment interactions allow the bridge basis to contain and to represent effect modification by both and the latent confounder. We compute the projection using economic QR followed by SVD, retaining singular values above , where . The subsequent least-squares fit uses NumPy's rcond=None rank threshold.
We compare 2SLS with unpenalised OLS using the design , with either no additional covariates or proxy adjustment . For these linear estimators, we average the fitted treatment contrast over the context distribution of the additional covariates:
For 2SLS, ; for X-only OLS, the final term is omitted. This marginalisation targets because X is independent of the additional covariates in the data-generating mechanism.
We also evaluate ProximalFM and proxy-adjusted CausalPFN. ProximalFM conditions on the observational context and predicts CATE from query . CausalPFN treats as adjustment covariates; we marginalise its treatment contrasts using 16 seeded, aligned proxy pairs sampled from the context. At each context size, all methods use the same training rows and are scored against the known on the same 256 held-out query rows. We report PEHE = .
Discussion. Figure D.4 shows the advantage of a well-specified proximal estimator: the 2SLS bridge basis contains the true outcome bridge. Its large fluctuations at low proxy information reflect the difficulty of estimating that bridge with weak instruments, rather than model misspecification. ProximalFM improves more smoothly as information increases and, at , outperforms proxy-marginalized CausalPFN throughout the sweep and proxy-adjusted OLS in most settings. OLS is a favourable comparator here: the treatment effect is linear, and independence of X and makes proxy marginalisation a simple average over context rows, without conditional-neighbour estimation. As the proxies nearly reveal U, OLS catches up with and surpasses PROXIMALFM. These curves come from one paired simulation per setting.
Proxy informativeness across context sizes
ProximalFM
P2SLS
OLS(X,W,Z)
OLS(X)
CausalPFN backdoor
Dimension d = 1

Dimension d = 3

Dimension d = 5
One paired simulation · 60 datasets · 256 held-out rows per setting
Figure D.4: CATE RMSE against joint proxy information, measured by the population for predicting U from . Columns vary proxy dimension d; rows vary context size. All methods are evaluated on the same 256 held-out query rows at each setting. The vertical axis is logarithmic. Within each dimension, the underlying draws are shared across information levels; results come from one realization per setting.
E Towards a real physical system: Causal Chambers
We use the Light Tunnel Mk2 on the Causal Chamber platform (Gamella et al., 2025; Zeitler, 2025) to study average treatment effects in a controllable but real (non-simulated) optical system. The experiment combines physical responses with software control to create dependence between a hidden confounder, proxy variables, treatment, and outcome. This provides an exploratory step towards proximal estimation in a real-world systems, complementing the synthetic CATE benchmarks.

Figure E.1: The Light Tunnel Mk2 and a simplified diagram with the variables relevant to our setup.
Physical setup and causal structure. Figure E.1 shows the physical setup with the variables we consider, and Figure E.2 shows the intended pathways between them. The confounder U is an LED drive drawn uniformly from the integers 0, ..., 255, controlling its brightness. The observed covariate X controls a red LED, Z controls the ultraviolet LED 2, and W controls the position (in degrees) of the first polariser. Treatment sets ultraviolet LED 3 to drive , and the outcome Y is the infrared sensor 3 reading. Auxiliary measurements comprise the electrical current C drawn by the confounder LED, infrared readings , , and visible-light reading .
The pathways , , , and —resulting from the software control functions—link successive physical measurements to subsequent interventions. In the working proximal structure, Z influences treatment assignment through , while W influences the light reaching the outcome sensor. The green LED and crossed polarisers define the nominal weak-confounding setting. The blue LED and a second polariser fixed at zero degrees define the nominal strong-confounding setting.
Control functions and acquisition. Define
For each observation, we set the selected confounder LED to U and measure C. We then set
and measure . Independent standard-normal draws determine
See https://causalchamber.ai for more details.
Polariser angles use degrees. In the weak setting, the second polariser is crossed with the first at , blocking most of the light reaching the third relative angle is zero. After setting these inputs, we measure , assign treatment, and measure .
The linear family uses
The nonlinear family uses
with in the weak setting and in the strong setting. Every family uses . Thus the family label specifies the form of and . Figure E.3 shows their saturation, the common sigmoid polariser response, and the treatment-assignment rules. These mappings change which parts of the optical response the experiment explores. The reduced nonlinear amplitude in the strong setting limits the contribution of to the treatment-assignment sensor, preserving variation associated with the confounder.
Treatment and proxy-information settings. We collect 1 000 under the following experimental design. We have a Bernoulli assignment as follows
where for both linear settings, (8789, 2000) for weak nonlinear, and (3930, 800) for strong nonlinear. The Bernoulli rule supplies assignment variability at a given . Its probabilities lie between 0.05 and 0.95 for of observations across the corresponding experimental conditions.
The noise multipliers equal (0, 0) at high nominal informativeness, (0.75, 0.75) at intermediate informativeness, and (2, 2) at low informativeness. The strong-linear low-information condition uses (0.6, 2.5) to retain a measurable confounding signal while reducing proxy information. The fixed noise scales are
| Setting | (degrees) | |
|---|---|---|
| Weak linear | 325 | 62.2 |
| Weak nonlinear | 1789 | 64.5 |
| Strong linear | 383 | 66.2 |
| Strong nonlinear | 412 | 62.6 |
We quantify realised information by the of a linear regression of on with an intercept. Confounding is summarised by . Because the proxies are physical actuators, their noise also changes the treatment and outcome distributions. Each noise level therefore defines a distinct operating distribution. NumPy random streams use seeds 981264976135, 981264976142, and 981264976146 for , proxy noises, and treatment uniforms, respectively. Restarting these streams for each condition pairs the commanded inputs and software randomness, while sensor values come from fresh physical measurements.
ATE reference and interpretation. After measuring , we apply drive zero and then drive , retaining the other commanded inputs, to obtain and . The empirical average intervention reference is
The sequence in Figure E.2 makes this average directly measurable over the sampled operating states. Its causal interpretation assumes stability during each sequence and negligible systematic effects of measurement order or carryover.
The mean contrast ranges from approximately 886 to 893 sensor counts at drive 500, and from 621 to 624 at drive 350. Across conditions, the standard deviation of individual contrasts is 3.55–65.64 counts. The root mean squared difference between Y and the separately remeasured factual arm is 3.10–65.00 counts. The overlap in these scales supports evaluating the average contrast, with individual contrasts interpreted in the presence of measurement variability. The physical estimand we obtain here is the ATE over the acquired states. The synthetic benchmarks in the other sections provide complementary evaluations against analytic CATE functions.
Adaptation of methods for ATE estimation. For each context prefix , we estimate the empirical ATE over the acquired operating states,
All methods are fitted using the factual observations in only. The paired intervention measurements and are reserved exclusively for the reference ATE. When a method produces a conditional effect estimate, we average its predictions over the same context prefix.
We consider a selection of methods from Appendix D.1. X-learner (TabICL) fits arm-specific outcome and effect models using and returns an estimated contrast at each observed ; its ATE estimate is the mean of these contrasts. CausalPFN directly predicts a conditional treatment effect from the factual context, which we likewise average over the observed covariate and proxy values.
The proximal methods use the proxy roles explicitly. P-learner estimates outcome and treatment bridge functions and forms cross-fitted doubly robust proximal scores; its ATE estimate is the mean of these scores. KPV and PMMR estimate an outcome bridge and obtain a marginal ATE by integrating the contrast over the empirical joint distribution of in the fitted context. NMMR uses the same empirical target, averaging its learned bridge contrast at the observed pairs. P2SLS uses a linear two-stage specification: it first predicts W from and then regresses Y on ; the fitted coefficient of A is its scalar ATE estimate.
Finally, PROXIMALFM treats the factual rows as its in-context dataset and predicts for every context covariate value, with query-time proxies hidden. Its ATE estimate is the empirical mean . This use of PROXIMALFM is not its primary design target: it uses to interpret the factual context but predicts effects from X alone, deliberately discarding query-time proxy information. It can therefore provide a useful ATE estimate by averaging its CATE predictions, but it is not designed to estimate the ATE directly or to integrate an outcome bridge over the empirical proxy distribution.
Physical pathway
Software mapping

Other commanded inputs remain fixed during the three outcome measurements
Figure E.2: Physical and software pathways in the optical experiment. Solid arrows represent the predetermined physical pathways and dashed green arrows represent effects resulting from the software control functions, i.e., software mappings. Independent Gaussian noise enters the two proxy mappings. The lower sequence shows acquisition of the factual outcome and the two intervention measurements. The graph describes the intended within-observation structure. Its causal interpretation requires stable device state and the proxy restrictions discussed in the text.
(a) Red LED control

(b) Treatment-proxy control
(c) Outcome-proxy control
(d) Treatment assignment
Figure E.3: Software control functions for the physical experiment. Panels (a)–(c) show the deterministic mappings before addition of proxy noise and final actuator clipping. Panel (d) shows the treatment probabilities for Bernoulli assignment and the corresponding hard-threshold protocols. The plots display the specified control functions over illustrative sensor ranges.
Results Figure E.4 shows no single method that performs best in every physical setting. The X-learner (TabICL) is the most consistently accurate method, especially when confounding is weak. CausalPFN is also competitive, particularly for nonlinear mechanisms and weak confounding. In contrast, the proximal methods, including PROXIMALFM, perform well only in some settings, and larger contexts do not lead to systematic improvements. Overall, these results illustrate the difficulty and variability of causal estimation in real physical systems.

Figure E.4: Absolute error of estimated average treatment effects in the Causal Chambers Light Tunnel experiment as the factual context grows. Each panel is one physical operating condition, crossing control-function family (linear or non-linear), confounding strength, and nominal proxy informativeness. Curves show in raw infrared-sensor counts, where both the estimate and the paired-intervention reference are evaluated on the same nested context prefix of size . Both axes use logarithmic scales; lower is better.