Causal graph fusion across incomplete cohorts and causal steering of tabular foundation models
Organizations: Spinal Cord Artificial Intelligence (SCAI) Lab, ETH Zürich, Zurich, Switzerland · Digital Healthcare and Rehabilitation, Swiss Paraplegic Research, Nottwil, Switzerland · Department of Physics, Universit`a degli Studi di Milano-Bicocca, Milan, Italy · Swiss Paraplegic Center, Nottwil, Switzerland ·
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.001), and steering improves discrimination under distribution shift (p<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.
Figures & tables
| Missingness level | ||||||
| Data type | Method | None | MCAR 10% | MCAR 20% | MCAR 30% | MNAR |
| : Type-I error (%; target 5%) | ||||||
| Syn. linear | GCM | 2 | 0 | 10 | 0 | 0 |
| CRT-TabPFN | 80 | 80 | 80 | 80 | 50 | |
| MV-FisherZ | 0 | 0 | 0 | 0 | 0 | |
| Syn. nonlinear | GCM | 10 | 0 | 0 | 0 | 30 |
| Dataset | Clinical setting | Cohort composition | Representative variable domains | Main analytic role | |
| HAPI | Hospital-acquired pressure injury in inpatient/rehabilitation care | Three related cohorts, including HAPI and non-HAPI patients, with partial variable overlap | 250 | Demographics, neurological severity, complications, laboratory variables, functional status, nutrition, and pressure-injury-related indicators | Modeling upstream pressure-injury risk and acquisition mechanisms across rehabilitation cohorts. |
| PPIS | Post-pressure-injury surgery | Single post-surgical cohort with broader longitudinal clinical detail | 266 | Wound characteristics, demographics, SCI descriptors, perioperative or treatment variables, laboratory variables, comorbidities, surgeries, functional measures, and outcomes | Modeling downstream severity, treatment, complications, and recovery after established pressure injury. |
Appendix figures & tables51 assets
Supplementary material from the paper’s appendix.
Appendix
| Layer | CLF | REG |
| 0 | 0.524 | 0.486 |
| 1 | 0.412 | 0.185 † |
| 2–3 | 0.44–0.45 | 0.47–0.60 |
| 4 | 0.645 | 0.906 |
| 5 | 0.894 | 0.898 |
| 8 | 0.933 | 0.962 |
| Hidden | INT | AUROC obs | AUROC int | Drop | |
| P38 | PKA (direct parent) | b2cAMP | 0.689 | 0.459 | 0.230 |
| Raf | PKC (direct parent) | b2cAMP | 0.748 | 0.571 | 0.177 |
| PIP3 | Plcg (only parent) | b2cAMP | 0.602 | 0.504 | 0.098 |
| Scenario | PAM type | int | Int (steered) | obs | Obs | |
| P38/PKA/b2cAMP | boost, ancestor | 0.551 | 0.691 | |||
| Raf/PKC/b2cAMP | full-sym, ancestor | 0.594 | 0.747 | |||
| Erk/PKC/PMA | ancestor | 0.460 | 0.703 | |||
| PIP3/Plcg (ctrl) | — (PAM=0) | — | 0.504 | 0.602 |
| Task | Condition | int (mean) | obs (mean) | Win rate |
| CLF (AUROC) | Boost ( ), L9–11 | 57% | ||
| FF ( ), L9–11 | 91% | |||
| REG ( ) | Boost (y-to-x), L9–11 | 47% | ||
| FF (x-to-x), L9–11 | 71% |
| Model | Layers | Base | FF | AUROC (mean) | Win rate |
| TabPFN v2 | L9–11 (symmetric) | 42.5% | |||
| TabPFN v2.5 | L18–23 (boost) | 45.0% |
| Target | Metric | Baseline | Fixed ( ) | Nested ( ) |
| PPIS length of stay | ( ) | ( ) | ||
| HAPI length of stay | ( ) | ( ) | ||
| UTI during stay | AUROC | ( ) | ( ) | |
| Osteomyelitis | AUROC | ( ) | ( ) | |
| Secondary PI complication | AUROC | ( ) | ( ) |
| MB-Boost (steer MB) | Target-Boost (steer ancestors) | FF | ||||||
| Target | Metric | |||||||
| UTI during stay | AUROC | |||||||
| Osteomyelitis | AUROC | |||||||
| Secondary PI complication | AUROC | — | — | — | ||||
| HAPI length of stay | ||||||||
| PPIS length of stay | ||||||||
| Validation regime | mean AUROC | win rate | paired |
| Matched shift (upper bound) | 69% | ||
| Decoupled shift (deployable) | 44% |
| Mode | v2 | v2 | 2.5 | 2.5 |
| (target-boost) | ||||
| (transpose) | ||||
| (combined) | ||||
| (feature–feature) |
| Layer | -tok CLF | -tok REG | X-to-X CLF | X-to-X REG |
| 0 | 0.620 | 0.608 | 0.683 | 0.654 |
| 3 | — | — | 0.676 | 0.663 |
| 6 | — | — | 0.640 | 0.642 |
| 11 | 0.889 | 0.973 | 0.602 | 0.645 |
| Target (cohort, , ) | Temporally-available Markov-blanket members |
| HAPI LoS | |
| ( , 21) | AIS A; Age at SCI; Albumin; First rehabilitation; Hemoglobin; Hypotensive episode; PI history number; PI history treatment; PI_onset; SCI to Admission time; SCIM; Sedative medications; Surgeries; current PI time since 1st last PI; current PI time since 2nd last PI; current PI time since 3rd last PI; current PI time since 5th last PI; history PI location 2; history PI location 3; history PI location 5; history PI location 6 |
| PPIS LoS | |
| ( , 34) | AB before Flap Surgery; AB_1; AB_2; AIS; Administration of AB; Age at SCI; Albumin; Antibiotics; Bacteria_2; CRP; Complication; Congestive_Heart_Failure; DM; Duration of Antibiotics; Duration of surgery (Min); Education; Ferritin; Hemoglobin; Hypoxemia_Episode; ICU Stay; INR; Localization of PI; Mechanical Ventilation; Number of AB; Number of Bacteria; Number of PI (sakral, ischial, trochanteric); PI Stage; Psychiatric Diagnosis; Rheumatoid_Arthritis; Time between Surgeries; Total Protein; Type of Surgery; Vit B12; deep PI at other location |
| PPIS UTI | |
| ( , 50) | AB before Flap Surgery; AB for other Acute Condition; Acidum Folicum; Aetiology; Age at Admission; Age at SCI; AIS; Albumin; Alcohol Consumption; Amputation; Bloodpressure_Systolic_Entry; Body_Temperature_Abnormal; BP_Episode_Abnormal; Calcium; Complication; Congestive_Heart_Failure; CRP; deep PI at other location; DM; Duration of Immobilization; Duration of surgery (Min); Education; Employment; Gastroenteritis_During_Stay; Hemoglobin; Hypertony; ISNCSCI; Level of injury; Localization of PI; Mechanical Ventilation; Number of PI (sakral, ischial, trochanteric); OSAS; Osteoarthritis; PI at admission; PI Stage; Pneumonia; Previous OM; Psychiatric Diagnosis; Recurrence; Rheumatoid_Arthritis; Sex; Smoking; Social Status; Spasticity; Total Protein; Type of Residence; Type of Surgery; Vascular comorbidity; Vit B12; Years post Injury |
| Cohort | Decision time | feat. | Gradient-boosted | TabPFN |
| HAPI | Admission-only | 11 | 0.646 | 0.690 |
| HAPI | Pre-surgery | 13 | 0.663 | 0.719 |
| HAPI | Retrospective (all) | 21 | 0.684 | 0.745 |
| PPIS | Admission-only | 12 | 0.312 | 0.341 |
| PPIS | Pre-surgery | 21 | 0.362 | 0.310 |
| PPIS | Retrospective (all) | 34 | 0.746 | 0.710 |
| Target | Metric | Episode-level | Patient-grouped |
| PPIS length of stay | 0.710 | 0.625 | |
| UTI during stay | AUROC | 0.894 | 0.778 |
| Osteomyelitis | AUROC | 0.848 | 0.807 |
| Secondary PI complication | AUROC | 0.776 | 0.783 |
| Target | Metric | Causal MB | RF top-10 | MI top-20 | Lasso CV | All |
| PPIS length of stay | 0.674 | 0.640 | 0.628 | 0.622 | 0.656 | |
| HAPI length of stay | 0.706 | 0.718 | 0.722 | 0.749 | 0.761 | |
| UTI during stay | AUROC | 0.765 | 0.742 | 0.761 | 0.785 | 0.743 |
| Osteomyelitis | AUROC | 0.783 | 0.818 | 0.734 | 0.789 | 0.804 |
| Secondary PI complication | AUROC | 0.690 | 0.739 | 0.760 | 0.654 | 0.742 |
| Target | Prev. | AUROC (base Boost) | AUPRC | Brier (base Boost) | Calib. slope |
| UTI | 0.29 | 0.83 | 0.79 | ||
| Osteomyelitis | 0.43 | 0.81 | 0.97 | ||
| Secondary PI complication | 0.23 | 0.52 | 0.78 |
| Target | Real ancestors AUROC | Random-set AUROC | Shuffled-label AUROC |
| UTI | 0.49 | ||
| Osteomyelitis | 0.46 | ||
| Secondary PI complication | 0.45 |
| Target | Metric | Median | MICE | missForest |
| HAPI length of stay | 0.745 | 0.650 | 0.646 | |
| PPIS length of stay | 0.710 | 0.721 | 0.725 | |
| UTI during stay | AUROC | 0.896 | 0.906 | 0.904 |
| Osteomyelitis | AUROC | 0.848 | 0.849 | 0.838 |
| Secondary PI complication | AUROC | 0.775 | 0.760 | 0.781 |
| (primary) | |||||
| Target | Metric | Score | Score | ||
| UTI during stay | AUROC | 50 | 0.894 | 65 | 0.890 |
| Osteomyelitis | AUROC | 6 | 0.848 | 6 | 0.848 |
| Secondary PI complication | AUROC | 50 | 0.776 | 65 | 0.785 |
| PPIS length of stay | 34 | 0.710 | 79 | 0.783 | |
| HAPI length of stay | 21 | 0.745 | 24 | 0.745 | |
| HAPI length of stay | PPIS length of stay | |||
| Model family | (S4) | (S5) | (S4) | (S5) |
| Markov-blanket size | 11 | 11 | 23 | 35 |
| TabPFN | 0.718 | 0.718 | 0.735 | 0.788 |
| XGBoost | 0.647 | 0.647 | 0.731 | 0.775 |
| Random forest | 0.676 | 0.676 | 0.726 | 0.753 |
| Ridge | 0.485 | 0.485 | 0.586 | 0.264 |
| (a) (LoS MB size) | HAPI | PPIS | |
| 13 | 15 | ||
| 21 | 34 | ||
| 23 | 79 | ||
| (b) Age harmonization (adjacency freq.) | Age–LoS | Alb–LoS | Hb–LoS |
| Age at SCI, both cohorts | 1.00 | 0.37 | 1.00 |
| Within-cohort -score | 1.00 | 0.37 | 1.00 |
| (a) Pooled edge into LoS | Age | Albumin | Hemoglobin |
| Fisher- (default) | ✓ | ✓ | ✓ |
| KCI (kernel test) | ✓ | ✓ | ✓ |
| Nonparanormal Fisher- | ✓ | — | ✓ |
| MICE imputation | ✓ | ✓ | ✓ |
| missForest imputation | ✓ | ✓ | ✓ |
| (b) Per-cohort LoS | HAPI / PPIS | ||
| Cohort | Constraint strategy | edges | TabPFN [95% CI] | |
| HAPI | None (unconstrained) | 64 | 11 | 0.701 [0.62, 0.76] |
| HAPI | Temporal tiers (forbidden required both) | 68 | 9 | 0.694 [0.61, 0.77] |
| HAPI | pooled constraints only (no edge union) | 66 | 9 | 0.694 [0.61, 0.77] |
| HAPI | pooled edge union only (no constraints) | 77 | 11 | 0.718 [0.64, 0.78] |
| HAPI | Temporal tiers pooled-shared (both) | 75 | 11 | 0.718 [0.64, 0.78] |
| PPIS | None (unconstrained) | 154 | 23 | 0.743 [0.67, 0.79] |
| Feature set | AUROC [95% CI] | AUPRC [95% CI] | F1 [95% CI] | |
| Urinary tract infection | ||||
| Constrained graph set | 50 | 0.894 [0.850, 0.938] | 0.829 [0.757, 0.898] | 0.784 [0.707, 0.853] |
| All features | 75 | 0.894 [0.855, 0.931] | 0.810 [0.739, 0.875] | 0.720 [0.635, 0.792] |
| MI top-20 | 20 | 0.900 [0.859, 0.936] | 0.820 [0.745, 0.886] | 0.730 [0.652, 0.805] |
| RF top-10 | 10 | 0.866 [0.816, 0.916] | 0.745 [0.649, 0.838] | 0.699 [0.617, 0.778] |
| Lasso CV | 12 | 0.864 [0.824, 0.909] | 0.711 [0.609, 0.814] | 0.702 [0.615, 0.770] |
| TRIPOD+AI item | Where addressed |
| Title / abstract as prediction study | Reframed as hypothesis-generating; deployable (admission-time) vs. retrospective results distinguished (Abstract, Results) |
| Source of data, participants, setting | Methods (Clinical datasets); single-center, Swiss Paraplegic Center; Table S29 |
| Outcomes and predictors (with timing) | Methods; temporal-tier definitions; decision-time stratification (Table S12 ) |
| Missing data | Table S30 ; imputation methods and sensitivity (Table S17 ) |
| Sample size | No formal a-priori sample-size calculation; analysis used all available records ( HAPI, PPIS). Given candidate variables, this is underpowered for high-dimensional structure learning and prediction; results are framed accordingly (Discussion) |
| Model development / selection | Feature and model selection performed post-discovery; nested cross-validation reported (Table S14 ); no multiplicity correction (Methods) |
| No. | Item (abbreviated) | Where reported / status |
|---|---|---|
| Title and abstract | ||
| 1(a) | Study design indicated in title or abstract | Abstract (“two retrospective cohorts”); Methods, “Clinical datasets” “Study design” (“a retrospective observational cohort analysis”). The title carries no design term. |
| 1(b) | Informative and balanced abstract summary | Abstract: setting, both cohorts with sample sizes, method, effect sizes, and the explicit “hypothesis-generating pending external validation” caveat. |
| Introduction | ||
| 2 | Background and rationale | Introduction, paragraphs 1–4 (clinical rationale for pressure injury and length of stay after SCI; causal discovery under missingness; integration of partially overlapping cohorts). |
| 3 | Objectives | Introduction, five enumerated contributions (final paragraph); Results, “Markov-blanket graph learning through multi-cohort fusion”. No hypotheses were prespecified and no analysis protocol was pre-registered. |
| Shared concept | HAPI column | PPIS column | Type / units |
| Age | Age at SCI | Age at Admission | Continuous, years |
| AIS | AIS | AIS ISNCSCI at entry | Ordinal, A–E |
| Level of injury | Level of Injury | Lesion Level | Categorical |
| Sex | Sex | Sex | Binary |
| SCIM | SCIM Score | SCIM Total Score at discharge | Continuous, 0–100 |
| FIM Cognitive (FIMc) | FIM Cognitive Score | — | Continuous |
| Shared backbone | Full per-cohort graph | ||||
| Pooled-shared edge | Pooled | HAPI | PPIS | HAPI | PPIS |
| Age LoS | 0.98 | — | 0.00 | 0.00 | |
| Albumin LoS | 0.76 | at | 0.00 | 0.00 | |
| Hemoglobin LoS | 1.00 | at | 0.17 | 0.01 | |
| Shared edge | HAPI full | PPIS full | Pooled backbone | Posterior [95% CI] | Gate (0.8) |
| Age LoS | impose | ||||
| Hemoglobin LoS | impose | ||||
| Albumin LoS | withhold |
| Characteristic | HAPI ( ) | PPIS ( ) |
| Age, years a | 50 [34, 66] | 60 [51, 70] |
| Female sex | 72 (29%) | 64 (24%) |
| AIS grade A / B / C / D b | 90 (36%) / 29 (12%) / 37 (15%) / 90 (36%) | 203 (76%) / 37 (14%) / 18 (7%) / 8 (3%) |
| Length of stay, days | 66 [19, 170] | 89 [69, 122] |
| Albumin, g/L | 33 [29, 39] | 35 [32, 39] |
| Hemoglobin, g/L | 122 [100, 140] | 120 [106, 136] |
| Variable | HAPI missing (%) | PPIS missing (%) |
| Age | 43 | 0 |
| Sex | 0 | 0 |
| AIS | 0 | 0 |
| Level of injury | 0 | 0 |
| Length of stay | 0 | 0 |
| Albumin | 37 | 19 |
| Variable | Type | Description | Encoding / Units |
|---|---|---|---|
| Sociodemographic and Definition of SCI Lesion | |||
| PID | Text | patient ID | - |
| FID | Text | case ID | - |
| explicit consent | Binary | - | 0 no, 1 yes |
| Date of entry | Date | Date of admission at the hospital. Not to be changed later. | Any valid date |
| Date of discharge | Date | Date of discharge from the hospital. | Any valid date, 0 still in hospitalization/ unknown |
| Variable | Type | Description | Encoding / Units |
| Date of Birth | Date | Patient date of birth | YYYY-MM-DD |
| Admission Date | Date | Admission date | YYYY-MM-DD |
| Discharge Date | Date | Discharge date | YYYY-MM-DD |
| Length of Stay | Continuous | Duration of hospitalization | Days |
| SCI Status | Binary | Presence of spinal cord injury | 0 = No, 1 = Yes |
| Study Participation | Binary | Inclusion in study cohort | 0 = No, 1 = Yes |
Causal Discovery
Causal discovery infers cause-and-effect structures from observational and interventional data, distinguishing causal relationships from correlation.
See all 231 papers