A Knowledge Graph and Large Language Model Framework for Personalized Clinical Decision Support in Bipolar Disorder and Borderline Personality Disorder: The KG- Psy Framework

Abstract Background: Differentiating between bipolar disorder (BD) and borderline personality disorder (BPD) is an intriguing clinical challenge that has attracted research attention, as the multiple co-occurring symptoms such as mood instability, impulsivity, and emotional dysregulation have made the boundary between the two disorders unclear. Recent research in computational psychiatry has shown promise in leveraging the power of knowledge graphs and large language models to enable accurate and inter­pretable decision-making. Methods: The study developed a hybrid framework, KG-Psy, that combines large language models with dynamic graphs. The system extracts clinical entities through GPT-5 while employing multi-step reasoning to find hidden connections within a psychiatric knowledge graph that weighs its evidence-based content. The system performs four main operations, which include extracting clinical entities, creating dynamic weighted knowledge graphs, using GPT-5 to trace multi-step cognitive pathways, and evaluating customized treatment options. The researchers used 310 anonymized psychiatric case re­ports to test their method. Results: KG-Psy achieved better discrimination between BD and BPD than other methods. The model achieved a maximum Precision (%) of 91.5, an improvement of 19%, 10.3%, and 7.4% over the KG-only, LLM-only, and Hybrid-other approaches, respectively. The system successfully discovered un­known cognitive pathways, which it used to create accurate pathway maps and provide treatment rec­ommendations supported by numerical evidence. The results of ablation experiments showed that LLM reasoning, combined with the knowledge graph structure, led to high performance. Conclusion: The KG-Psy system introduces a novel approach to psychiatry inspired by large-scale language models and dynamic graphs that integrates data-driven linguistic analysis with established symbolic knowledge to enhance the capabilities of differential diagnosis and treatment development for complex mood and personality disorders. Future work could include validation on larger datasets and integration of multimodal clinical data.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-16
DOI
https://doi.org/10.21203/rs.3.rs-9621282/v1
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A Knowledge Graph and Large Language Model Framework for Personalized Clinical Decision Support in Bipolar Disorder and Borderline Personality Disorder: The KG- Psy Framework

Reza Rahaeimehr, Zahra Mahmoudpour Harris, Saba Hesaraki
1 links
Research Square
Artificial Intelligence in Healthcare and Education
preprint

A Knowledge Graph and Large Language Model Framework for Personalized Clinical Decision Support in Bipolar Disorder and Borderline Personality Disorder: The KG- Psy Framework

Reza Rahaeimehr, Zahra Mahmoudpour Harris, Saba Hesaraki
preprint en

Abstract

Abstract Background: Differentiating between bipolar disorder (BD) and borderline personality disorder (BPD) is an intriguing clinical challenge that has attracted research attention, as the multiple co-occurring symptoms such as mood instability, impulsivity, and emotional dysregulation have made the boundary between the two disorders unclear. Recent research in computational psychiatry has shown promise in leveraging the power of knowledge graphs and large language models to enable accurate and inter­pretable decision-making. Methods: The study developed a hybrid framework, KG-Psy, that combines large language models with dynamic graphs. The system extracts clinical entities through GPT-5 while employing multi-step reasoning to find hidden connections within a psychiatric knowledge graph that weighs its evidence-based content. The system performs four main operations, which include extracting clinical entities, creating dynamic weighted knowledge graphs, using GPT-5 to trace multi-step cognitive pathways, and evaluating customized treatment options. The researchers used 310 anonymized psychiatric case re­ports to test their method. Results: KG-Psy achieved better discrimination between BD and BPD than other methods. The model achieved a maximum Precision (%) of 91.5, an improvement of 19%, 10.3%, and 7.4% over the KG-only, LLM-only, and Hybrid-other approaches, respectively. The system successfully discovered un­known cognitive pathways, which it used to create accurate pathway maps and provide treatment rec­ommendations supported by numerical evidence. The results of ablation experiments showed that LLM reasoning, combined with the knowledge graph structure, led to high performance. Conclusion: The KG-Psy system introduces a novel approach to psychiatry inspired by large-scale language models and dynamic graphs that integrates data-driven linguistic analysis with established symbolic knowledge to enhance the capabilities of differential diagnosis and treatment development for complex mood and personality disorders. Future work could include validation on larger datasets and integration of multimodal clinical data.

Research Square
Islamic Azad University, Tehran (IR), Augusta University (US), Shariaty Technical College (IR)
Good health and well-being
Artificial Intelligence in Healthcare and Education
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon