[Paper Review] BoningKnife: Joint Entity Mention Detection and Typing for Nested NER via prior Boundary Knowledge
BoningKnife proposes a joint entity mention detection and typing model for nested NER that leverages prior boundary knowledge to improve accuracy and efficiency. By integrating a MentionTagger for enhanced boundary-aware candidate generation and a TypeClassifier with a two-level attention mechanism to decouple nested levels, the model achieves state-of-the-art F1 scores of 86.41, 85.46, and 94.2 on ACE2004, ACE2005, and NNE, respectively, while reducing training time by up to 4.18x compared to span-based baselines.
While named entity recognition (NER) is a key task in natural language processing, most approaches only target flat entities, ignoring nested structures which are common in many scenarios. Most existing nested NER methods traverse all sub-sequences which is both expensive and inefficient, and also don't well consider boundary knowledge which is significant for nested entities. In this paper, we propose a joint entity mention detection and typing model via prior boundary knowledge (BoningKnife) to better handle nested NER extraction and recognition tasks. BoningKnife consists of two modules, MentionTagger and TypeClassifier. MentionTagger better leverages boundary knowledge beyond just entity start/end to improve the handling of nesting levels and longer spans, while generating high quality mention candidates. TypeClassifier utilizes a two-level attention mechanism to decouple different nested level representations and better distinguish entity types. We jointly train both modules sharing a common representation and a new dual-info attention layer, which leads to improved representation focus on entity-related information. Experiments over different datasets show that our approach outperforms previous state of the art methods and achieves 86.41, 85.46, and 94.2 F1 scores on ACE2004, ACE2005, and NNE, respectively.
Motivation & Objective
- To address the inefficiency and poor handling of nesting levels in existing nested NER methods that traverse all sub-sequences.
- To improve recognition of deeply nested and long-span entities by incorporating richer boundary knowledge beyond just start/end tokens.
- To decouple representations across different nested levels to enhance type classification accuracy.
- To jointly optimize mention detection and typing via a shared encoder and dual-info attention layer for better representation focus.
- To achieve higher efficiency without sacrificing performance by generating high-quality mention candidates upfront.
Proposed method
- The model uses a two-module architecture: MentionTagger for boundary-aware mention candidate generation and TypeClassifier for type prediction.
- MentionTagger enhances boundary knowledge by modeling interactions between entity start, end, and region-level information to improve detection of nested and long spans.
- TypeClassifier employs a two-level attention mechanism to disentangle representations across different nesting levels and improve type discrimination.
- A dual-info attention layer fuses mention detection outputs with context representations, enabling joint training with improved focus on entity-relevant features.
- The system is jointly trained using a shared BERT-based encoder and end-to-end optimization, reducing reliance on exhaustive sub-sequence enumeration.
- The approach avoids full span enumeration by generating high-quality candidates, significantly reducing time complexity from O(m·n²) to a more efficient scale.
Experimental results
Research questions
- RQ1Can prior boundary knowledge beyond simple start/end tokens improve the detection of nested and long-span entities in NER?
- RQ2How can different nesting levels be effectively decoupled to improve entity type classification in overlapping mentions?
- RQ3Can joint training of mention detection and typing with a dual-info attention mechanism enhance representation focus and model performance?
- RQ4To what extent does reducing candidate generation complexity improve efficiency without degrading accuracy in nested NER?
- RQ5How does the model compare to state-of-the-art methods in terms of F1 score and training time across standard nested NER benchmarks?
Key findings
- BoningKnife achieves state-of-the-art F1 scores of 86.41 on ACE2004, 85.46 on ACE2005, and 94.2 on NNE, outperforming prior methods.
- The model reduces training time by 1.75x on ACE2004, 1.83x on ACE2005, and up to 4.18x on NNE compared to span-based baselines.
- Ablation studies confirm that removing the MentionTagger degrades performance to 31.54 F1 on ACE2004, highlighting its critical role in candidate quality.
- Attention visualization shows that the dual-info attention layer effectively focuses on relevant entity tokens and their neighbors, improving semantic alignment.
- The model correctly identifies long nested spans like 'those so injured' even when end token probability is low, unlike S/E-based methods.
- The dual-info attention layer improves performance by fusing global context and mention-specific focus, leading to better representation learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.