arXiv:2609.06941cs.AISep 2026

Manuscript Offprint

arXiv:2609.06941

When and Why LLM Causal Priors Help: Closed-Loop Prior Selection for Amortized Causal Inference

Haohao Zhou

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 2.75×2.75\times gain on the primary evaluation domain (n=5n=5 paired seeds, p=0.0086p=0.0086), and its error falls below that of the uninjected official base. Because the winner is built on a locally retrained base and the official base is not part of the paired test, this is a descriptive cross-lineage comparison. Generalization on an adjacent monitoring domain improves significantly (p=0.0109p=0.0109), 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). The benefit has limits. Nine controlled experiments delineate its boundary and support a three-condition empirical regularity: injection yields significant gains only when the base is underfit on the task domain, the prior domain matches the task domain, and the task lies within the support of the base's training prior. Two negative results carry general lessons: averaging multiple distillation sources dilutes gains, and synthetic probe metrics systematically diverge from real-domain transfer. 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.

1 Introduction

Decision-makers act on what an intervention would produce, and they rarely hold that information in hand, whether the question is whether a patient would recover better under a different treatment or how sales would respond to a different price. Causal effect estimation provides the statistical machinery for such questions [17, 19]. Its core difficulty is that only naturally occurring data can be observed: interventional outcomes are expensive or ethically unavailable, so effects must be identified from observational data under additional assumptions such as ignorability. Classical methods model each new problem separately, at high cost and with little reuse.

Amortized causal inference takes a different path. A prior-data fitted network (PFN) [16] learns inference over a task distribution (the prior) by training on large numbers of programmatically generated synthetic tasks, and at inference time it conditions on context and answers directly. Do-PFN [18] instantiates the idea for causal effect estimation by encoding the intervention operator into prior sampling, so that tasks are generated as “observational data → outcome under intervention”; CausalPFN [3] extends the task coverage. Once trained, the model reads a new problem’s observational data into context and yields an interventional-effect estimate in one forward pass, with no per-problem optimization. Both models share a decisive property. Which causal systems they can handle is almost entirely determined by the synthetic training prior; the prior’s coverage is the model’s capability boundary. Because the prior is designed by hand, that coverage is limited by the designer’s domain knowledge, and both Do-PFN and CausalPFN list prior design as an explicit limitation [18, 3].

Large language models (LLMs) offer a way past this bottleneck. Systematic evaluations show that LLMs can produce causal graphs that agree with domain knowledge to a considerable degree [12], making them an off-the-shelf, on-demand source of causal knowledge. LLM-distilled causal graphs can then serve as prior material: training tasks generated from them carry domain semantics, and an existing base can continue to train on them, freeing amortized causal inference from hand-designed priors. Distilled graphs, though, are not reliable ground truth. They are highly sensitive to prompt wording, decoding temperature, and graph scale [12], so their value and risk must be measured by injection experiments; graph-level fidelity alone does not establish them.

This possibility has never been systematically validated. Whether injection helps at all is unknown, and so is the source of any gain: does it come from the graph’s semantic content, or merely from narrowing the training distribution? If narrowing dominates, LLM causal knowledge carries little real value. Equally open is whether gains can be separated from collateral costs, that is, whether some configuration improves the primary task without harming adjacent capabilities. And when several candidate graphs coexist, drawn from different distillation sources or decoding temperatures, there is as yet no systematic way to decide which one to inject, or to automate that decision. In practice, manual trial and error settles these questions. That gap defines the problem this paper addresses.

We address these questions with a closed-loop prior selection framework, a two-stage procedure. In the first round every candidate undergoes cheap post-training and is ranked by a composite score dominated by real-domain transfer. In the second round the top candidates receive full training and paired statistical validation, and this round delivers the final verdict. The base’s architecture and training algorithm stay untouched throughout. What changes is the status of “which prior to inject”: a manual decision becomes an optimizable, verifiable object.

On a 7.34M-parameter Do-PFN, the framework’s winner attains a formally significant 2.75×2.75 \times gain on the primary evaluation domain (n = 5 paired seeds, p = 0.0086), and its error level falls below that of the uninjected official base. This is a descriptive cross-lineage comparison: the winner is built on a locally retrained base, and the official base is not included in the paired test (see Sections 5.4 and 5.7). Generalization on the adjacent monitoring domain improves simultaneously (paired test p = 0.0109), and no monitored capability degrades (descriptive). The gain, however, is not universal. Nine controlled experiments further show (i) that injecting the same recipe into an already-strong base degrades it 4–9× with a complete ranking reversal, (ii) that domain-specific priors are significantly harmful on out-of-domain benchmarks, and that even domain-matched distillation cannot repair a benchmark whose dimensionality far exceeds the training-prior support. We therefore induce a three-condition empirical regularity: injection yields significant gains only when the base is underfit, the prior domain matches the task domain, and the task lies within the training-prior support (full statement, evidence, and inductive limits in Section 6). Mechanism experiments (Section 5.5) further show that the gain comes from semantic content drives the gain; structural diversity alone does not (directional evidence).

Contributions. Five lines of work feed directly into this paper: PFN-family amortized inference; LLMs as causal-knowledge sources; data-side intervention routes; the closed-loop search and self-improvement family; and the baseline spectrum and standard benchmarks.

• C1 (Framework). We cast prior injection as a budget-constrained optimization (Equation (3)) and provide a two-stage closed-loop selection procedure (cheap-proxy screening plus full paired validation), turning “which prior to inject” from a manual decision into an evaluably optimizable object. The procedure inherits the two-stage “candidate pool + cheap proxy + full validation” paradigm established by neural architecture search and hyperparameter optimization (Section 2.4). Our increment is to apply it to prior-distribution selection and to provide a controlled empirical delineation of its boundary.

  • C2 (Main result). The framework’s winner delivers a formally significant 2.75×2.75\times gain on the primary domain (n=5,p=0.0086n=5, p=0.0086), with an error level below the uninjected official base (descriptive cross-lineage comparison, Sections 5.4, 5.7), while significantly improving adjacent-domain generalization (p=0.0109p=0.0109) without eroding existing capability (descriptive).

  • C3 (Mechanism and theory). We give an evidence chain for “content beats diversity”: the random-graph control, the V-shaped temperature response, and the reversal of the cheap-screening ranking (directional evidence). Three theorems give this picture conceptual grounding: an ensemble-error lower bound, probe–transfer ranking reversal, and unbounded risk outside the support. They motivate, respectively, selection over ensembling, real-domain-dominated proxies, and a support boundary on repair.

  • C4 (Applicability boundary). Nine modules delineate the boundary and induce the three-condition empirical regularity (base underfit, prior-domain match, task within support), including two honest negative boundaries (cross-domain negative transfer, out-of-support high-dimensional non-repair), and make explicit the inductive limits (each condition rests on a single instance, conditions two and three are not separable, no quantitative prediction), turning “when does injection help” into an operational criterion.

  • C5 (External validity). We run a same-protocol, per-domain comparison against a direct SOTA and a classical-estimator panel. The primary domain wins against all baselines including the SOTA (4.1×/6.1×4.1\times/6.1\times over CausalPFN); the secondary domain is an honest boundary (Section 5.8), and two standard causal benchmarks give two honest boundaries (Section 5.9).