Skip to main content
NPJ Digital Medicine logoLink to NPJ Digital Medicine
. 2026 Mar 25;9:575. doi: 10.1038/s41746-026-02559-9

WiseMind: a knowledge-guided multi-agent framework for accurate and empathetic psychiatric diagnosis

Yuqi Wu 1,2,#, Guangya Wan 3,#, Jingjing Li 4,✉, Shengming Zhao 1, Lingfeng Ma 1, Tianyi Ye 1, Mike Zhang 5, Ion Pop 5, Yanbo Zhang 5,✉, Jie Chen 1,2,✉
PMCID: PMC13408596  PMID: 41882314

Abstract

Large Language Models (LLMs) offer promising opportunities to support mental healthcare workflows, yet they often lack the structured clinical reasoning needed for reliable diagnosis and may struggle to provide the emotionally attuned communication essential for patient trust. Here, we introduce WiseMind, a novel multi-agent framework inspired by the theory of Dialectical Behavior Therapy designed to facilitate psychiatric assessment. By integrating a “Reasonable Mind" Agent for evidence-based logic and an “Emotional Mind" Agent for empathetic communication, WiseMind effectively bridges the gap between instrumental accuracy and humanistic care. Our framework utilizes a Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition (DSM-5)-guided Structured Knowledge Graph to steer diagnostic inquiries, significantly reducing hallucinations compared to standard prompting methods. Using a combination of virtual standard patients, simulated interactions, and real human interaction datasets, we evaluate WiseMind across three common psychiatric conditions. WiseMind outperforms state-of-the-art LLM methods in both identifying critical diagnostic nodes and establishing accurate differential diagnoses. Across 1206 simulated conversations and 180 real user sessions, the system achieves 85.6% top-1 diagnostic accuracy, approaching reported diagnostic performance ranges of board-certified psychiatrists and surpassing knowledge-enhanced single-agent baselines by 15-54 percentage points. Expert review by psychiatrists further validates that WiseMind generates responses that are not only clinically sound but also psychologically supportive, demonstrating the feasibility of empathetic, reliable AI agents to conduct psychiatric assessments under appropriate human oversight.

Subject terms: Business and industry, Health care, Mathematics and computing, Psychology, Psychology

Introduction

Psychiatric assessment and diagnosis are among the most demanding tasks in clinical medicine, requiring clinicians to synthesize verbal symptom histories, behavioral observations, and contextual factors within an empathic, adaptive interview1,2. Clinicians must differentiate overlapping symptom clusters, apply temporal qualifiers and exclusion rules, monitor for self-harm or crisis risk, and simultaneously maintain rapport and respond to emotional cues1–4. These challenges are compounded by escalating clinical demand5, workforce shortages6,7, long training pipelines8,9, and expectations for culturally attuned, equitable care10,11. As these pressures intensify, there is growing interest in whether large language models (LLMs) could assist intake, triage, and early-stage diagnostic reasoning.

Although LLMs have demonstrated promising performance on medical board examinations12,13, most clinical natural language processing (NLP) systems are not yet fully aligned with the cognitive, interpersonal, and ethical demands of psychiatric assessment. Many rely on pretraining, fine-tuning, in-context learning (ICL), or retrieval-augmented generation (RAG)14–18, yet they are evaluated mainly with technical metrics such as F1-score or Bilingual Evaluation Understudy (BLEU). As highlighted in recent clinical NLP surveys19,20, these systems often perform well in silico but are still insufficient to meet real-world expectations for systematic diagnostic reasoning, flexible interviewing, empathic engagement, and stringent safety supervision21. Three gaps restrict their clinical utility, as summarized in Table 1.

Table 1.

Interdisciplinary contextualization framework showing gaps in current approaches and WiseMind’s corresponding solutions for psychiatric differential diagnosis

Design gaps Existing methods Observed limitations WiseMind design component
Knowledge Integration Pretraining80, ICL64, RAG25 • Flat, unstructured knowledge Structured Knowledge–Guided Proactive Reasoning
• Lack of clinical decision paths

• DSM-guided state graph4

• Action-based transitions

• Reactive behavior • Structured, proactive dialog
Process Modeling Single-agent LLMs32,33; heuristic multi-agent setups37,38 • Overemphasis on reasoning Theory-Informed Dual-Agent Architecture
• Shallow emotional responses • Dual-agent design grounded in DBT30
• Lack of theoretical grounding • RA for diagnosis; EA for empathy
Evaluation Scope Accuracy metrics (e.g., F1, BLEU)14–16 • Ignores safety, empathy, trust Multi-Faceted Evaluation Strategy
• No user-centered or ethical testing39,40 • Multi-tier evaluation: user, expert, ethical
• Adversarial and human-in-the-loop tests10,11,44

First, a domain knowledge gap limits diagnostic reliability. Psychiatric diagnosis is governed by highly structured decision pathways defined in the Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition (DSM-5)3,4,22,23 and the International Classification of Diseases, Eleventh Revision (ICD-11)24. These frameworks organize disorders into hierarchical symptom clusters, supplemented by temporal qualifiers, exclusion criteria, and specifiers that guide clinicians in distinguishing among more than 150 frequently overlapping conditions. This structured clinical reasoning process—known as psychiatric differential diagnosis (DDx)—is essential for determining the most accurate and safe diagnostic formulation4. Because DDx relies almost entirely on verbal histories rather than laboratory or imaging findings, effective diagnostic-support systems must adhere to these structured pathways to maintain clinical coherence1,2. Yet current LLM knowledge-integration methods represent information as flat or lightly tagged text25, overlooking this tree-like structure and producing reactive, prompt-driven behavior that increases the risk of omissions, disorganized dialog, and missed exclusion criteria26–28.

Second, a process gap prevents empathic and adaptive interviewing. Effective psychiatric assessment requires balancing analytic reasoning and empathic engagement2. Clinicians build rapport, attune to affect, sense hesitation, respond to emotional cues, and dynamically adjust questioning. These relational skills strongly shape disclosure, including suicidality, trauma, mania, psychosis, or substance use29. This balance mirrors Dialectical Behavior Therapy (DBT)’s distinction between the “reasonable mind” (cognitive, rule-based) and the “emotional mind” (affective, validating)30. Current LLMs excel at chain-of-thought reasoning31–33 but can sometimes lack thoughtful emotional responses. By contrast, empathy-oriented systems such as Woebot, Wysa, and EmoGPT foster rapport but may not fully reflect the clinical reasoning34–36. Emerging multi-agent systems37,38 begin to integrate these capabilities but still rely on heuristic or opaque coordination mechanisms rather than psychologically grounded theories and practices.

Third, an evaluation gap limits safe deployment. High-stakes psychiatric AI requires robust assessment of empathy, conversational quality, trustworthiness, fairness, and crisis-response behavior—not only numerical accuracy39–42. Yet fewer than 15% of mental health NLP studies incorporate user-centered or ethical metrics39,40. Few systematically probe resilience to adversarial prompts or suicidal ideation43–45. Ethical evaluations are particularly challenging because they require interacting with vulnerable populations, raising risks of harm and participatory injustice46–48 and requiring intensive human oversight49,50. Existing approaches, therefore, lack the breadth and depth of evaluation required for clinical adoption51.

Addressing these gaps, we introduce WiseMind, a multi-agent LLM framework inspired by the “reasonable mind” (rational, cognitive) and “emotional mind” (affective, intuitive) constructs of DBT30. WiseMind operationalizes a “contextualization trio” across knowledge, process, and evaluation layers and integrates the complementary strengths of analytic reasoning and empathic communication through a theory-informed dual-agent architecture. WiseMind is explicitly designed as an assistive technology for intake and triage support, rather than a stand-alone diagnostic system. It operationalizes this “contextualization trio” through three coordinated components: (i) Structured Knowledge–Guided Proactive Reasoning, which encodes the full DSM-5 decision graph as a state-transition knowledge graph to steer criterion-aligned question sequencing; (ii) Theory-Informed Dual-Agent Architecture, which deploys a DBT-aligned workflow wherein a Reasonable-Mind Agent (RA) consults the graph to determine the next diagnostic action while an Emotional-Mind Agent (EA) re-expresses that intent in empathic, trust-building language; and (iii) Multi-Faceted Evaluation Strategy, which couples technical testing with a three-tier validation pipeline—simulated patients, lay-user studies, and expert clinician review—further strengthened by ethical stress-testing for self-harm scenarios and bias audits across age and gender subgroups.

We evaluate WiseMind on three common mental health conditions—depressive mood (depression), elevated mood (hypomania or mania), and anxious mood (anxiety). Across 1206 simulated conversations and 180 real user sessions, the system achieves 85.6% top-1 diagnostic accuracy, surpassing knowledge-enhanced single-agent baselines by 15–54 percentage points (p < 0.01). In parallel, blinded raters judged WiseMind’s empathic quality 13–54% higher and its advice precision 12–30% higher than competing models (ICC2 > 0.75). Ethical audits further show that the system refuses unsafe instructions, flags suicidal ideation, and reduces hallucinated medication recommendations.

This study makes several contributions to digital psychiatry and the design of clinically reliable LLM systems. First, we encode the DSM-5 differential-diagnosis pathways into a structured state-transition knowledge graph, enabling proactive, criterion-aligned interviewing rather than reactive text retrieval. Second, we introduce a DBT-informed dual-agent architecture that cleanly separates analytic diagnostic reasoning from empathic, patient-centered communication—a requirement often unmet by single-agent LLMs. Third, we develop a comprehensive human-centered evaluation pipeline that spans virtual patient interactions, real-user feedback, clinician review, and ethical stress-testing for suicidality and demographic bias. Finally, we demonstrate that WiseMind delivers clinically meaningful improvements in diagnostic accuracy, empathetic performance, and medical proficiency, illustrating how deep domain contextualization across knowledge, process, and evaluation can inform future work on assistive LLM systems in psychiatric and other high-stakes domains.

Results

System overview

To address the design gaps identified in the Introduction, we propose WiseMind. Figure 1 illustrates the overall WiseMind Workflow, demonstrating how the system transforms patient input into clinically validated diagnostic inquiries.

Fig. 1. Overview of the WiseMind system.

Fig. 1

A DSM-5-derived structured knowledge graph (SKG) guides the Reasonable Mind Agent (RA) in performing structured knowledge retrieval (tool usage), LLM-based reasoning (planning), and action prediction. The Emotional Mind Agent (EA) translates (planning) this diagnostic intent into empathic, patient-facing responses based on retrieved medical information (tool usage). Both agents share a short-term memory that tracks conversation state, symptom evolution, and risk signals. A risk-management layer filters unsafe or contradictory content. System performance is evaluated through a multi-tier framework combining simulated interviews, human-participant interactions, and psychiatrist ratings.

WiseMind employs two complementary agents—the Reasonable Mind Agent (RA) and the Emotional Mind Agent (EA)—which synchronize through a Shared Short-Term Memory module to track conversation state and symptom evolution. The workflow proceeds step-by-step, corresponding to the numbered flow in the figure. The process begins when the patient reports symptoms (1). This input is screened by the Risk Management layer to detect high-risk language (e.g., self-harm) before entering the diagnostic loop. Then, from steps 2–5, the RA serves as the primary interface. It processes the input and uses the SKG Retrieval Tool (2) to query (3) and obtain (4) relevant medical context from the SKG. Based on this, the RA generates an initial Action Prediction (5) (i.e., whether to ask for more details or validate criteria) within the defined Action Space. Steps 6–9 was consist of Emotional Processing and Question Formulation. The action intent from the RA is passed to the EA to generate patient-facing communication (step 5). The EA validates the intent against DSM-5 clinical logic by using the SKG tool (6) to query (7) and obtain (8) medical knowledge. It then applies therapeutic language guidelines—such as validation, reflective phrasing, and non-judgmental tone—to maintain empathy. Finally, it integrates these clinical and emotional cues to formulate the next interview question, completing the Ask Next Interview Question (9) step.

Both agents operate over the DSM-5-adapted SKG, ensuring that every conversational turn is grounded in established psychiatric criteria while maintaining interactional fluidity. For detailed examples of conversations and a step-by-step breakdown of how different parts of the agentic workflow contribute to the clinical dialog, see Supplementary Section 1.6.

Dataset and experiment setup

To assess whether WiseMind’s design components translate into measurable improvements in psychiatric diagnostic performance, we conduct a comprehensive, multi-faceted evaluation aligned with the interdisciplinary gaps identified in the Introduction. Conventional LLM-based diagnostic evaluations typically emphasize benchmark accuracy or single-turn reasoning, but psychiatric interviewing requires a broader assessment framework that captures diagnostic rigor, conversational rapport, clinical credibility, and safety. Guided by these requirements, we evaluate WiseMind across three complementary tiers (Fig. 2), each reflecting a core competency of real-world psychiatric practice.

Fig. 2. Multi-faceted evaluation framework for WiseMind.

Fig. 2

The system’s performance is holistically validated across three distinct tiers, ensuring the system meets standards for technical accuracy, patient experience, and medical proficiency: a Tier 1 (Simulated Interaction Evaluation): Simulated Clinical Interview assesses Diagnostic Performance by comparing WiseMind’s Predicted Diagnosis against the Ground Truth Diagnosis of a Virtual Standardized Patient. Metrics quantified include Differential Diagnosis Accuracy (DDx-ACC) and Critical Node Recall (CN-Recall). b Tier 2 (Real Interaction Evaluation): User Experience Evaluation assesses Empathetic Performance via real-time interaction with a Real User. Metrics are based on User Feedback and quantify the system’s Helpfulness (Help.) and Empathy (Emp.). c Tier 3 (Cross-Setting Evaluation): Doctor Evaluation engages medical professionals who review conversation transcripts from both simulated and real interactions to assess Medical Proficiency Performance based on clinical standards. Metrics include Specialty (Spec.) and Precision (Prec.).

The Tier 1 evaluation, namely the Simulated Clinical Interview, was designed to evaluate the diagnostic performance of the WiseMind system. We evaluate diagnostic reliability using Virtual Standardized Patients (VSPs)17,52–55, which are DSM-derived, multi-turn patient profiles designed for structured yet naturalistic interactions. Each VSP is paired with a DSM-5-aligned ground-truth diagnosis and symptom narrative (Supplementary Table 1). The evaluation spans 24 depressive, 15 bipolar, and 25 anxiety leaf diagnoses encoded in the SKG. For each diagnostic leaf, we generate three VSP variants, yielding 192 simulated patient profiles reflecting realistic variability in symptom presentation (VSP Corpus).

During evaluation, VSPs interact with WiseMind via three standard symptom-entry pathways—depressed mood, anxiety, and substance use—following the proactive flow described in Fig. 2, yielding 1206 simulated, multi-turn doctor-patient interactions (Simulated Interaction Corpus). These dialogs contain the complete conversation transcript, the RA’s action sequence, the EA’s phrasing behavior, and all intermediate updates to the SKG. This dataset enables quantitative assessment of diagnostic accuracy, critical node recall, hallucination frequency, reasoning-path adherence, and characteristic failure modes. For each dialog, WiseMind outputs a predicted diagnosis. We report Differential Diagnosis Accuracy (DDx-ACC) and Critical Node Recall (CN-R). DDx-ACC is a common clinical measure for differential diagnosis. CN-R measures the proportion of essential DSM-guided nodes visited during the model’s reasoning trajectory. High CN-R reflects not only correct diagnostic labeling but also adherence to clinically appropriate diagnostic reasoning steps.

For the Tier 2 user experience evaluation, real users interacted with WiseMind and rated WiseMind’s Helpfulness and Empathy, two dimensions critical for patient engagement in psychiatric contexts. Following validated communication frameworks56, Helpfulness (Help.) reflects the degree to which responses offer guidance, clarify concerns, and provide relevant feedback, while Empathy (Emp.) captures perceived understanding, validation, and emotional attunement.

Six evaluators with backgrounds in human–computer interaction and computing interacted with WiseMind as if conducting an intake conversation. Each evaluator was assigned a VSP biography but instructed to retell and elaborate it freely in their own words, introducing realistic conversational variability such as paraphrasing, omissions, narrative drift, emotional inflection, and spontaneous additions. This procedure mirrors standardized-patient training in clinical education and captures human-like noise that scripted dialogs cannot reproduce. All transcripts were anonymized prior to clinician review. This procedure resulted in 180 sessions (Real Human Interaction Corpus). After each interaction, the six evaluators rated WiseMind on helpfulness and empathy using a five-point Likert scale adapted from established clinical communication instruments56. Scores were normalized to a 0–1 range. Full questionnaire items appear in Supplementary Section 6.2.

The Tier 3 doctor evaluation measured the clinical proficiency. To assess clinical credibility, licensed medical professionals evaluated WiseMind’s diagnostic reasoning, terminology, and communication style. Clinicians rated outputs along two Objective Structured Clinical Examination (OSCE)-derived criteria: Specialty (Spec.), the appropriateness of psychiatric terminology and reasoning patterns, and Precision (Prec.), the specificity and coherence of the diagnostic explanations57.

Three mental-health professionals with a combined 33 years of clinical experience reviewed the Simulated Interaction Corpus and Real Human Interaction Corpus sampled from Tier 1 and Tier 2 sessions. Using 5-point Likert scales adapted from OSCE structured evaluation questionnaires, clinicians assessed whether WiseMind’s reasoning resembled novice-level clinical inquiry, adhered to DSM-guided diagnostic structure, and avoided clinically unsafe or misleading content. The final scores were normalized into 0–1. Full questionnaire items appear in Supplementary Section 6.3.

We additionally conducted adversarial safety testing that included high-risk language (e.g., suicidality), contradictory symptom reports, and atypical conversational patterns. WiseMind’s escalation and repair mechanisms were evaluated in parallel with its diagnostic agents.

Across the three evaluation tiers, we assess WiseMind with simulated patients, real users, and licensed medical professionals. Table 2 summarizes the datasets supporting our diagnostic-, user-, and clinician-centered assessments. Ethical approvals and oversight procedures are described in the “Methods” section, and additional details on dataset construction and human evaluators are provided in Supplementary Sections 5 and 6.

Table 2.

Summary of datasets used in the WiseMind evaluation pipeline

Dataset Source and description Purpose in evaluation Size
VSP corpus (generated) DSM-driven and human-grounded synthetic patient profiles Structured, reproducible diagnostic test scenarios 192 profiles
Simulated interaction corpus Multi-turn dialogs between WiseMind and all VSPs Quantitative evaluation of diagnostic reasoning 1206 dialogs
Real human interaction corpus Human actors retelling VSP stories with natural variation Ecological validity; user and clinician evaluations 180 sessions

Benchmarking analysis

We benchmark WiseMind against four representative prompting strategies that characterize current LLM-based approaches to diagnostic reasoning. Knowledge-Free Prompting (KFP) relies solely on naïve zero-shot prompting and pretrained priors. TKEP-ICL (Textual Knowledge–Enhanced Prompting with In-Context Learning) enriches prompts with exemplar diagnostic cases but still constrains the model to shallow pattern-matching. TKEP-RAG (Textual Knowledge–Enhanced Prompting with RAG) incorporates externally retrieved clinical text to improve factual grounding but lacks explicit reasoning scaffolds. The strongest single-agent baseline, SKEP (Structural Knowledge–Enhanced Prompting), integrates a SKG—a DSM-5-adapted decision graph encoding diagnostic entities and rule-based transitions—to impose a hierarchical differential-diagnosis trajectory. Together, these baselines span the range of contemporary prompting strategies from unstructured zero-shot prompting to structured knowledge-guided inference.

In the Tier 1 simulated interaction evaluation, we evaluated the diagnostic performance of WiseMind. As shown in the Benchmarking results in Table 3, WiseMind substantially outperforms all baselines in diagnostic accuracy and structured reasoning. Averaged across depressive, bipolar, and anxiety disorders, the Mixed-based configuration achieves 0.856 DDx-ACC and 0.956 CN-R, while the Same-based configuration reaches 0.802 DDx-ACC and 0.875 CN-R. These performance gains over the strongest single-agent baseline (SKEP) are highly significant (p < 0.01; Odds Ratio = 3.0–73.0, Cohen’s g ≥ 0.25; McNemar’s test for DDx; Wilcoxon signed-rank test for CN-R). In contrast, single-agent prompting methods—including the SKG-augmented SKEP—remain limited by reactive, single-pass generation that prevents proactive questioning, contradiction resolution, or integration of symptom evidence across turns. High CN-R scores show that WiseMind not only predicts correct diagnoses but also follows the appropriate DSM-guided diagnostic chains, reflecting expert clinical reasoning. In addition, WiseMind’s diagnostic accuracy is approaching the typical performance range of human clinicians (0.860 DDx) across psychiatric assessments58–61. These results are based on simulated interaction evaluations, which offer controlled testing conditions but do not reflect the full complexity of real-world psychiatric assessment. Accordingly, WiseMind is intended solely as an assistive tool that supports, rather than replaces, clinical judgment and must operate under human oversight in any real-world setting.

Table 3.

Performance of WiseMind architectural components (GPT-4o base model), evaluating agent structure, knowledge integration, and action spaces across tier 1 diagnostic evaluation

System architecture Knowledge structure Action space Tier 1: Diagnostic
DDx CN-R
Benchmarking systems
Random Baseline None - 0.047 -
Single Agent None (KFP) - 0.316** (±0.13) -
Single Agent Text (TKEP-ICL) - 0.356** (±0.11) 0.568** (±0.06)
Single Agent Text (TKEP-RAG) - 0.377** (±0.10) 0.422** (±0.07)
Single Agent Structural Graph (SKEP) - 0.707* (±0.11) 0.888** (±0.07)
Ablation studies of WiseMind components
WiseMind w/o SKG TKEP {MC, NMC, MD, Contradict.} 0.386** (±0.11) 0.416** (±0.07)
WiseMind w/o Multi-Agents SKG - 0.707* (±0.11) 0.888** (±0.08)
WiseMind w/o MD SKG {MC, NMC, Contradict.} 0.555** (±0.12) 0.643** (±0.09)
WiseMind w/o Contradict. SKG {MC, NMC, MD} 0.498** (±0.12) 0.748** (±0.07)
Complete WiseMind system
WiseMind (Same-based) SKG {MC, NMC, MD, Contradict.} 0.8027(±0.10) 0.8757(±0.05)
WiseMind (Mixed-based) SKG {MC, NMC, MD, Contradict.} 0.8567(±0.09) 0.9567(±0.04)
Human Clinicians Expert Knowledge Clinical Interview 0.86023 -

Tier 1 (Simulated Interaction Evaluation) assesses agent structure, knowledge integration, and action spaces using synthetic interactions (e.g., virtual standardized patients and simulated dialogs) in controlled, repeatable settings.

Statistical significance: Results are reported as Mean (95% CI). The 95% confidence intervals (CIs) for diagnostic accuracy (DDx) are calculated using the Wilson score interval, while CIs for other metrics (CN-R) are derived via 1000-iteration bootstrap resampling. Statistical significance between the best WiseMind systems (mixed-based) and benchmarking systems is annotated with asterisks (*p < 0.05, **p < 0.01). The p-values are computed using McNemar’s test for binary diagnostic outcomes (DDx) and the Wilcoxon signed-rank test for continuous metrics.

Knowledge Schemes: KFP Knowledge-Free Prompting, TKEP Textual Knowledge-Enhanced, ICL for In-Context Learning, RAG for Retrieval-Augmented Generation, SKEP Structured Knowledge-Enhanced via SKG—Structured Knowledge Graph. Agent Actions: MC Met Criteria, NMC Not Met Criteria, MD More Details, Contradict. Contradiction. Metrics: DDx Differential Diagnosis Accuracy, CN-R Critical Node Recall, WiseMind variants “Same-based” indicates a single LLM type for internal agents, “Mixed-based” uses different LLMs.

Best performance across the column.

In the Tier 2 real interaction evaluation, we targeted the user experience, such as helpfulness and empathy. To validate the consistency of these subjective evaluations, ratings from 6 user raters were aggregated, demonstrating excellent inter-rater reliability (ICC2k = 0.96; 95% CI: 0.92–0.98; 6 raters). Benchmarking results in Table 4 show that WiseMind produces markedly more supportive and empathic interactions than all single-agent baselines. KFP and TKEP-ICL generate largely generic supportive statements (Help. = 0.447–0.575; Emp. = 0.275–0.417). TKEP-RAG improves factual grounding but remains emotionally shallow, while SKEP shows improved coherence (Help. = 0.584; Emp. = 0.513). In contrast, WiseMind’s Mixed-based configuration achieves the highest ratings (Help. = 0.825; Emp. = 0.816). This indicates that separating structured reasoning (Reasonable Mind) from empathic reformulation (Emotional Mind) produces interactions that evaluators consistently rated as clearer, more validating, and more clinically appropriate. The Same-based model (Help. = 0.701; Emp. = 0.692) also surpasses all baselines, though it remains slightly below the Mixed-based design, suggesting that heterogeneous agent specialization deepens empathic attunement.

Table 4.

Performance of WiseMind architectural components (GPT-4o base model), evaluating agent structure, knowledge integration, and action spaces across Tier 2 and Tier 3 human evaluations

System architecture Knowledge structure Action space Tier2: User Exp Tier 3: Doctor Eval
Help. Emp. Spec. Prec.
Benchmarking systems
Single agent None (KFP) - 0.575 0.417 0.418 0.466
Single agent Text (TKEP-ICL) - 0.447 0.275 0.477 0.625
Single agent Text (TKEP-RAG) - 0.548 0.421 0.437 0.525
Single agent Structural Graph (SKEP) - 0.584 0.513 0.615 0.648
Ablation studies of WiseMind components
WiseMind w/o SKG TKEP {MC, NMC, MD, Contradict.} 0.602 0.675 0.529 0.551
WiseMind w/o Multi-Agents SKG - 0.584 0.513 0.615 0.648
WiseMind w/o MD SKG {MC, NMC, Contradict.} 0.453 0.398 0.592 0.649
WiseMind w/o Contradict. SKG {MC, NMC, MD} 0.692 0.685 0.537 0.492
Complete WiseMind system
WiseMind (Same-based) SKG {MC, NMC, MD, Contradict.} 0.701 0.692 0.673 0.673
WiseMind (Mixed-based) SKG {MC, NMC, MD, Contradict.} 0.825 0.816 0.697 0.768

Statistical significance: Results are reported as Mean. Tier-level inter-rater reliability (ICC2k) demonstrated excellent agreement for Tier 2 User Experience (0.96, 95% CI: 0.92–0.98) and good agreement for Tier 3 Doctor Evaluation (0.75, 95% CI: 0.42–0.92).

Tier 2 (Real Interaction Evaluation) evaluates WiseMind on real human-interaction data to capture naturalistic conversational variability, with results reported separately from synthetic performance. Tier 3 (Cross-Setting Evaluation) aggregates metrics across simulated and real interaction datasets to examine architectural robustness and consistency across controlled and real-world conditions. Results shown for average for different disorders.

Knowledge Schemes: KFP Knowledge-Free Prompting, TKEP Textual Knowledge-Enhanced, ICL for In-Context Learning, RAG for Retrieval-Augmented Generation, SKEP Structured Knowledge-Enhanced, via SKG Structured Knowledge Graph. Agent Actions: MC Met Criteria, NMC Not Met Criteria, MD More Details, Contradict. (Contradiction). Metrics: Help. Helpfulness, Emp. Empathy, Spec. Specialty, Prec. Precision. WiseMind variants: “Same-based” indicates a single LLM type for internal agents; “Mixed-based” uses different LLMs.

Finally, in Tier 3, simulated and real interaction evaluation, a panel of 3 medical experts conducted evaluations to measure the specialty and precision of the WiseMind system. Despite the inherent subjectivity of individual clinical judgment, the expert panel demonstrated good tier-level inter-rater reliability (ICC2k = 0.75; 95% CI: 0.42–0.92; 3 raters), confirming the stability of the aggregated clinical consensus. Results in Table 4 confirm that WiseMind achieves the strongest clinician-rated specialty (Spec.) and precision (Prec.). Baseline prompting methods receive low Spec. (0.418–0.477) and Prec. (0.466–0.625), with clinicians noting inconsistent psychiatric terminology and unstable reasoning patterns across turns. SKEP performs better (Spec. = 0.615; Prec. = 0.648), but explanations often lacked an overarching diagnostic strategy. The WiseMind Same-based variant surpasses all baselines (Spec. = 0.673; Prec. = 0.673), while the Mixed-based configuration achieves the highest scores (Spec. = 0.697; Prec. = 0.768). Clinicians emphasized that WiseMind adhered closely to DSM-guided inquiry patterns, used appropriate psychiatric vocabulary, and demonstrated early-career-level reasoning fidelity.

Ablation analysis

To isolate the contribution of each architectural component, we conduct a suite of ablation experiments in which structural and functional elements of WiseMind are selectively removed. The w/o SKG variant eliminates the Structured Knowledge Graph, forcing reliance on unstructured retrieval. The w/o Multi-Agents variant merges the Emotional Mind and Reasonable Mind into a single-agent system, removing the separation between empathic interviewing and structured reasoning. We also ablate elements of the action space by removing the More Details (MD) action—responsible for refining ambiguous symptom descriptions—and the Contradiction action, which identifies and repairs inconsistencies across turns.

For Tier 1, the ablation analysis panel in Table 3 shows that removing SKG yields a dramatic collapse in diagnostic reliability: DDx-ACC drops to 0.386 and CN-R to 0.416 (p < 0.01). Removing the Multi-Agent architecture reduces DDx-ACC to 0.707 (p < 0.05), confirming that separating empathic and analytical functions is essential for maintaining diagnostic rigor. Removing the MD action reduces performance to 0.555 (p < 0.01), indicating that proactive clarification is necessary for resolving uncertain or partially expressed symptoms. Eliminating Contradiction detection leads to major error propagation and drops the diagnostic performance to 0.498 (p < 0.01), showing that inconsistency management is critical for safe psychiatric assessment. Across variants, removing any single component reduces diagnostic performance by 15–47 points (p < 0.05), demonstrating that WiseMind’s performance arises from synergistic design rather than any isolated mechanism.

For Tier 2, Table 4 shows that removing structural elements disrupts user experience quality. Without the SKG, Help. and Emp. fall to 0.602/0.675, indicating that clinical structure supports more relevant and context-sensitive responses. Removing Multi-Agents reduces Emp. to 0.513, demonstrating the unique role of the EA in maintaining conversational warmth. Removing the MD action yields the steepest decline in user experience (Help. = 0.453; Emp. = 0.398), as the system fails to clarify ambiguous user statements—an essential component of empathic interviewing. Removing contradiction detection reduces emotional coherence and disrupts conversational flow, lowering Emp. to 0.685. These results demonstrate that WiseMind’s supportive interactions depend on the interplay of SKG-driven structure, agent specialization, and action-level behaviors.

Finally, for Tier 3, as shown in Table 4, clinicians rated ablated models substantially lower. Without the SKG, Spec., and Prec. drop to 0.529/0.551, with clinicians noting loss of structured psychiatric scaffolding. Removing Multi-Agents reduces scores to SKEP-level performance (0.615/0.648), showing that the two-agent architecture is crucial for professional tone and reasoning fidelity. Removing the MD action lowers Spec. and Prec. to 0.592/0.649, as the system struggles to refine ambiguous patient statements. Removing contradiction detection produces the lowest scores across all ablations (0.537/0.492), as the system fails to correct inconsistencies—an essential competency in clinical assessment. These results show that WiseMind’s clinical credibility emerges from the joint contribution of structured knowledge, agent specialization, and action-space design.

Qualitative feedback from clinicians

During the Tier 3 Doctor Evaluation, the clinician also provided qualitative feedback, highlighting multiple dimensions of WiseMind’s performance as an assistive conversational tool. In terms of helpfulness, participants noted that “WiseMind asked the right follow-up questions at the right time. It felt like the system was actively helping me clarify what I wanted to express,” and that “the interaction gave me meaningful guidance instead of generic responses—far better than standard chatbots.” WiseMind was also consistently described as empathic, with clinicians reporting that “the agent consistently responded in a warm and understanding tone. It made the experience feel human rather than mechanical,” and that “WiseMind validated my feelings without overdoing it. It struck a good balance between emotional support and professionalism.” Under specialty, reviewers emphasized that “the terminology WiseMind used was clinically appropriate—neither too technical nor too simplified,” and that “it followed a diagnostic structure that reflects real psychiatric intake interviews. The flow felt medically familiar.” Finally, WiseMind was praised for its precision: “Its reasoning was coherent and specific. Each question had a clear purpose tied to the diagnosis,” and “WiseMind avoided unnecessary detours. It focused on details that actually matter in differential diagnosis.” Sample comments are included in Supplementary Section 8. Importantly, the interactions evaluated include both simulated and real interaction settings. Because real-world psychiatric assessment is substantially more complex, WiseMind is intended to function as an assistive tool under human oversight.

Comparison across LLM model selection

In this section, we compare the effects of different open-source and closed-source LLMs on overall system performance across all three tiers, as shown in Fig. 3. Detailed performance results are provided in Supplementary Section 7 and Supplementary Table 6. We first systematically benchmarked four families of widely used models—GPT-4o, Claude 3.5, Mistral-7B, and Qwen2.5—chosen to represent diverse training paradigms, license types, and performance characteristics. GPT-4o and Claude 3.5 exemplify state-of-the-art closed-source models known for strong reasoning and conversation stability, whereas Mistral-7B and Qwen2.5 represent high-performance open-source models with practical deployment advantages. This selection reflects the models most frequently used in clinical NLP and psychiatric simulation research.

Fig. 3. Comparative performance of the WiseMind framework across base models and multi-agent configurations.

Fig. 3

a Performance comparison across different LLMs, illustrating that individual models exhibit distinct strengths across the WiseMind’s reasonable-mind and emotional-mind dimensions. b Performance comparison of same-base versus mixed-base multi-agent configurations using closed-source LLMs. c Corresponding comparison for open-source LLMs. Across both closed- and open-source settings, assigning different LLMs to the Reasonable Mind Agent (RA) and the Emotional Mind Agent (EA)---based on their task-specific strengths---consistently improves diagnostic accuracy, empathy, and clinical realism compared with using the same model for both roles. Differential Diagnosis Accuracy (DDx-ACC) and Critical Node Recall (CN-R) are computed using simulated interactions; Helpfulness (Help.) and Empathy (Emp.) are evaluated using real interactions, and Specialty (Spec.) and Precision (Prec.) are assessed across both simulated and real interactions.

Figure 3a reveals that each model exhibits distinct performance profiles, demonstrating clear specialization patterns. Some models, such as Claude 3.5, excel in generating responses rated highly for empathy and clinical specialty, making them naturally well-suited for patient-facing interaction. Others, such as Qwen2.5 and Mistral, demonstrate stronger diagnostic performance and symptom coverage (high CN-R) while yielding more moderate user experience scores. GPT-4o exhibits particularly strong structural reasoning and node coverage but shows variability across interaction quality metrics.

These benchmarking results indicate that LLM backbones possess intrinsic predispositions— some optimized toward analytical reasoning and others toward conversational empathy—due to differences in pretraining corpora and alignment objectives. When a single model is used to serve both WiseMind agents (RA and EA), its weaknesses inevitably constrain overall system performance. For instance, a reasoning-strong model may provide coherent diagnostic sequences but struggle to convey emotional attunement, while an empathy-oriented model may excel at rapport-building yet produce less precise clinical terminology. These trade-offs observed across individual base models further reinforce that heterogeneity in agent design may be essential for achieving balanced performance.

Motivated by this observation, we introduced mixed-base configurations that assign different LLMs to RA and EA according to their strengths. As shown in Fig. 3b, c, this strategy consistently yields substantial performance gains across all evaluation dimensions. For closed-source models, combinations such as Mistral (RA) + Claude (EA) achieve improvements in diagnostic accuracy, empathy, and specialty. Open-source pairings show a similar pattern: using UltraMed for RA alongside EmoLLM for EA—both derived from LLaMA3-8B—results in markedly stronger performance than using either model alone. These findings underscore a general design principle: role-model alignment is critical for maximizing both reasoning quality and interactional sensitivity. Mixed-base architectures allow WiseMind to capitalize on complementary strengths rather than forcing a single model to balance incompatible demands.

Comparison across psychiatric disorders

Table 5 presents WiseMind’s performance on simulated interaction evaluations across depression, bipolar disorder, and anxiety. The breakdown reveals distinct patterns across disorders. For depression, SKEP with a single agent already offers substantial gains over earlier prompting approaches, but both dual-agent WiseMind variants improve further, with the mixed-base configuration achieving the highest DDx (0.875). Bipolar disorder—often more challenging due to overlapping mood symptoms—shows the clearest separation between approaches: SKEP provides a strong single-agent baseline, yet WiseMind’s mixed-base configuration markedly improves both DDx (0.933) and CN-R (0.978), suggesting enhanced discrimination of complex symptom trajectories. Anxiety displays the highest CN-R across conditions; both mixed- and same-base WiseMind variants maintain strong DDx while achieving near-ceiling recall, indicating stable detection of anxiety-related symptom cues.

Table 5.

Diagnostic performance across three mental disorders

System Depression Bipolar Anxiety
DDx CN-R DDx CN-R DDx CN-R
Random guess 0.040 - 0.063 - 0.038 -
Single agent (KFP) 0.256** (±0.18) - 0.293** (±0.19) - 0.400* (±0.18) -
Single agent (TKEP-ICL) 0.280** (±0.17) 0.466** (±0.10) 0.427** (±0.09) 0.721** (±0.11) 0.360** (±0.18) 0.517** (±0.09)
Single agent (TKEP-RAG) 0.250** (±0.15) 0.235** (±0.06) 0.400** (±0.22) 0.739** (±0.11) 0.480* (±0.19) 0.292** (±0.08)
Single agent (SKEP) 0.555* (±0.19) 0.800** (±0.13) 0.767* (±0.13) 0.8917D2(±0.11) 0.8007D2(±0.15) 0.9747D2(±0.03)
WiseMind (Same-based) 0.8337D2(±0.15) 0.9567D2(±0.05) 0.7337D2(±0.21) 0.7697D2(±0.07) 0.8407D2(±0.15) 0.8997D2(±0.08)
WiseMind (Mixed-based) 0.8757D2(±0.14) 0.9397D2(±0.08) 0.9337D2(±0.15) 0.9787D2(±0.04) 0.7607D2(±0.16) 0.9517D2(±0.04)
Human clinicians58–61 0.700–0.900 - 0.600–0.800 - 0.700–0.850 -

Statistical significance: Results are reported as Mean (95% CI). The 95% confidence intervals (CIs) for diagnostic accuracy (DDx) are calculated using the Wilson score interval, while CIs for other metrics (CN-R) are derived via 1000-iteration bootstrap resampling. Statistical significance between the best WiseMind systems (Mixed-based) and benchmarking systems is annotated with asterisks (*p < 0.05, **p < 0.01). The p-values are computed using McNemar’s test for binary diagnostic outcomes (DDx) and the Wilcoxon signed-rank test for continuous metrics.

Best performance across the column.

Across all three disorders, WiseMind’s mixed-base diagnostic accuracy on simulated interaction evaluations is approaching the published performance ranges of human clinicians. However, real-world psychiatric assessment involves greater complexity, and these results do not imply clinical equivalence or replacement of human clinicians. Regardless, his alignment underscores the clinical relevance of WiseMind’s role-aligned architecture, particularly in diagnostically complex categories such as bipolar disorder. Notably, similar patterns hold in Tier 2 and Tier 3 evaluations (helpfulness, empathy, specificity, and precision), where mixed-base configurations again outperform same-base and single-agent systems. This convergence across diagnostic and affective metrics reinforces the value of combining complementary model strengths within the WiseMind framework.

Error analysis and risk management discussion

To capture nuances of real-world clinical usage and evaluate downstream safety risks, we implemented a structured adversarial testing and ethical risk-mitigation protocol. WiseMind includes a dedicated Risk Management module that integrates escalation logic for high-risk situations and automated repair mechanisms for recoverable errors. In addition, the system dynamically adapts its interaction strategy in response to conversational imbalances—such as minimal disclosure, contradictory symptom reports, or excessively verbose input—following the behavioral guidelines detailed in Supplementary Section 4. This framework enables systematic assessment of WiseMind’s robustness under both system-generated and user-generated sources of failure.

To characterize WiseMind’s behavior under challenging conditions and evaluate its safety controls, we conducted a 30-case adversarial stress test on simulated interactions between VSP and WiseMind, spanning both intrinsic system failures and extrinsic adversarial user behaviors (Table 6). A case was marked as resolved when the system internally corrected its behavior and produced a safe or clinically appropriate diagnosis, and as escalated when it triggered a backend alert or safety stop. A case can be resolved and escalated at the same time once the error potentially causes catastrophic consequences (i.e., risky response, misleading hallucinations which contradict the medical facts).

Table 6.

Outcome breakdown of ethical test cases

Category Cases Resolved Escalated
Intrinsic system errors
RA Decision Errors 5 3 1
EA Generation Errors 5 4 2
Extrinsic adversarial behaviors
Suicidal/Homicidal Talk 5 5 5
Contradictions in Responses 5 4 1
Under-talking (Minimal Input) 5 3 0
Over-talking (Verbose Input) 5 5 2
Total 30 24 11

A case is marked as resolved if the system internally corrected its behavior and produced a safe or correct diagnosis. Escalation indicates backend alert or a safety stop.

The intrinsic system errors capture failures originating from WiseMind’s own reasoning or generation processes. We tested five cases involving RA decision errors and five cases involving EA generation errors. As shown in Table 6, WiseMind successfully resolved 3 of 5 RA failures and 4 of 5 EA failures, typically via structured recovery behaviors such as revisiting missed SKG nodes, issuing clarification prompts, or rephrasing questions to repair incoherent dialog turns. These results suggest that the dual-agent architecture, coupled with explicit fallback strategies, provides meaningful self-correction for a majority of internal failures. At the same time, a subset of cases (1 RA and 2 EA) triggered escalation.

The extrinsic adversarial behaviors cover challenging patient communication patterns that can destabilize psychiatric interviews even for human clinicians. WiseMind showed strong reliability in handling these scenarios, as shown in Table 6. All five suicidal or homicidal-talk cases were both resolved and escalated, indicating that the system consistently recognized high-risk language and activated the safety protocol without missing any critical event. For contradictory responses, 4 of 5 cases were resolved and 1 escalated, reflecting appropriate detection of inconsistencies and return to key diagnostic branches. Conversational imbalances were also handled adaptively: in under-talking (minimal-input) scenarios, WiseMind resolved 3 of 5 cases by shifting toward more guided questioning, whereas in over-talking (verbose-input) scenarios, it resolved all 5 cases and escalated 2, primarily through summarization and refocusing strategies.

Overall, WiseMind resolved 24 of 30 adversarial cases and escalated 11, demonstrating that its layered safety logic can manage both system-driven and user-driven risks while retaining conservative behavior in the highest risk situations.

Discussion

This work demonstrates that LLMs can be recontextualized for psychiatric differential diagnosis by embedding them within structured knowledge, process-aware modeling, and holistic evaluation. Rather than treating psychiatric interviews as another language benchmark, our framework emphasizes that clinical utility depends on faithfully reproducing the decision logic of the DSM, balancing empathic and analytic roles during dialog, and establishing safety and trustworthiness through comprehensive evaluation. The results highlight not only methodological advances but also broader lessons for how to move clinical AI closer to real-world adoption10,62.

A central finding is that structured knowledge is indispensable for reliable diagnostic reasoning. Conventional methods that rely on unstructured text retrieval or KFP, such as standard RAG or ICL)63,64, falter when faced with the combinatorial complexity of psychiatric differential diagnosis, where disorders overlap in nuanced and hierarchical ways3,38. By contrast, encoding DSM criteria as a state-transition graph enabled the system to proactively navigate diagnostic pathways, reflecting the formal structure of clinician-guided diagnostic workflows4. This shift from reactive recall to proactive, decision-guided inquiry reflects a broader principle: in high-stakes medicine, AI must operate not just as a knowledge repository but as a process-aware participant that enforces clinical rigor65,66.

Equally important is the demonstration that diagnostic accuracy and empathic engagement are not competing goals. Psychiatric interviews unfold as a delicate balance between analytic questioning and the establishment of a therapeutic alliance67. Our dual-agent design, inspired by DBT’s concept of the “reasonable mind” and the “emotional mind”30,68, provides empirical evidence that role separation enables both dimensions to flourish. Specifically, the RA consults the knowledge graph to guide structured diagnostic reasoning, while the EA reformulates actions in empathic, trust-building language. The observed improvements in empathy, trust, and rapport, without sacrificing diagnostic precision, suggest that multi-agent specialization may be a general design paradigm for medical AI. Particularly striking was the finding that mixed-base configurations, which assign different underlying LLM models to each role according to their natural strengths, achieved the best overall performance in both simulated and real interactions. This points to a future where modular orchestration of specialized AI agents, rather than reliance on monolithic models, becomes a cornerstone of clinically robust systems69.

Beyond technical advances, the design of WiseMind aligns with broader frameworks of medical professionalism. According to the CanMEDS framework70, a competent physician is defined not only as a medical expert but also as a communicator, collaborator, leader, health advocate, scholar, and professional. Yet much of the work in medical AI has focused narrowly on diagnostic accuracy or reasoning performance, often overlooking equally critical dimensions such as communication, ethical responsibility, and collaboration. WiseMind explicitly incorporates these dimensions. The separation of the Reasonable Mind and EAs reflects the dual role of doctors as both rigorous diagnosticians and empathetic communicators. The multi-agent architecture itself embodies the principle of collaboration, demonstrating how specialized roles can complement one another within a shared clinical process. Risk management protocols and ethical safeguards operationalize the role of the physician as a professional, responsible not only for accuracy but also for protecting privacy, managing risk, and ensuring patient safety. Our multi-faceted evaluation, which spans user trust and clinician review in addition to accuracy, parallels the CanMEDS vision that medical expertise must be judged in concert with communication, professionalism, and leadership. In this sense, the significance of WiseMind lies not only in its performance metrics but also in its embodiment of the broader competencies required for clinical practice. By embedding CanMEDS-inspired principles into system design, we move toward conversational diagnostic agents that are not just technically capable but also aligned with the humanistic and professional standards that define real-world medicine.

Our evaluation strategy further underscores the importance of expanding beyond narrow technical metrics. In psychiatry, the success of an AI system cannot be judged by accuracy alone. The quality of patient experience, the preservation of therapeutic rapport, and the system’s ability to behave responsibly under adversarial or high-risk scenarios are equally vital11,44. By incorporating simulated patients, human user studies, clinician assessments, and adversarial stress tests, we demonstrate that it is possible to measure these broader dimensions in a systematic way. The results suggest that when safety protocols, empathy, and reasoning transparency are treated as first-class objectives, AI systems can achieve a level of robustness and user-perceived appropriateness beyond what conventional benchmarks capture.

Taken together, these contributions indicate that psychiatric AI requires a shift in design philosophy: from maximizing model accuracy in isolation toward creating modular, theory-informed systems that integrate domain knowledge, clinical processes, and ethical safeguards. Such systems hold promise as triage assistants or early screening tools under human supervision, helping clinicians prioritize scarce time and resources while maintaining the therapeutic alliance that underpins effective psychiatric care, rather than fully replacing clinical judgment. More broadly, the principles demonstrated here may extend to other high-stakes fields such as oncology, pathology, or even education, where trust, empathy, and structured reasoning are prerequisites for real-world deployment71.

Ethical considerations remain central to the translation of this work. WiseMind is explicitly designed as an assistive technology to augment, not replace, clinical expertise. Human oversight must remain integral, and deployment must be accompanied by safeguards addressing bias, privacy, and transparency. The inclusion of escalation protocols for high-risk scenarios illustrates one approach, but continued refinement and regulatory alignment will be essential72. By embedding safety and humanistic values into the system’s very architecture, we aim to contribute not only a technical advance but also a paradigm for responsible psychiatric AI.

Nonetheless, important limitations remain. Our study focused on three disorders—depression, anxiety, and bipolar disorder—leaving open questions about scalability across the full spectrum of DSM diagnoses. In addition, the evaluations on real interactions between humans and WiseMind were conducted with a relatively small number of participants (six users and three clinicians), which constrains statistical power and limits the generalizability of qualitative and quantitative findings. Although we employed hundreds of high-fidelity simulated patients and human evaluations, clinical trials with diverse real-world populations will be necessary to establish generalizability and longitudinal impact. Furthermore, diagnostic comparisons with clinicians were conducted under simulated interaction settings rather than prospective clinical trials. WiseMind is therefore intended as an assistive system requiring human oversight, and future large-scale, real-world validation will be essential before clinical integration. The current reliance on expert-curated knowledge graphs also raises challenges of scalability. Future work may explore semi-automated updating methods and integration with alternative frameworks such as ICD-11 to enhance adaptability. Moreover, while our adversarial testing showed encouraging robustness, systematic evaluation across cultural, linguistic, and demographic variations will be critical for ensuring fairness and equity73, especially since the framework was tested primarily in English and with simulated patient profiles that may not reflect non-Western symptom expressions or socioeconomic diversity. Finally, reliance on DSM-5 criteria reflects a Western nosology that may not capture cultural variation in psychiatric presentations, underscoring the need for global perspectives and cross-cultural validation.

In conclusion, we present WiseMind, a clinically aligned multi-agent system designed to support psychiatric assessment under human oversight. We address key limitations of current medical AI systems in structured reasoning, adaptive interviewing, and empathic communication by integrating a DSM-5-guided SKG with a DBT-informed dual-agent architecture. The dual-agent architecture combines an RA for criterion-based diagnostic reasoning and an EA for supportive, patient-centered dialog. Using VSP, real-user interactions, and expert clinician evaluations, we demonstrate that WiseMind substantially improves general LLM performance across differential diagnosis accuracy, critical diagnostic-path traversal, conversational empathy, and safety. These results indicate that WiseMind offers a feasible and transparent framework for building trustworthy psychiatric AI, and we hope this work can catalyze further research toward clinically coherent, emotionally attuned, and risk-aware LLM systems in digital mental health.

Methods

Structured knowledge graph (SKG)

In professional counseling sessions—particularly in the context of mental disorder diagnosis—the conversation is not an open-ended exchange but a structured, dynamic clinical interview74. A diagnostic agent must therefore proactively guide the dialog to ensure that critical criteria are systematically assessed, rather than merely reacting to patient-initiated questions. This requirement implies the need for an explicit agenda or roadmap that allows the agent to navigate the diagnostic process in a coherent and clinically valid manner. To meet this fundamental requirement, we implemented an SKG derived from the DSM-5 decision pathways, which serves as a guideline for the LLM. The knowledge graph provides the agent with both the sequence and logic of diagnostic steps, enabling it to conduct interviews that are comprehensive, consistent, and aligned with professional psychiatric practice.

DSM-5 differential-diagnosis decision pathways3 were encoded as a structured knowledge graphG with nodes v ∈ G representing diagnostic criteria or decision points. Nodes store criterion details ci and decision logic di (e.g., temporal constraints, exclusion rules), and edges implement state transitions along DSM-style pathways (hierarchical symptom clusters, specifiers, temporal patterns). This enables structured, proactive navigation rather than reactive recall while keeping strong alignment to the well-established diagnostic instruction (DSM-5).

During an interview, the SKG provides a reasoning scaffold: given dialog history D, the system retrieves context-aware knowledge K = R(v, D, G), selects an action a = P(K, r, D) contingent on the latest patient response r, and transitions v ← T(v, a, G) to advance or branch the DDx path. This mirrors clinical interviews that follow DSM-guided decision points to elicit missing evidence and rule out confounds, effectively using the knowledge graph as a task-oriented agenda75.

An example of the original DDx decision tree for depressed mood is shown in Fig. 4. This decision tree defines a common procedure for a clinician to conduct DDx when interviewing patients. It defines the critical topics that must be assessed and their main criteria. The structured knowledge graph is modified from these types of decision trees.

Fig. 4. Example of the DDx decision tree for depressed mood.

Fig. 4

Visualization of the DSM-5-TR differential diagnosis decision tree that served as the source for constructing the structured knowledge graph. The flowchart outlines the key assessment topics, exclusion rules, and diagnostic pathways used to differentiate causes of depressed mood.

Dual-agent architecture

Inspired by DBT theory68, WiseMind decomposes psychiatric assessment into two specialized LLM agents—a RA and an EA—each with distinct but complementary functions. Both agents access the shared SKG (denoted as G) and dialog history (D), but utilize them for different purposes in the diagnostic process.

The RA serves as the cognitive engine of WiseMind. Its primary responsibility is diagnostic decision-making based on the structured clinical knowledge encoded in the SKG. The RA processes patient responses against current diagnostic criteria and determines the appropriate next action from a discrete action space: met_criteria (criterion satisfied), not_met_criteria (criterion not satisfied), needs_more_information (clarification required), or contradiction (response contradicts previous information).

The RA’s decision process follows a systematic two-step reasoning workflow. First, it retrieves relevant diagnostic knowledge by interpreting dialog history D in the context of the knowledge graph G: Kt = R(vt, D, G), where R( ⋅ ) is the retrieval function that maps the current node state vt and dialog history to pertinent knowledge from the SKG. Second, it determines the appropriate action: at = P(Kt, rt, D), where P( ⋅ ) is the policy function that selects a diagnostic action based on the retrieved knowledge Kt and the patient’s latest response rt. Based on this action, the RA transitions to the next relevant node in the knowledge graph: vt+1 = T(vt, at, G), where T( ⋅ ) is the state transition function defined by the structural relationships in the SKG.

The EA functions as the therapeutic communicator of the system, focusing on building rapport. While the RA determines what information to gather, the EA determines how to elicit it empathically. The EA formulates natural language that achieves multiple therapeutic goals: eliciting necessary diagnostic information, maintaining appropriate emotional tone, building rapport, and adapting to the patient’s unique communication style.

Formally, the EA computes the next utterance qt+1 as: qt+1 = Q(vt+1, at, D, G), where Q( ⋅ ) is the generation function that considers the diagnostic target node vt+1 (selected by the RA), the RA’s action at, dialog history D, and relevant content from the SKG G to construct a contextually appropriate and empathic question.

The synergy between these agents—each optimized for its specialized function but sharing access to common knowledge sources—creates a unified diagnostic experience that balances systematic assessment with emotional attunement. Their coordinated workflow, formalized in Algorithm 1, enables WiseMind to conduct clinically rigorous yet emotionally responsive conversations that more closely approximate human psychiatric practice.

Algorithm 1

WiseMind diagnostic loop (condensed)

1: Input: initial complaint Cinit, SKG G;7D2Init: D ← [Greet(EA), Cinit], v ← GetStartNode(G, Cinit)

2: While not Terminated(v, D) do

3: r ← LastPatientResponse(D)

4: K ← R(v, D, G) ⊳retrieve DSM-guided context

5: a ← P(K, r, D) ⊳RA action: met, not met, MD, contradiction

6: v ← T(v, a, G) ⊳advance along DSM pathway

7: q ← Q(v, a, D, G) ⊳EA generates empathic question

8: Append q to D; present to patient; receive r′; append to D

9: End while

10: Output: final diagnostic state inferred from v and D

Model implementation

The computational setup used in all experiments is summarized in Table 7, including the model checkpoints evaluated, hardware configuration, inference settings, runtime considerations, and overall computational cost. All models were run either through their respective APIs or locally on our multi-GPU workstation without additional finetuning.

Table 7.

Model implementation overview

Component Description
LLM checkpoints GPT-4o (OpenAI); Claude-3.5-Sonnet (Anthropic); Mistral-Large-Latest (Mistral AI API); Qwen2.5-72B (Ollama); EmoLLM (LLaMA3-8B, emotional variant); UltraMedical (LLaMA3-8B, medical variant). All checkpoints reflect the most stable releases as of Feb 2025.
Model roles in WiseMind RA: GPT-4o, Mistral-Large, or UltraMedical (optimized for structured reasoning).
EA: Claude-3.5 or EmoLLM (optimized for empathetic dialog).
Same-base experiments assign a single model to both agents; mixed-base assigns role-aligned LLMs based on performance specialization.
Inference settings RA: Temperature = 0.2 (deterministic reasoning).
EA: Temperature = 0.5–0.6 (natural conversational variability).
VSP Simulation: Temperature = 0.2 to ensure fidelity to ground-truth symptom profiles.
All models use top-p = 1.0 unless noted.
Hardware infrastructure 2× NVIDIA RTX A6000 GPUs; AMD Ryzen Threadripper PRO 5975WX CPU; 256GB ECC RAM; 6TB NVMe SSD Storage. Open-source models were deployed via vLLM on this cluster.
Software environment Python 3.10; langchain, langchain_openai, langchain_anthropic, langchain_community, pandas, numpy, matplotlib, seaborn. SKG retrieval and orchestration implemented using our custom multi-agent controller.
Runtime and cost Average diagnostic interview: ~30 s/turn for RA; ~20 s/turn for EA (API);
Total experiments required ~20 GPU-hours and API usage cost of $200. Examples provided in Supplementary Section 1.3)
Reproducibility controls Deterministic decoding for reasoning steps; agent memory logging; fixed seeds for open-source runs; consistent prompt templates; risk detection and escalation disabled during benchmarking (see Supplementary Section 1.5).

Summary of all LLM checkpoints, hardware infrastructure, software environment, and inference configurations used in the WiseMind framework. Closed-source models were accessed via API, whereas open-source models were deployed locally using vLLM.

The WiseMind system uses a generation temperature of 0.6 for doctor-agent responses. This value balances determinism with conversational naturalness—a critical requirement for psychiatric interviewing. Very low temperatures (0.0–0.3), while more deterministic, often yield repetitive or mechanical phrasing that impedes rapport76, whereas temperatures above 0.8 may reduce coherence. Prior studies demonstrate that temperature has a limited influence on reasoning accuracy but does affect linguistic variation, suggesting that mid-range settings are appropriate for empathetic dialog77. Practitioner guidelines and empirical studies also recommend temperatures between 0.5 and 0.8 for natural conversation78,79.

Diagnostic determinism is maintained through WiseMind’s structured reasoning workflow and rule-based decision templates rather than temperature alone. For simulated patients, we use a temperature of 0.2 to ensure that symptom descriptions remain consistent with ground-truth clinical profiles. Higher temperatures introduced inconsistent or hallucinated symptoms during preliminary testing. A low temperature preserves fidelity while allowing mild linguistic variability for realism.

WiseMind relies on a set of structured prompt templates for baseline methods, multi-agent reasoning, and VSP simulation. Table 8 provides an index of all prompt types used in this study, while the sample prompt text and orchestration examples are provided in the Supplementary Section 3.

Table 8.

Prompt index for the WiseMind framework

Prompt type Purpose/Description Supplementary location
KFP Direct prompting without external knowledge. Used as a minimal baseline for single-agent LLM performance. Supplementary Section 3.1
TKEP-ICL Baseline prompting with exemplar diagnostic cases appended as demonstrations. Evaluates reasoning from textual examples. Supplementary Section 3.2
TKEP-RAG Baseline prompting with retrieved DSM-style textual knowledge. Tests the benefit of unstructured external knowledge. Supplementary Section 3.2
SKEP Single-agent prompting over the SKG. Represents the strongest non-multi-agent baseline. Supplementary Section 3.3
WiseMind RA prompt Core prompt for the Reasonable Mind Agent, responsible for DSM-guided reasoning, SKG traversal, and decision selection (Met Criteria, Not Met Criteria, More Details, Contradiction). Supplementary Section 3.3
WiseMind EA prompt Core prompt for the Emotional Mind Agent, responsible for empathetic interaction, rapport-building, clarifying questions, and patient-friendly reformulation of RA queries. Supplementary Section 3.3
VSP prompt Prompt template controlling the behavior of simulated patients, ensuring consistent DSM-grounded symptom portrayal during diagnostic dialogs. Supplementary Section 5.1
VSP script generation prompt Used to generate autobiographical narratives and symptom scripts for each VSP, prior to dialog-level evaluation. Supplementary Section 5.1

This table summarizes all prompting components used in baseline comparisons, multi-agent reasoning, and VSP generation. Full prompt templates are available in Supplementary Section 3.

Dataset and ethics

The evaluation of WiseMind relies on interaction-centered data rather than static, label-based datasets, reflecting the multi-turn and context-dependent nature of psychiatric diagnostic interviews. As summarized in Table 2, we developed a three-part evaluation corpus designed for rigorous and reproducible assessment: (i) the Virtual Standard Patient (VSP) Corpus for controlled benchmarking, (ii) the Simulated Interaction Corpus between VSP and WiseMind for large-scale quantitative evaluation across diverse conversational conditions, and (iii) the Real Human Interaction Corpus between WiseMind and users for ecological validation and post-hoc auditing. All procedures involving human participants who enrolled at the University of Alberta were reviewed and approved by the University of Alberta Research Ethics Board (Pro00152569). Informed consent was obtained from all subjects involved in the study. All participant data was anonymized prior to analysis to ensure privacy. Below, we describe the process of constructing the VSP corpus in detail.

The VSP corpus provides controlled, interpretable, and clinically grounded diagnostic scenarios for evaluating WiseMind. VSPs parallel standardized patients in medical education by offering reproducible, ethically safe diagnostic pathways paired with coherent autobiographical narratives. Two complementary classes of VSPs were constructed.

The first class includes Human-grounded VSPs. Using insights from de-identified clinical transcripts, we developed symptom-consistent autobiographical stories reflecting naturalistic patient language, emotional tone, and temporal structure. These transcripts were used solely as qualitative stylistic references: no text segments, demographic attributes, or annotations were copied, paraphrased, or used in model inputs. All identifiers were removed by the data provider. These VSPs ensure that the generated narratives align with real-world linguistic patterns without violating data-protection constraints.

The second class encompasses DSM-driven VSPs (primary dataset). The primary VSP corpus was generated directly from DSM-5-TR differential-diagnosis decision pathways spanning depressive, bipolar, and anxiety disorders. For each terminal diagnosis, we extracted its full root-to-leaf diagnostic path and converted it into a structured vector of binary indicators specifying which DSM criteria were met versus not met. Each diagnostic node was paired with a semantic description corresponding to a clinically interpretable symptom domain (e.g., mood disturbance, sleep changes, energy level, psychomotor activity, cognition). These node descriptions serve as anchors, ensuring interpretability and semantic fidelity across VSP stories. In particular, DSM-driven profiles are converted into naturalistic patient narratives using a five-step LLM pipeline:

For each terminal diagnosis, we extracted the DSM differential-diagnosis structure and formalized it into a sequence of diagnostic nodes. Each node includes (i) a binary Met_Criteria value and (ii) a textual description summarizing the corresponding symptom construct. This path constitutes the complete diagnostic structure of the VSP.

Each diagnostic node n was associated with a concise semantic description that identifies the clinical domain being assessed (e.g., persistent low mood, increased goal-directed activity, excessive worry, panic symptoms). These descriptions ensure that the generated narratives remain clinically meaningful and interpretable.

Before generating any symptom narratives, the LLM was instructed to internally construct a unified patient persona—including demographic background, occupation, relationship structure, cultural context, chronic stressors, and a coherent timeline of symptom evolution. This persona is not directly output; instead, it constrains all subsequent node-level narratives to ensure consistency across symptoms and prevent story-level contradictions.

Using the full diagnostic path, its Met_Criteria vector, and the node descriptions, the LLM generated 2–5 first-person sentences for each diagnostic node. If Met_Criteria = true, the narrative must naturally endorse and exemplify the symptom; If Met_Criteria = false, the narrative must gently indicate the absence of the symptom while maintaining tone and persona consistency. A separate LLM pass performed global consistency checking to ensure temporal, emotional, and causal coherence across all node-level stories.

The JSON output from the generation pipeline was parsed into a tabular structure in which each row corresponds to one diagnostic node and its corresponding symptom story. This structured profile functions as the VSP’s “internal truth.” During diagnostic simulations, the VSP responds strictly according to this profile.

During simulated interviews, each VSP follows a constrained role-playing protocol: responses are naturalistic but concise (1–3 sentences), grounded strictly in the available symptom narratives, and limited to answering only what the clinician explicitly asks. VSPs never volunteer information prematurely and never reference DSM concepts, internal criteria, or diagnostic labels. More details about examples and prompts can be found in Supplementary Section 5.1 and Supplementary Table 1.

Supplementary information

Acknowledgements

This study was funded by the National Natural Science Foundation of China (Grant No. 62576101) and the Alberta Government Department of Labour through the Supporting Psychological Health in First Responders Grant (Grant No. 22SPHIFR25-2). Y.W. gratefully acknowledges the generous financial support provided by the China Scholarship Council under the grant IDs 202308180002 (YW). The funders played no role in study design, data collection, analysis and interpretation of data, or the writing of this manuscript.

Author contributions

Y.W. served as the lead contributor, responsible for initiating the research ideation, leading the study design and experimental execution, all programming aspects, drafting the initial manuscript, and manuscript editing. G.W. participated substantially in the research ideation, contributed to the study design, experiment design, programming aspects, and assisted with manuscript construction. J.L. conceived and led the research ideation and research design, proposed system architecture and evaluation strategy, and provided substantially support for manuscript drafting and editing throughout the submission and revision process. Y.Z. contributed substantially to the study design, provided key medical insights and expertise, REB Approval, and participated in manuscript editing. J.C. served as the Principal Investigator, coordinating the overall study, providing essential research funding, and contributing significantly to manuscript editing. S.Z., L.M., and T.Y. participated in study discussion and contributed to the evaluation process. M.Z. and I.P. participated in the medical insights discussion and contributed to the final evaluation of the system.

Data availability

The datasets generated and/or analyzed during the current study are not publicly available due to requirements stated in the Research Ethics Board (REB) agreement, but are available from the corresponding author upon reasonable request. The simulated interview sessions are available at https://github.com/YWU99u/WiseMind-DDx-Psyc.

Code availability

The underlying code for this study is not publicly available for proprietary reasons. However, a secure test link that exposes the model behavior without revealing proprietary components can be provided by the corresponding author upon reasonable request for academic, non-commercial evaluation.

Competing interests

Authors Y.W., S.Z., and J.C. are employees of and hold equity in Shanghai KeyLinkAI Inc., which is developing commercial applications for the technology described in this manuscript. Additionally, Authors Y.W., G.W., J.L., Y.Z., and J.C. are inventors on a pending patent application regarding this technology. The remaining authors declare no competing interests.

Footnotes

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

These authors contributed equally: Yuqi Wu, Guangya Wan.

Change history

8/24/2026

A Correction to this paper has been published: 10.1038/s41746-026-03162-8

Contributor Information

Jingjing Li, Email: jingjing.li@virginia.edu.

Yanbo Zhang, Email: yanbo9@ualberta.ca.

Jie Chen, Email: jc65@ualberta.ca.

Supplementary information

The online version contains supplementary material available at 10.1038/s41746-026-02559-9.

References

  • 1.Carlat, D. J. The Psychiatric Interview: A Practical Guide 4th edn (Wolters Kluwer, 2023).
  • 2.Nordgaard, J., Sass, L. A. & Parnas, J. The psychiatric interview: validity, structure, and subjectivity. Eur. Arch. Psychiatry Clin. Neurosci.263, 353–364 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.First, M. B. DSM-5-TR Handbook of Differential Diagnosis (American Psychiatric Association Publishing, 2024).
  • 4.Demazeux, S. & Singy, P. (eds.) The DSM-5 in Perspective: Philosophical Reflections on the Psychiatric Babel, History, Philosophy and Theory of the Life Sciences. vol. 15 (Springer, 2015).
  • 5.Kessler, R. C., Chiu, W. T., Demler, O. & Walters, E. E. Prevalence, severity, and comorbidity of 12-month DSM-IV disorders in the National Comorbidity Survey Replication. Arch. Gen. Psychiatry.62, 617–627 (2005). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Thomas, C. R. & HOLZER III, C. E. The continuing shortage of child and adolescent psychiatrists. J. Am. Acad. Child Adolesc. Psychiatry45, 1023–1031 (2006). [DOI] [PubMed] [Google Scholar]
  • 7.Butryn, T., Bryant, L., Marchionni, C. & Sholevar, F. The shortage of psychiatrists and other mental health providers: causes, current state, and potential solutions. Int. J. Acad. Med.3, 5–9 (2017). [Google Scholar]
  • 8.Das, K. K. Graduate medical education: variation of program and training duration. Korean J. Med. Educ.35, 421 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.for Addiction, C. & Health, M. Clinical practicum training program in psychology https://www.camh.ca/-/media/education-files/clinical-psychology-practicum-program-brochure.pdf (2025).
  • 10.Topol, E. J. High-performance medicine: the convergence of human and artificial intelligence. Nat. Med.25, 44–56, 10.1038/s41591-018-0300-7 (2019). [DOI] [PubMed] [Google Scholar]
  • 11.Ghassemi, M., Oakden-Rayner, L. & Beam, A. L. The false hope of current approaches to explainable artificial intelligence in health care. Lancet Digit. Health3, e745–e750 (2021). [DOI] [PubMed]
  • 12.Clusmann, J. et al. The future landscape of large language models in medicine. Commun. Med.310.1038/s43856-023-00370-1 (2023). [DOI] [PMC free article] [PubMed]
  • 13.Yang, R. et al. Large language models in health care: development, applications, and challenges. Health Care Sci.2, 255–263 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Wu, Y., Mao, K., Dennett, L., Zhang, Y. & Chen, J. Systematic review of machine learning in ptsd studies for automated diagnosis evaluation. npj Ment. Health Res.2, 16 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Xue, C. et al. AI-based differential diagnosis of dementia etiologies on multimodal data. Nat. Med.30, 2977–2989 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Demetriou, E. A. et al. Machine learning for differential diagnosis between clinical conditions with social difficulty: autism spectrum disorder, early psychosis, and social anxiety disorder. Front. Psychiatry11, 545 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Wu, Y., Chen, J., Mao, K. & Zhang, Y. Automatic post-traumatic stress disorder diagnosis via clinical transcripts: A novel text augmentation with large language models. In 2023 IEEE Biomedical Circuits and Systems Conference (BioCAS), 1–5 (IEEE, 2023).
  • 18.Freidel, S. & Schwarz, E. Knowledge graphs in psychiatric research: potential applications and future perspectives. Acta Psychiatr. Scand.151, 180–191 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Wu, H. et al. A survey on clinical natural language processing in the United Kingdom from 2007 to 2022. npj Digit. Med.5, 186 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Croxford, E. et al. Current and future state of evaluation of large language models for medical summarization tasks. npj Health Systems. 2 10.1038/s44401-024-00011-2 (2025). [DOI] [PMC free article] [PubMed]
  • 21.Tu, T. et al. Towards conversational diagnostic artificial intelligence. Nature642, 442–450. (2025). [DOI] [PMC free article] [PubMed]
  • 22.American Psychiatric Association. Diagnostic and Statistical Manual of Mental Disorders: DSM-5 5 edn (American Psychiatric Publishing, 2013).
  • 23.Regier, D. A., Kuhl, E. A. & Kupfer, D. J. The DSM-5: classification and criteria changes. World Psychiatry. 12, 92–98 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.World Health Organization. International Classification of Diseases for Mortality and Morbidity Statistics. (11th Revision) (World Health Organization, 2019).
  • 25.Yoran, O., Wolfson, T., Ram, O. & Berant, J. Making retrieval-augmented language models robust to irrelevant context. In The Twelfth International Conference on Learning Representations,https://openreview.net/forum?id=ZS4m74kZpH (2024).
  • 26.Lu, M. Y. et al. A multimodal generative AI copilot for human pathology. Nature634, 466–473 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Meurisch, C. et al. Exploring user expectations of proactive AI systems. Proc. ACM Interact. Mob. Wearable Ubiquitous Technol.4, 1–22 (2020).35846237 [Google Scholar]
  • 28.Liu, P. et al. Pre-train, prompt, and predict: a systematic survey of prompting methods in natural language processing. ACM Comput. Surv. 5510.1145/3560815 (2023).
  • 29.Savander, E. É., Voutilainen, L., Hintikka, J. & Peräkylä, A. What to take up from the patient's talk? The clinician’s responses to the patient’s self-disclosure of their subjective experience in the psychiatric intake interview. Front. Psychiatry15, 1352601 (2024). [DOI] [PMC free article] [PubMed]
  • 30.Linehan, M. M.Cognitive–Behavioral Treatment of Borderline Personality Disorder (Guilford Publications, 1993).
  • 31.Singhal, K. et al. Toward expert-level medical question answering with large language models. Nat. Med.31, 943–950. (2025). [DOI] [PMC free article] [PubMed]
  • 32.Chung, H. W. et al. Scaling instruction-finetuned language models. J. Mach. Learn. Res.25, 1–53 (2024).41334350 [Google Scholar]
  • 33.Singhal, K. et al. Large language models encode clinical knowledge. Nature620, 172–180 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Fitzpatrick, K. K., Darcy, A. & Vierhile, M. Delivering cognitive behavior therapy to young adults with symptoms of depression and anxiety using a fully automated conversational agent (woebot): a randomized controlled trial. JMIR Ment. health4, e7785 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Inkster, B., Sarda, S., Subramanian, V. An empathy-driven, conversational artificial intelligence agent (wysa) for digital mental well-being: real-world data evaluation mixed-methods study. JMIR mHealth uHealth6, e12106 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Lan, K. et al. Depression diagnosis dialogue simulation: self-improving psychiatrist with tertiary memory. CoRR, 10.48550/arXiv.2409.15084 (2024).
  • 37.Kim, Y. et al. MDAgents: an adaptive collaboration of LLMs for medical decision-making. Adv. Neural Inf. Process. Syst.37, 79410–79452 (2024). [Google Scholar]
  • 38.McDuff, D. et al. Towards accurate differential diagnosis with large language models. Nature 1–7 (2025). [DOI] [PMC free article] [PubMed]
  • 39.Aggarwal, N. K. The cultural formulation interview in case formulations: a state-of-the-science review. Behav. Ther.55, 1130–1143 (2024). [DOI] [PubMed] [Google Scholar]
  • 40.Kanjee, Z., Crowe, B. & Rodman, A. Accuracy of a generative artificial intelligence model in a complex diagnostic challenge. JAMA330, 78–80 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Yu, C. C. et al. The development of empathy in the healthcare setting: a qualitative approach. BMC Med. Educ.22, 245 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Licciardone, J. C. et al. Physician empathy and chronic pain outcomes. JAMA Netw. Open7, e246026 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Robertson, C. et al. Diverse patients’ attitudes towards artificial intelligence (AI) in diagnosis. PLoS Digit. Health2, e0000237 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Kerz, E., Zanwar, S., Qiao, Y. & Wiechmann, D. Toward explainable AI (XAI) for mental health detection based on language behavior. Front. psychiatry14, 1219479 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Pashak, T. J. & Heron, M. R. Build rapport and collect data: a teaching resource on the clinical interviewing intake. Discov. Psychol.2, 20 (2022). [Google Scholar]
  • 46.Ferrara, M. et al. Machine learning and non-affective psychosis: identification, differential diagnosis, and treatment. Curr. Psychiatry Rep.24, 925–936 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Pozzi, G. & De Proost, M. Keeping an AI on the mental health of vulnerable populations: reflections on the potential for participatory injustice. AI Ethics5, 2281–2291 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Rahsepar Meadi, M. et al. Exploring the ethical challenges of conversational AI in mental health care: Scoping review. JMIR Ment. Health12, e60432 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Bear Don’t Walk IV, O. J., Nieva, H. R., Lee, S. S. J. & Elhadad, N. A scoping review of ethics considerations in clinical natural language processing. JAMIA Open5, ooac039 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Zhang, T., Schoene, A. M., Ji, S. & Ananiadou, S. Natural language processing applied to mental illness detection: a narrative review. npj Digit. Med.5, 46 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Tu, G. et al. Multiple knowledge-enhanced interactive graph network for multimodal conversational emotion recognition. In Findings of the Association for Computational Linguistics: EMNLP 2024, 3861–3874 (ACL, 2024).
  • 52.Maicher, K. et al. Developing a conversational virtual standardized patient to enable students to practice history-taking skills. Simul. Healthc.12, 124–131 (2017). [DOI] [PubMed] [Google Scholar]
  • 53.Hubal, R. C., Kizakevich, P. N., Guinn, C. I., Merino, K. D. & West, S. L. The virtual standardized patient-simulated patient-practitioner dialog for patient interview training. In Medicine Meets Virtual Reality 2000, 133–138 (IOS Press, 2000). [PubMed]
  • 54.Reger, G. M., Norr, A. M., Gramlich, M. A. & Buchman, J. M. Virtual standardized patients for mental health education. Curr. psychiatry Rep.23, 57 (2021). [DOI] [PubMed] [Google Scholar]
  • 55.Wu, Y., Mao, K., Zhang, Y. & Chen, J. Callm: Enhancing clinical interview analysis through data augmentation with large language models. IEEE Journal of Biomedical and Health Informatics. (IEEE, 2024). [DOI] [PubMed]
  • 56.King, A. & Hoppe, R. B. "best practice" for patient-centered communication: a narrative review. J. Graduate Med. Educ.5, 385–393 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Dacre, J., Besser, M., White, P. Mrcp (uk) part 2 clinical examination (paces): a review of the first four examination sessions (june 2001–july 2002). Clin. Med.3, 452–459 (2003). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.Basco, M. R. et al. Methods to improve diagnostic accuracy in a community mental health setting. Am. J. Psychiatry157, 1599–1605 (2000). [DOI] [PubMed] [Google Scholar]
  • 59.Hirschfeld, R. M., Lewis, L., Vornik, L. A. Perceptions and impact of bipolar disorder: how far have we really come? results of the national depressive and manic-depressive association 2000 survey of individuals with bipolar disorder. J. Clin. Psychiatry. 64, 161–174 (2003). [PubMed] [Google Scholar]
  • 60.Shabani, A. et al. Psychometric properties of structured clinical interview for DSM-5 disorders-clinician version (SCID-5-CV). Brain Behav.11, e01894 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61.Osório, F. L. et al. Clinical validity and intrarater and test–retest reliability of the structured clinical interview for DSM-5–clinician version (SCID-5-CV). Psychiatry Clin. Neurosci.73, 754–760 (2019). [DOI] [PubMed] [Google Scholar]
  • 62.Li, B. et al. Trustworthy AI: from principles to practices. ACM Comput. Surv. 55, 177 (2023).
  • 63.Dong, Q. et al. A survey on in-context learning. In Proc. 2024 Conference on Empirical Methods in Natural Language Processing, (Association for Computational Linguistics) (eds.) Al-Onaizan, Y. 1107–1128, Miami, Florida, USA (Association for Computational Linguistics, Miami, Florida,USA, 2024).
  • 64.Dong, Q. et al. A survey on in-context learning. Preprint at 10.48550/arXiv.2301.00234 (2022).
  • 65.Yan, W.-J., Ruan, Q.-N. & Jiang, K. Challenges for artificial intelligence in recognizing mental disorders. Diagnostics13, 2 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66.Rajpurkar, P., Chen, E., Banerjee, O. & Topol, E. J. AI in health and medicine. Nat. Med.28, 31–38 (2022). [DOI] [PubMed] [Google Scholar]
  • 67.Norcross, J. C. & Lambert, M. J. Working alliance: Theory, research, and practice (Springer, 2011).
  • 68.Chapman, A. L. Dialectical behavior therapy: current indications and unique elements. Psychiatry3, 62–68 (2006). [PMC free article] [PubMed] [Google Scholar]
  • 69.Park, J. S. et al. Generative agents: Interactive simulacra of human behavior. In Proc. 36th Annual ACM Symposium on User Interface Software and Technology, UIST ’23 (Association for Computing Machinery, 2023).
  • 70.Frank, J. R., Snell, L. & Sherbino, J. (eds.) CanMEDS 2015 Physician Competency Framework (Royal College of Physicians and Surgeons of Canada, 2015).
  • 71.Davenport, T. H. & Kalakota, R. The potential for artificial intelligence in healthcare, vol. 6 (2019). [DOI] [PMC free article] [PubMed]
  • 72.Price, W. N. & Cohen, I. G. Privacy in the age of medical big data. Nat. Med.25, 37–43 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 73.Pierson, E., Cutler, D. M., Leskovec, J., Mullainathan, S. & Obermeyer, Z. An algorithmic approach to reducing unexplained pain disparities in underserved populations. Nat. Med.27, 136–140 (2021). [DOI] [PubMed] [Google Scholar]
  • 74.Sommers-Flanagan, J. & Sommers-Flanagan, R. Clinical Interviewing, 7th edn (John Wiley & Sons, 2023).
  • 75.Edge, D. et al. From local to global: a graph RAG approach to query-focused summarization. Preprint at 10.48550/arXiv.2404.16130 (2024).
  • 76.Holtzman, A., Buys, J., Du, L., Forbes, M. & Choi, Y. The curious case of neural text degeneration. In International Conference on Learning Representations, https://openreview.net/forum?id=rygGQyrFvH (2020).
  • 77.Peeperkorn, M., Kouwenhoven, T., Brown, D. & Jordanous, A. Is temperature the creativity parameter of large language models? In ICCC, 226–235 (ICCC, 2024).
  • 78.Renze, M. The effect of sampling temperature on problem solving in large language models. In Al-Findings of the Association for Computational Linguistics: EMNLP 2024, (eds Onaizan, Y., Bansal, M. & Chen, Y.-N.) 7346–7356 (Association for Computational Linguistics, 2024).
  • 79.Korbak, T. et al. Pretraining language models with human preferences. In International Conference on Machine Learning, 17506–17533 (PMLR, 2023).
  • 80.Wang, H. et al. Pre-trained language models and their applications. Engineering25, 51–65 (2023). [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Data Availability Statement

The datasets generated and/or analyzed during the current study are not publicly available due to requirements stated in the Research Ethics Board (REB) agreement, but are available from the corresponding author upon reasonable request. The simulated interview sessions are available at https://github.com/YWU99u/WiseMind-DDx-Psyc.

The underlying code for this study is not publicly available for proprietary reasons. However, a secure test link that exposes the model behavior without revealing proprietary components can be provided by the corresponding author upon reasonable request for academic, non-commercial evaluation.


Articles from NPJ Digital Medicine are provided here courtesy of Nature Publishing Group

RESOURCES