TL;DR
This paper introduces a unified generative framework for Biomedical Named Entity Recognition (BioNER) that effectively handles both flat and nested entities across English and Chinese. By combining a lightweight symbolic tagging strategy, multi-dataset bilingual joint fine-tuning, and a novel contrastive entity selector, the framework achieves state-of-the-art performance and demonstrates exceptional zero-shot generalization on unseen medical corpora.
What Problem Does This Paper Address?
Biomedical Named Entity Recognition (BioNER) is essential for mining insights from electronic health records and medical literature. However, biomedical texts present unique challenges:
- Nested Entities: A single phrase can contain layers of entities (e.g., the DNA entity “IL-5 promoter/enhancer-luciferase gene construct” contains nested protein entities like “IL-5” and “luciferase”).
- Boundary Ambiguity: Determining exactly where a highly specialized medical term starts and ends is notoriously difficult.
- Cross-Lingual Generalization: Most existing models are tailored to a specific language or dataset, failing to transfer knowledge between languages like Chinese and English.
While Large Language Models (LLMs) excel at semantic understanding, they typically struggle with exact token-level boundary precision and often output entity names without their precise locations in the text. This paper bridges that gap.
Methods
The authors reformulate BioNER as a text generation task and propose a three-part framework:
- Symbolic Tagging Strategy: Instead of relying on complex HTML tags or rigid JSON schemas with character indices, the authors use a simple symbolic format. The LLM is prompted to output the entity type followed by the original text sequence, using brackets
[...]to mark boundaries (e.g.,DNA: ...the [peri-kappa B] site is seen...). - Multi-Dataset Joint LLM Training: The framework undergoes bilingual joint fine-tuning across multiple datasets using QLoRA (Quantized Low-Rank Adaptation). Training samples are mixed at the sentence level and alternated between Chinese and English to build balanced, cross-lingual semantic representations.
- Contrastive Entity Selector: To mitigate boundary errors, the authors introduce a post-processing filter. They fine-tune a GLM-4 model with a classification layer using positive (correctly annotated) and negative samples (where boundaries are artificially shifted by $\pm1$ or $\pm2$ tokens). This selector acts as a quality gate, filtering out spurious or poorly bounded predictions.
Datasets
The model was trained and evaluated on four distinct benchmark datasets:
- CMeEE-V2: Chinese dataset featuring nested entities.
- GENIA: English dataset featuring nested entities.
- BioRED: English dataset featuring flat entities.
- BC5CDR-Chemical (BC5-Chem): English dataset featuring flat entities.
To test zero-shot generalization, the authors evaluated the model on two completely unseen datasets without any additional fine-tuning:
- CCKS2019-Anatomical Site (CCKS2019-AS): Chinese, flat entities.
- NCBI-Disease: English, flat entities.
Key Insights and Ideas
- Simplicity Beats Structure for LLMs: When comparing tagging formats, the symbolic strategy (
[...]) consistently outperformed JSON and HTML. LLMs struggle to generate precise numerical indices (JSON) and get confused by the structural complexity of nested HTML tags, whereas lightweight symbols align naturally with autoregressive text generation. - The "Near-Miss" Boundary Phenomenon: An error analysis revealed that roughly 50% of the model's boundary errors occurred within a tiny deviation range of just 1 to 2 tokens. This "near-miss" insight justified the creation of the Contrastive Entity Selector, specifically training the model to recognize and reject these slight boundary misalignments.
Key Results
- State-of-the-Art Performance: The unified framework outperformed mainstream BERT-based models (like W2NER and DiFiNet) and general-purpose LLMs (like GPT-4 and DeepSeek-R1) across all four benchmark datasets.
- Superior Zero-Shot Transfer: On the unseen NCBI-Disease dataset, the model achieved a leading 69.15% F1 score, vastly outperforming GPT-4 (52.69%) and DeepSeek-R1 (63.01%), proving that multi-dataset joint training successfully unlocks cross-task adaptability.
Limitations and Future Work
Despite its success, the model still struggles with long-range dependencies and highly complex structural segments. For instance, it failed to extract long composite noun phrases like "PHA-activated peripheral mononuclear cells".
To overcome this, the authors plan to incorporate external medical knowledge graphs during the inference stage. Aligning LLM outputs with predefined clinical entities and relations should help the framework better navigate complex, multi-word biomedical descriptions.
Summary updated