Introduction
Named Entity Recognition (NER) is a fundamental task in natural language processing. While standard systems often assume "flat" entities, real-world data in domains like biology or law frequently contain nested structures. Hierarchical Region learning (HiRe) is a novel framework designed to handle these complexities efficiently. By moving away from computationally expensive brute-force span enumeration, HiRe employs a bottom-up hierarchical approach to identify and classify nested entities.
Problem Statement: The Challenge of Nesting
In nested NER, a single word can belong to multiple entities. For instance, in the phrase "[the minister of [the department of education]<sub>ORG</sub>]<sub>PER</sub>", an Organization entity is contained within a larger Person entity.
Existing approaches typically rely on either brute-force enumeration of all $O(n^2)$ subsequences or two-stage pipelines. Brute-force methods are computationally prohibitive for long sequences, while pipelines often suffer from error propagation between detection and classification stages. HiRe addresses these issues by generating a tree of candidate regions in nearly linear time.
Methodology
The HiRe framework is structured into four distinct layers that facilitate efficient entity discovery and classification.
1. Encoder Layer
Input words are represented through a fusion of GloVe word embeddings, character-level CNN embeddings, and Part-of-Speech (POS) tags. A Bi-LSTM then processes these representations to capture global contextual information.
2. Word Coherence Layer
Drawing inspiration from neural syntactic distance in parsing, this layer learns a coherence measure ($d_t$) between adjacent words. High coherence scores suggest that adjacent words are likely part of the same entity.
3. Hierarchical Region Generation
Using the learned coherence scores, the model recursively merges adjacent regions with the highest scores to build a tree. This bottom-up process reduces the number of candidate regions from $O(n^2)$ to approximately $O(n)$, significantly lowering computational overhead.
4. Region Classification
Candidate regions are classified using a Hierarchical Region Representation (HRR). Unlike simple averaging, HRR concatenates boundary representations with the representation of the word where sub-regions were merged, making the classifier sensitive to internal structural boundaries.
Experimental Results
The model was evaluated on three benchmark datasets: ACE-2005, GENIA, and JNLPBA.
- ACE-2005: HiRe achieved a state-of-the-art F1 score of 76.5% with a Bi-LSTM and 84.6% when integrated with BERT.
- GENIA: The model demonstrated high efficiency, generating 77.9% fewer candidate regions than brute-force methods while maintaining a true region recall of 98.1%.
- JNLPBA: Even on flat NER tasks, HiRe outperformed standard benchmarks, proving its versatility.
Conclusion
HiRe introduces an efficient and effective paradigm for nested NER. By leveraging syntactic-inspired coherence measures, it achieves state-of-the-art accuracy while drastically reducing the search space for candidate entities. Future work may explore more sophisticated supervision for the coherence layer and refined internal representations for complex hierarchical entities.
Summary updated