Manuscript Offprint

arXiv:2611.09400

Causal graph fusion across incomplete cohorts and causal steering of tabular foundation models

Yanke Li, Dhiyaa Al Jorf, Ayoube Ighissou, Anke Scheel-Sailer, Robert Riener, Diego Paez-Granados

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Clinical data are split across incomplete cohorts with partially overlapping variables. Causal discovery under missing data and multi-source integration have developed separately, and tabular foundation models cannot take a causal graph without retraining. We make two contributions. First, causal graph fusion learns a partial ancestral graph on the shared variables, fuses it into each cohort's graph under temporal background knowledge and lets Markov blankets guide re-imputation, so missing data are handled inside discovery. Second, causal attention steering compiles the learned graph into the attention of a frozen tabular foundation model at inference. Against known ground truth, fusion dominates pooled and per-cohort baselines in every missingness and heterogeneity condition tested (p<0.001p < 0.001), and steering improves discrimination under distribution shift (p<10−5p < 10^{-5}), a gain that a random graph does not produce. In two spinal cord injury cohorts, fusion orients age, albumin and hemoglobin as ancestors of length of stay, a set no single cohort orients in full, and yields compact, temporally ordered predictor sets that match or exceed automatic feature selection on four of five outcomes.

Introduction

Clinical knowledge is rarely held in one complete dataset. It accumulates across cohorts collected at different stages of care, each recording an overlapping but non-identical set of variables and each with substantial missingness. Learning how clinical variables depend on one another from such sources is a structure-learning problem that current methods address only in parts, and it bounds what medical AI can learn from real-world data, since causal discovery and tabular foundation models alike start from a single table. Secondary complications after spinal cord injury (SCI) are a representative case. Pressure injuries (PIs) and prolonged hospital stays arise from interacting neurological, nutritional, autonomic and care-process factors 1−6^{1-6}, and the data needed to study them are spread across registries that follow patients through different phases of care.

Causal graphical models are a natural tool for this problem. A causal graph places an arrow from one variable to another when the first is a (possibly indirect) cause of the second, and causal discovery infers such graphs from observational data by testing which variables remain associated once others are held fixed 7,8^{7,8}. Because some causes are unmeasured, we target a partial ancestral graph (PAG), which represents what the data can resolve under latent confounding and selection 9,10^{9,10}. For each outcome, the Markov blanket, the smallest set of variables that renders all others uninformative for predicting it, gives a minimal sufficient predictor set with a causal reading 11−14^{11-14}. Such a graph serves explanation and prediction at once. It shows where each predictor sits relative to the outcome, and because causal mechanisms are more stable than associations, it indicates which predictions should hold when the population shifts 15,16^{15,16}.

Two obstacles stand between these tools and fragmented clinical data. First, missing values distort the conditional-independence relations that discovery relies on, so naive deletion or off-the-shelf imputation changes the learned graph 17−19^{17-19}. Missing-data-aware methods now exist, including test-wise deletion for FCI-style search, Missing Value PC, local structure learning for incomplete data, MissDAG and optimal-transport approaches 17−21^{17-21}, but each operates on a single dataset, and the iterative coupling of Markov-blanket learning with imputation in MimMB targets one variable at a time 22^{22}. Second, integrative methods such as integrative causal analysis, IOD and its extension to tiered background knowledge, Joint Causal Inference and COMBINE show that overlapping sources support stronger structural conclusions than any one alone, including under latent confounding 23−28^{23-28}, but they take each source as already analysable. Two recent methods join the two lines. One pools conditional-independence evidence across multiply imputed sources with non-identical variable sets inside a PC-style search, which assumes no hidden confounders 29^{29}, and another reconstructs missing variables across time series with partially overlapping variables 30^{30}. Cross-sectional clinical cohorts need all three ingredients at once: discovery that allows for hidden confounders, background knowledge about when along the care pathway each variable is recorded, and a treatment of missingness within each cohort. To our knowledge, no method yet combines them.

A second opportunity lies in how the learned structure is used. Tabular foundation models such as TabPFN predict accurately from small tables in a single forward pass 31^{31}, and their frozen representations already encode recoverable causal structure 32^{32}. A known causal graph, however, cannot be handed to them at inference, because current approaches that inject graph knowledge learn attention biases through training 33^{33}.

We make two methodological contributions and test them against known ground truth and in clinical data:

  1. Causal graph fusion learns causal structure across incomplete, partially overlapping cohorts. To our knowledge it is the first method to handle hidden confounders, temporal background knowledge and within-cohort missingness together. A PAG learned on the variables shared across cohorts is fused into each cohort's own PAG under temporal-tier background knowledge 34^{34}, and each variable's Markov blanket guides its re-imputation 22,35^{22,35}, so missingness is handled inside discovery instead of before it. For an idealized form of the fusion operator we prove consistency and finite-sample robustness, and give sufficient conditions for the imputation–discovery loop to stabilize.

  2. Causal attention steering gives a frozen tabular foundation model a causal graph at inference, without training. Steering compiles the learned PAG into a bias on the self-attention of the frozen model, instantiated on TabPFN v2 31^{31}, and a simple rule sets its target: the causal ancestors under mechanism shift and the Markov blanket under covariate shift.

  3. Both methods are validated against known ground truth. On synthetic benchmarks, fusion dominates pooled and per-cohort baselines on the precision/recall frontier in every missingness and heterogeneity condition tested (p < 0.001), raises graph F1 from about 0.63 to 0.71, and imputes with a third less distributional distortion (KS distance 0.034 versus 0.051). Under distribution shift, with the steering strength tuned without any test-fold information, steering significantly improves discrimination (+0.011 AUROC, p < 10 −5^{-5}), rising to +0.029 when the validation shift matches the test shift. The gain is specific to the causal graph. A random graph yields none, and the gain grows as more of the true graph is revealed to the steerer. We also show why fusion imputes before testing. Conditional-independence tests that handle missing values natively reach at most 30% power on discrete benchmark networks even without missingness, and on the clinical cohorts they leave length of stay nearly or entirely disconnected.

  4. In spinal cord injury, fusion recovers relations that no single cohort resolves and returns compact, auditable predictor sets. On two Swiss Paraplegic Center cohorts, hospital-acquired pressure injury (HAPI, n = 250) and post-pressure-injury surgery (PPIS, 266 surgical episodes from 174 patients), the pooled graph orients age, albumin and hemoglobin as ancestors of length of stay, a set that each cohort alone orients only in part, and fusion places all three in each cohort's Markov blanket. The fused blankets match or exceed automatic feature selection on four of five outcomes while every predictor keeps its place on the care timeline and every cross-cohort edge carries bootstrap support. On secondary pressure-injury complication the blanket is the best feature set of all (AUROC 0.776, versus 0.752 with all 75 candidate variables), and on HAPI length of stay it is the simplest model within one standard error of the best ( R2=0.75R^{2} = 0.75 with 21 of 43 variables). Re-learning the graph inside every training fold keeps the blanket competitive, first of all feature sets on PPIS length of stay.

These results make fragmentation across cohorts a source of causal evidence.

References (57)