VeriLLMed: Interactive Visual Debugging of Medical Large Language Models with Knowledge Graphs

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Xiang, Yurui, Mao, Xingyi, Sheng, Rui, Chen, Zixin, Zang, Zelin, Wu, Yuyang, Zeng, Haipeng, Qu, Huamin, Sun, Yushi, Lin, Yanna
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917436744269824
author Xiang, Yurui
Mao, Xingyi
Sheng, Rui
Chen, Zixin
Zang, Zelin
Wu, Yuyang
Zeng, Haipeng
Qu, Huamin
Sun, Yushi
Lin, Yanna
author_facet Xiang, Yurui
Mao, Xingyi
Sheng, Rui
Chen, Zixin
Zang, Zelin
Wu, Yuyang
Zeng, Haipeng
Qu, Huamin
Sun, Yushi
Lin, Yanna
contents Large language models (LLMs) show promise in medical diagnosis, but real-world deployment remains challenging due to high-stakes clinical decisions and imperfect reasoning reliability. As a result, careful inspection of model behavior is essential for assessing whether diagnostic reasoning is reliable and clinically grounded. However, debugging medical LLMs remains difficult. First, developers often lack sufficient medical domain expertise to interpret model errors in clinically meaningful terms. Second, models can fail across a large and diverse set of instances involving different input types, tasks, and reasoning steps, making it challenging for developers to prioritize which errors deserve focused inspection. Third, developers struggle to identify recurring error patterns across cases, as existing debugging practices are largely instance-centric and rely on manual inspection of isolated failures. To address these challenges, we present VeriLLMed, a visual analytics system that integrates external biomedical knowledge to audit and debug medical LLM diagnostic reasoning. VeriLLMed transforms model outputs into comparable reasoning paths, constructs knowledge graph-grounded reference paths, and identifies three recurring classes of diagnosis errors: relation errors, branch errors, and missing errors. Case studies and expert evaluation demonstrate that VeriLLMed helps developers identify clinically implausible reasoning and generate actionable insights that can inform the improvement of medical LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2604_23356
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle VeriLLMed: Interactive Visual Debugging of Medical Large Language Models with Knowledge Graphs
Xiang, Yurui
Mao, Xingyi
Sheng, Rui
Chen, Zixin
Zang, Zelin
Wu, Yuyang
Zeng, Haipeng
Qu, Huamin
Sun, Yushi
Lin, Yanna
Computation and Language
Human-Computer Interaction
Large language models (LLMs) show promise in medical diagnosis, but real-world deployment remains challenging due to high-stakes clinical decisions and imperfect reasoning reliability. As a result, careful inspection of model behavior is essential for assessing whether diagnostic reasoning is reliable and clinically grounded. However, debugging medical LLMs remains difficult. First, developers often lack sufficient medical domain expertise to interpret model errors in clinically meaningful terms. Second, models can fail across a large and diverse set of instances involving different input types, tasks, and reasoning steps, making it challenging for developers to prioritize which errors deserve focused inspection. Third, developers struggle to identify recurring error patterns across cases, as existing debugging practices are largely instance-centric and rely on manual inspection of isolated failures. To address these challenges, we present VeriLLMed, a visual analytics system that integrates external biomedical knowledge to audit and debug medical LLM diagnostic reasoning. VeriLLMed transforms model outputs into comparable reasoning paths, constructs knowledge graph-grounded reference paths, and identifies three recurring classes of diagnosis errors: relation errors, branch errors, and missing errors. Case studies and expert evaluation demonstrate that VeriLLMed helps developers identify clinically implausible reasoning and generate actionable insights that can inform the improvement of medical LLMs.
title VeriLLMed: Interactive Visual Debugging of Medical Large Language Models with Knowledge Graphs
topic Computation and Language
Human-Computer Interaction
url https://arxiv.org/abs/2604.23356