A Two-Phase Paradigm for Joint Entity-Relation Extraction

Bin Ji, Hao Xu, Jie Yu, Shasha Li, Jun Ma, Yuke Ji, Huijun Liu

Abstract

Joint entity-relation extraction (JER) aims to identify entities and their semantic relations simultaneously. While span-based models have shown promise, they are often hindered by a severe data imbalance where negative samples (non-entities and non-relations) vastly outnumber positive ones. This paper introduces a two-phase paradigm that decomposes the task into coarse-grained identification and fine-grained classification. By filtering out noise in the first phase, the model achieves a more balanced distribution for final classification. Combined with global features and a gated fusion mechanism, this approach establishes new state-of-the-art results on ACE05, CoNLL04, and SciERC datasets.

1. Introduction

In the field of Information Extraction, researchers strive to perform two tasks simultaneously: Named Entity Recognition (NER) and Relation Extraction (RE). Modern "span-based" models approach this by examining every possible sequence of words (spans) in a sentence. While this method is comprehensive, it introduces a massive data imbalance. In a typical sentence, the vast majority of spans are not entities, and the vast majority of pairs are not related. For instance, in the CoNLL04 dataset, there are roughly 172 "garbage" spans for every single actual entity. Training a model on this "needle in a haystack" distribution often leads to suboptimal performance as the model becomes overwhelmed by negative examples.

2. The Two-Phase Paradigm

To "balance the scales," the authors propose a Two-Phase Paradigm that separates the detection of a candidate from its specific categorization.

Phase One: Coarse-grained Identification

The model first performs binary classification. It simply asks: "Is this span an entity?" and "Do these two entities have a relation?" This step filters out the noise and reduces the data gap from a staggering 1:172 down to a much more manageable 1:24.

Phase Two: Fine-grained Classification

For the candidates that pass the initial filter, the model then predicts the specific type (e.g., identifying if an entity is a "Person" or a "Location"). Because this phase only processes "real" candidates, the data distribution is almost perfectly balanced, allowing the model to focus on the nuances of the labels rather than just identifying non-entities.

3. Technical Enhancements

Beyond the structural paradigm, the paper introduces two key technical innovations to improve extraction accuracy:

  • Global Features: The model combines entity type and entity distance (the number of words between two entities). This marks the first time both have been used together in a span-based joint model. Distance provides a strong signal; for example, in the CoNLL04 dataset, 76.6% of "Location-In" relations occur within 0-3 words, while other relations like "Kill" often span much larger distances.
  • Gated Fusion Mechanism: Instead of simple concatenation of data vectors, the model uses a "gate" to weigh the importance of different information sources—dynamically balancing the specific words in a span against the broader context of the sentence.

4. Experimental Evaluation

The model was evaluated on three gold-standard benchmarks:

  • ACE05: A diverse dataset covering news, weblogs, and broadcast conversations.
  • CoNLL04: A classic dataset focused on four entity types (Loc, Org, Per, Other).
  • SciERC: A specialized dataset derived from 500 scientific AI paper abstracts.

Key Results

The proposed model established new state-of-the-art (SOTA) benchmarks across all three datasets, showing particular strength in identifying long entity names and long-distance relations:

  • ACE05: Achieved a +3.2% absolute F1 gain in Relation Extraction.
  • CoNLL04: Improved Relation Extraction F1 by +1.6%.
  • SciERC: Saw a +1.4% gain in Relation Extraction.
  • Imbalance Reduction: The model successfully reduced the "Not-Entity" to "Entity" ratio from 1:172 in the baseline to roughly 1:1 in the final classification phase.

5. Conclusion

The two-phase approach demonstrates that separating the "is it real?" and "what is it?" questions allows models to learn entity characteristics more effectively. While the system shows clear superiority in accuracy, future work is needed to explore the computational overhead of running two distinct classification phases. The success of this paradigm suggests it could be applied to other sparse NLP tasks, such as event detection or coreference resolution.

Summary updated

BibTeX
@inproceedings{ji2022two,
  author = {Bin Ji and Hao Xu and Jie Yu and Shasha Li and Jun Ma and Yuke Ji and Huijun Liu},
  title = {{A Two-Phase Paradigm for Joint Entity-Relation Extraction}},
  booktitle = {Computers,},
  year = {2022},
  doi = {10.32604/cmc.2023.032168},
}
Figure