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

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.

Link
https://www.semanticscholar.org/paper/ae80736fc900625711ea924381d78dbb262e976d
Found by
Semantic Scholar
Authors
Ya-Bei Zhong, Ling Luo, Xuan-Yu Zhu, Yan-Hua Wang, Yuan-Yuan Sun, Jian Wang, Hong-Fei Lin
Categories
benchmark, evaluation, dataset
Published
2026-10-15
Last seen by the radar
2026-10-17
Citations
0
Influential citations
0
Radar score
44.25 / 100 (how it is scored)
Why it scored so
Matched: benchmark, dataset, evaluat; Primary record: Semantic Scholar
Related links
https://arxiv.org/abs/2610.21477
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar