Abstract
Named Entity Recognition (NER) has traditionally been approached through two distinct paradigms: sequence labeling and span-based prediction. While each possesses unique strengths—sequence labeling in capturing token correlations and span-based models in handling out-of-vocabulary (OOV) terms—they are rarely integrated. This paper introduces the Bundling Learning (BL) paradigm, which jointly optimizes both decoders over a shared encoder. Evaluated across 11 datasets in five domains, BL consistently improves performance, reduces boundary and type errors, and enhances existing state-of-the-art models.
The NER Paradigm Divide
Named Entity Recognition (NER) is a fundamental task in Natural Language Processing, involving the identification and classification of entities within text. Currently, the field is divided into two primary methodologies:
- Sequence Labeling: Treats NER as a token-level classification problem, often utilizing BIO (Beginning, Inside, Outside) tagging schemes. This approach is efficient and effective for long entities but can struggle with OOV words.
- Span-based Models: Enumerate all possible text segments (spans) and classify them as specific entity types or "None." These models are more robust against OOV words but can be computationally expensive.
Despite their individual successes, these paradigms offer complementary advantages. The Bundling Learning (BL) paradigm aims to bridge this gap, creating a "win-win" scenario where a single model benefits from both perspectives simultaneously.
The Bundling Learning Paradigm
The BL architecture is designed to be a flexible, "plug-and-play" framework. It consists of three core components:
- Shared Encoder: A pre-trained language model (e.g., BERT, BioBERT, or SciBERT) provides contextualized representations for the input text.
- Bundled Decoders: The model incorporates both a SeqDecoder for token-level labeling and a SpanDecoder for span-level classification.
- Joint Optimization: During training, the model minimizes a weighted sum of losses from both decoders: $L_{bl-ner} = \alpha * L_{seqner} + (1 - \alpha) * L_{spanner}$.
This joint training forces the shared encoder to learn features that satisfy both local token dependencies and global span semantics. At inference time, the system can utilize either the sequence or span head (referred to as BL-SeqNER or BL-SpanNER), avoiding complex conflict resolution while still benefiting from the multi-task training phase.
Experimental Evaluation
The researchers tested BL-NER on a massive battery of 11 English datasets spanning five domains: General (OntoNotes 5.0), News (CoNLL), Medical (BC5CDR, NCBI), Scientific (SciERC), and Social Media (WNUT). Social media datasets are particularly challenging due to high OOV density and noisy text.
The results were consistently positive:
- Consistent Gains: BL-SeqNER outperformed standalone SeqNER across all 11 datasets, with F1 score gains reaching up to +1.57%.
- SOTA Enhancement: When BL was integrated into five existing state-of-the-art (SOTA) models—including SANER and SpERT—it yielded performance boosts in every instance, suggesting it is a robust strategy for enhancing current systems.
- Social Media Robustness: On high-OOV datasets like WNUT, the span-based component proved particularly valuable, confirming that span-level representations are superior for handling previously unseen vocabulary.
Analysis and Insights
Qualitative analysis revealed that BL-NER significantly reduces two common types of errors: boundary errors (incorrectly identifying the start or end of an entity) and type errors (misclassifying the entity category).
The study also highlighted a "Win-Win" condition: BL is most effective when the two underlying paradigms perform comparably on a given dataset. To maintain computational efficiency, the authors employed a span length threshold (typically 10 tokens), which covers over 99% of entities in most datasets while drastically reducing the number of candidate spans processed by the SpanDecoder.
Conclusion
The Bundling Learning paradigm demonstrates that sequence labeling and span-based models are not mutually exclusive but rather complementary. By bundling them, researchers can create more robust and accurate NER systems. Future work may explore applying BL to nested NER tasks and developing hybrid decoding strategies to further exploit the dual-head architecture.
Summary updated