arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.21477cs.AI
收藏

用于从患者病历进行可靠医学计算的工具增强型大语言模型

Tool-Augmented Large Language Models for Reliable Medical Calculation from Patient Notes

College of Computer Science and Technology, Dalian University of Technology(大连理工大学计算机科学与技术学院);Air Force Communications NCO Academy(空军通信士官学校)

Yang Zhong, Ling Luo, Xuanlyu Zhu, Yanhua Wang, Yuanyuan Sun, Jian Wang, Hongfei Lin

AI总结:

该研究针对自由格式患者病历的医学计算不可靠问题,提出工具增强型LLM框架,在MedCalc-Bench数据集上准确率达86.73%,显著优于基线,缓解了算术幻觉并提升了临床计算可靠性。

摘要:

医学计算器将原始患者观测值转换为临床可操作的数值和评分。然而,将这些计算器直接应用于自由格式的患者病历,需要精确的变量提取,同时还要准确执行复杂的公式、评分规则和输出约定。仅依赖直接的大语言模型(LLM)提示在这种场景下并不可靠,因为规则回忆、参数提取、算术推理和格式会在单个生成步骤中相互纠缠。为解决这些局限,我们提出一种用于从患者病历进行可靠医学计算的工具增强型LLM框架。该框架会检索并结构化计算器规格,生成可复用的可执行工具,并使用受约束提取器将每份患者病历映射为计算器可用的输入。随后由工具执行确定性计算,将临床语言理解与规则执行及算术操作分离开来。在MedCalc-Bench数据集上评估时,我们的方法达到了86.73%的最终答案准确率,比单次提示和仅监督微调的基线分别高出24.0和17.27个百分点。消融实验与错误分析显示,这些性能提升主要由基于规则的工具合成和模式约束提取驱动,而剩余失败则集中在临床语义提取和特定基准的输出约定上。通过将计算器逻辑锚定在可执行工具中,所提方法缓解了算术幻觉问题,提升了最终临床输出的计算可靠性。

英文摘要:

Medical calculators translate raw patient observations into clinically actionable values and scores. However, applying these calculators directly to free-form patient notes requires precise variable extraction combined with the exact execution of complex formulas, scoring rules, and output conventions. Relying solely on direct large language model (LLM) prompting is unreliable in this context, as rule recall, parameter extraction, arithmetic reasoning, and formatting become entangled within a single generative step. To address these limitations, we propose a tool-augmented LLM framework for reliable medical calculation from patient notes. The framework retrieves and structures calculator specifications, generates reusable executable tools, and uses a constrained extractor to map each patient note to calculator-ready inputs. The tools then perform deterministic calculation, separating clinical language understanding from rule execution and arithmetic. Evaluated on the MedCalc-Bench dataset, our method achieves 86.73% final-answer accuracy, outperforming the one-shot prompting and supervised fine tuning-only baselines by 24.0 and 17.27 percentage points. Ablation and error analyses show that these performance gains are primarily driven by rule-grounded tool synthesis and schema-constrained extraction, whereas remaining failures are concentrated in clinical-semantic extraction and benchmark-specific output contracts. By grounding calculator logic in executable tools, the proposed approach alleviates arithmetic hallucinations and improves the computational reliability of the final clinical outputs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑