Loading...
Thumbnail Image
Item

SynapseRoute: an auto-route switching framework on dual-state large language model for medical question answering

Zhang, Wencheng
Qiao, Shiqin
Luo, Lingjie
Li, Sicheng
Li, Yinfeng
Zheng, Chuanyang
Xu, Qian
Li, Meng
Gui, Yong
He, Yijun
... show 3 more
Citations
Google Scholar:
Altmetric:
Supervisor
Department
Personalized Medicine
Embargo End Date
Type
Journal article
Date
License
http://creativecommons.org/licenses/by/4.0/
Language
English
Collections
Research Projects
Organizational Units
Journal Issue
Abstract
Objective With the increasing adoption of large language models (LLMs) in practical applications, selecting between ‘thinking’ (high-reasoning) and ‘non-thinking’ (fast, low-cost) modes requires balancing performance and operational cost. In medical question answering, task complexity varies widely—from routine medication adjustments to complex rare disease diagnosis—placing different demands on LLM reasoning capabilities. While the thinking mode excels at complex inference, it often incurs higher computational cost, latency and hallucination risk. In contrast, the non-thinking mode provides faster, cheaper responses but struggles with complex reasoning. This study proposes SynapseRoute, an intelligent routing framework that dynamically assigns queries to either mode to optimise accuracy, latency and token cost. Methods and analysis Questions from four medical datasets (USMLE, MedMCQA, PubMedQA and CareQA) were automatically labelled as thinking or non-thinking using the Qwen3-30B-a3b model. Multiple routing algorithms, including traditional machine learning methods and fine-tuned LLMs, were evaluated. Performance was assessed using standard metrics and a novel cross-dimensional metric, the Accuracy–Inference–Token (AIT) index, which integrates accuracy, latency and token cost with adjustable weights. Results Approximately 58% of medical questions were correctly answered by the non-thinking mode alone. Logistic Regression achieved the best routing performance (area under the curve=0.82). Compared with using the thinking mode alone, SynapseRoute improved accuracy (0.8390 vs 0.8272), while reducing inference time by 36.8% and token consumption by 39.66%. Discussion Dynamic mode routing improves the cost-efficiency and practicality of dual-mode LLMs in medical question answering. SynapseRoute and the AIT index provide practical tools for deploying adaptive LLM systems with controllable performance–cost trade-offs.
Citation
W. Zhang, S. Qiao, L. Luo, S. Li, Y. Li, C. Zheng , et al., "SynapseRoute: an auto-route switching framework on dual-state large language model for medical question answering," BMJ Innovations, pp. bmjinnov-2025-001529-bmjinnov-2025-001529, 2026, https://doi.org/10.1136/bmjinnov-2025-001529.
Source
BMJ Innovations
Conference
Keywords
32 Biomedical and Clinical Sciences, 3206 Medical Biotechnology
Subjects
Source
Publisher
BMJ
Additional links
Full-text link