Back to feed
Review Open access

Domain-specific versus general large language models: a review and empirical benchmark in real medical texts

Jul 2026 · Scientific Reports · Vol 16 · 0 citations · 52 references
Medicine

TL;DR

It is suggested that domain-adapted encoder models may be preferable for similar structured clinical NER settings, although larger and externally validated benchmarks are needed before generalizing to other languages, clinical corpora, model families, or deployment environments.

Abstract

The rapid adoption of Large Language Models (LLMs) has led to their widespread use as a general-purpose, fast-deployment solution across a broad range of tasks. In healthcare settings, this trend has accelerated the replacement of task-specific models with large generative architectures, often without an assessment of their efficiency or suitability for structured information extraction. While transformer-based encoder models have long been established as reliable solutions for clinical Named Entity Recognition (NER) and Information Extraction (IE), the increasing reliance on LLMs raises concerns regarding computational cost, scalability, energy consumption, and practical deployment in resource- and privacy-constrained environments. This study aimed to critically evaluate the assumption that LLMs constitute a universally superior solution for clinical NER and IE, by systematically comparing encoder-based Language Models (LMs), and LLMs in terms of extraction performance, efficiency, deployment feasibility, and environmental impact. Following the Preferred Reporting Items for Systematic Reviews and Meta-Analyses (PRISMA 2020) guidelines, a scoping literature review was conducted using Scopus and Web of Science, covering peer-reviewed studies published between 2022 and 2025. In addition, a proof-of-concept case study was performed on European Portuguese clinical notes, comparing a domain-adapted encoder model (MediAlbertina-1.5B) with quantized Llama-based LLMs executed locally under identical hardware conditions. Models were evaluated using micro-averaged precision, recall, and F1-score, together with runtime, estimated energy consumption, and CO₂ emissions. The literature review showed that LLMs and transformer-based architectures were the most frequently used even thought encoder-based and domain-adapted models often perform strongly in clinical NER, particularly when recall, structured output, and computational efficiency are important. The empirical case study showed a similar pattern: MediAlbertina-1.5B achieved the highest performance (micro-F1 = 0.430), whereas all evaluated Llama variants obtained markedly lower F1-scores (≤ 0.123) due to systematic under-extraction. Despite their lower performance, the Llama models incurred 23–95 × longer runtimes and one to two orders of magnitude higher estimated energy consumption and CO₂ emissions under the tested local CPU-only setup. In this proof-of-concept benchmark on 20 European Portuguese clinical reports, the domain-adapted MediAlbertina token-classification model achieved higher recall and micro-F1 than the evaluated locally executed, quantized Llama models. The Llama models were also substantially slower and less sustainable, with higher estimated energy use and CO₂ emissions under the tested hardware and prompting configuration. These findings suggest that domain-adapted encoder models may be preferable for similar structured clinical NER settings, although larger and externally validated benchmarks are needed before generalizing to other languages, clinical corpora, model families, or deployment environments.

Read PDF

Similar papers

Review Open access Jul 2026

Tutorial: guidance on the use of large language models for medical research

This entry-level tutorial aims to equip healthcare professionals with the tools necessary to effectively integrate LLMs into clinical practice, ensuring that these powerful technologies are applied in a safe, reliable, and impactful manner.

Qiao Jin, Nicholas Wan, Robert Leaman et al. · 1 citation
Book Open access Jun 2026

Probing the Intrinsic Effectiveness of Large Language Models for Medical Classifications

Findings highlight significant reliability and safety concerns when applying LLMs to medical classification tasks in their current basic form, and underline the need for improved models and methodologies before such systems can be responsibly deployed in medical informatics.

Riccardo Lunardi, Kevin Roitero, V. Della Mea · 0 citations
Preprint Aug 2026

A corpus-specific clinical RAG system matches or outperforms newer frontier LLMs on HealthBench

General-purpose large language models (LLMs) have recently been reported to match or exceed specialized clinical AI tools on medical benchmarks, but such comparisons draw on a narrow set of systems and on benchmarks developed largely in high-income settings. We evaluate VITA, a retrieval-augmented generation (RAG) system purpose-built for contextual knowledge retrieval in India and other low- and middle-income (LMIC) settings. VITA retrieves from a curated corpus of disease-specific guidelines, India-specific antimicrobial resistance data, national formulary constraints, and resource-limited care protocols; its architecture and corpus are proprietary, but the benchmark, the physician-written rubrics, and our full response and scoring outputs are public for independent verification. On 4,023 English-language HealthBench questions (80.5% of the benchmark), scored with a GPT-4.1 judge, VITA ranked first with 51.9% of possible rubric points, ahead of GPT-5.4 (46.1%), o4-mini (44.3%), Gemini 3.1 Pro (42.6%), and Claude Sonnet 4.6 (37.3%), and scored highest on 45.4% of questions. To test robustness to newer models and judge lineage, a 500-question subset was re-run against current-generation models (GPT-5.5, Claude Opus 4.8, Gemini 3.5 Pro, Grok 4.3) and graded by a neutral open-weight judge (DeepSeek-V4-Pro) sharing no lineage with any system tested. Here the gap narrowed to parity: VITA and GPT-5.5 were statistically indistinguishable on mean per-question score, while VITA led on points-weighted score and won the most questions. VITA's advantages in accuracy and completeness persisted under the neutral judge; its communication scores were lower. These results indicate that a purpose-built clinical RAG system remains competitive with frontier LLMs on an open benchmark, consistent with corpus specificity as a design variable that improves grounding at some cost to communication polish.

Praveen Reddy, C. Mandke, Suvrankar Datta et al. · 0 citations
Open access Jul 2026

NigBench: A multilingual point-of-care medical query benchmarking study of large language models in Nigeria

In this study, we introduce a novel benchmark comprising over 9,000 real-world, point-of-care, multilingual, and multimodal clinical question-answer pairs sourced from frontline health workers in Nigeria. Using the dataset, we compare local general practitioners to multiple leading open and closed LLMs. Our results reveal several critical insights into the suitability of LLMs as clinical decision support systems in low-resource contexts. The results confirm that performance varies widely by language and input modality (e.g., text vs speech): while models perform best on English text inputs, their accuracy drops significantly for local-language speech. Critically, it is possible to achieve substantial performance gains by transcribing and translating other languages into English before prompting an LLM-- an important insight for non-anglophone product developers. Finally, this benchmark highlights key limitations of SLMs in supporting frontline healthcare in low-resource settings and provides a clear opportunity to track improvements as novel solutions are developed.

Tobi Olatunji, C. Aka, C. Okocha et al. · 0 citations
Review Open access Aug 2026

Explainability of decoder-only clinical large language models: A scoping review.

Findings show that clinical LLM explainability has shifted toward fluent generative rationales, but evidence that such explanations reflect model reasoning remains limited, and three regulatory priorities are highlighted: prioritizing explanations that enable independent verification or logic auditing over plausibility-only rationales; preferring inspectable models where regulatory documentation is required; and prospectively validating explanations in clinical workflows before scaling.

Nishant Mishra, Ameen Abu-Hanna, Iacer Calixto · 0 citations