TL;DR
THCM-CAL is a novel clinical risk prediction framework that unifies unstructured clinical notes and structured diagnostic codes into a temporal-hierarchical causal graph. By combining dynamic causal discovery with multi-label conformal prediction, it significantly improves the accuracy of future diagnosis predictions while providing mathematically guaranteed uncertainty bounds.
What Problem Does This Paper Address?
Predicting a patient's future health risks from Electronic Health Records (EHRs) requires analyzing two very different types of data: structured International Classification of Diseases (ICD) codes and unstructured clinical narratives (like doctor's notes).
Existing machine learning approaches typically treat these modalities in isolation or use naive fusion strategies that view them as static co-occurrences. This ignores the directional, causal relationships inherent in medicine—such as a specific symptom mentioned in a note triggering an ICD code assignment, or a diagnosis from a previous hospital visit propagating risk to a subsequent admission. Furthermore, deep learning models deployed in clinical settings often suffer from overconfidence, making reliable uncertainty quantification a necessity before these tools can be safely trusted by healthcare professionals.
Methods
The proposed framework, THCM-CAL (Temporal-Hierarchical Causal Model with Conformal Calibration), tackles these challenges through a four-stage pipeline:
- Information Extraction: The model segments free-text clinical notes and uses a large language model (GPT-3.5) to extract clean, atomic clinical propositions. Simultaneously, historical ICD codes are mapped to their canonical textual descriptions.
- Node Representation: Textual propositions and ICD descriptions are encoded using a biomedical BERT model and projected into a shared embedding space to serve as graph nodes.
- Temporal-Hierarchical Causal Graph: The core of the model dynamically learns a multi-slice causal graph using Gumbel-Softmax sampling, enforced by a continuous acyclicity penalty (NOTEARS). It captures three distinct edge types: intra-visit sequencing (text-to-text), cross-modality triggers (text-to-code), and inter-visit risk propagation (code-to-code across time). Graph Convolutional Networks (GCNs) then fuse these relationships into a patient trajectory embedding.
- Conformal Calibration: Finally, the authors extend split conformal prediction to the multi-label setting. Instead of just outputting a point prediction, the model generates a calibrated set of plausible ICD codes that guarantees a user-specified coverage probability (e.g., a 90% confidence interval).
Datasets
The model was evaluated on two standard, large-scale EHR benchmarks:
- MIMIC-III: Filtered to 7,192 patients and 11,1980 admissions.
- MIMIC-IV: Merged with the MIMIC-IV-Ext-BHC dataset (a meticulously cleaned and standardized corpus of clinical notes), resulting in 17,526 patients and 38,346 admissions.
To prevent label leakage, the authors explicitly filtered out discharge summaries and restricted the task to patients with at least two hospitalizations, using historical visits to predict the next admission's codes.
Key Insights and Ideas
- Causality over Co-occurrence: Modeling the interactions between text and codes as a directed acyclic graph (DAG) prevents the model from picking up on spurious correlations, closely mimicking real-world clinical reasoning.
- Multi-label Conformal Prediction: While conformal prediction is widely used for single-label tasks, extending it to multi-label ICD coding allows the framework to handle complex code co-occurrences while providing distribution-free mathematical guarantees on uncertainty.
- Granular Text Processing: Extracting atomic propositions via an LLM before graph construction bridges the semantic gap between dense, messy clinical narratives and clean, structured diagnostic codes.
Key Results
THCM-CAL was compared against a wide array of baselines, including text-centric models (CAML, DistilBioBERT, BioMedLM), code-focused models, and advanced graph-based frameworks (Chet, DKEC).
- MIMIC-III Performance: THCM-CAL achieved 30.02% Precision@10 and 24.04% Recall@10, outperforming the strongest baseline (Chet) by 5.50 and 5.22 percentage points, respectively.
- MIMIC-IV Performance: It attained 28.83% Precision@10 and 37.03% Recall@10, beating the best baseline (DistilBioBERT) by 6.24 and 7.20 percentage points.
- Comorbidity Retrieval: The model demonstrated a massive boost in Recall@20 (33.16% on MIMIC-III and 46.04% on MIMIC-IV), proving that explicit causal modeling helps surface less frequent but clinically vital comorbidities.
- Calibration Efficiency: Conformal calibration successfully produced tighter, more compact prediction intervals while maintaining the nominal target coverage rate.
Limitations and Future Work
- LLM Computational Overhead: Relying on commercial LLMs like GPT-3.5 for atomic proposition extraction introduces significant computational overhead and risks propagating errors if the LLM misidentifies or omits clinical facts.
- Scaling to Richer Coding Systems: The framework was validated on datasets mapped to the older ICD-9 system. Adapting THCM-CAL to the much larger and more complex ICD-10 system, or to non-English clinical corpora, remains an open challenge for future work.
Summary updated