Abstract
Joint entity and relation extraction is a fundamental task in Information Extraction. While span-based models have become the dominant paradigm due to their ability to handle overlapping entities, they often neglect the fine-grained token-level semantic information provided by sequence tagging. This paper introduces the Sequence Tagging enhanced Span-based Network (STSN), which bridges these two paradigms. By employing a deep stacked attention mechanism to bidirectionally exchange information between token-level BIO labels and candidate spans, STSN achieves state-of-the-art results across multiple benchmarks, particularly excelling in identifying long and overlapping entities.
Introduction
Information Extraction (IE) typically follows one of two methodologies: sequence tagging or span-based extraction. Sequence tagging involves assigning labels (e.g., BIO tags) to each token, while span-based models classify arbitrary phrases as potential entities. Although span-based models are robust against overlapping entities, they frequently ignore the rich, task-specific context inherent in token-level labels. For instance, knowing a token is part of an "Organization" is a strong indicator for a "Work-for" relationship.
The proposed STSN model addresses this gap by treating token labels not just as outputs, but as valuable semantic features that can enhance span-level classification. This bidirectional interaction allows the model to leverage the strengths of both paradigms.
Methodology
The core of STSN is a deep neural architecture that facilitates information flow between token labels and spans.
Architecture Overview
STSN utilizes a BERT-based backbone followed by a series of $N$ stacked attention layers (typically 4). As shown in the architecture diagram below, the system consists of three primary components: the encoding layer, the interaction layers, and the task-specific output modules.
Each interaction layer contains three specialized attention units:
- E&R-L-A (Entity & Relation to Label): Propagates information from span and relation representations back to token labels.
- L-E-A (Label to Entity): Injects label-specific semantics into the entity recognition task.
- L-R-A (Label to Relation): Injects label-specific semantics into the relation extraction task.
Extended BIO Tagging
To handle overlapping entities—a common challenge in datasets like ADE—the authors implemented an extended BIO scheme. By using a "/" separator (e.g., B-AE/B-DRUG), the model can represent and learn complex, nested structures within a sequence tagging framework.
Experimental Setup
The model was evaluated on three major benchmarks:
- ACE05: A diverse dataset featuring complex entity and relation types.
- CoNLL04: A standard benchmark for joint extraction tasks.
- ADE (Adverse Drug Events): A medical dataset used to evaluate performance on overlapping entities.
Results and Discussion
STSN achieved new state-of-the-art (SOTA) performance across all evaluated datasets. On ACE05, it reached F1 scores of 91.3 for NER and 68.9 for Relation Extraction (RE+), significantly outperforming previous models like SpERT and DyGIE++.
Impact on Long Entities
One of the most significant advantages of STSN is its performance on long entities. Span-based models often struggle as entity length increases. However, by incorporating token-level "maps" via BIO labels, STSN maintains high accuracy. On the ACE05 development set, STSN achieved a 20.5 absolute F1 gain over the baseline for entities with lengths between 9 and 10 tokens.
Overlapping Entities
On the ADE dataset, the extended BIO scheme enabled STSN to outperform specialized models by +1.7 F1 in NER and +4.6 F1 in RE, demonstrating its effectiveness in handling nested entity structures.
Conclusion
STSN demonstrates that token-level sequence tagging and span-based extraction are complementary. By integrating these paradigms through a deep stacked attention mechanism, the model provides a more nuanced understanding of text structure. While the increased depth adds computational complexity, the gains in accuracy—especially for long and overlapping entities—make it a powerful tool for complex IE tasks.
Summary updated