TL;DR
The paper introduces HACHI, a human-AI co-design framework that pairs clinical experts with Large Language Model (LLM) agents to build highly interpretable clinical prediction models (CPMs) from unstructured medical notes. By alternating between automated concept exploration and expert human feedback, HACHI creates models that outperform traditional baselines while successfully identifying and correcting critical issues like data leakage and site bias.
What Problem Does This Paper Address?
Clinical prediction models (CPMs) help doctors calculate patient risks at the bedside using simple, interpretable rules. However, designing these models is notoriously difficult and time-consuming. The process traditionally requires months of back-and-forth collaboration between clinicians and data scientists to decide which patient features to include.
This challenge intensifies when trying to use unstructured clinical notes, which contain an essentially infinite variety of medical concepts and writing styles. While purely automated AI methods can sift through text to find predictive features, they operate in a vacuum. Without human guidance, an isolated AI agent often selects features that lack clinical credibility, rely on data leakage (using information from the future), or exploit spurious correlations unique to a specific hospital's formatting style.
Methods
To bridge this gap, the authors developed HACHI (Human+Agent Co-design framework for Healthcare Instruments). HACHI splits the model-building process into two distinct loops:
- The Inner Loop (AI Agent): The AI agent uses an LLM to perform a greedy hill-climbing optimization procedure. It extracts keyphrases from clinical notes, proposes candidate concepts phrased as simple yes/no questions (e.g., "Does the note mention the patient experiencing loss of consciousness?"), and evaluates how well these concepts predict the target outcome using a lasso-penalized logistic regression model.
- The Outer Loop (Clinical AI Team): Human experts review the AI's proposed concepts and model coefficients through a secure, web-based interface. Instead of manually engineering features, the humans provide high-level directional feedback. They steer the AI by modifying prompts, adjusting the granularity of concepts, enforcing clinical intuition (e.g., requiring that a protective factor has a negative coefficient), or altering dataset weights.
Datasets
The framework was evaluated on two real-world retrospective datasets from the University of California, San Francisco (UCSF):
- Pediatric Traumatic Brain Injury (TBI): A case-control dataset consisting of emergency department triage, provider, and nursing notes from 800 encounters across two distinct campuses (Oakland and Mission Bay) between 2014 and 2024.
- Post-operative Acute Kidney Injury (AKI): A dataset of 1,600 general surgery patients (800 cases, 800 controls) from 2016 to 2024, utilizing preoperative anesthesia notes. It was validated on a temporally disjoint test set from later in 2024 to assess generalizability over time.
Key Insights and Ideas
- The "Gulf of Envisionment": At the start of a project, human clinical teams rarely know the exact task specifications or data quirks. HACHI's iterative nature allows humans to refine their goals as they see what the AI discovers.
- Catching AI Blindspots: In the first round of the TBI task, the AI achieved a deceptively high accuracy (AUC of 0.92). However, human review revealed severe flaws: the AI relied on data leakage (the concept "brain bleed," which is typically only known after a CT scan is completed) and spurious correlations (whether a note explicitly mentioned the "Glasgow Coma Scale" text formatting).
- Enforcing Clinical Logic: In early rounds, the AI occasionally assigned positive risk coefficients to healthy indicators (like a normal coma score). The human team corrected this by modifying the optimization constraints, forcing the AI to align its mathematical coefficients with established medical priors.
- Addressing Site Bias: The TBI dataset was imbalanced 3:1 between the two hospital campuses. The AI initially optimized for the dominant campus, leading to poor performance at the second site. The human team identified this disparity and instructed the system to apply equal sample weights, drastically improving cross-site generalizability.
Key Results
HACHI demonstrated that a few short rounds of human-AI collaboration can yield substantial performance gains over both traditional clinical rules and fully automated AI baselines:
- TBI Prediction: The final HACHI model achieved an Area Under the Curve (AUC) of 0.91, significantly outperforming the widely used PECARN clinical baseline (0.75 AUC) and a single-round LLM brainstorming baseline (0.88 AUC).
- AKI Prediction: HACHI achieved an AUC of 0.73 on the validation set and maintained a high AUC of 0.76 on the temporally separate test set, outperforming the standard Kheterpal clinical model (0.64–0.66 AUC).
- Human Efficiency: Instead of months of manual data engineering, the clinical teams only needed to spend roughly 1 to 2 hours reviewing results per round, with satisfactory models achieved in just 3 to 4 rounds.
Limitations and Future Work
While promising, the authors note several limitations. The study was conducted retrospectively using historical data from a single academic medical center, meaning prospective clinical trials are still required to see how these models perform in real-time workflows. Additionally, the final model's quality remains bounded by the underlying LLM's text extraction accuracy.
Moving forward, the authors suggest expanding HACHI to handle multimodal data—combining unstructured clinical text with structured laboratory results, imaging, and time-series vitals.
Summary updated