Biomedical Named Entity Recognition via Dictionary-based Synonym Generalization

Zihao Fu, Yixuan Su, Zaiqiao Meng, Nigel Collier

Abstract

Biomedical Named Entity Recognition (BioNER) is essential for large-scale knowledge extraction but often requires expensive human-annotated datasets. Dictionary-based methods offer a low-cost alternative but suffer from poor recall due to the "synonym generalization problem"—the inability to recognize entity variations not explicitly listed in a dictionary. This paper introduces SynGen (Synonym Generalization), a novel framework that utilizes Synonym Distance Regularization (SDR) and Noise Perturbation Regularization (NPR) to learn robust semantic representations. SynGen achieves state-of-the-art performance for dictionary-based methods across six benchmarks, significantly closing the gap with supervised models without requiring manual labels.

Introduction

Identifying entities such as diseases, chemicals, and species in biomedical text is a foundational task in bioinformatics. While supervised methods are highly accurate, they are bottlenecked by the need for massive, expert-annotated corpora. Dictionary-based methods are the "holy grail" of low-effort BioNER, yet they typically fail when encountering synonyms or morphological variations absent from the reference list. SynGen aims to bridge this gap by allowing models to learn the underlying concept behind synonyms, enabling identification of unseen variations.

The SynGen Framework

SynGen treats BioNER as a span-classification task rather than traditional sequence labeling. Its architecture is built around two primary regularization techniques designed to improve generalization:

  1. Synonym Distance Regularizer (SDR): This component employs a triplet margin loss to ensure that different synonyms for the same concept are mapped closely in the embedding space, while non-entity "negative" samples are pushed away.
  2. Noise Perturbation Regularizer (NPR): By adding small Gaussian noise to embeddings during training, NPR forces the model to maintain consistent outputs despite slight input variations. This flattens the loss landscape, making the model more robust to natural linguistic variations in unseen synonyms.
The SynGen architecture includes a training stage utilizing SDR and NPR, and an inference stage using Greedy Extraction (GE).

To further refine training, the framework includes Negative Sampling Filtering (NSF), which prevents the model from treating valid entities missing from the dictionary as negative examples. During inference, a Greedy Extraction (GE) strategy is used to resolve nested entities, such as correctly identifying "T-cell leukemia" as a single entity.

Theoretical Foundation

The authors provide a theoretical grounding for SynGen (Theorem 1), proving that minimizing synonym distance and the Lipschitz constant (via NPR) directly reduces the upper bound of the synonym generalization error. This shifts the approach from heuristic-based methods to a theory-grounded framework where "flat" minima in the loss landscape lead to superior generalization.

Results and Analysis

SynGen was evaluated on six diverse BioNER benchmarks, including NCBI Disease, BC5CDR, and Species-800, using the UMLS as a source dictionary and PubMed for unlabeled text.

Performance Benchmarks

SynGen achieved an average F1 score of 67.4 across all benchmarks, vastly outperforming traditional dictionary-based tools like QuickUMLS and MetaMap (both scoring 44.1). Remarkably, SynGen's performance is comparable to some supervised and distantly supervised models (e.g., SBMCross at 68.5 F1), despite requiring zero human-annotated labels.

Efficiency in Low-Resource Settings

A key finding was SynGen's exceptional efficiency in "few-shot" scenarios. As shown in the performance analysis, the model maintains high F1 scores even when the available dictionary is significantly reduced.

F1 performance across various benchmarks as the percentage of the dictionary (few-shot) increases, demonstrating rapid convergence.

Using only 20% of the dictionary, SynGen achieves results nearly identical to using the full dictionary. This suggests the framework is highly effective at extracting the underlying semantics of a domain from minimal data.

Conclusion

SynGen represents a significant advancement in dictionary-based BioNER, overcoming the synonym generalization problem through principled regularization. While a ~20-point F1 gap remains compared to fully supervised state-of-the-art models, SynGen provides a powerful, low-cost solution for domains where high-quality annotated data is unavailable. Future work may involve integrating SynGen with weak supervision to further narrow the performance gap.

Summary updated

BibTeX
@inproceedings{fu2023biomedical,
  author = {Zihao Fu and Yixuan Su and Zaiqiao Meng and Nigel Collier},
  title = {{Biomedical Named Entity Recognition via Dictionary-based Synonym Generalization}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.903},
}
Figure