WorksComputer Science
FADO: Learning Causal Explanations with Prior-Fitted Networks
Abstract
In regression and classification tasks with tabular datasets, most of the literature on explanation in ML (e.g. SHAP, permutation importance) has focused on predictive attribution: does feature help predict outcome ? At its heart, predictive attribution captures correlation, not causation. We instead ask a causal question: would manipulating feature change outcome ? We define a natural quantity to answer this question, the feature intervention effect: . In general, estimating this quantity from observational data alone would entail strong causal assumptions. We propose FADO (Feature-wise Amortized Do-Operators), an amortized inference method using prior-fitted networks trained on synthetic tabular datasets generated by structural causal models. During training, the synthetic data-generating process is known, so we can compute ground-truth intervention effects , and train a model to predict them at test time from a purely observational tabular dataset. As we demonstrate through extensive experiments, our new causal explainability method is easy to train and provides better explanations under a range of settings for which standard predictive attribution fails, including proxy variables, confounders, colliders, and placebos. We evaluate it on real, synthetic and semi-synthetic datasets, with and without hidden confounders, and compare it to existing predictive attribution methods and state-of-the-art causal inference methods.
Introduction
When an ML model makes a high-stakes prediction in finance or healthcare, it is natural to ask “why?” and demand an explanation [13]. Indeed, the EU’s new AI Act [9] contains an article, effective August 2026, on the “Right to Explanation of Individual Decision-Making” laying out a right to “clear and meaningful explanations” from deployers of AI systems in high-risk settings. The extensive ML literature on explainability aims to answer the question “why did the model make this prediction?”
While these model-based predictive attribution questions are of course incredibly important, machine learning is increasingly entering many scientific domains, including natural science and social science. Here, a related but distinct question arises: which variables would change the outcome if they were intervened upon? By contrast, model-based predictive attribution asks: does a given feature help predict the outcome? In scientific domains, it is often the data-generating process from nature itself that is the object of study, rather than a specific predictive model, so an explanation
Preprint. should answer “what if” questions about interventions [32], rather than associational questions about a model’s predictions. In practice, predictive attribution methods give qualitatively different information from causal inference methods (see Figure 1) and we expect disagreements between the two methods to be particularly useful for practitioners to interrogate, as they could point towards non-causal associations driving model predictions.

Figure 1. Five prototypical causal motifs: small SCMs used to generate tabular data to demonstrate how predictive attribution based on association (SHAP) and causal attribution (our new method, FADO) can disagree. Direct cause in motif A and mediator in motif C are both causal and predictive. Target descendant in motif D and collider in motif E are predictive, but not causal. Confounded feature in motif B is neither causal nor predictive.
Here, we focus on tabular datasets and view causal explanation through the lens of feature intervention effects: feature-wise interventional contrasts that ask how the outcome would change on average under an intervention on a particular predictor. Estimating this contrast for each feature yields a new causal feature-importance ranking, where importance reflects the effect of manipulating that feature in the data-generating process rather than its usefulness for predicting . It can be used alongside or instead of popular predictive attribution methods like SHAP.
Existing explainability methods are usually post-hoc: a model is fit and then explained. By contrast, we use prior-fitted networks (PFNs) and amortization to learn to predict causal explanations directly from underlying data-generating processes. This approach is in line with a philosophy of “learning to explain” [40]. Building on a recent series of papers on causal inference with PFNs [36, 3, 29, 35] we demonstrate empirically that this approach is robust when trained on a sufficiently diverse set of priors. The training process is very simple: we sample a tabular dataset from a data-generating process, calculate the vector of feature intervention effects, which we term the causal feature profile, and then use supervised learning, training a transformer to predict the causal feature profile from the tabular dataset.
Predictive vs. causal attribution. Figure 1 illustrates the difference between predictive and causal attribution with five motifs, each a small structural causal model (SCM). In motif A, is a direct cause of . In motif C, is a mediator on the path from to . In the other three motifs, the highlighted feature is associated with but has no causal effect on it: in motif B, co-varies with only through their observed common cause ; in motif D, is caused by ; and in motif E, the collider is caused by both and . The right panel plots each highlighted feature’s TreeSHAP importance under a LightGBM predictor (section 5.2) against FADO’s estimated intervention effect . We call a feature predictive if its TreeSHAP importance is high, and causal if its true intervention effect is nonzero. The direct cause in motif A and the mediator in motif C are both predictive and causal. The descendant in motif D and the collider in motif E are predictive but not causal, and FADO assigns them . The confounded in motif B is neither predictive nor causal, since the predictor also sees . Finally, the upstream in motif C is causal but not predictive, because its effect on is carried entirely by , and FADO detects it. Predictive attribution tells a user which features a model uses for predictions, while causal attribution tells a user which features to intervene on. Manipulating in motif D or in motif E would leave unchanged. in motif C has low TreeSHAP importance for predicting , but manipulating it would have a large causal effect. § 5.2 compares predictive baselines with ground-truth intervention effects on held-out SCMs, and § 5.4 applies a standard TreeSHAP workflow to a real randomized marketing dataset, where it highlights an outcome leak.
Contributions.
We introduce the feature intervention effect (eq. (2)) as a per-feature quantity for causal explanations, closely related to average treatment effects and dose-response curves (Table 1). It can be used to understand the impact of intervening on individual features, and to rank feature importance causally.
We introduce a supervised learning framework called “learning to explain” and develop FADO (§ 3) for learning causal explanations, based on amortized inference over a large class of synthetic data generating processes (Table 20), and train a foundation model (Table 21) to predict a vector of feature intervention effects from a tabular dataset.
We demonstrate that our method is effective, giving qualitatively different measures of variable importance versus existing predictive attribution methods (Figure 1, Table 15, and § 5.4) and highly efficient (appendix § 21), fast enough to run as an interactive demo in a web browser (https://mlgh.net/fado-demo/) on tables of up to 64 features (appendix § 11).
We theoretically analyze FADO, showing that squared-loss training leads to a Bayes optimal posterior mean (proposition 1).
| Quantity | Definition | What it answers |
| Marginal correlation | Is associated with ? | |
| Shapley value / SHAP | averaged over subsets | Does help a predictor of ? |
| Linear regression coefficient | from | Marginal linear contribution holding others fixed. |
| Permutation importance | when is permuted | Predictive importance of in a fitted model. |
| LiNGAM total effect | Identified effect under linear non-Gaussian SCMs. | |
| Causal feature profile | , see eq. (2) | Would intervening on change ? |
Table 1. Existing estimators vs. our proposed causal feature profile .
| Motif (structure) | Key feature | Truth | Model | Marginal corr. | Multivariate regression | SHAP |
| A: direct cause | 1.33 | 0.66 [0.60, 0.73] | 1.34 | 1.34 | 0.52 | |
| B: confounded , | 0 | 0.01 [0.00, 0.02] | 1.15 | 0.00 | 0.07 | |
| C: mediator | 1.08/1.58 | 0.56 [0.50, 0.62]/1.10 [0.98, 1.21] | 1.08/1.58 | /1.58 | 0.08/0.60 | |
| D: target descendant | 0 | [, ] | 1.36 | 1.37 | 0.52 | |
| E: collider | 0 | 0.00 [0.00, 0.00] | 1.11 | 1.64 | 0.53 |
Table 15.
| Family | Weight | Generator | Label |
| Linear | 0.30 | Exact | |
| Mixed type | 0.16 | linear; each feature independently median-split to with probability 0.30 | Exact |
| Polynomial nonlinear | 0.13 | MC | |
| Random MLP | 0.13 | , a random one-hidden-layer tanh MLP | MC |
| Hidden confounder | 0.13 | linear with one latent parent of three observed nodes, marginalized at sample time | Exact from full DAG |
| MLP + hidden confounder | 0.05 | random MLP with the same latent structure | MC from full DAG |
| Binary treatment | 0.05 | linear DAG over ; , ; | MC |
| Univariate polynomial | 0.05 | , | MC |
| Additive spline | 0.05 | , each a random combination of five Gaussian bumps | MC |
| Gaussian process | 0.05 | , with RBF kernel on at most three parents | MC |
| Multi-level mixed type | 0.05 | linear; each feature independently quantile-binned into levels with probability 0.40 | Exact |
Table 20.
| Tag | Prior family | Steps | Batch | |
| Linear | linear non-Gaussian | 5 | 15,000 | 32 |
| Linear , 50k | linear non-Gaussian | 5 | 50,000 | 32 |
| Linear | linear non-Gaussian | 8 | 15,000 | 32 |
| Linear | linear non-Gaussian | 13 | 20,000 | 32 |
| Linear | linear non-Gaussian | 20 | 30,000 | 32 |
| Large | linear non-Gaussian | 5 | 30,000 | 32 |
| Large | linear non-Gaussian | 13 | 30,000 | 32 |
| Hetero linear | linear non-Gaussian | 3–15 | 15,000 | 32 |
| Polynomial | polynomial nonlinear | 5 | 20,000 | 32 |
| Random MLP | random MLP | 5 | 20,000 | 32 |
| Hidden | hidden confounder | 5 | 20,000 | 32 |
| Hidden | hidden confounder | 13 | 25,000 | 32 |
| MLP + hidden | MLP + hidden | 5 | 25,000 | 32 |
| Mixed | mixed type | 5 | 20,000 | 32 |
| Mixed | mixed type | 13 | 25,000 | 32 |
| Gaussian control | linear Gaussian (non-identifiable) | 5 | 15,000 | 32 |
| Gaussian control | linear Gaussian (non-identifiable) | 8 | 15,000 | 32 |
| FADO: | mixture (11 families) | 3–15 | 150,000 | 8 |
| FADO (appendix C) | mixture (11 families) | 3–64 | 150,000 | 8 |
| FADO , fixed density | mixture, fixed in-degree | 3–64 | 150,000 | 8 |
Table 21. FADO model variants used for the experimental tables. All variants use the axial architecture of § 3.1 and share AdamW, a cosine schedule, rows per SCM, and seed 0. The single-family variants use , 4 heads, 3 layers, batch 32, lr with a 200-step linear warmup, and Laplace noise (Gaussian for the Gaussian controls); “Large” variants use , 8 heads, 4 layers. FADO (last row) uses , 8 heads, 6 layers (14.2M parameters), lr with a 5,000-step warmup, and the per-column noise of appendix § 18.§ 1.
FADO’s aim is to output an accurate feature importance ranking based on causal interventions, reliably identifying causal features and zeroing out non-causal features. While we compare to causal discovery methods, our goal is not accurate point estimation of the causal effect for a specified treatment. Instead, we aim to simultaneously explain all features at once.
Setup and Target Functional
Let and be the observed variables of a structural causal model (SCM) , with possible additional latent variables, and let denote its directed acyclic graph ([32, 14]). For each feature we define the raw feature intervention effect as the causal effect on using do-operators:
We define the standardized feature intervention effect as:
where is the standard deviation of under ’s observational law. For all features we use the standardized contrast 2
Our goal is to learn the entire -dimensional vector causal feature profile . We write for FADO’s prediction of given an observational table , and for its -th coordinate.
Figure 2. FADO architecture. Cell values are projected to dimensions and summed with a learned type embedding. Each of the 6 layers applies feature axis attention within rows, then sample axis attention within columns. The cell embeddings are averaged over samples, and a linear head at the feature positions emits .
Architecture and Training
We train a transformer (§ 3.1) on a mixture of 11 SCM prior families (§ 3.2) for 150,000 steps with squared loss (§ 3.3); the noise distribution of each column is drawn from seven families (appendix § 18.§ 1). The resulting foundation model, FADO (Feature-wise Amortized Do-Operators), takes datasets with between 3 and 15 features and extends to 64 features in appendix § 11.
Axial Transformer
FADO treats observations as an exchangeable set, in the style of Lee et al. [25], and alternates attention along the two axes of the table, following Somepalli et al. [41]. Given a dataset where column is , FADO returns the full causal feature profile in a single forward pass. Each scalar cell is projected to a -dimensional embedding, and a learned type embedding with two values (“feature” and “target”) is added to break the symmetry between features and target. The embeddings then pass through 6 layers, each of which applies two post-norm multi-head attention blocks (Vaswani et al. [46]): feature axis attention, in which the cells of a row attend to each other, and sample axis attention, in which the cells of a column attend to each other. After the last layer, the cell embeddings are averaged over samples within each column, and a linear readout at the feature positions produces . FADO uses and 8 heads (14.2M parameters).
SCM Prior Families
Each training SCM is drawn from one of 11 prior families, summarized with their relative weights in table 20 (appendix § 18). The families span linear, polynomial nonlinear, hidden confounder, and mixed-type settings. In the four families with linear mechanisms (linear, hidden confounder, and the two mixed-type families), the labels are computed in closed form (appendix § 26.§ 2). As a special case, under no confounding (no open backdoor paths; ignorability), (appendix § 26.§ 3). In the other seven families, is estimated by Monte Carlo: samples are drawn from the post-intervention SCM and averaged for each value of the intervention.
For each column , the distribution of the noise is drawn uniformly from seven families, independently across columns (appendix § 18.§ 1).
Training Protocol
Data generation. FADO is trained on synthetic datasets generated from the SCM priors described in § 3.2. Each training step samples a batch of SCMs from the prior, simulates rows from each, and applies a random column permutation with the labels permuted accordingly. So that a single model can handle datasets with different numbers of features, datasets with fewer than 15 features are padded to 15 with columns of independent standard normal noise whose label is 0, and the columns are permuted a second time so that the padding can appear at any position. At inference, datasets are padded the same way and the predictions at the padding columns are discarded.
Training objective. The model parameters are optimized to minimize the squared loss on . To improve training stability, we apply several guards: is clamped to ; batches with any non-finite label are skipped; and the gradient norm is clipped to 1.0.
Optimizer and hyperparameters. FADO is trained with the AdamW optimizer, a cosine schedule, learning rate and a 5,000-step linear warmup. For the single-family comparisons in § 5.1 and appendix § 22 we also train smaller models, each on one prior family. These single-family variants use learning rate with a 200-step warmup and Laplace noise in every column, except for two controls with Gaussian noise, where causal direction is not identifiable (§ 4.3). Hyperparameters for all models are given in Table 21 (appendix § 18).
Theory: What FADO Learns
FADO is a prior-dependent amortized estimator of a causal functional in eq. (2). The pretraining simulator defines a distribution over SCMs and provides intervention labels for each sampled SCM. At test time, the input is only an observational table, so the relevant population target is determined by the posterior over SCMs induced by the pretraining prior and that table. This section formalizes the target functional, shows that squared-loss pretraining identifies the posterior mean of the causal feature profile, and characterizes when that posterior mean converges to the true profile versus a prior-weighted average over observationally equivalent SCMs.
Pretraining Prior and Target Functional
Let be a class of SCMs whose observed variables are , possibly together with additional latent variables. Let denote the pretraining prior over . The observational law induced by on the observed variables is , and an observational table of rows is
Assume throughout. The causal feature profile is defined component-wise by eq. (2); the standardization puts all labels on the same outcome scale. We note that the causal feature profile is equivariant to relabeling of the feature columns (derivation in appendix § 26.§ 1), and the estimator of constructed in Section 3 respects this equivariance property of the target by construction.
Bayes-Optimal Amortized Predictor
Consider the population squared-loss risk over measurable maps ,
Proposition 1 (Bayes action for the causal profile). Assume . Any population minimizer of eq. (4) satisfies
Moreover, if the pretraining prior is invariant under relabeling of the feature columns, in the sense that implies for every permutation , then
Equation (5) shows that FADO is a PFN-style causal estimator [31, 36, 3]: it is an amortized estimator of the Bayesian posterior mean of the causal profile functional, where the posterior is induced by a pretraining prior. It does not directly recover “the” causal effect unless the posterior over SCMs assigns the same causal feature profile to all observationally plausible SCMs. Equation (6) states that an invariant pretraining prior induces an equivariant posterior-mean target, which agrees with the equivariance of the true causal profile. Therefore, column order should not carry information during pretraining. We can enforce this by column-permuting the synthetic SCMs (and corresponding labels). This motivates the design choices in the transformer architecture (§ 3), in which computation is shared across feature columns and the model outputs one coordinate per feature, so that relabeling input features relabels output effects.
Identifiability of the Feature Profile
Fix a data-generating SCM with observational law and causal profile , and let . Write . The feature profile is identifiable at under if for every observationally equivalent (i.e. every in the prior support with ). This is weaker than identifying the full graph or the full SCM: observationally equivalent SCMs may differ structurally while agreeing on the causal feature profile. Under three regularity conditions (formal versions in appendix R.4) – (A1) posterior consistency for the observational law, (A2) local continuity of in at , and (A3) a bounded-profile condition – the posterior mean of converges to . (A2) is the key identifiability assumption.
Proposition 2 (Consistency under local profile identifiability). If (A1)–(A2) hold, then, for every ,
If, in addition, (A3) holds, then
Equation (7) states that learning the observational law is sufficient to learn the causal feature profile when the local continuity holds. Equation (8) then gives consistency of the posterior mean which in turn corresponds to the population optimizer of eq. (4). Note that the result concerns the population optimizer induced by the pretraining prior, it does not address the optimization error of a finite trained network. Appendix R.7 illustrates both regimes empirically on an identifiable prior (linear non-Gaussian) and a non-identifiable prior (linear Gaussian, where the direction of edges cannot be determined from observational data). Appendix R.8 studies non-identifiable regimes showing that the posterior mean converges, under regularity, to the prior-weighted mean of the causal profiles compatible with and that the risk is lower bounded by the residual variation in among observationally equivalent SCMs.
Where the prior helps. The identifiability status depends on the structural class. In unrestricted SCM classes, observational equivalence with different intervention effects is common [32, 14]. In purely Gaussian linear SCMs, causal direction is generally not identified from observational covariance alone. In linear non-Gaussian acyclic models with independent errors, the graph and total effects are identifiable under LiNGAM assumptions [39]. In nonlinear additive-noise models, causal direction is generically identifiable only under additional asymmetry conditions [20]. These results explain why a prior dominated by non-Gaussian SCMs can learn a useful causal profile from observational samples. Gaussian and hidden-confounder SCMs fall outside these guarantees, so we evaluate them separately.
Summary. FADO learns the Bayes action for under the SCM pretraining prior, which is the posterior mean . With finite data, this averages the causal profiles of SCMs weighted by their posterior probability given the table. As , it converges to the true causal profile when that profile is identifiable within the prior. Otherwise it converges to an average over observationally equivalent SCMs weighted by the prior alone (appendix § 26.§ 8).
Experiments
We evaluate FADO on an extensive battery of synthetic and real datasets, and compare it with state-of-the-art causal inference and predictive attribution methods (§ 5.2). The evaluations cover held-out SCMs and motif stress tests (§ 5.1), real covariates with synthetic outcomes (§ 5.3), and real RCTs with constructed proxy, leak and noise decoys (§ 5.4). The appendix adds the Sachs DAG (appendix § 12), uncertainty analysis (appendix § 15), architecture ablations (appendix § 13), cross-family generalization (appendix § 22) and timings (appendix § 21).
Held-Out Random SCMs
We evaluate FADO on held-out random SCMs from each of its eleven prior families (Table 20). Each family contributes 200 SCMs with features padded to 15, samples, and the per-column noise of appendix § 18.§ 1. We report Pearson with the true , AUROC for nonzero-feature detection, and MAE on zero-effect features (Table 2), pooled across the features of all 200 SCMs, with a marginal-correlation baseline () as a non-causal reference. The same FADO model is used in every row. Smaller single-family variants, each trained and evaluated on one family, are compared in appendix § 10.
Table 2: FADO on held-out random SCMs from each of its eleven prior families, 200 SCMs per family, padded to 15, , per-column noise of appendix § 18.§ 1. The same model is evaluated in every row. Family names follow Table 20. The marginal baseline is .
| Prior family | Pearson | AUROC (nonzero) | MAE (zero) | Pearson |
| Linear | 0.95 | 0.99 | 0.02 | 0.62 |
| Mixed type | 0.89 | 0.97 | 0.07 | 0.61 |
| Polynomial nonlinear | 0.97 | 0.99 | 0.04 | 0.60 |
| Random MLP | 0.99 | 0.97 | 0.04 | 0.68 |
| Hidden confounder | 0.74 | 0.88 | 0.17 | 0.60 |
| MLP + hidden confounder | 0.90 | 0.90 | 0.09 | 0.62 |
| Binary treatment | 0.95 | 0.91 | 0.17 | 0.86 |
| Univariate polynomial | 0.95 | 0.94 | 0.02 | 0.60 |
| Additive spline | 0.92 | 0.83 | 0.03 | 0.67 |
| Gaussian process | 0.85 | 0.89 | 0.03 | 0.64 |
| Multi-level mixed type | 0.90 | 0.98 | 0.05 | 0.62 |
Table 2.
On five motifs (Figure 1; A: direct cause, B: observed confounder, C: mediator, D: target descendant, E: collider), FADO assigns to non-causal predictive features (B/D/E) while predictive baselines find non-zero effects; per-motif paired-bootstrap CIs and per-baseline behaviour are in Table 15 (appendix § 14).
Cross-family generalization (appendix § 22 and Figure 5), seed stability (Table 7), a heterogeneous- single model on (Table 8), and a scatter of vs (Figure 4) are reported in appendix § 10.
| Scale | Seed 0 | Seed 1 | Seed 2 | mean std |
| 0.951 | 0.960 | 0.945 | 0.952 0.008 |
Table 7. Seed robustness: same config, three seeds.
Figure 4. Predicted vs true across 500 held-out random SCMs ( linear non-Gaussian Laplace, ). Left: FADO , Pearson reported in the panel title; right: marginal-correlation baseline. FADO tracks the diagonal; marginal does not.
| Eval | Heterogeneous | Dedicated | Gap |
| 5 | 0.954 | 0.970 | −2 pts |
| 8 | 0.905 | 0.924 | −2 pts |
| 13 | 0.788 | 0.815 | −3 pts |
Table 8. Heterogeneous- single model, linear SCMs.

Figure 5. Cross-family generalization at , , 200 held-out SCMs per cell. Rows are the training prior family (the 7 single-family variants in Table 5 and Table 6 plus FADO); columns are the held-out eval family. Left: Pearson(model, true ). Right: AUROC for nonzero-feature detection. Red outlines and bold text mark cells where the training family matches the eval family; the foundation row has no diagonal cell because mixture is not an eval family.
Predictive Attribution and Causal Inference Baselines
We compare FADO against three families of baselines on 500 held-out SCMs per regime, summarized in Table 3. Causal discovery methods (DirectLiNGAM (Shimizu et al., [39]), NOTEARS (Zheng et al., [48]), PC (Spirtes and Glymour, [42]), GES (Chickering, [7]), and FCI (Spirtes et al., [43])) return a causal graph, from which is computed via (appendix § 26.§ 2).
| Linear | Nonlinear | Hidden | Mixed | |||||
| Gaussian | Non-Gaussian | Polynomial | MLP | confounder | type | |||
| Causal discovery | ||||||||
| LiNGAM | 0.39 | 1.00 | 0.99 | 0.97 | 0.57 | 0.31 | 0.76 | 0.73 |
| NOTEARS | 0.42 | 0.40 | 0.36 | 0.31 | 0.39 | 0.51 | 0.40 | 0.39 |
| PC | 0.48 | 0.47 | 0.36 | 0.16 | 0.45 | 0.44 | 0.41 | 0.44 |
| GES | 0.53 | 0.51 | 0.52 | 0.30 | 0.48 | 0.47 | 0.42 | 0.47 |
| FCI | 0.25 | 0.26 | 0.23 | 0.08 | 0.28 | 0.26 | 0.24 | 0.22 |
| Treatment effect (per-column){sup}†` | ||||||||
| DML | 0.50 | 0.52 | 0.46 | 0.38 | 0.49 | 0.57 | 0.49 | 0.52 |
| Causal Forest | 0.44 | 0.44 | 0.25 | 0.13 | 0.47 | 0.58 | 0.36 | 0.48 |
| Predictive attribution | ||||||||
| Marginal corr. | 0.62 | 0.62 | 0.59 | 0.52 | 0.58 | 0.64 | 0.55 | 0.62 |
| Multivariate regression | 0.44 | 0.44 | 0.26 | 0.13 | 0.46 | 0.59 | 0.36 | 0.47 |
| Permutation | 0.45 | 0.43 | 0.36 | 0.25 | 0.42 | 0.62 | 0.41 | 0.44 |
| SHAP | 0.52 | 0.51 | 0.44 | 0.34 | 0.50 | 0.64 | 0.48 | 0.53 |
| FADO | 0.79 | 0.98 | 0.97 | 0.89 | 0.98 | 0.98 | 0.83 | 0.93 |
Table 3. FADO vs. causal discovery, treatment effect, and predictive attribution baselines. Each entry is the Pearson between and across 500 held-out SCMs. Bold marks the column winner when its paired-bootstrap lead over the runner-up is significant at 95% (paired- CIs in appendix L). {sup}†` DML and Causal Forest were fit once per feature, with that feature playing the treatment role.
Per-column treatment effect estimators (Double Machine Learning Chernozhukov et al., [6] and Causal Forest Athey et al., [2]), both doubly-robust by construction, are designed for a known treatment, so we apply them per-column with each feature playing the treatment role in turn. Predictive attribution baselines (marginal correlation, linear regression, permutation importance, and path-dependent TreeSHAP via LightGBM) answer a predictive rather than an interventional question. We include them to quantify the difference between predictive and causal importance on a causal target. We also compare with Do-PFN and CausalPFN [36, 3]. These methods require designating a single binary treatment column so the evaluation is not entirely fair: we binarize and use them one feature at a time (appendix § 19).
FADO outperforms every other method on every column of Table 3, except where LiNGAM’s identifiability assumptions (linear non-Gaussian, no hidden confounders) hold. We also compare FADO with do-Shapley [23], a Shapley-value attribution of interventional effects that must be given the true SCM. FADO, which sees only the observational table, beats it on three of five families, while do-Shapley is better on the two hidden-confounder families (Table 9 in appendix § 10).
| FADO | do-Shapley† | Causal Shapley† | DSCM† | Marginal | Multivariate | |
| Linear | 0.99 | 0.95 | 0.59 | 0.97 | 0.62 | 0.41 |
| Nonlinear | 0.98 | 0.97 | 0.52 | 0.95 | 0.58 | 0.37 |
| MLP | 0.99 | 0.97 | 0.77 | 0.96 | 0.67 | 0.62 |
| Hidden confounder | 0.80 | 0.94 | 0.55 | 0.95 | 0.55 | 0.34 |
| MLP + hidden | 0.91 | 0.98 | 0.68 | 0.94 | 0.57 | 0.55 |
Table 9. FADO against Shapley methods given the true causal model, on held-out random SCMs (; 200 SCMs per family, 80 for the Monte Carlo families). Cells are Pearson between each method’s per-feature attribution and the true . †: do-Shapley [23] and Causal Shapley [15] are given the true SCM, both graph and mechanisms. DSCM is given the graph and learns the mechanisms from data. FADO sees only the observational data. Marginal and Multivariate are the associational baselines of Table 3.
To evaluate FADO and other methods’ ability to zero out non causal features, we construct a diverse suite of real and semi-synthetic experiments, including RCTs, physical systems (appendix § 16), and synthetic decoys with real covariates.
Semi-Synthetic Experiments: Real Covariates
We test FADO on real covariates with simulated outcomes. We take the covariates of the ACIC-2016 benchmark ([8]), 4802 rows of 58 features from a real study, sample 8 columns per dataset, and simulate an outcome from them, so that every column’s is known. We created 40 SCM instances per outcome family: linear, mixed nonlinear, and interaction. We consider four types of decoys: (1) a proxy variable is correlated with a true causal predictor; (2) a leak variable is a function of the outcome variable; (3) a pure noise variable is independent of the other variables; and (4) a confounder child variable is a noisy copy of a hidden confounder. In all cases, the true for these decoy variables is 0. We considered two regimes: no confounding and hidden confounders. We calculated false positives as mean at decoy positions; lower is better.
Our findings are in Table 4. FADO assigns nearly zero effect to pure-noise decoys (below 0.01), as does multivariate regression. FADO assigns smaller effects than marginal correlation to every decoy type, and it is the best method on the outcome leak in every setting. Multivariate regression assigns the smallest effects to proxies and confounder children, because conditioning on the true causes absorbs them, but it gives the outcome leak a large effect.
| Family | Noise F | Noise Mg | Noise Mv | Proxy F | Proxy Mg | Proxy Mv | Leak F | Leak Mg | Leak Mv | Conf-child F | Conf-child Mg | Conf-child Mv |
| No confounding | ||||||||||||
| Linear | 0.006 | 0.025 | 0.004 | 0.533 | 0.964 | 0.013 | 0.521 | 1.934 | 1.036 | — | — | — |
| Mixed nonlinear | 0.008 | 0.022 | 0.002 | 0.230 | 0.797 | 0.008 | 1.097 | 1.986 | 1.835 | — | — | — |
| Interaction | 0.004 | 0.025 | 0.005 | 0.275 | 0.711 | 0.016 | 0.464 | 1.928 | 1.610 | — | — | — |
| Hidden confounder | ||||||||||||
| Linear | 0.004 | 0.025 | 0.003 | 0.392 | 0.795 | 0.011 | 0.350 | 1.970 | 1.331 | 0.753 | 1.041 | 0.371 |
| Mixed nonlinear | 0.007 | 0.021 | 0.002 | 0.182 | 0.756 | 0.008 | 1.123 | 1.990 | 1.862 | 0.344 | 0.545 | 0.059 |
| Interaction | 0.004 | 0.026 | 0.004 | 0.197 | 0.507 | 0.014 | 0.423 | 1.965 | 1.690 | 0.813 | 1.143 | 0.225 |
Table 4. Mean at decoy positions on ACIC-2016 real covariates ([8]) (true ; lower is better), 40 SCM instances per outcome family. F = FADO, Mg = marginal correlation, Mv = multivariate regression. Confounder child decoys exist only in the hidden-confounder regime.
Real RCTs with Constructed Decoys
Section 5.3 uses real covariates with simulated outcomes. Here we use real outcomes. The Hillstrom e-mail marketing experiment ([17]) randomly assigned customers to receive a men’s merchandise e-mail or no e-mail, and recorded whether they visited the website. We augment its pre-treatment covariates and treatment with the same kinds of constructed decoys as in section 5.3: a proxy correlated with , a leak , and three pure-noise columns. FADO sees the augmented covariates and , with no indication of which column is the treatment. Success is defined as FADO estimating an effect for that matches the sign and magnitude of the RCT estimate, and estimating effects of approximately zero for , and the noise columns.
On the augmented Hillstrom feature matrix, we fit a LightGBM on and report path-dependent TreeSHAP via LightGBM’s pred_contrib ([27, 28]) on visit outcome3. This conclusion is not specific to the SHAP variant used: all variants we test behave alike on our benchmarks (appendix § 23). The classifier AUC is 0.998, driven entirely by the leak column , which SHAP scores as the most important feature. FADO also assigns a large effect (, 95% CI ), as does DR-Learner ([24]), run per-feature with RandomForest first/second/final stages and 2-fold cross-fitting (, , its largest other estimate). On the true (hidden) treatment FADO undershoots (, ), consistent with the magnitude shrinkage discussed in section 7. Per-feature estimates and bootstrap CIs are in Table 26 (appendix § 24).
| Feature | SHAP rank | DR-Learner | FADO | Truth | |
| Leak | #1 | 3.67 | +1.08 [+1.06, +1.09] | +1.03 [+0.67, +1.32] | 0 |
| Proxy | #7 | 0.07 | +0.02 [+0.01, +0.03] | +0.16 [+0.02, +0.36] | 0 |
| noise | — | 0.07 | −0.00 [−0.01, +0.01] | −0.02 [−0.08, +0.06] | 0 |
| noise | — | 0.09 | −0.00 [−0.01, +0.01] | −0.02 [−0.09, +0.05] | 0 |
| noise | — | 0.07 | −0.00 [−0.01, +0.01] | −0.02 [−0.09, +0.05] | 0 |
| #3 | 0.09 | +0.03 [+0.02, +0.03] | −0.01 [−0.06, +0.09] | +0.22 RCT | |
| newbie | #2 | 0.13 | −0.03 [−0.04, −0.03] | −0.16 [−0.34, −0.06] | real |
| history | #5 | 0.08 | +0.03 [+0.02, +0.04] | +0.22 [+0.05, +0.46] | real |
| recency | #9 | 0.05 | −0.03 [−0.04, −0.02] | −0.05 [−0.13, −0.00] | real |
| mens | — | — | +0.01 [+0.01, +0.02] | −0.04 [−0.11, +0.02] | real |
| womens | — | — | +0.01 [+0.01, +0.02] | −0.05 [−0.14, +0.02] | real |
Table 26. SHAP, DR-Learner, and FADO on Hillstrom hidden-treatment + decoys (, visit outcome). DR-Learner (Kennedy, [24]) is run per feature with RandomForest first / second / final stages and 2-fold cross-fitting; binary features used directly as treatment indicators. Subscripts on the two columns are row-bootstrap 95% CIs ( for DR-Learner with the lighter RF config, for FADO).
We further test on 124 real RCTs from RCT Bench ([38]), a public collection of participant-level trial data. We run FADO on each trial’s covariates and treatment, without decoys, and compare its estimate for the treatment column, , with the trial’s difference in means. Though not designed for this task, FADO attains a correlation of 0.85 with ground truth. CausalPFN, specifically designed for this task, achieves 0.96.
Uncertainty Quantification
We quantify FADO’s uncertainty with 100 random bootstrap resamples, reporting feature-wise standard deviation of . Though confidence intervals are not calibrated (Table 16), they do track error: Spearman correlation between and ranges from 0.65 to 0.90 across regimes (Table 17), and leaving out the most uncertain features sharply reduces error, both on a physical system and on real covariates with simulated outcomes (Figure 3).
Figure 3. FADO’s bootstrap uncertainty identifies its least accurate estimates. For each feature we compute the bootstrap standard deviation of , drop the given percentage of features with the largest (blue) or the same number of features at random (grey; shaded: sd over random draws), and report the mean error on the features kept. Error falls steadily when the most uncertain features are dropped and stays flat when features are dropped at random. is the Spearman correlation between and the error. Left: the Causal Chambers light tunnel, a physical system with measured intervention effects (appendix § 16). Right: real covariates with simulated outcomes (§ 5.3).
| Regime | 50 | 80 | 90 | 95 | Cause | Null | |
| Linear (identifiable) | 0.403 | 0.667 | 0.758 | 0.819 | 0.833 | 0.814 | 0.884 |
| Linear (non-ident.) | 0.165 | 0.285 | 0.337 | 0.388 | 0.246 | 0.447 | 0.889 |
| Hidden conf. (non-ident.) | 0.350 | 0.568 | 0.669 | 0.716 | 0.726 | 0.713 | 0.890 |
| MLP | 0.197 | 0.377 | 0.481 | 0.560 | 0.703 | 0.674 | 0.657 |
| Mixture | 0.276 | 0.472 | 0.577 | 0.651 | 0.710 | 0.728 | 0.775 |
Table 16. Empirical coverage (all features), nominal Coverage@95
| Regime | FADO bootstrap | FADO bootstrap sel. gain | ensemble | ensemble sel. gain | CausalPFN native | CausalPFN native sel. gain |
| Linear (ident.) | 0.896 | 0.209 | 0.864 | 0.183 | ||
| Linear (non-ident.) | 0.885 | 0.416 | 0.853 | 0.398 | — | — |
| Hidden conf. | 0.894 | 0.338 | 0.885 | 0.322 | 0.003 | |
| MLP | 0.648 | 0.111 | 0.516 | 0.090 | ||
| Mixture | — | — | — | — | — | — |
Table 17.
Related Work
Our work is situated in multiple literatures: explainability, causal inference and causal discovery, amortized inference, and prior-fitted networks. We mention foundational papers and those that are directly relevant to our approach. Permutation importance ([4, 10]) along with SHAP ([27, 22]) are widely adopted predictive attribution approaches, focused on explaining the predictions of a fitted model rather than the data-generating process. A method with an overlapping spirit to ours is learning to explain (L2E) ([40]), which trains a network to predict explanations directly, targeting a predictive rather than interventional functional.
Causal inference is a long-standing area within statistics (e.g. [18]), social science (e.g. [30]), and epidemiology (e.g. [14]), with a related and very rich literature on causal discovery in computer science (e.g. [32, 44, 5, 33]). Causal discovery takes a dataset and returns a causal graph. A separate, deep literature on per-unit treatment effect estimation ([6, 2, 24, 16]) targets (conditional) average treatment effects for a user-designated treatment, whereas FADO returns a length- vector of per-feature intervention contrasts in a single forward pass, with no designated treatment.
Prior-fitted networks (PFNs) ([31]) amortize Bayesian inference by training a model on synthetic datasets sampled from a prior, so that the trained network performs inference in-context at test time. For tabular data this paradigm is typified by TabPFN ([19]) and causal inference using PFNs has seen much recent work ([36, 3, 29, 35]). Causal Articulation Theory ([47]) is complementary to our work, because it can produce natural language explanations from FADO’s output.
Limitations
FADO learns the Bayes posterior mean of under the prior. Thus, its accuracy in matching the true causal feature profile depends on whether that profile is identifiable from tabular observational datasets (§ 4.3, A1–A3). For example, FADO’s performance suffers under linear Gaussian and hidden confounder data generating processes (Table 3) because observational datasets under this prior are consistent with multiple causal structures. We found that FADO provides a reliable feature ranking and identifies causal vs. non-causal features (including zeroing proxy/noise decoys), but it does not accurately predict point estimates of effect sizes. While the paper’s main FADO model is trained on tables of up to 15 features, we extend training to 64 features in appendix § 11.
Conclusion
We introduced a new method, FADO, motivated by the increasing use of machine learning in scientific domains, where predictive attribution methods are useful but can mislead on their own. We hope FADO becomes a default, baseline method for causal explanations, responsive to “what if?” questions, phrased interventionally. FADO’s implementation requires amortized inference through prior-fitted networks, building on the exciting “learning to explain” framework, which could be relevant for many application domains and types of data beyond tabular.
AI use statement
We used Claude (various models) extensively during this work, to write and run training, evaluation, and synthetic data generation code and baselines, to generate tables and figures from experimental results, to double check citations, and for LaTeX editing and formatting. We used ChatGPT (various models) to check proofs. Final text was written by authors, partly based on AI-generated summaries of experimental code and results. We take full responsibility for the correctness of the paper’s content.
Acknowledgments and Disclosure of Funding
This work was conducted as part of the EIT CDT in Fundamentals of AI, of which Jess Carr is a student. Funding was provided by the Ellison Institute of Technology. SF acknowledges support from the Oxford Martin School and Oxford Global Health.
Code
Code, trained checkpoints and the scripts that reproduce every table and figure are available at https://github.com/MLGlobalHealth/FADO. An interactive browser demo is at https://mlgh.net/fado-demo/.
Held-out Random SCMs: Extended Results
Table 5 compares FADO with smaller single-family variants (Table 21), each trained on one prior family and evaluated on 500 held-out SCMs from that family. Every row is therefore an in-distribution evaluation, and rows are not directly comparable. All rows use Laplace noise in every column, except the Gaussian control. The FADO row evaluates the FADO model on linear SCMs under this protocol. It is higher than the linear row of Table 2 (0.99 against 0.95 in Pearson ), which uses FADO’s per-column noise of appendix § 18.§ 1. Table 6 adds further variants: the Linear variant at 15k steps, the two Large architecture variants (, 4+4 layers, part of the architecture sweep in appendix § 13), the Gaussian control at , MLP + hidden confounder, and the replicates of the hidden-confounder and mixed-type families. All results in the paper use the FADO model except the tables comparing model variants (Table 5, Table 6, Table 8, Table 11 and Table 21).
| Training setting | FADO vs : Pearson | FADO vs : AUROC (nonzero) | FADO vs : MAE (zero) | Marginal baseline: Pearson |
| FADO | 0.99 | 1.00 | 0.01 | 0.62 |
| Linear , 15k steps | 0.92 | 0.98 | 0.06 | 0.59 |
| Linear , 20k steps | 0.82 | 0.93 | 0.12 | 0.48 |
| Linear , 30k steps | 0.74 | 0.89 | 0.15 | 0.43 |
| Gaussian control | 0.77 | 0.91 | 0.16 | 0.63 |
| Polynomial nonlinear | 0.97 | 0.99 | 0.04 | 0.62 |
| Random MLP | 0.99 | 0.98 | 0.04 | 0.64 |
| Hidden confounder | 0.86 | 0.95 | 0.10 | 0.57 |
| Mixed type | 0.88 | 0.97 | 0.08 | 0.62 |
Table 5. Single-family variants on held-out random SCMs, 500 per row.
| Training setting | FADO vs : Pearson | FADO vs : AUROC (nonzero) | FADO vs : MAE (zero) | Marginal baseline: Pearson |
| Linear , 15k steps | 0.97 | 0.99 | 0.03 | 0.64 |
| Large (, 4+4) | 0.99 | 1.00 | 0.01 | 0.64 |
| Large (, 4+4) | 0.90 | 0.97 | 0.07 | 0.48 |
| Gaussian control | 0.75 | 0.87 | 0.19 | 0.59 |
| MLP + hidden confounder | 0.92 | 0.93 | 0.06 | 0.62 |
| Hidden confounder | 0.75 | 0.91 | 0.15 | 0.47 |
| Mixed type | 0.70 | 0.87 | 0.18 | 0.48 |
Table 6. Further single-family variants on held-out random SCMs, 500 per row. Companion to table 5, with the same evaluation protocol.
| Variant | FADO | vs Marginal corr. | Marginal corr. | Multivariate regression |
| Linear , 15k | 0.94 [0.93, 0.96] | +0.06 [+0.04, +0.08] | 0.88 [0.86, 0.90] | 0.67 [0.65, 0.70] |
| , 15k | 0.94 [0.92, 0.95] | +0.05 [+0.03, +0.08] | 0.88 [0.86, 0.90] | 0.67 [0.65, 0.70] |
| , 20k | 0.92 [0.90, 0.93] | +0.04 [+0.02, +0.06] | 0.88 [0.86, 0.90] | 0.67 [0.65, 0.70] |
| Foundation | 0.95 [0.94, 0.97] | +0.07 [+0.05, +0.09] | 0.88 [0.86, 0.90] | 0.67 [0.65, 0.70] |
Table 11. Sachs published DAG, 30 random-coefficient draws. Pearson across all feature draws by FADO model variant; marginal and multivariate-linear baselines do not depend on the FADO variant (same data each row). Subscripts give paired-bootstrap 95% confidence intervals over the 30 draws (5,000 resamples). The column is the paired difference FADO − Marginal computed on each resample, so its CI accounts for the within-draw correlation between methods.
Table 5: Single-family variants on held-out random SCMs, 500 per row. Each variant from Table 21 is evaluated on its own training family, so rows are not directly comparable. The FADO row evaluates the FADO model on linear SCMs under the same protocol, with Laplace noise in every column.
Table 6: Further single-family variants on held-out random SCMs, 500 per row. Companion to Table 5, with the same evaluation protocol.
Table 7: Seed robustness: same config, three seeds.
We compare do-Shapley, which has access to the true graph, to FADO, which does not (Table 9).
Wider Tables
The FADO foundation model of the main text is trained on tables with features, padded to 15 columns. Nothing in the architecture depends on (§ 3.1), so the same network can be trained on wider tables. We trained two further models with the same architecture, optimizer, step count and prior families as Table 21, differing only in how table width enters training:
FADO . Following the width scheme of TabPFN [19], each training step draws a single width and samples a batch of SCMs at that width, with no padding. The number of rows per table is capped so that cells; at this still allows the full rows. Gradients are accumulated over two half-batches to fit the widest tables in 40 GB of GPU memory. Training took 77.7 h on one A100 (3.3× the model, whose cost scales roughly linearly in ).
FADO , fixed density. Identical, except that the graph prior holds the expected number of parents per node fixed as grows. The prior of Table 20 draws each earlier-to-later edge independently with probability 0.35 (0.40 for the MLP and GP families), so the expected in-degree is about 2.5 at but 5.5 at and 11 at , and the fraction of features with a nonzero effect stays near 0.4. For this variant scales every family’s edge probability by (to 0.158 at and 0.078 at ), which keeps the expected in-degree at its value, as TabPFN and TabICL [34] do by holding graph density independent of width. For the prior is unchanged. Training took 36 h on one L40S.
Table 10 evaluates all three models on 500 held-out mixture-prior SCMs at with rows and the heavy-tailed per-column noise of appendix § 18.§ 1, under both the paper’s graph density and the fixed density. The same 500 SCM draws are used for every model within a setting (fixed seed), so columns are paired. The model is applied unpadded at ; it has never seen a table wider than 15 columns.
| Eval | Density | Signal frac. | Metric | FADO | FADO | FADO , fixed | Baseline |
| 15 | paper | 0.373 | Pearson | 0.816 | 0.819 | 0.725 | 0.542 |
| 15 | paper | 0.373 | MSE | 0.151 | 0.149 | 0.215 | 0.452 |
| 15 | paper | 0.373 | AUROC (nonzero) | 0.885 | 0.889 | 0.836 | 0.634 |
| 32 | paper | 0.393 | Pearson | 0.564 | 0.623 | 0.492 | 0.340 |
| 32 | paper | 0.393 | MSE | 0.474 | 0.417 | 0.517 | 0.682 |
| 32 | paper | 0.393 | AUROC (nonzero) | 0.796 | 0.846 | 0.764 | 0.584 |
| 32 | fixed | 0.263 | Pearson | 0.776 | 0.806 | 0.702 | 0.496 |
| 32 | fixed | 0.263 | MSE | 0.091 | 0.076 | 0.110 | 0.217 |
| 32 | fixed | 0.263 | AUROC (nonzero) | 0.857 | 0.886 | 0.842 | 0.676 |
| 64 | paper | 0.391 | Pearson | 0.274 | 0.357 | 0.214 | 0.153 |
| 64 | paper | 0.391 | MSE | 2.355 | 2.210 | 2.408 | 2.524 |
| 64 | paper | 0.391 | AUROC (nonzero) | 0.757 | 0.838 | 0.732 | 0.590 |
| 64 | fixed | 0.207 | Pearson | 0.685 | 0.759 | 0.681 | 0.454 |
| 64 | fixed | 0.207 | MSE | 0.078 | 0.048 | 0.059 | 0.109 |
| 64 | fixed | 0.207 | AUROC (nonzero) | 0.804 | 0.855 | 0.815 | 0.679 |
Table 10. Wider tables: the paper’s FADO model () and two models trained on , evaluated on 500 held-out mixture-prior SCMs per row block (, heavy-tailed noise, seed-matched draws across columns). “Density” is the graph prior used to draw the evaluation SCMs: “paper” is the edge probability of Table 20; “fixed” holds the expected in-degree at its value (identical to “paper” at ). “Signal frac.” is the fraction of features with nonzero . The baseline column is the marginal-correlation reference of Table 3 for Pearson and AUROC, and the predict-zero estimator for MSE.
Training on tables of up to 64 features does not reduce accuracy at , and the resulting model beats the model at every wider setting (Table 10). The model still works beyond its training width: at on fixed-density graphs it reaches Pearson of 0.69, against 0.45 for the marginal baseline. Under the paper’s density, is hard for every model: each node has eleven parents in expectation, and the best model barely beats predicting in zero. In fixed-density graphs of the same width, both models recover most of their accuracy. A padded control, trained with the main text’s recipe, does about as well at under the paper’s density ( against 0.62 for the model).
Holding the graph density fixed during training did not help. The fixed-density model is worse than the model in every row of Table 10, including at , where the two training priors are identical ( of 0.73 against 0.82; seed-to-seed variation of the model is about 0.005), and it is worse than the model even on the fixed-density evaluation graphs it was trained on (0.68 against 0.76 at ). One possible explanation is that a sparse wide table has few nonzero effects, so most of its labels are zero and it carries less training signal. The browser demo (appendix § 9) uses the model trained on the paper’s density.
Sachs Published DAG
We take the DAG structure (11 nodes, 17 edges) from Sachs et al. [37]’s protein-signaling network and populate its edges with 30 random draws of linear non-Gaussian coefficients. Across all feature draws, every model variant beats marginal correlation (Table 11).
Architecture Ablations
We retrained the foundation model from scratch three times, each time removing one component and keeping every other setting (150k steps, same prior, seed 0), and evaluated each like the full model: 200 held-out linear SCMs at padded to 15 columns.
Without feature axis attention or the type embedding (the only signal distinguishing the column from feature columns), the model learns nothing; without sample axis attention it still learns, but less accurately (Table 12).
| Configuration | Pearson | AUROC (nonzero) | Change in Pearson | |
| FADO (all components) | 0.95 [0.94, 0.96] | 0.904 | 0.991 | — |
| − sample axis attention | 0.73 [0.66, 0.79] | 0.527 | 0.887 | −23% |
| − feature axis attention | 0.00 [−0.13, 0.14] | −0.000 | 0.509 | −100% |
| − type embedding (feature/Y) | −0.05 [−0.18, 0.09] | −0.000 | 0.482 | −105% |
Table 12. Architecture ablations. Each row removes one component from the FADO foundation model and retrains from scratch with the same recipe. All rows are evaluated on the same 200 held-out linear SCMs ( padded to 15, heavy-tailed noise). Change in Pearson is relative to the full model. Pearson subscripts are Fisher- 95% CIs at . Each ablation’s CI is disjoint from the full model’s.
Inference-time type-flip diagnostic (Table 13): the retrain ablation could in principle reflect the model relying on the fixed position- readout convention rather than on the type embedding signal. Holding the foundation model fixed, we re-evaluate on the same held-out set after substituting the type-id vector passed to the type-embedding lookup. With all-zero or mis-pointed type IDs, Pearson collapses (Table 13). The position- convention carries no signal at inference time, so we concluded that the trained model relies on the type embedding to identify the target column.
| Type-id config | Pearson() | MAE (zero) | Pearson( |
| Normal (col marked) | 0.991 | 0.012 | 1.000 |
| All zero (no column marked) | 0.295 | 0.105 | 0.298 |
| Mispointed (col 0 marked) | −0.000 | 0.299 | −0.001 |
Table 13. Inference-time type-id substitution on the trained foundation model (no retraining). 500 held-out random SCMs, . “Mispointed” = type-id vector with col 0 marked as target and col left as feature. “All zero” = no column marked. The position- readout convention is preserved in all rows; only the type-embedding input changes.
Table 12: Architecture ablations. Each row removes one component from the FADO foundation model and retrains from scratch with the same recipe. All rows are evaluated on the same 200 held-out linear SCMs ( padded to 15, heavy-tailed noise). Change in Pearson is relative to the full model. Pearson subscripts are Fisher- 95% CIs at . Each ablation’s CI is disjoint from the full model’s.
Table 13: Inference-time type-id substitution on the trained foundation model (no retraining). 500 held-out random SCMs, . “Mispointed” = type-id vector with col 0 marked as target and col left as feature. “All zero” = no column marked. The position- readout convention is preserved in all rows; only the type-embedding input changes.
Motif Specifications and Results
The five handcrafted DAG motifs used in § 5.1 stress prototypical predictive-vs-causal failure modes: each motif has a “key feature” (coloured in Figure 1) which is non-causal but predictive in B/D/E (so despite high marginal correlation with ), and both causal and predictive in A/C. We evaluate FADO and baselines on 50 random-coefficient instances of each motif, reporting the mean across instances with paired-bootstrap 95% confidence intervals (Table 15). FADO correctly assigns near-zero to the non-causal but predictive features in B, D, and E, while marginal correlation reports a strong effect on these features. Multivariate regression and SHAP succeed on B, where conditioning on the observed confounder removes the spurious signal, but they fail on D and E, where the spurious feature is downstream of and not in the conditioning set.
Table 14: Five motif data-generating processes. “ entries” are structural-matrix coefficients; each motif samples edge weights from with random sign unless noted.
| Motif | DAG | Expected |
| A: direct cause | ||
| B: observed confounder | ||
| C: mediator chain | ||
| D: target descendant | ||
| E: collider |
Table 14. Five motif data-generating processes. “ entries” are structural-matrix coefficients; each motif samples edge weights from with random sign unless noted.
Table 15: Motif stress tests (50 random-coefficient instances per row, edge weights drawn from with fixed positive sign; FADO foundation model). The SHAP column is path-dependent TreeSHAP via LightGBM (§ 5.2), signed by marginal correlation and rescaled by . Bold cells: model correctly zeros a non-causal but predictive feature. Subscripts on Model are paired-bootstrap 95% CIs over the 50 instances (5,000 resamples).
Uncertainty: Coverage and Estimator Comparison
Table 16: Bootstrap-interval coverage on held-out SCMs: empirical coverage of nominal 50/80/90/95% intervals (all features), coverage at 95% split by true-cause vs. null features, and Spearman . The intervals are not calibrated, under-covering throughout. Coverage is lowest for true causes in the non-identifiable linear regime (0.25 at nominal 95%). The Spearman correlation between and absolute error is always at least 0.66.
Table 17: Uncertainty quality by estimator: Spearman and selective-prediction gain for single-model bootstrap , a deep ensemble, and CausalPFN’s native posterior uncertainty (its per-column protocol; see appendix § 19).
Causal Chambers: Real Physical Interventions
We evaluate on the light tunnel device of the Causal Chambers [11]. This physical system is accompanied by a causal graph, in which every actuator can be independently set, with ground truth effects measured directly from experiments. We use the uniform reference experiment (); ground truth is computed at from the intervention data. Table 18 reports per-feature results for the six configurations, whose sensor decoys (e.g. , correlation 0.90 with the outcome, true ) are near-deterministic functions of several actuators.
| Feature | FADO | SHAP | Marginal | Backdoor | |
| red | 0.515 | 0.074 | 0.127 | 0.523 | 0.523 |
| green | 0.980 | 0.463 | 0.374 | 0.929 | 0.929 |
| blue | 1.701 | 0.658 | 0.688 | 1.584 | 1.584 |
| 0.036 | 0.012 | 0.004 | 0.015 | 0.015 | |
| 0.050 | 0.001 | 0.004 | 0.017 | 0.017 | |
| 0.003 | 0.004 | 0.009 | 0.009 | ||
| 0.008 | |||||
| current{sup}†` | 0.000 | 0.422 | 0.009 | 1.345 | |
| angle_1{sup}†` | 0.000 | 0.012 | 0.004 | 0.014 | |
| ir_2{sup}†` | 0.000 | 0.922 | 0.136 | 1.375 | 0.031 |
Table 18. Causal Chambers (light tunnel, vis1 config): per-feature vs. measured ground-truth . † marks DAG-null sensor decoys (true ).
Because the chamber randomizes every actuator, there is no confounding and regression recovers the effects accurately. Thus, this method serves as a sanity check on whether methods can avoid attributing effects to non-causal passive sensors. TreeSHAP ranks a non-causal sensor most highly, while a backdoor adjustment using the published graph correctly suppresses it. FADO also assigns these sensors nonzero mass because they are almost deterministic functions of the actuators, but FADO’s uncertainty measure flags exactly these columns (§ 5.5).
Semi-Synthetic Real-X (UCI covariates)
In this experiment, we test FADO on real covariates with synthetic outcomes generated by a known SCM with a designated causal subset of features . We inject the same proxy / leak / noise decoys as in § 5.4 to isolate the real-covariate-distribution effect from the real-outcome effect. We achieve this property since is known by construction and the held-out Pearson and decoy false-positive rates remain well-defined. We test five settings: diabetes and california_housing each crossed with {linear, mixed nonlinear} outcome, plus abalone with an interaction outcome (30 SCM instances per setting). We evaluate FADO on each setting.
The results are summarized in Table 19. In the linear-outcome settings, the multivariate regression baseline wins the Pearson column as expected since it’s the correct model, but it collapses on the mixed nonlinear settings. Moreover, FADO assigns smaller spurious effects to the decoys than marginal correlation does, except on one noise column where both are near zero.
| Config | Pearson FADO | Pearson Marginal corr. | Pearson Multivariate regression | Proxy FADO | Proxy Marginal corr. | Noise FADO | Noise Marginal corr. |
| diabetes / linear | 0.68 | 0.50 | 0.69 | 0.54 | 0.96 | 0.00 | 0.07 |
| diabetes / mixed nonlin. | 0.70 | 0.45 | 0.10 | 0.33 | 0.64 | 0.00 | 0.07 |
| california / linear | 0.68 | 0.52 | 0.74 | 0.35 | 0.97 | 0.00 | 0.01 |
| california / mixed nonlin. | 0.48 | 0.18 | 0.03 | 0.12 | 0.74 | 0.02 | 0.01 |
| abalone / interaction | 0.66 | 0.23 | 0.43 | 0.19 | 1.09 | 0.01 | 0.03 |
Table 19.
Table 19: Semi-synthetic real-X. Pearson between and across 30 SCMs per row at ; Proxy and noise columns are mean on proxy / pure-noise decoys (lower is better, 0 is truth). Multivariate regression beats Pearson on the linear settings but collapses on the nonlinear ones; FADO assigns smaller spurious effects to the decoys than marginal correlation in all but one cell. Bold as in Table 3.
Architecture and Training Details
Table 20: SCM families in the training prior of the FADO foundation model, with their relative weights. “Exact ” = closed-form label; “MC ” = Monte Carlo estimate of averaged over samples from the post-intervention SCM. Random DAGs use edge probability 0.35 (0.40 for the random MLP, MLP + hidden and Gaussian process families). The linear family and those derived from it draw signed edge magnitudes . Noise is drawn per column as in appendix § 18.§ 1.
Layers: each layer applies feature axis attention (within each row, the cells attend to each other) and then sample axis attention (within each column, the cells attend to each other), using post-norm transformer blocks with feed-forward factor 2. Width, heads and number of layers for each model are in Table 21.
Value projection: single linear layer applied per cell of .
Type embedding: learned vector added to the value embedding; feature columns share one type, the column has the other.
Readout: the final cell embeddings are averaged over samples within each column, then a linear layer is applied at feature positions.
Training cost on one H100: s/step, 15 h for the 150k steps of the foundation model.
Per-column noise families
The FADO foundation model draws the noise family independently per column. For each feature column , a family is sampled uniformly from the seven listed in Table 22, the raw values are drawn with the indicated parameters, and the column is then centred to mean 0 and rescaled to unit sample variance. The post-hoc rescaling matters for the families whose parametric variance depends on a random shape parameter (signed log-normal, bimodal Gaussian mixture). Across a -feature SCM, different columns therefore typically have different marginal shapes.
| Family | Raw draw | Random parameters |
laplace | — | |
gaussian | — | |
student_t3 | — | |
lognormal_signed | , sign-flipped w.p. 0.5 | |
exp_signed | , Rademacher | — |
gauss_mixture_bimodal | ||
skewnormal | , |
Table 22. Per-column noise families used by the FADO foundation model. For each feature column independently, a family is drawn uniformly, then the column’s noise is sampled with the indicated parameters and rescaled to unit empirical variance. Random parameters are redrawn per column.
Using Interventional PFNs as Per-Feature Causal Estimators
We compared our method to CausalPFN [3] and Do-PFN [36]. However, neither of these models were designed for the estimation of feature intervention effects. To apply them, we designate each feature as the treatment variable, one by one, and ask the interventional PFNs to estimate a causal effect. More specifically, for each setting and each feature column :
median-binarize to a pseudo-treatment so it matches the binary- prior baked into both released models;
treat the remaining columns of as the conditioning set, which includes downstream descendants of , violating the pre-treatment-covariates assumption of both priors;
for CausalPFN, call
ATEEstimatoron ; for Do-PFN, swap into column 0 of and integrate the predicted conditional interventional distribution to obtain averaged over rows (the canonical Do-PFN-CATE reduction);rescale to per-- units for comparability with FADO’s standardized contrast.
CausalPFN and Do-PFN perform similarly in this setting and require similar overhead. FADO returns all effects in a single forward pass. For timings, see appendix § 21. Both the CausalPFN and Do-PFN runs were performed on a single RTX 5000 Ada, with total compute under 10 minutes across all 8 settings.
| Setting | CausalPFN‡ | Do-PFN‡ | FADO |
| Linear non-Gaussian | 0.476 | 0.447 | 0.99 [0.99, 1.00] |
| Linear non-Gaussian | 0.308 | 0.355 | 0.97 [0.96, 0.99] |
| Linear non-Gaussian | 0.153 | 0.288 | 0.86 [0.81, 0.92] |
| Linear Gaussian | 0.468 | 0.478 | 0.77 [0.71, 0.82] |
| Polynomial nonlinear | 0.628 | 0.585 | 0.98 [0.97, 0.99] |
| Random MLP | 0.678 | 0.809 | 0.98 [0.96, 0.98] |
| Hidden confounder | 0.463 | 0.398 | 0.85 [0.80, 0.89] |
| Mixed type | 0.498 | 0.385 | 0.93 [0.88, 0.96] |
Table 23. Comparison of CausalPFN, Do-PFN, and FADO, computing Pearson correlation (, ) on the same 8 regimes as Table 3, 100 held-out SCMs per row, . The CausalPFN and Do-PFN columns are per-column applications of methods designed for a single user-designated binary treatment (§ 6); see the four adaptations enumerated above. FADO is highest on every row.
Paired-Δ Confidence Intervals for the Baseline Comparison
This appendix accompanies Table 3.
In the main text, we only had space to include point estimates. Confidence intervals are shown below.
| Linear Gauss. | Linear Non-Gaussian | Linear Non-Gaussian | Linear Non-Gaussian | Nonlinear Poly. | Nonlinear MLP | Hidden conf. | Mixed type | |
| Causal discovery | ||||||||
| LiNGAM | 0.40 [0.36,0.44] | −0.01 [−0.03,0.00] | −0.03 [−0.04,−0.01] | −0.08 [−0.10,−0.07] | 0.41 [0.36,0.46] | 0.67 [0.63,0.71] | 0.07 [0.04,0.11] | 0.19 [0.15,0.24] |
| NOTEARS | 0.37 [0.33,0.42] | 0.58 [0.54,0.62] | 0.60 [0.57,0.64] | 0.57 [0.54,0.61] | 0.59 [0.54,0.63] | 0.47 [0.42,0.52] | 0.43 [0.39,0.48] | 0.53 [0.49,0.58] |
| PC | 0.31 [0.26,0.36] | 0.51 [0.46,0.57] | 0.61 [0.57,0.65] | 0.72 [0.68,0.76] | 0.53 [0.48,0.59] | 0.55 [0.49,0.60] | 0.42 [0.36,0.48] | 0.48 [0.43,0.54] |
| GES | 0.26 [0.19,0.33] | 0.47 [0.42,0.53] | 0.45 [0.40,0.50] | 0.58 [0.54,0.62] | 0.50 [0.45,0.55] | 0.51 [0.46,0.57] | 0.42 [0.36,0.47] | 0.46 [0.40,0.51] |
| FCI | 0.54 [0.48,0.60] | 0.73 [0.67,0.79] | 0.74 [0.70,0.78] | 0.80 [0.71,0.82] | 0.70 [0.64,0.76] | 0.73 [0.67,0.78] | 0.59 [0.51,0.63] | 0.70 [0.65,0.76] |
| Treatment effect (per-column)† | ||||||||
| DML | 0.29 [0.25,0.32] | 0.46 [0.42,0.49] | 0.50 [0.47,0.53] | 0.51 [0.48,0.54] | 0.49 [0.45,0.52] | 0.41 [0.38,0.44] | 0.34 [0.30,0.37] | 0.41 [0.37,0.44] |
| Causal Forest | 0.35 [0.30,0.39] | 0.54 [0.49,0.59] | 0.71 [0.67,0.76] | 0.75 [0.72,0.79] | 0.50 [0.46,0.54] | 0.40 [0.37,0.43] | 0.47 [0.42,0.51] | 0.45 [0.40,0.50] |
| Predictive attribution | ||||||||
| Marginal corr. | 0.17 [0.15,0.19] | 0.36 [0.34,0.39] | 0.37 [0.35,0.40] | 0.37 [0.34,0.39] | 0.40 [0.37,0.43] | 0.34 [0.31,0.37] | 0.28 [0.25,0.31] | 0.31 [0.28,0.34] |
| Multivariate regression | 0.35 [0.30,0.39] | 0.54 [0.49,0.59] | 0.71 [0.66,0.75] | 0.76 [0.72,0.79] | 0.52 [0.48,0.55] | 0.39 [0.36,0.42] | 0.47 [0.42,0.51] | 0.45 [0.40,0.50] |
| Permutation | 0.34 [0.30,0.37] | 0.55 [0.51,0.55] | 0.61 [0.56,0.65] | 0.63 [0.60,0.67] | 0.55 [0.51,0.59] | 0.36 [0.33,0.40] | 0.42 [0.37,0.45] | 0.49 [0.44,0.53] |
| SHAP | 0.27 [0.24,0.30] | 0.47 [0.44,0.50] | 0.53 [0.50,0.56] | 0.55 [0.52,0.58] | 0.48 [0.44,0.51] | 0.35 [0.32,0.37] | 0.35 [0.32,0.40] | 0.39 [0.36,0.43] |
Table 24. Paired-Δ Pearson , FADO minus each baseline, on the same 8 regimes and SCM stream as Table 3. Δ = Pearson(FADO) − Pearson(baseline) with 95% percentile-bootstrap CIs from 5,000 resamples of the SCM index, paired so both methods see the same resampled SCMs. , .
Per-Call Wallclock Comparison
FADO, as an amortized method, returns all per-feature effects in a single forward pass (1 ms on GPU regardless of ), while per-feature CATE estimators (DoubleML, Causal Forest) scale linearly in because each feature triggers an independent fit/inference. LightGBM-SHAP, DoubleML, Causal Forest pays the per-dataset training cost on every new dataset.
The FADO foundation model (last row of Table 21, 14.2M parameters) trained in 15 h 18 min on a single NVIDIA H100 GPU (367 ms/step over 150,000 steps; three seeds at 55,077 s, 55,136 s and 55,116 s). The single-family variants in Table 21 (15k–50k steps) are far cheaper: the largest, Linear at 50k steps, trained and was evaluated in 59 min on one H100. Per-call timing reported in Table 25 is the median of 20 repetitions on fresh linear non-Gaussian SCMs at (Causal Forest at CPU was capped at 5 repetitions for budget; all other cells use 20).
| Method | Cost type | , CPU (s) | , GPU (s) | , CPU (s) | , GPU (s) |
| Marginal corr. | inference | 0.0004 | — | 0.0004 | — |
| Multivariate regression | inference | 0.0001 | — | <0.0001 | — |
| LightGBM-SHAP | fit + explain | 0.041 | — | 0.080 | — |
| DoubleML (LinearDML) | fit + explain | 0.99 | — | 3.34 | — |
| Causal Forest | fit + explain | 5.27 | — | 22.95 | — |
| FADO (ours) | inference (amortized) | 0.98 | 0.020 | 1.01 | 0.020 |
Table 25. Per-call wallclock to produce the length- vector of per-feature causal contrasts for one fresh dataset. The FADO row is amortized: foundation pretraining is paid once and reused across all datasets. “Fit + explain” rows train a fresh estimator on each input table. CPU column is a single-thread laptop; GPU column is 1 L40s. Dashes denote cells we did not measure (predictive and fit-then-explain methods are CPU-native).
“inference” rows pay only a forward pass per dataset. “fit + explain” rows include training the per-dataset estimator (LightGBM regressor; LinearDML / CausalForestDML per feature) on the input table before producing attributions.
At , FADO on GPU is roughly 1,100 faster than Causal Forest on CPU at producing the length- contrast vector.
The FADO cells time the foundation model (, 6 layers, 8 heads) with the input padded to 15 columns, as in the synthetic evaluations, so the and costs are the same. The FADO CPU cells were measured on a different single-thread laptop from the baseline CPU rows.
Cross-Family Generalization
Our main FADO model is trained on a mixture prior. As a sensitivity analysis, we investigated single-family ablations. In Figure 5 we consider 8 model variants (the 7 single-family variants in Table 5 and Table 6 plus FADO). On the diagonal, where train and evaluation families match, performance is high, but off-diagonal performance does not drop too drastically. The mixture foundation FADO model outperforms single family models. The Gaussian evaluation column is the hardest, which makes sense from theory.
SHAP Variants and the Predictor-to-SCM Gap
Table 1 summarizes how the causal feature profile relates to existing per-feature quantities used for attribution and explanation: each estimator answers a different question, and only is an interventional contrast.
The distinction between interventional and conditional SHAP is important for explaining a fitted predictor, but it does not by itself identify the SCM that generated the data. Janzing et al. [21]’s “interventional SHAP is consistent with do-calculus” claim is a claim about the input distribution of the predictor : equivalently, about a flat causal graph in which every feature is a root node and there are no edges between features. Under , marginal sampling of and coincide, so the marginal-baseline expectation is a well-defined do-quantity.
That flat graph is generally not the real SCM that produced the training data. When the true mechanism has , marginal-sampling while holding fixed can produce pairs that occur in no observational or interventional distribution under the SCM [21, 1]. Sundararajan and Najmi [45] compare the BShap, RBShap and CES variants. Their analysis concerns the predictor’s input model and does not provide a way to recover SCM-level edges from observations of alone. Aas et al. [1] likewise frame the interventional-vs-conditional choice as a question about feature dependence in the observational distribution, not about identification of the data-generating mechanism.
These variants all perform predictive attribution for the fitted model, rather than causally explaining the data-generating process. Shapley methods that do target the data-generating process, such as do-Shapley, require the causal graph (Table 9). The choice among these variants also makes little difference in our experiments: path-dependent TreeSHAP, interventional TreeSHAP, and kernel SHAP agree closely on held-out SCMs (Pearson within 0.05–0.09 of one another across five families), and all three assign the outcome leak their largest decoy score (0.37–0.70; true ). Counterfactual Shapley values (Lee et al. [26]) are defined with respect to a known SCM rather than a fitted predictor, so there is no data-only implementation to compare to. The variants can be faithful to their respective predictive targets ( or the observational manifold) while still answering a different question from the interventional feature effect .
Hillstrom Hidden-Treatment Per-Feature Estimates
Full per-feature numbers from the Hillstrom hidden-treatment + decoys experiment of § 5.4, which uses the MineThatData e-mail marketing dataset (Hillstrom, [17]).
Anchor Audit: Is the Contrast a Faithful Summary?
FADO returns a single per-feature scalar trained to match the symmetric population contrast . This anchor pair has a known degeneracy: for any mechanism that is even-symmetric in around the origin (e.g. ), even though intervening on does move . We check whether this affects five real datasets: Hillstrom, LaLonde, Criteo, Sachs and Tübingen.
Method. Per feature in each dataset, no model retraining:
Standardize to zero mean / unit variance and likewise.
Estimate at the fixed grid via Nadaraya-Watson with a Gaussian kernel (bandwidth 0.4 in standardized units), and an effective-sample-size guard to keep heavy-tail outliers from dominating any single anchor.
In parallel, compute a rank-based crosscheck at . Each rank bin has equal sample count by construction, so the rank-based summary is robust to heavy tails.
Flag feature when both and . Two-sided in standardized units.
The audit is observational. estimates , not . Confounding biases the symmetric contrast and the curve range identically, so the comparison is unaffected; a flagged feature is not necessarily a flagged causal effect.
Result. Across the five real datasets, 3 of 149 feature-level audits flag the symmetric-contrast blind spot (Table 27).
| Dataset | Audits | Flagged | |
| Hillstrom | 64,000 | 19 | 0 |
| LaLonde | 614 | 9 | 0 |
| Criteo | 20,000 | 13 | 1 (f2) |
| Sachs | 8,000 | 10 | 0 |
| Tübingen | varies | 99 | 2 (pair0024, pair0094) |
| Total | — | 149 | 3 () |
Table 27. Anchor audit across five real datasets. Flagged features have and rank-based curve range . Hillstrom and Criteo column counts include the signed treatment plus one-hot encodings of categorical covariates; Tübingen counts only the 99 two-variable pairs.
The three flagged cases have non-monotone observational shapes. Two are inverted-U and one is a threshold at the negative tail:
Criteo f2. Rank-based curve . , rank range 0.68. An asymmetric anchor pair already shows . The curve drops above the median. The covariate is anonymised, so we make no causal claim, only that its observational shape is not symmetric.
Tübingen pair0024. Gaussian-anchor curve . Threshold-like at the negative tail: only the lowest- bin produces a non-trivial response. , rank range 0.27.
Tübingen pair0094. Gaussian-anchor curve . Inverted-U. , rank range 0.81.
Figure 6 plots against the rank-based curve range over all 149 feature audits, colour-coded by dataset; the flag region is the shaded strip on the left. Most features sit on or above the line: symmetric contrast and rank-based range agree, i.e. the effect is monotone and the symmetric pair captures it. Sachs is the clearest case. Every protein lies far from the flag region because the benchmark SCM is linear by construction. Tübingen, despite being curated for nonlinear cause-effect relationships, mostly contains monotone-nonlinear pairs (saturating, log-link), which the symmetric pair handles fine; only the non-monotone pairs are flagged.
Figure 6. Per-feature against the rank-based curve range across the five real datasets (149 feature audits). Shaded strip on the left is the flag region (small symmetric contrast and large rank range). Three features are flagged out of 149.
Figure 7. Response curves for the three flagged features. Solid lines are Nadaraya-Watson estimates at the Gaussian-anchor grid (in standardized units); dashed lines are the rank-based crosscheck at plotted at the corresponding standard-normal quantiles. The thin vertical dotted lines mark , the only two anchors the symmetric pair reads.
Reading the result. This is mostly a negative result and we frame it as such.
The symmetric-contrast head is a defensible default on the datasets in this paper: of feature audits across 5 datasets show no blind spot.
The known degeneracy on symmetric nonlinear mechanisms does occur in practice, but rarely. We found three instances in 149 audits. When it does occur, the pattern is a peak-and-decay or threshold shape.
A natural extension is to widen the head from a single anchor pair to a -anchor curve readout at , of which the existing is one entry. We do not pursue this in the present paper because the empirical incidence here is too low to motivate the extra parameters; we flag it as the right next step when a target dataset shows Criteo-f2- or pair0024-style structure.
Further Details on Theoretical Results
Equivariance of the causal feature profile
The causal feature profile is equivariant under relabeling of feature columns. Let be a permutation of , and write and for the SCM and dataset with features relabeled by , leaving the outcome unchanged. Then
The estimator constructed in section 3 respects this equivariance by construction.
Linear continuous SCM closed-form label
For the linear continuous SCM family, the causal feature profile admits a closed-form label. Let collect the observed variables, with feature corresponding to node and outcome corresponding to node . Suppose
where is the coefficient from parent to child , and let . If the intervention levels are expressed in standardized units of , then the standardized outcome contrast is
For the families with nonlinear mechanisms, is estimated by Monte Carlo draws from the post-intervention SCM (section 3.2).
Reduction to marginal correlation
We note that eq. (10) reduces to marginal correlation in the exogenous one-feature linear case. Let and be population-standardized to unit variance, with the contrast , and
Equivalently, the only contribution to the covariance between and is the total linear effect of on ; in the single-edge case , this total effect is the direct coefficient . Then and , so
We use marginal correlation as a baseline in section 5.2. It will only recover the correct causal effect under the assumptions of exogeneity and linearity, while it will fail under confounding, reversed direction, target-descendant leakage, collider or selection effects, etc.
Formal assumptions and technical preliminaries
This subsection collects formal definitions and assumptions referenced informally in section 4. Notation matches that section: is a data-generating SCM with observational law and causal profile ; ; .
Bounded Lipschitz metric. We metrize weak convergence of observational laws on by the bounded Lipschitz metric
Effective prior support and equivalence classes. Let denote an effective prior support, with and for -almost every . The observational equivalence class of inside this support is
The feature profile is identifiable at under if for all . This is weaker than identifying the full graph or the full SCM: observationally equivalent SCMs may differ structurally while agreeing on the causal feature profile.
Identifiability assumptions (A1)–(A3).
(A1) Observational posterior consistency. Let denote the map . Then
where denotes weak convergence of probability laws on .
(A2) Local continuity of the profile. For every , there exists such that
(A3) Bounded profile. There exists such that
(A1) is a standard posterior consistency condition for observational laws which typically holds in well-specified models under Kullback–Leibler support and testing conditions. (A2) is the key identifiability assumption: continuity of the causal profile at when SCMs are compared through their observational laws. (A3) is a boundedness condition used to pass from posterior concentration of to convergence of posterior means; it is imposed for simplicity and can be weakened to posterior uniform integrability.
Equivalence-class disintegration. Assume the prior admits a regular conditional distribution over SCMs given their observational law, restricted to the effective support , and write
Let be the induced distribution of causal feature profiles among SCMs observationally equivalent to .
(A4) Equivalence-class posterior convergence. For ,
where denotes weak convergence of probability laws on . This states that, after the observational law has been learned, the posterior over causal profiles converges to the prior-induced distribution over causal profiles inside .
Risk decomposition. For finite , let and
By the squared-loss Pythagorean identity, every measurable estimator satisfies
Thus is the squared-loss risk that remains after predicting the posterior mean exactly.
Proof of Proposition 1
Proof. Condition on and write . For any vector ,
The second term is independent of , and the first term is uniquely minimized at . Fix a permutation . By invariance of the prior and by the corresponding relabeling of samples, the joint law of the SCM and dataset is invariant under simultaneous feature relabeling:
Therefore conditioning on a relabeled dataset relabels the posterior over SCMs. Equivalently, for any integrable function ,
for almost every dataset .
Taking and using the equivariance of the causal feature profile,
we obtain
Thus
almost surely.
Proof of Proposition 2
Proof. Write
All convergence statements below are with respect to the sampling law .
Fix . By (A2), there exists such that, for every ,
Thus, on ,
Since for -almost every ,
for -almost every . The right-hand side converges to zero in -probability by (A1), proving eq. (7).
Now assume also (A3). Let
For any ,
The final inequality uses (A3) and : on ,
By eq. (7), the posterior probability in the last display converges to zero in -probability for every fixed . Let and choose . If , then the claim is immediate. Otherwise,
which converges to zero by eq. (7). Hence
Empirical Illustration of prop:profile-consistency
Sample-size scaling of FADO under an identifiable prior (linear non-Gaussian, blue) and a non-identifiable prior (linear Gaussian, red), where the direction of edges cannot be determined from observational data, is given in Figure 8.
Figure 8. Sample-size scaling of FADO under an identifiable prior (linear non-Gaussian, blue) and a non-identifiable prior (linear Gaussian, red). Each point evaluates the prior-matched model on its own held-out prior across 150 SCMs at . By proposition 2 as grows in the identifiable case; under non-identifiability, the Bayes action converges to the average of causal profiles in the equivalence class, which need not match for any individual SCM in that class.
Non-identifiability and residual causal risk
When the causal profile is not identifiable, infinite observational data reveal but not which SCM in the equivalence class generated the data. The prior induces a distribution over causal feature profiles among SCMs observationally equivalent to (formal disintegration in appendix § 26.§ 4). Define and . The causal profile is identifiable at under the prior exactly when is a point mass. Then . Otherwise , measuring residual variation in among observationally equivalent SCMs.
For finite , let and . The squared-loss Pythagorean identity decomposes , so is the irreducible portion of the risk after predicting the posterior mean exactly (eq. (17)).
We can now prove the following proposition which characterises the asymptotic behaviour of the Bayes action under non-identifiability – we use an additional regularity assumption (A4), essentially requiring that the prior does not have a discontinuity in how it distributes causal profiles across nearby observational equivalence classes.
Proposition 3 (Limit under non-identifiability). Assume (A3) and (A4). Then
both in -probability. Moreover, for every observational estimator , the equivalence-class averaged risk
satisfies
Thus, in non-identifiable regimes, the posterior mean converges to the prior-weighted mean of the causal profiles compatible with . This is the squared-loss Bayes action under the pretraining prior, but it need not equal the causal profile of any particular SCM in the equivalence class compatible with .
Example: Two observationally equivalent SCMs. Suppose and satisfy , but . For any estimator based only on observational samples,
If the prior assigns equal mass to and , then and , so the posterior mean attains eq. (22) in the equivalence-class averaged sense.
The one-dimensional instance of this example is illustrated in Figure 9 and Table 28. Let be with standardized effect , and let be with . These SCMs have the same observational covariance but different intervention effects. With equal prior weights, the posterior mean is , and the residual squared error is . For , this gives 0.36, matching the no-free-lunch value in Table 28. Disagreement under hidden confounding, Gaussian direction ambiguity, or other observational equivalences is therefore not merely a failure of amortization or optimization. It is a limitation of the information available in . A method can resolve it only by adding identifying assumptions through the prior, observing interventions, or abstaining.
Figure 9. Two Gaussian SCMs with the same observational covariance and different intervention effects (: with ; : with ; ). Left: the marginal estimator targets regardless of which SCM generated the data, matching ’s true effect and missing ’s; the equal-weight posterior mean is for both. Right: worst-case MSE across the two SCMs. The posterior mean attains the proposition 3 lower bound ; marginal association and the zero estimator each lose to a different SCM.
| Estimator | MSE if | MSE if | Worst-case MSE |
| Posterior mean | 0.360 | 0.360 | 0.360 |
| Marginal association | 0.001 | 1.442 | 1.442 |
| Zero effect | 1.440 | 0.000 | 1.440 |
| No-free-lunch lower bound | 0.360 |
Table 28. Per-SCM and worst-case MSE for the two-SCM Gaussian toy of Figure 9 at . No observational estimator beats on the worst case (proposition 3); the posterior mean meets the bound.
Proof of Proposition 3
Proof. Let
denote the posterior distribution of the causal feature profile. Then
We first record the squared-loss decomposition. For any measurable estimator , conditioning on gives
because
Taking expectations proves
We next prove the two convergence claims in eq. (19). By (A3), both and are supported on the closed Euclidean ball for -almost every . Weak convergence in (A4) on a bounded support gives convergence of the first and second moments. Hence
for every , and therefore
Similarly, the map is bounded and Lipschitz on the ball . Thus
Using
and the convergence of the first moment just proved, we obtain
in -probability.
It remains to prove eq. (21). For any fixed vector ,
because
Substituting and taking expectation over gives
as claimed.
For the Example with two observationally equivalent SCMs, since , the distribution of is the same whether the data are generated from or from . Let denote a random vector with this common distribution, and write for . Then
Therefore,
This proves eq. (22).
If the prior assigns equal mass to and , then the induced equivalence-class distribution is
Hence
and
Thus the posterior mean over the equivalence class attains the lower bound in the equivalence-class averaged sense.
References
- [1]Kjersti Aas, Martin Jullum, and Anders Løland. Explaining individual predictions when features are dependent: More accurate approximations to Shapley values. Artificial Intelligence, 298:103502, 2021.arxiv.org/abs/1903.10464
- [2]Susan Athey, Julie Tibshirani, and Stefan Wager. Generalized random forests. The Annals of Statistics, 47(2):1148–1178, 2019.arxiv.org/abs/1610.01271
- [3]Vahid Balazadeh, Hamidreza Kamkari, Valentin Thomas, Benson Li, Junwei Ma, Jesse Cresswell, and Rahul G Krishnan. CausalPFN: Amortized causal effect estimation via in-context learning. In Advances in Neural Information Processing Systems, 2025.arxiv.org/abs/2506.07918
- [4]Leo Breiman. Random forests. Machine Learning, 45(1):5–32, 2001.
- [5]Peter Bühlmann, Jonas Peters, and Jan Ernest. CAM: Causal additive models, high-dimensional order search and penalized regression. Annals of Statistics, 42(6):2526–2556, 2014.DOI
- [6]Victor Chernozhukov, Denis Chetverikov, Mert Demirer, Esther Duflo, Christian Hansen, Whitney Newey, and James Robins. Double/debiased machine learning for treatment and structural parameters. The Econometrics Journal, 21(1):C1–C68, 02 2018. ISSN 1368–4221. doi: 10.1111/ectj.12097.DOI
- [7]David Maxwell Chickering. Optimal structure identification with greedy search. Journal of Machine Learning Research, 3:507–554, 2002.
- [8]Vincent Dorie, Jennifer Hill, Uri Shalit, Marc Scott, and Dan Cervone. Automated versus do-it-yourself methods for causal inference: Lessons learned from a data analysis competition. Statistical Science, 34(1):43–68, 2019.
- [9]European Parliament and Council of the European Union. Regulation (EU) 2024/1689 of the European Parliament and of the Council laying down harmonised rules on artificial intelligence (Artificial Intelligence Act). Official Journal of the European Union, L series, 2024. Entered into force 1 August 2024. High-risk AI provisions applicable from 2 August 2026.
- [10]Aaron Fisher, Cynthia Rudin, and Francesca Dominici. All models are wrong, but many are useful: Learning a variable’s importance by studying an entire class of prediction models simultaneously. Journal of Machine Learning Research, 20(177):1–81, 2019.arxiv.org/abs/1801.01489
- [11]Juan L. Gamella, Jonas Peters, and Peter Bühlmann. Causal chambers as a real-world physical testbed for AI methodology. Nature Machine Intelligence, 2025. doi: 10.1038/s42256-024-00964-x.DOI
- [12]Andrew Gelman. Scaling regression inputs by dividing by two standard deviations. Statistics in Medicine, 27(15):2865–2873, 2008.pubmed.ncbi.nlm.nih.gov/17960576
- [13]Bryce Goodman and Seth Flaxman. European Union regulations on algorithmic decision making and a “Right to Explanation”. AI Magazine, 38(3):50–57, 2017.DOI
- [14]Miguel A Hernán and James M Robins. Causal Inference: What If. Chapman & Hall/CRC, 2020.
- [15]Tom Heskes, Evi Sijben, Ioan Gabriel Bucur, and Tom Claassen. Causal Shapley values: Exploiting causal knowledge to explain individual predictions of complex models. In Advances in Neural Information Processing Systems (NeurIPS), 2020.arxiv.org/abs/2011.01625
- [16]Jennifer L. Hill. Bayesian nonparametric modeling for causal inference. Journal of Computational and Graphical Statistics, 20(1):217–240, 2011. doi: 10.1198/jcgs.2010.08162.DOI
- [17]Kevin Hillstrom. The MineThatData E-Mail analytics and data mining challenge. https://blog.minethatdata.com/2008/03/minethatdata-e-mail-analytics-and-data.html, 2008.
- [18]Paul W. Holland. Statistics and causal inference. Journal of the American Statistical Association, 81(396):945–960, 1986.
- [19]Noah Hollmann, Samuel Müller, Lennart Purucker, Arjun Krishnakumar, Max Körfer, Shi Bin Hoo, Robin Tibor Schirrmeister, and Frank Hutter. Accurate predictions on small data with a tabular foundation model. Nature, 637(8045):319–326, 2025.DOI
- [20]Patrik Hoyer, Dominik Janzing, Joris Mooij, Jonas Peters, and Bernhard Schölkopf. Nonlinear causal discovery with additive noise models. In D. Koller, D. Schuurmans, Y. Bengio, and L. Bottou, editors, Advances in Neural Information Processing Systems, volume 21. Curran Associates, Inc., 2008.
- [21]Dominik Janzing, Lenon Minorics, and Patrick Blöbaum. Feature relevance quantification in explainable ai: A causal problem. In Silvia Chiappa and Roberto Calandra, editors, Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, volume 108 of Proceedings of Machine Learning Research, pages 2907–2916. PMLR, 26–28 Aug 2020.arxiv.org/abs/1910.13413
- [22]Neil Jethani, Mukund Sudarshan, Ian Covert, Su-In Lee, and Rajesh Ranganath. FastSHAP: Real-time Shapley value estimation. In International Conference on Learning Representations, 2022.arxiv.org/abs/2107.07436
- [23]Yonghan Jung, Shiva Kasiviswanathan, Jin Tian, Dominik Janzing, Patrick Bloebaum, and Elias Bareinboim. On measuring causal contributions via do-interventions. In International Conference on Machine Learning (ICML), 2022.
- [24]Edward H Kennedy. Towards optimal doubly robust estimation of heterogeneous causal effects. arXiv preprint arXiv:2004.14497, 2020.arxiv.org/abs/2004.14497
- [25]Juho Lee, Yoonho Lee, Jungtaek Kim, Adam Kosiorek, Seungjin Choi, and Yee Whye Teh. Set transformer: A framework for attention-based permutation-invariant neural networks. In Kamalika Chaudhuri and Ruslan Salakhutdinov, editors, Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 3744–3753. PMLR, 09–15 Jun 2019.arxiv.org/abs/1810.00825
- [26]Kai-Zhan Lee, Drago Plečko, and Elias Bareinboim. Improving causal explanations. Technical Report R-135, Causal AI Lab, Columbia University, May 2026. Introduces counterfactual Shapley values (aggregating a novel natural total effect); proves an Explanatory Impossibility Theorem that no method including SHAP/LIME satisfies all explanation desiderata without causal assumptions. Available at https://causalai.net/r135.pdf.
- [27]Scott M. Lundberg and Su-In Lee. A unified approach to interpreting model predictions. In Proceedings of the 31st International Conference on Neural Information Processing Systems, pages 4768–4777, 2017. ISBN 9781510860964.arxiv.org/abs/1705.07874
- [28]Scott M. Lundberg, Gabriel Erion, Hugh Chen, Alex DeGrave, Jordan M. Prutkin, Bala Nair, Ronit Katz, Jonathan Himmelfarb, Nisha Bansal, and Su-In Lee. From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence, 2(1):56–67, 2020. doi: 10.1038/s42256-019-0138-9.DOI
- [29]Yuchen Ma, Dennis Frauen, Emil Javurek, and Stefan Feuerriegel. Foundation models for causal inference via prior-data fitted networks, 2025.arxiv.org/abs/2506.10914
- [30]Stephen L. Morgan and Christopher Winship. Counterfactuals and Causal Inference: Methods and Principles for Social Research. Cambridge University Press, 2nd edition, 2014.
- [31]Samuel Müller, Noah Hollmann, Sebastian Pineda Arango, Josif Grabocka, and Frank Hutter. Transformers can do Bayesian inference. In International Conference on Learning Representations, 2022.arxiv.org/abs/2112.10510
- [32]Judea Pearl. Causality: Models, Reasoning, and Inference. Cambridge University Press, 2nd edition, 2009.
- [33]Jonas Peters, Dominik Janzing, and Bernhard Schölkopf. Elements of Causal Inference: Foundations and Learning Algorithms. MIT Press, 2017.
- [34]Jingang Qu, David Holzmüller, Gaël Varoquaux, and Marine Le Morvan. TabICL: A tabular foundation model for in-context learning on large data. In International Conference on Machine Learning, 2025.arxiv.org/abs/2502.05564
- [35]Jake Robertson, Noah Hollmann, Samuel Müller, Noor Awad, and Frank Hutter. Fairpfn: a tabular foundation model for causal fairness. In Proceedings of the 42nd International Conference on Machine Learning, ICML’25. JMLR.org, 2025a.arxiv.org/abs/2506.07049
- [36]Jake Robertson, Arik Reuter, Siyuan Guo, Noah Hollmann, Frank Hutter, and Bernhard Schölkopf. Do-pfn: In-context learning for causal effect estimation. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen, editors, Advances in Neural Information Processing Systems, volume 38, pages 174811–174848, 2025b.arxiv.org/abs/2506.06039
- [37]Karen Sachs, Omar Perez, Dana Pe’er, Douglas A. Lauffenburger, and Garry P. Nolan. Causal protein-signaling networks derived from multiparameter single-cell data. Science, 308(5721): 523–529, 2005.
- [38]Yulin Shao, Liangbo Lyu, Menggang Yu, and Bingkai Wang. How should covariates be handled in randomized trials? Empirical evidence from 50 trials and recommendations for practice, 2026.
- [39]Shohei Shimizu, Patrik O Hoyer, Aapo Hyvärinen, and Antti Kerminen. A linear non-Gaussian acyclic model for causal discovery. Journal of Machine Learning Research, 7:2003–2030, 2006.
- [40]Xuelin Situ, Ingrid Zukerman, Cecile Paris, Sameen Maruf, and Gholamreza Haffari. Learning to explain: Generating stable explanations fast. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, pages 5340–5355, 2021.
- [41]Gowthami Somepalli, Avi Schwarzschild, Micah Goldblum, C. Bayan Bruss, and Tom Goldstein. SAINT: Improved neural networks for tabular data via row attention and contrastive pre-training, 2022.arxiv.org/abs/2106.01342
- [42]Peter Spirtes and Clark Glymour. An algorithm for fast recovery of sparse causal graphs. Social Science Computer Review, 9(1):62–72, 1991.DOI
- [43]Peter Spirtes, Christopher Meek, and Thomas Richardson. Causal inference in the presence of latent variables and selection bias. Proceedings of the Eleventh Conference on Uncertainty in Artificial Intelligence, pages 499–506, 1995.
- [44]Peter Spirtes, Clark Glymour, and Richard Scheines. Causation, Prediction, and Search. MIT Press, 2nd edition, 2001.
- [45]Mukund Sundararajan and Amir Najmi. The many Shapley values for model explanation. In Hal Daumé III and Aarti Singh, editors, International Conference on Machine Learning (ICML), volume 119 of Proceedings of Machine Learning Research, pages 9269–9278. PMLR, 13–18 Jul 2020.arxiv.org/abs/1908.08474
- [46]Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. 2017.arxiv.org/abs/1706.03762
- [47]Matej Zečević, Devendra Singh Dhami, and Kristian Kersting. Causal articulation theory (CAT): Articulating static and temporal causal models beyond LLM rationalizations. In Conference on Causal Learning and Reasoning (CLeaR), volume 323 of Proceedings of Machine Learning Research, 2026.
- [48]Xun Zheng, Bryon Aragam, Pradeep Ravikumar, and Eric P. Xing. DAGs with NO TEARS: Continuous optimization for structure learning. In Advances in Neural Information Processing Systems, 2018.arxiv.org/abs/1803.01422






