Abstract
This paper introduces a fast and accurate transition-based model for recognizing nested entities—structures where one name is contained within another (e.g., "[ [University of Massachusetts] Amherst ]"). By representing these mentions as a "forest" of trees and utilizing a Stack-LSTM to guide a sequence of shift-reduce actions, the authors achieve state-of-the-art performance on the ACE and GENIA datasets. Notably, the proposed model maintains linear-time complexity and operates 3–5x faster than previous linear-time methods.
Introduction
Most Named Entity Recognition (NER) systems assume that entities are "flat" and do not overlap. However, real-world language is frequently hierarchical. For example, in the phrase "UN Secretary General," "UN" is an Organization, while the entire phrase represents a Person.
Standard sequence labeling models, such as CRFs, struggle with these structures because they typically assign only one tag per token. Previous solutions involving chart-based parsers or complex hypergraph models often suffer from high computational costs (cubic time complexity) or scalability issues. This work addresses the need for a model that is both computationally efficient (linear time) and capable of capturing dependencies between inner and outer mentions.
Methodology
The authors propose a Neural Transition-based Model that treats nested NER as a parsing task, utilizing several key innovations:
- Forest Representation: Instead of a single tree, the model represents a sentence's mentions as a "forest." Each outermost mention serves as the root of its own tree, eliminating the need for a global root node and reducing the number of required transition steps.
- Shift-Reduce System: The model processes a sentence using three primary actions:
- SHIFT: Move a word from the buffer to the stack.
- REDUCE-X: Combine the top two items on the stack into a new entity with label $X$.
- UNARY-X: Wrap the top item on the stack in a new entity label $X$.
- Stack-LSTM Architecture: A Stack-LSTM tracks the system state, allowing the model to "push" and "pop" representations of entities as they are constructed.
- Compositional and Morphological Features: When a nested entity is formed, a recursive neural network composes the representations of its constituents. Additionally, a character-level LSTM handles morphology and out-of-vocabulary words.
Experimental Results
The model was evaluated on three standard benchmarks: ACE-2004, ACE-2005, and GENIA. The ACE datasets contain news and web data with roughly 40% nested mentions, while GENIA is a biomedical dataset with 18% nesting.
As shown in the results table, the model achieved state-of-the-art F1 scores on ACE-04 (73.3%) and ACE-05 (73.0%). Beyond accuracy, the implementation proved significantly more efficient than previous linear-time models, running 3–5 times faster in practice due to a smaller constant factor in its operations. Breakdown analysis on the GENIA dataset further confirmed that the model's primary advantage lies in its superior handling of nested structures compared to existing methods.
Conclusion and Future Work
The proposed transition-based model successfully balances speed and accuracy for nested NER. While the current greedy decoding strategy is highly efficient, the authors suggest that incorporating beam search or training with exploration could further improve accuracy. Future research will also focus on extending the model to handle discontinuous mentions—where an entity is split by non-entity words—and overlapping (non-nested) entities that do not follow a strict hierarchy.
Summary updated