Evaluating Clinical Symptom Extraction and Reasoning in Local Large Language Models: A Proof-of-Concept Study of Symptom-Specific Performance in Cardiology (Preprint)
Authors:
- Shun KitamuraSKShun Kitamura
- Eisuke AmiyaEAEisuke Amiya
- Yoshihiro IzawaYIYoshihiro Izawa
- Risa KishikawaRKRisa Kishikawa
- Takenobu ShimadaTSTakenobu Shimada
- Junichi IshidaJIJunichi Ishida
- Satoshi KoderaSKSatoshi Kodera
- Norihiko TakedaNTNorihiko Takeda
Preprint
- 14 August 2026
- preprint
- Published by JMIR Publications Inc. in JMIR Preprints
Abstract
BACKGROUND Patients with heart failure present with various symptoms, and comprehensively identifying and accurately documenting them in clinical registries or structured databases requires substantial manual effort. Locally deployed large language models (LLMs), which process data entirely within institutional infrastructure, have enabled automated extraction of structured information from unstructured clinical text. However, symptom-specific extraction performance and reasoning-trace analyses of the underlying decision-making process remain largely unexplored. OBJECTIVE We utilized multiple locally deployed LLMs for symptom extraction from cardiology discharge summaries, examining how extraction performance varied across individual symptoms and characterizing the inferential processes through reasoning traces. METHODS Ten Japanese-language clinical summaries of patients with advanced heart failure evaluated for heart transplantation listing were included to assess the feasibility of locally deployed LLMs for automated symptom extraction, yielding 80 reference-standard symptom-case labels (10 cases × 8 symptoms). Gemma3-27b and Qwen3.5-9b were run locally on a single GPU to extract the presence or absence of eight symptoms required for transplant listing in Japan. Two prompting conditions were evaluated: (1) extraction of all symptoms from the full summary, and (2) an additional instruction to disregard symptoms unrelated to the index hospitalization. Phase 1 evaluated four non-reasoning conditions, and phase 2 added chain-of-thought reasoning to each condition. Results are reported descriptively, without formal statistical testing. RESULTS Overall accuracy across the four no-reasoning conditions ranged from 87.5% to 91.3%, with Qwen3.5 showing greater sensitivity to prompt modification than Gemma3. In symptom-specific evaluation across all conditions, palpitations and fatigability showed the highest false-positive rates (25% and 38%, respectively). Review of the reasoning outputs showed that, in some cases, both models inferred palpitations from electrocardiographic findings or documented tachycardia, and fatigability from the underlying diagnosis of heart failure, despite the absence of explicit symptom documentation. CONCLUSIONS Symptom extraction performance varies according to the linguistic and clinical characteristics of individual symptoms. Reasoning-trace analysis further showed that LLMs could infer symptom presence from objective clinical findings rather than relying solely on explicitly documented patient complaints.Keywords
This publication has 4 references indexed in Scilit:
- Extracting Cardiorespiratory Symptoms From Clinical Notes Using Open-Weight Large Language Models: Method Development and Validation StudyJMIR Cardio, 2026
- Large Language Model−Based Chatbot vs Surgeon-Generated Informed Consent Documentation for Common ProceduresJAMA Network Open, 2023
- Developing prompts from large language model for extracting clinical information from pathology and ultrasound reports in breast cancerRadiation Oncology Journal, 2023
- ChatGPT, Bard, and Large Language Models for Biomedical Research: Opportunities and PitfallsAnnals of Biomedical Engineering, 2023