When and Why LLM Causal Priors Help: Closed-Loop Prior Selection for Amortized Causal Inference
Organizations: National Key Laboratory of Information Systems Engineering National University of Defense Technology, Changsha, Hunan, China
Abstract
Causal effect estimation asks how an outcome would change under an intervention, and medicine, economics, and public policy all treat it as a foundational task. Prior-data fitted networks (PFNs) amortize the task: a model trained on large numbers of programmatically generated synthetic causal tasks reads a new problem's observational data into context and returns an interventional-effect estimate in a single forward pass. The capability of such models is largely determined by the synthetic training prior, which is currently designed by hand, a bottleneck acknowledged by both Do-PFN and CausalPFN. Large language models (LLMs) can now ``draw'' plausible causal graphs for a given domain, suggesting that LLM-distilled graphs could serve as prior material. Whether injecting such graphs helps at all, where any gain comes from, and when injection helps. Practice has so far relied on manual trial and error. We propose a closed-loop prior selection framework that casts prior injection as a budget-constrained optimization over a candidate prior pool. Candidates undergo cheap post-training and are scored by a composite metric dominated by real-domain generalization; the winner then receives full training and paired statistical validation. On a 7.34M-parameter Do-PFN, the framework's winner attains a formally significant gain on the primary evaluation domain, and its error falls below that of the uninjected official base. Generalization on an adjacent monitoring domain improves significantly, and no monitored capability degrades. Mechanism experiments show that the gain depends on the semantic content of the distilled graph rather than its structural diversity alone does not produce it (directional evidence). With this framework and this regularity in hand, the use of LLM causal priors stops being manual trial and error and becomes an empirically verifiable selection problem.
Figures & tables
| Module | Question answered | Key result | Statistical level |
|---|---|---|---|
| M1 (§ 5.1 ) | Content or narrowing? | 72% narrowing, 28% content | Content share directional ( , ) |
| M2 (§ 5.2 ) | Can gain and collateral cost be decoupled? | Non-monotone interior optimum; adjacent domain degrades monotonically | descriptive |
| M3 (§ 5.3 ) | Can multiple sources be combined? | Ensembling judged negative, degradation of | Directional ( ) |
| M4 (§ 5.4 ) | Which one to inject; can it be automated? | Winner gain, three improvements | Formally significant ( , , ) |
| M5 (§ 5.5 ) | Why does the gain occur? | Content beats diversity, V-shaped temperature | Directional ( ) |
| M7 (§ 5.6 ) | Does it transfer to a new domain? | sales from-scratch gain, does not reach official | Directional ( , unpaired, ) |
| Dimension | Winner v4t15 | Control | Conclusion |
|---|---|---|---|
| law_race (primary) | mixA ; official base | gain, formally significant ( ); error level below the official base (descriptive cross-lineage, see text) | |
| sales (adjacent monitor) | mixA | Not broken but improved, formally significant ( , direction 5/5) | |
| Diagnostic panel (general) | – | Base level | No observed forgetting |
| Cross-seed std | About narrower |
| Method | law_race NMSE | sales NMSE | Outcome vs. baselines |
|---|---|---|---|
| Do-PFN v4t15 (injected) | On law_race, leads all seven baselines in point estimate; significantly better than all machine-learning baselines ( vs CausalPFN; vs S/T/X/DR-learner and CausalForestDML); no significant difference from naive ATE. On sales, last; significantly worse than all six baselines ( ). | ||
| Do-PFN official | On law_race, second; significantly better than CausalPFN ( ) and all four meta/forest baselines; no significant difference from naive ATE ( ). On sales, fifth; directional losses to the top four ( ); significantly better than S-learner only ( ). | ||
| CausalPFN | Direct SOTA. | ||
| naive ATE | Constant-effect baseline; top on sales (effect near-constant). | ||
| DR-learner | |||
| T-learner |
| Condition | Supporting instance | Evidence | Limitation |
|---|---|---|---|
| Cond. 1 base underfit | v2 base law_race (M4); v2 base sales (M7) | significant (M4, ); directional (M7, ) | Counterexample is M6 official-base degradation; only two bases, and no protocol re-search on the official base |
| Cond. 2 prior-domain match | law_race prior used on IHDP, Lalonde (M9 stage 1) | Significantly negative contribution on both domains | Only negative instances of domain mismatch; no positive replication of domain match |
| Cond. 3 task within support | IHDP 26 dim (M9 stage 2) | Domain match still does not repair | Single instance; attribution not separated |
| All three hold | v2 base law_race (M4) | Significant gain | Only one complete condition-combination cell |
Causal Inference
Causal inference studies how interventions and counterfactuals reveal cause-and-effect relationships beyond observed associations.
See all 318 papers