# Causally Constrained and Uncertainty-Aware Cardiopulmonary Risk Prediction

Yuxiang Lai, Jiashuo Zhang, Liang Zhao, Xiaofeng Yang · arXiv · 2026-11-13

- **Problem** Cardiovascular and lung cancer risk calculators are built one disease at a time, leave out chest CT features and often miscalibrate in new populations. Unconstrained machine learning trained on small hospital cohorts can learn confounded risk directions and hides uncertainty when records are incomplete.
- **Method** Compiles published hazard and odds ratios into limits on each predictor's weight before any outcome is seen, fits the weights inside those limits, and propagates missing-input uncertainty in closed form at deployment.
- **Results** Single-hospital NLST models reached a mean AUC of 0.725 for cardiovascular mortality at the other 32 hospitals, up from 0.656 without constraints. In the held-out NLST test cohort (n = 15,931), the model reached a C-index of 0.731 and an E/Ocr of 1.02.

![Figure 1: Overview of the Causal Envelope Agent (CE-Agent). a, Stage I, before any outcome is seen: a directed acyclic graph (DAG) screen removes composite ind…](https://refivu.com/papers/2c2b5714-498e-4c41-a2bc-142d04049204/figures/figure-d8a1f5b008c51858797a108247dd1261.png?thumb=512)

**Fig. 1** Overview of the Causal Envelope Agent (CE-Agent). a, Stage I, before any outcome is seen: a directed acyclic graph (DAG) screen removes composite indices and post-scan information; published hazard and odds ratios (HR, OR) per standard deviation (SD) assign each predictor a range, point value, direction, or free estimation.b, Stage II fits weights within these constraints, zeroes those contradicting the published direction, and estimates new CT phenotypes locally.c, Closed-form uncertainty propagation returns a risk, its 90% interval, and a triage decision. BP, blood pressure; Ht, height; Wt, weight; BMI, body mass index; CAC, coronary artery calcification; COPD, chronic obstructive pulmonary disease; PA, pulmonary artery.

[Original paper](https://arxiv.org/abs/2611.17819v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yuxiang Lai, Jiashuo Zhang, Liang Zhao, Xiaofeng Yang · Causally Constrained and Uncertainty-Aware Cardiopulmonary Risk Prediction · Original paper figure · Extracted the figure area from page 4 of the original PDF.

## Why existing risk tools miss joint and uncertain risk

Lung screening scans already show the heart and great vessels next to the lungs, so the same examination carries cardiovascular information. The calculators used for each disease, such as PLCOm2012, Framingham, the Pooled Cohort Equations and PREVENT, rely on fixed coefficients that do not include chest CT phenotypes. Those fixed coefficients also tend to miscalibrate when a calculator is carried to a population it was not built on.

Learning the model from data is hard for three reasons, and the paper treats each as a separate problem. A single hospital, demographic group or scanner platform rarely has enough outcome events to estimate a multi-parameter model reliably. Observational records also mix exposures measured before the scan with events that come after it, include derived indices that duplicate their components, and contain measurements distorted by treatment or illness, such as statin use lowering the apparent value of cholesterol as a risk marker.

Finally, outpatient records often lack recent laboratory values or a prior chest CT, and filling a missing value with a single number hides how uncertain the resulting risk is.

## Writing the Causal Envelope before outcomes are seen

CE-Agent works in two stages: Stage I builds the Causal Envelope from published evidence without looking at outcomes, and Stage II fits each predictor's weight inside that envelope. Each observed value is standardized with a center and a positive scale, which in MESA are empirical training moments and in NLST are pre-specified cohort scales.

Figure 1 lays out the whole pipeline, from the structural screen through the compiled envelope to the fitted model and the triage output.

For each predictor, the published hazard or odds ratio is taken per standard increment, and it is rescaled to the local cohort's standard deviation. The sign of that rescaled effect fixes the direction the weight must keep, and this direction is treated as a fact of the literature rather than something the cohort is asked to re-estimate. Predictors are then sorted by how much compatible evidence they carry: those with interval bounds, those fixed at a point value, and those held only to a sign.

The compiled envelope keeps a weight inside its rescaled published interval for predictors that pass every compatibility check, fixes weights for the point-anchored predictors, and requires the sign to be right for the rest. The envelope is written as a set of allowed intercept and weight pairs, so the next stage can search only within it.

In the primary NLST cardiovascular specification there are 13 predictors, with three interval bounds, while the MESA model has 22 predictors, with core clinical factors fixed at point values and the rest left to local estimation.

## How the fit stays inside the envelope

Stage II minimizes a penalized logistic negative log-likelihood, where the linear log-odds for each participant are the intercept plus the weighted sum of the standardized predictors. The empirical term is written as the average over participants of minus the product of the outcome and the log-odds, plus the log of one plus the exponential of the log-odds.

Predictors whose weights carry an interval penalize only departures outside the interval, using a squared hinge, while predictors fixed at a point value are pulled toward that value. The intercept is left unpenalized, so the baseline risk level is set by the local cohort.

The penalty weight controls how strictly the published bounds are enforced, so a very large value gives the hard-bound estimator with zero tuning. A finite penalty is scaled as the prior precision divided by the sample size, so its influence on the fit shrinks as the cohort grows. Setting the penalty to zero, with no sign cone, recovers the unconstrained maximum-likelihood fit that the envelope is compared against.

Under the Karush-Kuhn-Tucker conditions, a sign-only predictor is set to zero whenever the empirical gradient points opposite to its published direction, which is the case when confounding reverses an association. Because the envelope removes free parameters and raises the expected discrimination, the minimum development sample size that the authors compute from the Riley criterion falls, through fewer effective degrees of freedom and a higher anticipated AUC.

## Closed-form uncertainty at deployment

Each predictor enters a patient's record with a mean, a missing-data variance and a missingness indicator, so an observed value carries zero variance and a missing one carries a projected mean and variance. A continuous intermediate biomarker that is not measured is projected from its parents in the graph, with the mean built from sign-constrained training weights and the variance adding the training residual variance.

The projection is written as the intercept plus the weighted sum of the parent means, and the variance as the residual variance plus the squared parent weights times the parent variances.

A reliability gate attached to each predictor shrinks its contribution to the propagated log-odds when the predictor is missing or its imputation is uncertain. The total pathway sensitivity of each predictor, computed in one reverse pass over the graph, multiplies its mean and variance, and the sums give the propagated log-odds mean and the missing-data variance.

The mean and variance are then combined with the intercept variance, and quadrature over a standard normal variable together with an inversion of the log-odds mixture gives the risk and the 90% interval width.

Runtime grows with the number of graph variables and links, but the cost of the integration does not depend on their count, and in single-record scoring each added variable costs 0.016 ms against 6.49 ms for 4,000-draw sampling.

## Accuracy and calibration on cardiovascular outcomes

NLST did not record blood pressure, lipids or kidney function, so those calculator inputs were set to standard untreated reference values.

In the held-out MESA cohort of 1,974 participants, the 22-predictor model matched the calculators and an expanded 58-predictor Cox model while staying calibrated for cardiovascular death, with an E/Ocr of 1.08. On the broad cardiovascular composite matched to Framingham, the integrated t-AUC was 0.813 against 0.789, with P = 0.012, and the expected-to-observed ratio was 0.97 against 1.44.

Twelve of 33 NLST hospitals met that minimum on their own data, against none without constraints.

## Adding CT phenotypes and removing confounded weights

Five electrocardiogram-gated CT phenotypes gave similar gains in MESA.

The pulmonary artery diameter ratio enlarges in COPD, so the envelope specifies only its expected sign, and Stage II set this weight to zero in 89% of NLST cross-validation fits.

## Missing inputs, reliability and CT triage

Across synthetic graphs the closed form was 83- to 377-fold faster than 4,000-draw Monte Carlo, and it was 353-fold faster at 1,000 variables.

The reliability score kept calibration slopes near 1.0 and preserved discrimination at 40% missingness, while reducing overconfident false negatives at least twofold against several baselines. With all five chest CT phenotypes unmeasured at simulated MESA outpatient visits, projecting them from clinical predictors gave an expected-to-observed ratio of 0.96, against 0.81 under population-mean filling.

## Lung cancer risk and joint cardiopulmonary triage

Restricted to risk-factor directions alone, the model reached an AUC of 0.710.

## Limitations

The validation uses two US cohorts, and the authors identify extending validation beyond them as future work. In NLST, blood pressure, lipid and kidney inputs were not measured and were replaced with reference values, so the cardiovascular calculator comparisons there depend on those substitutions. The lung cancer model without interval bounds keeps directional constraints on eight predictors, and some analyses, including the single-hospital lung cancer fits and the LDCT-arm triage, were planned as secondary or post hoc.

## Paper info

- **Authors**: Yuxiang Lai, Jiashuo Zhang, Liang Zhao, Xiaofeng Yang
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-13
- **Added**: 2026-11-16
- **Updated**: 2026-11-13
- **Version**: v1
- **arXiv**: 2611.17819
- **Category**: cs.AI
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.17819v1) · [PDF ↗](https://arxiv.org/pdf/2611.17819v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Routine chest computed tomography (CT) captures pulmonary, cardiac, and vascular phenotypes that jointly stratify lung cancer and cardiovascular disease, the two leading causes of death in lung-screening populations. Yet clinical risk calculators evaluate each disease in isolation and omit CT findings, whereas unconstrained machine learning overfits small hospital cohorts, learns treatment- and illness-confounded risk directions, and conceals uncertainty when patient records are incomplete. Here we present the Causal Envelope Agent (CE-Agent), a two-stage framework that compiles peer-reviewed epidemiological evidence into explicit constraints on risk-factor weights before any outcome is seen, while estimating local baseline risk and newly added CT phenotypes from cohort data. At deployment, closed-form uncertainty propagation accounts for missing clinical or CT inputs within milliseconds per patient, running over two orders of magnitude faster than Monte Carlo sampling and returning calibrated risk intervals that direct chart review and selective imaging to borderline patients. Across 53,452 lung-screening participants from 33 US hospitals and 6,814 multi-ethnic adults, CE-Agent outperforms cardiovascular calculators in lung screening, exceeds the Pooled Cohort Equations on hard atherosclerotic events while correcting their 1.7-fold risk overestimation, and generalizes from a single hospital or CT scanner to external sites while lowering required sample sizes up to fivefold. Applied unchanged to lung cancer, CE-Agent matches established screening models with accurate calibration even when restricted to risk-factor directions alone, and pairing both predictions improves joint cardiopulmonary triage from a single screening visit.

## Quote from the paper

Yuxiang Lai, Jiashuo Zhang, Liang Zhao, Xiaofeng Yang (2026). Causally Constrained and Uncertainty-Aware Cardiopulmonary Risk Prediction. arXiv:2611.17819v1. https://arxiv.org/abs/2611.17819v1

**BibTeX**

```
@misc{lai2026causally,
  title = {{Causally Constrained and Uncertainty-Aware Cardiopulmonary Risk Prediction}},
  author = {Yuxiang Lai and Jiashuo Zhang and Liang Zhao and Xiaofeng Yang},
  year = {2026},
  eprint = {2611.17819},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.17819v1}
}
```

## Related papers

- [Escaping the Mode: Multi-Answer Reinforcement Learning in LMs](https://refivu.com/en/papers/57396737-909e-4ef4-acf5-3d267b659acf-escaping-the-mode-multi-answer-reinforcement-learning-in.md)
- [Auditing black-box clinical prediction models with a large language model through queries alone: a blinded test with planted flaws](https://refivu.com/en/papers/42b571d7-f993-4ac8-853f-382abfa8b6e5-auditing-black-box-clinical-prediction-models-with-a.md)
- [Benchmarking Large Language Models for Linguistic Annotation](https://refivu.com/en/papers/31699f2b-c12b-41fb-89a9-0fd2b94ea922-benchmarking-large-language-models-for-linguistic-annotation.md)

## Other paper commentary

- [Differentially Private Federated Learning: A Client Level Perspective](https://refivu.com/en/papers/8eaa4c01-7257-42c2-9d51-9996980ee41d-differentially-private-federated-learning-a-client-level.md)
- [Metrics for Multi-Class Classification: an Overview](https://refivu.com/en/papers/78ca6b47-f74d-4a51-a805-f5f83bb18a77-metrics-for-multi-class-classification-an-overview.md)
- [Exploiting Unintended Feature Leakage in Collaborative Learning](https://refivu.com/en/papers/422f8c4a-b03f-4b77-a90a-48be0d614527-exploiting-unintended-feature-leakage-in-collaborative.md)
- [Continual Learning Through Synaptic Intelligence](https://refivu.com/en/papers/443ed68e-4775-416a-b80f-35ef15c63f40-continual-learning-through-synaptic-intelligence.md)
- [Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholding](https://refivu.com/en/papers/64c18ffc-78a1-4f78-8aae-69d2bac47633-detecting-spacecraft-anomalies-using-lstms-and-nonparametric.md)
- [Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learning](https://refivu.com/en/papers/fddce09d-7fcc-4378-9b7f-d421fd3b3e85-imbalanced-learn-a-python-toolbox-to-tackle-the.md)
- [Emulating physics-based XCO2 retrievals across OCO-2 viewing modes with compact neural networks](https://refivu.com/en/papers/6eac8a41-4497-46c1-a78e-3b47e416ce0a-emulating-physics-based-xco2-retrievals-across-oco-2.md)
- [Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization](https://refivu.com/en/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959-experts-across-schemas-agent-guided-mixture-of-relational.md)
- [PROOF: Perceptive Robustness via Out-of-Distribution Fallback for Legged Locomotion](https://refivu.com/en/papers/279ca1a1-82a3-47dc-b2cc-f17e67e707ed-proof-perceptive-robustness-via-out-of-distribution-fallback.md)
- [Right Token, Right Time: From Per-Token Gating to Trajectory-Aware Activation Steering](https://refivu.com/en/papers/0f4151bb-65f7-42ff-9693-d1cea802586a-right-token-right-time-from-per-token-gating.md)
- [TetraCoder: Adaptive Tetrahedral Encoding for Neural Fields](https://refivu.com/en/papers/02f23486-8821-4112-a204-d59880f54fa5-tetracoder-adaptive-tetrahedral-encoding-for-neural-fields.md)
- [Efficient Genotype Classification from 3D MRI in ADPKD via Density-Aware Point Sampling and E(3)-invariance](https://refivu.com/en/papers/4dc57601-9b59-43d2-8406-3a9088e8e1be-efficient-genotype-classification-from-3d-mri-in-adpkd.md)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/2c2b5714-498e-4c41-a2bc-142d04049204-causally-constrained-and-uncertainty-aware-cardiopulmonary)
