A Unified Biomedical Named Entity Recognition Framework with Large Language Models

Tengxiao Lv, Ling Luo, Juntao Li, Yanhua Wang, Yuchen Pan +7 more
10/10/2025
4 citations
cs.CLcs.AI

Official code: dreamer-tx/LLMNER (5 stars, Python, last commit 2025-09-17).

Abstract

Accurate recognition of biomedical named entities is critical for medical information extraction and knowledge discovery. However, existing methods often struggle with nested entities, entity boundary ambiguity, and cross-lingual generalization.

Show full abstract

In this paper, we propose a unified Biomedical Named Entity Recognition (BioNER) framework based on Large Language Models (LLMs). We first reformulate BioNER as a text generation task and design a symbolic tagging strategy to jointly handle both flat and nested entities with explicit boundary annotation. To enhance multilingual and multi-task generalization, we perform bilingual joint fine-tuning across multiple Chinese and English datasets. Additionally, we introduce a contrastive learning-based entity selector that filters incorrect or spurious predictions by leveraging boundary-sensitive positive and negative samples. Experimental results on four benchmark datasets and two unseen corpora show that our method achieves state-of-the-art performance and robust zero-shot generalization across languages. The source codes are freely available at https://github.com/dreamer-tx/LLMNER.

View on arXivView PDF

Code Implementations(1)

dreamer-tx/LLMNEROfficial100%
50Python, ShellSep 13, 20251 years ago

Similar Papers

Cite this paper

@article{lv2025unified,
  title  = {A Unified Biomedical Named Entity Recognition Framework with Large Language Models},
  author = {Tengxiao Lv and Ling Luo and Juntao Li and Yanhua Wang and Yuchen Pan and Chao Liu and Yanan Wang and Yan Jiang and Huiyi Lv and Yuanyuan Sun and Jian Wang and Hongfei Lin},
  year   = {2025},
  eprint = {2510.08902},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.08902v1}
}

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

Discussion