Leveraging Evidence-Guided LLMs to Enhance Trustworthy Depression Diagnosis

Yining Yuan, J. Ben Tamo, Micky C. Nnamdi, Yifei Wang, May Dongmei Wang

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:

  1. 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:
  2. Extract patient symptoms from dialogues.
  3. Match these symptoms to potential disorders using a DSM-5-based knowledge graph.
  4. Evaluate whether specific diagnostic criteria (from DSM-5) are met.
  5. Check for any exclusion criteria that might rule out a diagnosis.
  6. 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.

  7. Diagnosis Confidence Scoring (DCS): This stage quantifies the trustworthiness of the diagnoses generated by EGDR. It comprises two key metrics:

  8. 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.
  9. 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) and lambda (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

Abstract

Large language models (LLMs) show promise in automating clinical diagnosis, yet their non-transparent decision-making and limited alignment with diagnostic standards hinder trust and clinical adoption. We address this challenge by proposing a two-stage diagnostic framework that enhances transparency, trustworthiness, and reliability. First, we introduce evidence-guided diagnostic reasoning (EGDR), which guides LLMs in generating structured diagnostic hypotheses by interleaving evidence extraction and logical reasoning, grounded in DSM-5 criteria. Second, we propose a Diagnosis Confidence Scoring (DCS) module that evaluates the factual accuracy and logical consistency of generated diagnoses through two interpretable metrics: Knowledge Attribution Score (KAS) and Logic Consistency Score (LCS). Evaluated on the D4 dataset with pseudo-labels, EGDR outperforms Direct in-context prompting and Chain-of-Thought (CoT) across five LLMs. For instance, on OpenBioLLM, EGDR improves accuracy from 0.31 (Direct) to 0.76 and DCS from 0.50 to 0.67. On MedLlama, DCS rises from 0.58 (CoT) to 0.77. EGDR yields up to +45% accuracy and +36% DCS gains over baselines, offering a clinically grounded, interpretable foundation for trustworthy AI-assisted diagnosis.
BibTeX
@inproceedings{yuan2025leveraging,
  author = {Yining Yuan and J. Ben Tamo and Micky C. Nnamdi and Yifei Wang and May Dongmei Wang},
  title = {{Leveraging Evidence-Guided LLMs to Enhance Trustworthy Depression Diagnosis}},
  booktitle = {BHI},
  year = {2025},
  url = {https://openreview.net/forum?id=6Kcgwan7bj},
}
Figure