Do large language models possess clinical reasoning? Perspectives from a real-world sepsis challenge

Authors

  • Rildo Pinto da Silva Departamento de Clínica Médica, Faculdade de Medicina de Ribeirão Preto, Universidade de São Paulo (FMRP-USP), Ribeirão Preto (SP), Brasil https://orcid.org/0000-0001-5718-2747
  • Antonio Pazin-Filho Departamento de Clínica Médica, Faculdade de Medicina de Ribeirão Preto, Universidade de São Paulo (FMRP-USP), Ribeirão Preto (SP), Brasil https://orcid.org/0000-0001-5242-329X

DOI:

https://doi.org/10.59681/2175-4411.v18.2026.1715

Keywords:

Sepsis, Natural Language Processing, Clinical Reasoning

Abstract

Background: Large Language Model (LLM) evaluations often rely on simplified datasets and metrics, masking deficits in complex clinical scenarios. Objective: To evaluate LLM limitations in sepsis classification using large-scale real-world data and determine, through robustness analysis, whether performance reflects genuine clinical reasoning. Methods: In a retrospective study of 65,523 hospitalizations from a tertiary emergency hospital, MedGemma was evaluated across administrative (ICD-Only), clinical (Sepsis-3-Only), and Non-Sepsis cohorts. Performance was assessed with the Matthews Correlation Coefficient (MCC) and sensitivity analysis; adversarial testing with clinically incoherent text probed reasoning. Results: A severity gradient confirmed Sepsis-3-Only cases as significantly more severe. Performance was inversely related to clinical complexity and dependent on the sepsis definition: sensitivity was higher for administrative codes than clinical cases (0.86 vs. 0.59; MCC 0.42 vs. 0.21). Inserting adversarial text triggered reclassification of 97.1% of cases, revealing keyword-matching behavior. Still, as a screening tool, the model identified 512 underreported sepsis cases explicitly from the Sepsis-3-Only cohort. Conservatively, this yields 1 confirmed true positive per 10.5 flagged cases, outperforming existing alerts. Conclusion: LLMs lack the clinical reasoning needed for autonomous sepsis diagnosis, but add value in human-in-the-loop roles such as retrospective record quality auditing rather than high-stakes autonomous decisions.

Downloads

Download data is not yet available.

Author Biographies

Rildo Pinto da Silva, Departamento de Clínica Médica, Faculdade de Medicina de Ribeirão Preto, Universidade de São Paulo (FMRP-USP), Ribeirão Preto (SP), Brasil

Departamento de Clínica Médica, Faculdade de Medicina de Ribeirão Preto, Universidade de São Paulo (FMRP-USP), Ribeirão Preto (SP), Brasil

Antonio Pazin-Filho, Departamento de Clínica Médica, Faculdade de Medicina de Ribeirão Preto, Universidade de São Paulo (FMRP-USP), Ribeirão Preto (SP), Brasil

Departamento de Clínica Médica, Faculdade de Medicina de Ribeirão Preto, Universidade de São Paulo (FMRP-USP), Ribeirão Preto (SP), Brasil

References

1. Alafari F, Driss M, Cherif A. Advances in natural language processing for healthcare: A comprehensive review of techniques, applications, and future directions. Comput Sci Rev. 2025;56:100725. doi: https://doi.org/10.1016/j.cosrev.2025.100725

2. Biesheuvel LA, Workum JD, Reuland M, van Genderen ME, Thoral P, Dongelmans D, et al. Large language models in critical care. J Intensive Med. 2025;5(2):113-8. doi: https://doi.org/10.1016/j.jointm.2024.12.001

3. Bilal M, Hamza A, Malik N. NLP for Analyzing Electronic Health Records and Clinical Notes in Cancer Research: A Review. J Pain Symptom Manage. 2025;69(5):e374-e394. doi: https://doi.org/10.1016/j.jpainsymman.2025.01.019

4. Bedi S, Liu Y, Orr-Ewing L, Dash D, Koyejo S, Callahan A, et al. Testing and Evaluation of Health Care Applications of Large Language Models. JAMA. 2025;333(4):319. doi: https://doi.org/10.1001/jama.2024.21700

5. Chakraborty N, Ornik M, Driggs-Campbell K. Hallucination Detection in Foundation Models for Decision-Making: A Flexible Definition and Review of the State of the Art. ACM Comput Surv. 2025;57(7):1-35. doi: https://doi.org/10.1145/3716846

6. Holmes G, Tang B, Gupta S, Venkatesh S, Christensen H, Whitton A. Applications of Large Language Models in the Field of Suicide Prevention: Scoping Review. J Med Internet Res. 2025;27:e63126. doi: https://doi.org/10.2196/63126

7. Liang EN, Pei S, Staibano P, van der Woerd B. Clinical applications of large language models in medicine and surgery: A scoping review. J Int Med Res. 2025;53(7):3000605251347556. doi: https://doi.org/10.1177/03000605251347556

8. Lee J, Park S, Shin J, Cho B. Analyzing evaluation methods for large language models in the medical field: a scoping review. BMC Med Inform Decis Mak. 2024;24(1):366. doi: https://doi.org/10.1186/s12911-024-02709-7

9. Poon EG, Lemak CH, Rojas JC, Guptill J, Classen D. Adoption of artificial intelligence in healthcare: survey of health system priorities, successes, and challenges. J Am Med Inform Assoc. 2025;32(7):1093-100. doi: https://doi.org/10.1093/jamia/ocaf065

10. Shool S, Adimi S, Saboori Amleshi R, Bitaraf E, Golpira R, Tara M. A systematic review of large language model (LLM) evaluations in clinical medicine. BMC Med Inform Decis Mak. 2025;25(1):117. doi: https://doi.org/10.1186/s12911-025-02954-4

11. Klug K, Beckh K, Antweiler D, Chakraborty N, Baldini G, Laue K, et al. From admission to discharge: a systematic review of clinical natural language processing along the patient journey. BMC Med Inform Decis Mak. 2024;24(1):238. doi: https://doi.org/10.1186/s12911-024-02641-w

12. Gallo RJ, Baiocchi M, Savage TR, Chen JH. Establishing best practices in large language model research: an application to repeat prompting. J Am Med Inform Assoc. 2025;32(2):386-90. doi: https://doi.org/10.1093/jamia/ocae294

13. Savage T, Nayak A, Gallo R, Rangan E, Chen JH. Diagnostic reasoning prompts reveal the potential for large language model interpretability in medicine. NPJ Digit Med. 2024;7(1):20. doi: https://doi.org/10.1038/s41746-024-01010-1

14. Tordjman M, Liu Z, Yuce M, Fauveau V, Mei Y, Hadjadj J, et al. Comparative benchmarking of the DeepSeek large language model on medical tasks and clinical reasoning. Nat Med. 2025;31(8):2550-5. doi: https://doi.org/10.1038/s41591-025-03726-3

15. McCoy LG, Swamy R, Sagar N, Wang M, Bacchi S, Fong JMN, et al. Assessment of Large Language Models in Clinical Reasoning: A Novel Benchmarking Study. NEJM AI. 2025;2(10). doi: https://doi.org/10.1056/aidbp2500120

16. Fleischmann-Struzek C, Mellhammar L, Rose N, Cassini A, Rudd KE, Schlattmann P, et al. Incidence and mortality of hospital- and ICU-treated sepsis: results from an updated and expanded systematic review and meta-analysis. Intensive Care Med. 2020;46(8):1552-62. doi: https://doi.org/10.1007/s00134-020-06151-x

17. Singer M, Deutschman CS, Seymour CW, Shankar-Hari M, Annane D, Bauer M, et al. The Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3). JAMA. 2016;315(8):801. doi: https://doi.org/10.1001/jama.2016.0287

18. Silva AR, Hoffmann NG, Fernandez-Llimos F, Lima EC. Data quality review of the Brazilian nosocomial infections surveillance system. J Infect Public Health. 2024;17(4):687-95. doi: https://doi.org/10.1016/j.jiph.2024.02.013

19. Gallifant J, Afshar M, Ameen S, Aphinyanaphongs Y, Chen S, Cacciamani G, et al. The TRIPOD-LLM reporting guideline for studies using large language models. Nat Med. 2025;31(1):60-9. doi: https://doi.org/10.1038/s41591-024-03425-5

20. Da Silva RP, Pazin-Filho A. Dataset of anonymized discharge summaries of sepsis patients from a Brazilian tertiary hospital for NLP applications. Data Brief. 2025;61:111804. doi: https://doi.org/10.1016/j.dib.2025.111804

21. Meta Llama. Llama-3.1-8B-Instruct; 2024 [cited 2026 Nov 15]. Available from: https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct.

22. Grattafiori A, Dubey A, Jauhri A, Pandey A, Kadian A, Al-Dahle A, et al. The Llama 3 Herd of Models [Preprint]. arXiv:2407.21783. 2024. doi: https://doi.org/10.48550/arXiv.2407.21783

23. Google. MedGemma 27B text-it: (medgemma-27b-text-it); 2025 [cited 2026 Nov 15]. Available from: https://huggingface.co/google/medgemma-27b-text-it.

24. Chicco D, Jurman G. The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genomics. 2020;21(1):6. doi: https://doi.org/10.1186/s12864-019-6413-7

25. Charlin B, Roy L, Brailovsky C, Goulet F, van der Vleuten C. The Script Concordance Test: A Tool to Assess the Reflective Clinician. Teach Learn Med. 2000;12(4):189-95. doi: https://doi.org/10.1207/s15328015tlm1204_5

26. Tungushpayev M, Suleimenova D, Sarria-Santamerra A, Aimyshev T, Gaipov A, Viderman D. The value of machine and deep learning in management of critically ill patients: An umbrella review. Int J Med Inform. 2025;204:106081. doi: https://doi.org/10.1016/j.ijmedinf.2025.106081

27. van der Vegt AH, Campbell VK, Webb R, Venkatesh B, Lane PJ, Wilks K, et al. A novel, standardised approach to balancing effectiveness, efficiency and utility of surveillance AI prediction models for hospitalised patients using sepsis prediction as an exemplar. J Am Med Inform Assoc. 2026;33(2):304-15. doi: https://doi.org/10.1093/jamia/ocaf192

28. Chen H, Fang Z, Singla Y, Dredze M. Benchmarking Large Language Models on Answering and Explaining Challenging Medical Questions. In: Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers). 2025. p. 3563-99. doi: https://doi.org/10.18653/v1/2025.naacl-long.182

29. Richards JB, Hayes MM, Schwartzstein RM. Teaching Clinical Reasoning and Critical Thinking. Chest. 2020;158(4):1617-28. doi: https://doi.org/10.1016/j.chest.2020.05.525

30. Jeon S, Kim HG. A comparative evaluation of chain-of-thought-based prompt engineering techniques for medical question answering. Comput Biol Med. 2025;196:110614. doi: https://doi.org/10.1016/j.compbiomed.2025.110614

31. Park C, Kim C. A Novel Chain-of-Thought Reasoning Approach for Alzheimer’s Disease Detection Using Large Language and Vision-Language Models. IEEE Trans Neural Syst Rehabil Eng. 2025;33:4386-95. doi: https://doi.org/10.1109/tnsre.2025.3624762

32. Wong A, Otles E, Donnelly JP, Krumm A, McCullough J, DeTroyer-Cooley O, et al. External Validation of a Widely Implemented Proprietary Sepsis Prediction Model in Hospitalized Patients. JAMA Intern Med. 2021;181(8):1065. doi: https://doi.org/10.1001/jamainternmed.2021.2626

33. Kumar S, Datta S, Singh V, Singh SK, Sharma R. Opportunities and Challenges in Data-Centric AI. IEEE Access. 2024;12:33173-89. doi: https://doi.org/10.1109/access.2024.3369417

34. Bhatt N, Bhatt N, Prajapati P, Sorathiya V, Alshathri S, El-Shafai W. A Data-Centric Approach to improve performance of deep learning models. Sci Rep. 2024;14(1):22329. doi: https://doi.org/10.1038/s41598-024-73643-x

35. Mandreoli F, Ferrari D, Guidetti V, Motta F, Missier P. Real-world data mining meets clinical practice: Research challenges and perspective. Front Big Data. 2022;5:1021621. doi: https://doi.org/10.3389/fdata.2022.1021621

Physician reviewing paper records at a desk while a humanoid robot beside him points a beam of light at the document, with a city skyline through the window.

Published

2026-11-23

How to Cite

Pinto da Silva, R., & Pazin-Filho, A. (2026). Do large language models possess clinical reasoning? Perspectives from a real-world sepsis challenge. Journal of Health Informatics, 18(1), 1715. https://doi.org/10.59681/2175-4411.v18.2026.1715

Issue

Section

Original Articles

Similar Articles

<< < 5 6 7 8 9 10 11 12 > >> 

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)