Abstract
Named Entity Recognition (NER) is a fundamental task in natural language processing, yet traditional models often struggle with nested structures where one entity resides within another. This paper presents the Recursively Binary Modification (RBM) model, which conceptualizes entities as hierarchical structures consisting of a "head" component and its "modifiers." By recursively splitting spans and utilizing a learned modification probability matrix, the RBM model captures the linguistic dependencies inherent in nested entities. Evaluated on benchmarks like GENIA and ACE2005, the model achieves state-of-the-art results, demonstrating its efficacy in both nested and flat NER tasks.
Introduction
Traditional NER models typically treat text as a flat sequence, assigning a single label to each token. However, real-world language frequently exhibits nesting, such as "[The University of [Texas]<sub>LOC</sub>]<sub>ORG</sub>". Existing approaches to this problem generally fall into transformation-based methods, which can be error-prone, or span-based methods, which often fail to distinguish the relative importance of words within a span. For instance, in "The University of Texas," the word "University" is a stronger indicator of an "Organization" type than the word "of." Standard span-based models that average word representations lose this crucial linguistic nuance.
Proposed Methodology
The Recursively Binary Modification (RBM) model addresses these limitations through a three-layered architecture designed to identify the "head" of a phrase and its relationship with sub-components.
- Embedding Layer: This layer integrates word-level embeddings with character-level features processed via a BiLSTM to capture both global semantic meaning and local sub-word patterns.
- BiLSTM Layer: A shared bidirectional LSTM generates context-aware representations for every token in the input sequence.
- RBM Generative Layer: The core innovation of the model. Instead of simple classification, it treats a span as a combination of a head and a modifier. Using a Bayesian framework, the model recursively splits a candidate span into two sub-regions. It identifies the "head" of the span, which provides the primary evidence for the overall entity type.
To maintain efficiency, the authors employ dynamic programming, reducing recursive complexity to a manageable cubic or linear time (when length constraints are applied).
Experimental Setup
The RBM model was evaluated on four major benchmarks representing different domains and degrees of nesting:
- GENIA: A biomedical dataset where 21.56% of entities are nested.
- ACE2005: A multilingual news dataset with a high nesting rate of 37.45%.
- JNLPBA & CoNLL03: Standard datasets used to verify performance on "flat" (non-nested) NER tasks.
Key Insights: Modification as Evidence
A central insight of this work is that the relationship between sub-entities serves as a powerful signal for identifying the parent entity. The model learns a modification probability matrix ($A$) directly from the data.
As shown in the matrix above, certain types are more likely to modify others—for example, a PROTEIN entity frequently modifies a DNA entity in biomedical contexts. By recognizing these patterns, the model gains confidence in its high-level classifications. This recursive synergy allows the identification of smaller, inner entities to directly inform the recognition of larger, outer entities.
Results and Discussion
The RBM model demonstrated superior performance across all tested benchmarks:
- Nested NER: On the GENIA dataset, it achieved an F1 score of 79.8%, a 2.7 percentage point improvement over previous state-of-the-art models. On ACE2005, it reached a highly competitive 73.6% F1.
- Flat NER: The model proved robust even for non-nested tasks, achieving 91.17% F1 on CoNLL03.
- Ablation Study: Removing the modification probabilities resulted in a ~2 point drop in F1, confirming that modeling sub-entity relationships is a critical driver of success.
Conclusion
The RBM model successfully leverages hierarchical linguistic structures to improve nested NER. While its $O(n^3)$ complexity is higher than linear-time labelers, dynamic programming and span constraints make it practical for real-world use. Future work may involve moving beyond binary splits to n-ary structures and incorporating external knowledge, such as explicit dependency parser outputs, to further refine head identification.
Summary updated