Introduction
In high-stakes clinical environments, the adoption of artificial intelligence is often hindered by the "black-box" nature of high-performing deep learning models. While architectures like BERT and its derivatives achieve impressive predictive accuracy, their decision-making processes remain opaque to clinicians. Conversely, simple linear models are highly interpretable but traditionally require labor-intensive "hand-crafting" of features by domain experts or reliance on noisy, incomplete structured data like ICD billing codes.
This paper introduces CHiLL (Crafting High-Level Latents), a framework designed to bridge the gap between the reasoning capabilities of Large Language Models (LLMs) and the transparency of linear models. CHiLL automates the extraction of human-readable, clinically meaningful features from raw medical notes, allowing for the construction of models that are both performant and auditable.
Methodology
The CHiLL pipeline consists of four primary stages that transform unstructured clinical text into an interpretable predictive model:
- Expert Specification: A domain expert (e.g., a physician or radiologist) defines a set of natural language queries relevant to the clinical task. For example, to predict pneumonia, an expert might ask, "Does the report mention alveolar filling?"
- Zero-Shot Extraction: An instruction-tuned LLM—specifically Flan-T5-XXL—processes the clinical notes to answer these queries. This process is "zero-shot," meaning the model requires no task-specific fine-tuning to identify the relevant clinical concepts.
- Feature Encoding: Rather than using simple binary (Yes/No) outputs, the framework utilizes the LLM’s output probabilities (confidence scores). Treating these as continuous features allows the model to capture the inherent uncertainty present in clinical documentation.
- Linear Modeling: These extracted features serve as inputs for a standard logistic regression model. Because the features correspond directly to the expert's initial queries, the resulting model weights provide a clear, rank-ordered view of which clinical indicators are driving a specific prediction.
Experimental Evaluation
The researchers evaluated CHiLL across two major public benchmarks to test its versatility and accuracy:
- MIMIC-III: Used for predicting 30-day readmission, in-hospital mortality, and specific patient phenotypes.
- MIMIC-CXR: A dataset of chest X-ray reports where a radiologist co-author developed 105 specific clinical queries to identify findings such as atelectasis and pneumonia.
Key Insights
Performance and Interpretability
CHiLL demonstrated performance comparable to models trained on "ground truth" ICD codes. While massive black-box models like ClinicalBERT maintain a slight edge in raw AUROC (e.g., 0.82 vs. 0.72 in phenotyping tasks), CHiLL achieves its results using only 10–100 human-defined features. This is a significant reduction in complexity compared to the tens of thousands of features typically used by Bag-of-Words or BERT-based approaches.
The Importance of Calibration
A critical finding was that using the LLM's soft probabilities as continuous features significantly outperformed hard binary labels. This suggests that the LLM's internal uncertainty is a valuable signal for downstream clinical prediction tasks.
Clinical Validation
To verify the model's reasoning, a radiologist reviewed cases where CHiLL's predictions disagreed with standard dataset labels. In several instances, the CHiLL model was found to be correct, identifying clinical nuances that the original labels had missed (false negatives). This suggests that CHiLL can serve as a tool for data cleaning and validation in addition to prediction.
Limitations and Future Directions
Despite its promise, the CHiLL framework faces several challenges:
- The "Slippery" Query Problem: If expert queries are too broad or too closely aligned with the target outcome (e.g., asking "Is the patient likely to be readmitted?"), the features themselves become black boxes, undermining the goal of interpretability.
- Hallucination Risks: While the linear model is transparent, it is still dependent on the LLM's extraction. If the LLM identifies a feature not present in the text, the linear model will incorporate that error into its prediction.
- Computational Overhead: Utilizing large models like Flan-T5-XXL for feature extraction is more computationally demanding than traditional keyword-based methods.
Conclusion
CHiLL represents a significant step toward making clinical AI more transparent and trustworthy. By leveraging LLMs as "noisy experts" to extract structured features, researchers can build models that align with clinical intuition without the prohibitive cost of manual data labeling.
Summary updated