Few-shot clinical entity recognition in English, French and Spanish: masked language models outperform generative model prompting
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have become the preferred solution for many natural language processing tasks. In low-resource environments such as specialized domains, their few-shot capabilities are expected to deliver high performance. Named Entity Recognition (NER) is a critical task in information extraction that is not covered in recent LLM benchmarks. There is a need for better understanding the performance of LLMs for NER in a variety of settings including languages other than English. This study aims to evaluate generative LLMs, employed through prompt engineering, for few-shot clinical NER. %from the perspective of F1 performance and environmental impact. We compare 13 auto-regressive models using prompting and 16 masked models using fine-tuning on 14 NER datasets covering English, French and Spanish. While prompt-based auto-regressive models achieve competitive F1 for general NER, they are outperformed within the clinical domain by lighter biLSTM-CRF taggers based on masked models. Additionally, masked models exhibit lower environmental impact compared to auto-regressive models. Findings are consistent across the three languages studied, which suggests that LLM prompting is not yet suited for NER production in the clinical domain.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 45 of its 102 references that are in the map. First posted on arXiv 20 Feb 2024.
Builds on
45 of 102 references.
References · 45
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
33 more
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2019Publicly Available Clinical BERT Embeddingscited by 995
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
- 2019CamemBERT: a Tasty French Language Modelcited by 368
- 2021True Few-Shot Learning with Language Modelscited by 343
- 2023MedAlpaca -- An Open-Source Collection of Medical Conversational AI Models and Training Datacited by 282
- 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 224
- 2019A Unified MRC Framework for Named Entity Recognitioncited by 199
- 2020How Context Affects Language Models' Factual Predictionscited by 181
- 2019FlauBERT: Unsupervised Language Model Pre-training for Frenchcited by 153
- 2021Template-Based Named Entity Recognition Using BARTcited by 153
- 2020A Monolingual Approach to Contextualized Word Embeddings for Mid-Resource Languagescited by 131
- 2019Fine-tune BERT for Extractive Summarizationcited by 122
- 2020Few-shot Slot Tagging with Collapsed Dependency Transfer and Label-enhanced Task-adaptive Projection Networkcited by 83
- 2022Thinking about GPT-3 In-Context Learning for Biomedical IE? Think Againcited by 83
- 2023Spanish Pre-trained BERT Model and Evaluation Datacited by 81
- 2021Template-free Prompt Tuning for Few-shot NERcited by 73
- 2017Reporting Score Distributions Makes a Difference: Performance Study of LSTM-networks for Sequence Taggingcited by 71
- 2018Few-shot classification in Named Entity Recognition Taskcited by 64
- 2023Parameter-Efficient Fine-Tuning without Introducing New Latencycited by 59
- 2023Coverage-based Example Selection for In-Context Learningcited by 58
- 2020FLERT: Document-Level Features for Named Entity Recognitioncited by 45
- 2022BERN2: an advanced neural biomedical named entity recognition and normalization toolcited by 42
- 2021Good Examples Make A Faster Learner: Simple Demonstration-based Learning for Low-resource NERcited by 38
- 2023DrBERT: A Robust Pre-trained Model in French for Biomedical and Clinical domainscited by 27
- 2023PromptNER: Prompt Locating and Typing for Named Entity Recognitioncited by 17
- 2023Enhancing Phenotype Recognition in Clinical Notes Using Large Language Models: PhenoBCBERT and PhenoGPTcited by 17
- 2020Med7: a transferable clinical natural language processing model for electronic health recordscited by 15
- 2023CamemBERT-bio: Leveraging Continual Pre-training for Cost-Effective Models on French Biomedical Datacited by 6
- 2023ContrastNER: Contrastive-based Prompt Tuning for Few-shot NERcited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 9.
12 papers.
- 2024Extracting Information in a Low-resource Setting: Case Study on Bioinformatics Workflowscited by 1
- 2025Summarization for Generative Relation Extraction in the Microbiome Domaincited by 1
- 2026Towards Fair and Efficient De-identification: Quantifying the Efficiency and Generalizability of De-identification Approachescited by 1
- 2026Coupling Local Context and Global Semantic Prototypes via a Hierarchical Architecture for Rhetorical Roles Labelingcited by 1
- 2025Leveraging Large Language Models for Rare Disease Named Entity Recognitioncited by 0
- 2026A Study on Building Efficient Zero-Shot Relation Extraction Modelscited by 0
- 2026Supporting Workflow Reproducibility by Linking Bioinformatics Tools across Papers and Executable Codecited by 0
- 2026Generating High Quality Synthetic Data for Dutch Medical Conversationscited by 0
- 2026DiZiNER: Disagreement-guided Instruction Refinement via Pilot Annotation Simulation for Zero-shot Named Entity Recognitioncited by 0
- 2026AAbAAC: An Annotated Corpus for Autoimmunity Information Extractioncited by 0
- 2026AutoSpecNER: A Fine-Grained Named Entity Recognition Dataset for Vehicle Specification Extractioncited by 0
- 2026Enhancing Scientific Named Entity Recognition via Large Language Models: A Type-driven Multi-task Learning Approachcited by 0
- 2026Enhancing Scientific Named Entity Recognition via Large Language Models: A Type-driven Multi-task Learning Approach9 Aug 2026
- 2026AutoSpecNER: A Fine-Grained Named Entity Recognition Dataset for Vehicle Specification Extraction23 Jun 2026
- 2026AAbAAC: An Annotated Corpus for Autoimmunity Information Extraction11 Jun 2026
- 2026DiZiNER: Disagreement-guided Instruction Refinement via Pilot Annotation Simulation for Zero-shot Named Entity Recognition17 Apr 2026
- 2026Generating High Quality Synthetic Data for Dutch Medical Conversations25 Mar 2026
- 2026Supporting Workflow Reproducibility by Linking Bioinformatics Tools across Papers and Executable Code9 Mar 2026
- 2026Coupling Local Context and Global Semantic Prototypes via a Hierarchical Architecture for Rhetorical Roles Labeling4 Mar 2026
- 2026A Study on Building Efficient Zero-Shot Relation Extraction Models1 Mar 2026
- 2026Towards Fair and Efficient De-identification: Quantifying the Efficiency and Generalizability of De-identification Approaches27 Jan 2026
- 2025Leveraging Large Language Models for Rare Disease Named Entity Recognition12 Aug 2025
- 2025Summarization for Generative Relation Extraction in the Microbiome Domain10 Jun 2025
- 2024Extracting Information in a Low-resource Setting: Case Study on Bioinformatics Workflows28 Nov 2024