Hidden failure modes of large language models in healthcare-associated infection surveillance: a structured evaluation using NHSN definitions
BACKGROUND: Large language models (LLMs) are increasingly explored for healthcare-associated infection (HAI) surveillance, but their reliability in applying formal National Healthcare Safety Network (NHSN) definitions is not well characterized. This study evaluates GPT-5.1 Thinking's accuracy and rationales in classifying NHSN-defined infections. METHODS: Seventy synthesized case vignettes containing complete, organized clinical data representing five NHSN infection types, including complex edge cases, were assessed using 2025 NHSN surveillance definitions. GPT-5.1 Thinking classified cases under three prompting strategies: standard, structured, and constrained. Quantitative accuracy metrics and qualitative inductive content analysis of rationales and failure modes were performed. RESULTS: infection [CDI]). Constrained prompting enhanced adherence to NHSN rules but did not eliminate errors in hierarchical exclusions. Content analysis identified three recurrent failure categories: prioritization of clinical plausibility over surveillance logic, failure to apply quantitative and temporal thresholds, and errors in hierarchical source attribution. CONCLUSION: GPT-5.1 Thinking shows potential to support infection surveillance under strict constraints but exhibits systematic limitations, including overreliance on clinical intuition and difficulty with complex exclusion pathways. Currently, LLMs are unsuitable for autonomous NHSN classification but may serve as supervised decision-support tools with robust human oversight. Further development is needed to enhance LLMs' ability to synthesize surveillance definitions and complex situational characteristics critical for effective HAI surveillance, though fully autonomous deployment would require further validation. These findings are based on synthetic data that may differ from real-world clinical data in ways likely to overestimate the accuracy of these tools.
Authors
- Hayley Stevenson (ORCID: https://orcid.org/0000-0002-4876-1496)
- Alfred Veldhuis
- Mamdooh Alzyood (ORCID: https://orcid.org/0000-0002-7329-4826)
- Samina Sheikh
Institutions
- Oxford Brookes University (GB)
- Warwickshire College (GB)
- Sutton Hospital (GB)
- Leamington Spa Hospital (GB)
Publication Details
- Journal
- Infection Control and Hospital Epidemiology
- Published
- 2026-04-06
- DOI
- https://doi.org/10.1017/ice.2026.10444
- Primary Topic
- Electronic Health Records Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00