TL;DR
This paper introduces a two-stage framework, EGDR and DCS, to make Large Language Models (LLMs) more trustworthy for depression diagnosis. EGDR guides LLMs to reason through diagnostic criteria using evidence, while DCS quantifies the confidence in these diagnoses based on factual accuracy and logical consistency, addressing the critical need for transparency and reliability in AI-driven healthcare.
What Problem Does This Paper Address?
Diagnosing mental health conditions like depression is complex and requires careful consideration of symptoms, criteria, and exclusions, often guided by established manuals like the DSM-5. While LLMs show promise in analyzing patient dialogues for diagnostic clues, their "black-box" nature, lack of transparency, and potential misalignment with clinical standards make them untrustworthy for real-world medical applications. Clinicians need not only a diagnosis but also a clear, evidence-based justification for it. This paper tackles the challenge of making LLM-based diagnostic tools reliable, transparent, and clinically actionable by grounding their reasoning in established medical knowledge and providing a quantifiable measure of confidence.
Methods
The proposed solution is a two-stage framework:
- Evidence-Guided Diagnostic Reasoning (EGDR): This stage focuses on improving the LLM's reasoning process. Instead of simply asking for a diagnosis, EGDR prompts the LLM to:
- Extract patient symptoms from dialogues.
- Match these symptoms to potential disorders using a DSM-5-based knowledge graph.
- Evaluate whether specific diagnostic criteria (from DSM-5) are met.
- Check for any exclusion criteria that might rule out a diagnosis.
-
Finally, determine the most appropriate diagnosis with a detailed reasoning trace. This structured approach interleaves evidence extraction with logical inference, aiming for clinically grounded and interpretable outputs.
-
Diagnosis Confidence Scoring (DCS): This stage quantifies the trustworthiness of the diagnoses generated by EGDR. It comprises two key metrics:
- Knowledge Attribution Score (KAS): This score assesses the factual accuracy of individual diagnostic claims by comparing them against the DSM-5 knowledge graph. It combines symbolic matching (checking for direct alignment with DSM-5 triplets) and neural semantic similarity.
- Logic Consistency Score (LCS): This score evaluates the overall logical coherence of the diagnostic reasoning. It checks if the LLM's reasoning adheres to the rule-based logic of DSM-5 criteria, including symptom counts and exclusion rules. These two scores are combined into a single DCS, ranging from 0 (invalid) to 1 (fully valid), providing a normalized and interpretable measure of diagnostic reliability.
Datasets
- D4 Dataset: This dataset contains 1,339 annotated clinician-patient dialogues for depression and suicide risk assessment. It includes expert-labeled symptom mentions, depression severity, and suicide risk scores. The paper uses this dataset to establish baseline performance and generate "pseudo-labels" for training and evaluation.
- MDDial Dataset: This dataset comprises 235 patient dialogue instances with gold-standard annotations for a variety of diagnoses (not limited to mental health). It's used to demonstrate the framework's versatility and robustness across different clinical domains.
Key Insights and Ideas
- Structured Reasoning is Key: Simply prompting LLMs with "chain-of-thought" isn't enough. A structured, evidence-guided approach that explicitly incorporates clinical guidelines (like DSM-5) significantly improves diagnostic accuracy and interpretability.
- Confidence Matters: A diagnosis alone is insufficient; clinicians need to know how confident the AI is and why. The DCS metric provides this crucial layer of trust by evaluating both factual grounding and logical soundness.
- Knowledge Graphs are Essential: Integrating a DSM-5-based knowledge graph is vital for grounding LLM reasoning in established medical criteria, moving beyond mere pattern matching.
- Dual Evaluation is Powerful: Combining factual attribution (KAS) with logical consistency (LCS) offers a more comprehensive assessment of diagnostic quality than either metric alone.
Key Results
- EGDR Outperforms Baselines: The EGDR framework consistently improved accuracy and Diagnosis Confidence Scores (DCS) across various LLMs compared to direct prompting and Chain-of-Thought (CoT).
- Significant Accuracy Gains: On the D4 dataset, EGDR improved accuracy by up to +45% and DCS by +36% over baselines. For example, OpenBioLLM saw accuracy jump from 0.31 (Direct) to 0.76 with EGDR.
- Model Versatility: EGDR showed benefits across both domain-specific and general-purpose LLMs, including Claude and Gemini. Gemini-2.5-flash achieved the highest accuracy on D4 (0.88) using EGDR.
- DCS Reflects Correctness: Figure 4 shows that DCS scores are consistently higher for correct diagnoses and lower for incorrect ones, indicating the metric's effectiveness in reflecting diagnostic confidence.
Limitations and Future Work
- Dataset Imbalances: The paper notes that dataset imbalances (e.g., in age and gender distribution) can lead to disparities in performance, particularly for smaller demographic subgroups. This highlights the need for careful interpretation of fairness metrics.
- LLM Biases: The authors acknowledge that LLM biases, potentially stemming from pretraining data, can influence responses and contribute to demographic disparities.
- Future Work: The paper suggests exploring how parameters like
alpha(balancing semantic similarity and entity precision in TMS) andlambda(balancing KAS and LCS in DCS) can be further optimized. They also imply that extending this framework to other medical domains and more complex diagnostic scenarios would be valuable.
Summary updated