Do LLMs Surpass Encoders for Biomedical NER?
Not on the map. Why?
Abstract (arXiv)
Recognizing spans of biomedical concepts and their types (e.g., drug or gene) in free text, often called biomedical named entity recognition (NER), is a basic component of information extraction (IE) pipelines. Without a strong NER component, other applications, such as knowledge discovery and information retrieval, are not practical. State-of-the-art in NER shifted from traditional ML models to deep neural networks with transformer-based encoder models (e.g., BERT) emerging as the current standard. However, decoder models (also called large language models or LLMs) are gaining traction in IE. But LLM-driven NER often ignores positional information due to the generative nature of decoder models. Furthermore, they are computationally very expensive (both in inference time and hardware needs). Hence, it is worth exploring if they actually excel at biomedical NER and assess any associated trade-offs (performance vs efficiency). This is exactly what we do in this effort employing the same BIO entity tagging scheme (that retains positional information) using five different datasets with varying proportions of longer entities. Our results show that the LLMs chosen (Mistral and Llama: 8B range) often outperform best encoder models (BERT-(un)cased, BiomedBERT, and DeBERTav3: 300M range) by 2-8% in F-scores except for one dataset, where they equal encoder performance. This gain is more prominent among longer entities of length >= 3 tokens. However, LLMs are one to two orders of magnitude more expensive at inference time and may need cost prohibitive hardware. Thus, when performance differences are small or real time user feedback is needed, encoder models might still be more suitable than LLMs.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 22 of its 39 references that are in the map. First posted on arXiv 1 Apr 2025.
Builds on
22 of 39 references.
References · 22
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2023Mistral 7Bcited by 3,164
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,254
- 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 1,009
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
- 2022UL2: Unifying Language Learning Paradigmscited by 295
- 2019Entity, Relation, and Event Extraction with Contextualized Span Representationscited by 262
10 more
- 2019A Survey on Recent Advances in Named Entity Recognition from Deep Learning modelscited by 117
- 2022BioRED: A Rich Biomedical Relation Extraction Datasetcited by 85
- 2023UniversalNER: Targeted Distillation from Large Language Models for Open Named Entity Recognitioncited by 72
- 2020Rethinking Generalization of Neural Models: A Named Entity Recognition Case Studycited by 35
- 2023Exploring the Effectiveness of Instruction Tuning in Biomedical Language Processingcited by 16
- 2024LLMs in Biomedicine: A study on clinical Named Entity Recognitioncited by 12
- 2024Reddit-Impacts: A Named Entity Recognition Dataset for Analyzing Clinical and Social Effects of Substance Use Derived from Social Mediacited by 9
- 2024Intent Detection and Entity Extraction from BioMedical Literaturecited by 6
- 2021Regularization for Long Named Entity Recognitioncited by 5
- 2023End-to-End Models for Chemical-Protein Interaction Extraction: Better Tokenization and Span-Based Pipeline Strategiescited by 4
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2026Strategies for Span Labeling with Large Language Modelscited by 2
- 2025Inference Gap in Domain Expertise and Machine Intelligence in Named Entity Recognition: Creation of and Insights from a Substance Use-related Datasetcited by 0
- 2025DeepCoT: Deep Continual Transformers for Real-Time Inference on Data Streamscited by 0
- 2025Extracting Disaster Impacts and Impact Related Locations in Social Media Posts Using Large Language Modelscited by 0
- 2026Self-Driving Datasets: From 20 Million Papers to Nuanced Biomedical Knowledge at Scalecited by 0
- 2026Beyond Agreement: Scoring Panel-Surfaced Biomedical Entity Candidates for Curator Triagecited by 0
- 2026Beyond Agreement: Scoring Panel-Surfaced Biomedical Entity Candidates for Curator Triage29 May 2026
- 2026Self-Driving Datasets: From 20 Million Papers to Nuanced Biomedical Knowledge at Scale7 May 2026
- 2026Strategies for Span Labeling with Large Language Models23 Jan 2026
- 2025Extracting Disaster Impacts and Impact Related Locations in Social Media Posts Using Large Language Models24 Nov 2025
- 2025DeepCoT: Deep Continual Transformers for Real-Time Inference on Data Streams21 Nov 2025
- 2025Inference Gap in Domain Expertise and Machine Intelligence in Named Entity Recognition: Creation of and Insights from a Substance Use-related Dataset26 Aug 2025