Jingfang: An LLM-Based Multi-Agent System for Precise Medical Consultation and Syndrome Differentiation in Traditional Chinese Medicine
Yehan Yang, Tianhao Ma, Ruotai Li, Xinhan Zheng, Guodong Shan
TL;DR
This work presents JingFang, an LLM-based multi-agent system for Traditional Chinese Medicine that addresses the limitations of existing TCM LLMs by enabling patient-tailored, multi-round consultations and explicit syndrome differentiation. It introduces the Multi-Agent Collaborative Consultation Mechanism (MACCM) to coordinate specialist and general agents, a Syndromes Agent trained on a curated dataset, and a Dual-Stage Retrieval Scheme (DSRS) within the Treatment Agent to deliver syndrome-specific prescriptions. Experimental results show JingFang achieves substantial gains in syndrome differentiation precision (up to 124% over domain-specific baselines and 21.1% over SOTA models) and robustness in multi-round consultations, with strong semantic and lexical fidelity when the General Agent is included. The framework promises practical impact for AI-assisted TCM by providing interpretable reasoning, targeted questioning, and precise, syndrome-based treatments, and suggests future integration of broader multimodal diagnostics and enhanced collaboration among agents.
Abstract
The practice of Traditional Chinese Medicine (TCM) requires profound expertise and extensive clinical experience. While Large Language Models (LLMs) offer significant potential in this domain, current TCM-oriented LLMs suffer two critical limitations: (1) a rigid consultation framework that fails to conduct comprehensive and patient-tailored interactions, often resulting in diagnostic inaccuracies; and (2) treatment recommendations generated without rigorous syndrome differentiation, which deviates from the core diagnostic and therapeutic principles of TCM. To address these issues, we develop \textbf{JingFang (JF)}, an advanced LLM-based multi-agent system for TCM that facilitates the implementation of AI-assisted TCM diagnosis and treatment. JF integrates various TCM Specialist Agents in accordance with authentic diagnostic and therapeutic scenarios of TCM, enabling personalized medical consultations, accurate syndrome differentiation and treatment recommendations. A \textbf{Multi-Agent Collaborative Consultation Mechanism (MACCM)} for TCM is constructed, where multiple Agents collaborate to emulate real-world TCM diagnostic workflows, enhancing the diagnostic ability of base LLMs to provide accurate and patient-tailored medical consultation. Moreover, we introduce a dedicated \textbf{Syndrome Differentiation Agent} fine-tuned on a preprocessed dataset, along with a designed \textbf{Dual-Stage Recovery Scheme (DSRS)} within the Treatment Agent, which together substantially improve the model's accuracy of syndrome differentiation and treatment. Comprehensive evaluations and experiments demonstrate JF's superior performance in medical consultation, and also show improvements of at least 124% and 21.1% in the precision of syndrome differentiation compared to existing TCM models and State of the Art (SOTA) LLMs, respectively.
