Small Language Models for Privacy-Preserving Clinical Information Extraction in Low-Resource Languages

Mohammadreza Ghaffarzadeh-Esfahani, Nahid Yousefian, Ebrahim Heidari-Farsani, Ali Akbar Omidvarian, Sepehr Ghahraei +2 more
2/24/2026
cs.CLcs.AIcs.LG

No official code found. Best implementation: mohammad-gh009/Small-language-models-on-clinical-data-extraction (0 stars, MIT, last commit 2026-02-26).

Abstract

Extracting clinical information from medical transcripts in low-resource languages remains a significant challenge in healthcare natural language processing (NLP). This study evaluates a two-step pipeline combining Aya-expanse-8B as a Persian-to-English translation model with five open-source small language models (SLMs) -- Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, Llama-3.2-3B-Instruct, Qwen2.5-1.5B-Instruct, and Gemma-3-1B-it -- for binary extraction of 13 clinical features from 1,221 anonymized Persian transcripts collected at a cancer palliative care call center. Using a few-shot prompting strategy without fine-tuning, models were assessed on macro-averaged F1-score, Matthews Correlation Coefficient (MCC), sensitivity, and specificity to account for class imbalance. Qwen2.5-7B-Instruct achieved the highest overall performance (median macro-F1: 0.899; MCC: 0.797), while Gemma-3-1B-it showed the weakest results. Larger models (7B--8B parameters) consistently outperformed smaller counterparts in sensitivity and MCC. A bilingual analysis of Aya-expanse-8B revealed that translating Persian transcripts to English improved sensitivity, reduced missing outputs, and boosted metrics robust to class imbalance, though at the cost of slightly lower specificity and precision. Feature-level results showed reliable extraction of physiological symptoms across most models, whereas psychological complaints, administrative requests, and complex somatic features remained challenging. These findings establish a practical, privacy-preserving blueprint for deploying open-source SLMs in multilingual clinical NLP settings with limited infrastructure and annotation resources, and highlight the importance of jointly optimizing model scale and input language strategy for sensitive healthcare applications.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains the implementation and supporting code for the research study “Small Language Models for Privacy-Preserving Clinical Information Extraction in Low-Resource Languages”.

00Python, Jupyter NotebookFeb 11, 20267 months agoMIT
artificial-intelligenceclinical-datadata-extractionsmall-language-models

Similar Papers

Cite this paper

@article{ghaffarzadehesfahani2026small,
  title  = {Small Language Models for Privacy-Preserving Clinical Information Extraction in Low-Resource Languages},
  author = {Mohammadreza Ghaffarzadeh-Esfahani and Nahid Yousefian and Ebrahim Heidari-Farsani and Ali Akbar Omidvarian and Sepehr Ghahraei and Atena Farangi and AmirBahador Boroumand},
  year   = {2026},
  eprint = {2602.21374},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.21374v1}
}

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/2602.21374.svg)](https://codeofpaper.com/paper/2602.21374)

Discussion