Bridging Stepwise Lab-Informed Pretraining and Knowledge-Guided Learning for Diagnostic Reasoning

Pengfei Hu, Chang Lü, Fei Wang, Yue Ning

TL;DR

DuaLK is a new "dual-expertise" framework that improves AI diagnostic reasoning by combining a Large Language Model (LLM)-enriched medical knowledge graph with a novel pretraining strategy. By mimicking the "stepwise" workflow of human doctors—who use lab tests as intermediate signals before reaching a diagnosis—the model achieves state-of-the-art accuracy on clinical prediction tasks, particularly for rare diseases.

What Problem Does This Paper Address?

Despite the wealth of data in Electronic Health Records (EHR), most AI models for diagnosis prediction operate as "black boxes" that find statistical correlations rather than following clinical logic. These models face three primary hurdles:

  1. Shallow Knowledge: They often rely on simple medical hierarchies (like ICD-9 codes) that lack the nuanced semantic relationships (e.g., "Disease A causes Symptom B") found in medical literature.
  2. Lack of Reasoning: Human doctors don't jump straight from symptoms to a final diagnosis; they follow a procedural path, often ordering and interpreting lab tests to confirm hypotheses. Most AI models skip this "stepwise" reasoning.
  3. Integration Inefficiency: Combining massive external knowledge bases with specific patient data often leads to high computational costs or "noisy" predictions that don't align well with real-world clinical practice.

Methods

The authors propose DuaLK, which integrates two types of expertise:

  • The "Knowledge Scholar" (External Knowledge): The team built a comprehensive Diagnosis Knowledge Graph (KG) by merging five standard ontologies (like DrugBank and ICD-9) with unstructured text from sources like the Mayo Clinic and Wikipedia. They used Llama-3 to extract structured "triples" (Subject-Relation-Object) from this text. To represent this knowledge, they used Polar-space Embedding, which uses radial coordinates to capture hierarchy (levels of disease) and angular coordinates to capture semantic similarity.
  • Lab-Informed Pretraining (Internal Reasoning): To mimic clinical logic, the authors introduced a proxy task during pretraining. The model must learn to predict:
  • Lab Test Assignment: Which tests would a doctor order given this patient's history?
  • Abnormality Detection: Will those test results be abnormal?

By forcing the model to predict these intermediate "clinical signals," it learns to "reason" through the diagnostic process before making a final prediction. The framework uses an encoder-decoder architecture where a Graph Neural Network (GNN) refines patient embeddings using the KG's priors.

Datasets

The model was evaluated on two gold-standard public EHR datasets:

  • MIMIC-III: Contains data from over 7,000 patients with multiple hospital visits.
  • MIMIC-IV: The authors sampled 10,000 patients admitted between 2013 and 2019 to ensure a robust, modern benchmark.

The researchers also created specific sub-tasks for "Rare-10" and "Rare-20"—predicting ICD codes that appear fewer than 10 or 20 times in the dataset—to test the model's ability to handle low-prevalence conditions.

Key Insights and Ideas

  • Labs as Logic, Not Just Data: The most significant "aha" moment is treating lab tests as a reasoning step rather than just another feature column. By predicting the assignment of a lab test, the model learns the "intent" of a physician.
  • LLMs as Graph Builders: Instead of using LLMs to predict diagnoses directly (which risks "hallucinations"), the authors used them to structure medical knowledge into a KG. This "decouples" the heavy lifting of the LLM from the actual prediction phase, making the model much more efficient for real-time hospital use.
  • The Power of Polar Embeddings: Medical concepts are naturally hierarchical (e.g., "Heart Disease" -> "Heart Failure"). Using polar coordinates allows the model to mathematically separate "how specific a disease is" (radius) from "what kind of disease it is" (angle), leading to much cleaner data representations than standard flat embeddings.

Key Results

DuaLK consistently outperformed ten state-of-the-art baselines (including G-BERT and HiTANet) across multiple tasks:

  • Diagnosis Prediction: Boosted the weighted F1 score by approximately 6% on MIMIC-III compared to the best baseline.
  • Heart Failure Prediction: Achieved an AUC of 90.32% on MIMIC-IV.
  • Rare Disease Handling: In the "Rare-10" task, DuaLK outperformed the next best model by nearly 7% in Recall@5, proving that the external knowledge graph effectively "fills in the gaps" when patient data is scarce.
  • Efficiency: Unlike some knowledge-heavy models, DuaLK's decoupled design allows it to run on a single commercial GPU (NVIDIA RTX-4090) with significantly lower memory usage than end-to-end competitors like GraphCare.

Limitations and Future Work

While DuaLK is a major step forward, the authors note a few areas for growth:

  • KG Construction: The initial construction of the LLM-enriched KG is a complex, one-time process. If medical knowledge changes rapidly, the KG needs a structured way to update without a full rebuild.
  • Scope: The current model focuses on diagnosis and heart failure. The authors suggest that future versions could expand to treatment recommendation or mortality prediction.
  • Data Modality: The framework currently focuses on structured EHR data and lab tests; integrating unstructured clinical notes or medical imaging remains a promising future direction.

Summary updated

BibTeX
@article{hu2024bridging,
  author = {Pengfei Hu and Chang Lü and Fei Wang and Yue Ning},
  title = {{Bridging Stepwise Lab-Informed Pretraining and Knowledge-Guided Learning for Diagnostic Reasoning}},
  journal = {IEEE Journal of Biomedical and Health Informatics},
  year = {2024},
}
Figure