Can Reasoning LLMs Enhance Clinical Document Classification?

Akram Mustafa, Usman Naseem, Mostafa Rahimi Azghadi
4/10/2025
cs.CLcs.AI

No official code found. Best implementation: asmgx/LLMs (1 star, last commit 2025-07-31).

Abstract

Clinical document classification is essential for converting unstructured medical texts into standardised ICD-10 diagnoses, yet it faces challenges due to complex medical language, privacy constraints, and limited annotated datasets. Large Language Models (LLMs) offer promising improvements in accuracy and efficiency for this task. This study evaluates the performance and consistency of eight LLMs; four reasoning (Qwen QWQ, Deepseek Reasoner, GPT o3 Mini, Gemini 2.0 Flash Thinking) and four non-reasoning (Llama 3.3, GPT 4o Mini, Gemini 2.0 Flash, Deepseek Chat); in classifying clinical discharge summaries using the MIMIC-IV dataset. Using cTAKES to structure clinical narratives, models were assessed across three experimental runs, with majority voting determining final predictions. Results showed that reasoning models outperformed non-reasoning models in accuracy (71% vs 68%) and F1 score (67% vs 60%), with Gemini 2.0 Flash Thinking achieving the highest accuracy (75%) and F1 score (76%). However, non-reasoning models demonstrated greater stability (91% vs 84% consistency). Performance varied across ICD-10 codes, with reasoning models excelling in complex cases but struggling with abstract categories. Findings indicate a trade-off between accuracy and consistency, suggesting that a hybrid approach could optimise clinical coding. Future research should explore multi-label classification, domain-specific fine-tuning, and ensemble methods to enhance model reliability in real-world applications.

View on arXivView PDF

Code Implementations(1)

asmgx/LLMsCommunity100%
10TSQLMar 31, 20251 years ago

Similar Papers

Cite this paper

@article{mustafa2025reasoning,
  title  = {Can Reasoning LLMs Enhance Clinical Document Classification?},
  author = {Akram Mustafa and Usman Naseem and Mostafa Rahimi Azghadi},
  year   = {2025},
  eprint = {2504.08040},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.08040v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.08040.svg)](https://codeofpaper.com/paper/2504.08040)

Discussion