Skip to main content
QUICK REVIEW

[Paper Review] Fine-Tuned Large Language Models for Symptom Recognition from Spanish Clinical Text

Mai A. Shaaban, Abbas Akkasi|arXiv (Cornell University)|Nov 12, 2023
Biomedical Text Mining and OntologiesBiochemistry, Genetics and Molecular Biology1 citations
TL;DR

This study proposes fine-tuning multiple large language models (LLMs) on Spanish clinical text for symptom recognition, using ensemble majority voting to improve performance. The best-performing model, XLM-RoBERTa Large, achieved an F1-score of 0.70 on validation data, demonstrating that domain-specific fine-tuning significantly enhances symptom recognition in Spanish EHRs compared to general-domain models.

ABSTRACT

Abstract The accurate recognition of symptoms in clinical reports is significantly important in the fields of healthcare and biomedical natural language processing. These entities serve as essential building blocks for clinical information extraction, enabling retrieval of critical medical insights from vast amounts of textual data. Furthermore, the ability to identify and categorize these entities is fundamental for developing advanced clinical decision support systems, aiding healthcare professionals in diagnosis and treatment planning. In this study, we participated in SympTEMIST – a shared task on detection of symptoms, signs and findings in Spanish medical documents. We combine a set of large language models finetuned with the data released by the task's organizers. This article is part of the Proceedings of the BioCreative VIII Challenge and Workshop: Curation and Evaluation in the era of Generative Models.

Motivation & Objective

  • To improve symptom recognition in Spanish clinical notes using fine-tuned large language models.
  • To evaluate the effectiveness of ensemble methods, particularly majority voting, in combining predictions from multiple LLMs.
  • To assess the performance of domain-specific Spanish clinical LLMs against general-domain models in a low-resource setting.
  • To contribute to clinical decision support systems by enabling accurate extraction of symptoms from electronic health records.

Proposed method

  • Fine-tuned six LLMs—XLM-RoBERTa Base/Large, BBS, BBES, E5-base, and E5-large—on the SympTEMIST dataset of 744 Spanish clinical records.
  • Applied a 95% training / 5% validation split, using spaCy for tokenization and IOB tagging scheme.
  • Trained all models with a batch size of 4, 70 epochs, a 5e-5 initial learning rate, and a linear scheduler.
  • Employed majority voting (MV) to combine predictions from all six models, favoring labels with the highest consensus.
  • Selected top-performing models based on validation F1-score for final test predictions.
  • Used PyTorch and Hugging Face Transformers for model training and inference.

Experimental results

Research questions

  • RQ1How do fine-tuned large language models perform in recognizing symptoms within Spanish clinical text?
  • RQ2Does ensemble majority voting improve symptom recognition accuracy compared to individual models?
  • RQ3How do domain-specific Spanish clinical LLMs compare to general-domain LLMs in this low-resource setting?
  • RQ4What is the impact of model architecture and pretraining data on symptom recognition performance?

Key findings

  • The XLM-RoBERTa Large (XLM-RL) model achieved the highest F1-score of 0.70 on the validation set, outperforming other models.
  • On the test set, XLM-RL achieved a precision of 0.62, recall of 0.50, and F1-score of 0.56, indicating room for improvement in generalization.
  • The ensemble majority voting method achieved a test F1-score of 0.64, showing moderate improvement over individual models but with potential vote dilution from inconsistent predictions.
  • Domain-specific models like BBES and BBS outperformed general-domain models, highlighting the importance of clinical fine-tuning.
  • False positives were relatively low, but the models missed a significant number of true positive symptom entities on the test set.
  • The results suggest that weighted majority voting, favoring higher-performing models, could mitigate vote dilution and improve ensemble performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.