SRF: Enhancing Document-Level Relation Extraction with a Novel Secondary Reasoning Framework

Fu Zhang, Qi Miao, Jingwei Cheng, Hongsen Yu, Yi Yan, Xin Li, Yongxue WuEMNLP 2024

Abstract

Document-level relation extraction (DocRE) is a challenging task that requires identifying semantic relations between entities across multiple sentences. Existing methods often struggle with complex entity interactions, high computational overhead for evidence extraction, and the identification of relations for rarely mentioned entities (RMEs). We propose the Secondary Reasoning Framework (SRF), which introduces a "second-pass" logic to address these issues. SRF utilizes a bidirectional mention fusion mechanism to capture entity interactions and a lightweight evidence extraction module that significantly reduces parameter count. Most importantly, the Secondary Reasoning Module identifies noun fragments to propagate relations, effectively recovering connections for RMEs. Our model, SRF-XLNET, achieves state-of-the-art performance on the Re-DocRED dataset with an F1 score of 78.28, demonstrating both effectiveness and efficiency.

Introduction

In the field of Information Extraction, Relation Extraction (RE) has traditionally focused on identifying links between entities within a single sentence. However, real-world documents often express relations across sentence boundaries, necessitating Document-Level Relation Extraction (DocRE). DocRE is inherently more complex as it requires synthesizing information from disparate parts of a text.

Current DocRE models face three primary challenges. First, they often fail to adequately model the simultaneous interaction between multiple mentions of a head entity and a tail entity. Second, the search for "evidence sentences"—those that justify a predicted relation—typically involves heavy neural architectures that increase computational costs. Third, models frequently miss relations involving Rarely Mentioned Entities (RMEs), which may only appear once in a list or a specific context, providing limited signal for standard extraction techniques.

The Secondary Reasoning Framework (SRF)

To overcome these limitations, we introduce the Secondary Reasoning Framework (SRF). The architecture is designed to be both powerful in its reasoning capabilities and efficient in its execution.

Bidirectional Mention Fusion

Unlike previous models that may process entity mentions in a unidirectional or simplistic manner, SRF employs a bidirectional attention mechanism. By utilizing the top-k layers of a transformer encoder (such as BERT or XLNET), the model calculates attention weights for every mention pair. It specifically evaluates how the head entity "pays attention" to the tail entity and vice versa. This dual-perspective fusion ensures that the model captures the full context of how entities interact throughout the document.

Lightweight Evidence Extraction

Identifying the evidence sentences that support a relation is crucial for interpretability and accuracy. However, previous state-of-the-art models like Eider utilize complex sub-networks with millions of parameters (approx. 4,767k) for this task. SRF simplifies this by focusing on "evidence words"—tokens with the highest attention weights. By adding only a single learnable parameter, SRF can aggregate these word-level signals to identify supporting sentences, achieving high performance with a fraction of the overhead (0.001k parameters).

Secondary Reasoning Module

The cornerstone of our framework is the Secondary Reasoning Module. This module operates on the insight that entities appearing within the same noun phrase or list—termed Noun Fragments (NFs)—often share the same relations to external entities.

Conceptual overview of the Secondary Reasoning Framework (SRF), showing how relations predicted in the first pass are used to infer hidden connections within noun clusters.

As shown in Figure 1, if the model identifies a relation between a head entity (e.g., "Sierra Madre") and a target (e.g., "Philippines"), the secondary reasoning pass "re-scans" the associated noun fragment. If a neighboring entity (e.g., "Caraballo Mountains") is part of the same NF, the model can infer that it likely shares the same relation, even if the direct textual evidence for that specific pair was sparse.

Model Architecture

The SRF architecture is organized into four distinct stages: encoding, relation extraction, evidence extraction, and secondary reasoning.

Detailed architecture of the SRF, illustrating the flow from document encoding to the final relation classification and secondary reasoning steps.
  1. Encoding Layer: The document and identified Noun Fragments are processed through a transformer encoder.
  2. Relation Extraction Module: Features are fused using the bidirectional attention mechanism to produce relational features for classification.
  3. Evidence Extraction: Word-level attention is used to classify evidence sentences.
  4. Secondary Reasoning: The initial predictions are refined by analyzing the graph of noun fragments and entity mentions, allowing for the recovery of missing relations.

Experimental Evaluation

We evaluated SRF on two major benchmarks: DocRED, the standard large-scale DocRE dataset, and Re-DocRED, a revised version with more complete and accurate annotations.

Our results indicate that SRF-XLNET sets a new state-of-the-art. On the Re-DocRED test set, it achieved an F1 score of 78.28, outperforming existing graph-based and transformer-based baselines. A key finding was the superiority of XLNET over BERT for this task. XLNET's use of relative positional encoding and segment-level recurrence allows it to handle the long-range dependencies inherent in document-level text more effectively than BERT's absolute positioning.

Furthermore, the Secondary Reasoning module proved to be a versatile "booster." When integrated into other existing models like ATLOP and SAIS, it consistently improved their performance, confirming its general utility in capturing relations for RMEs.

Conclusion

The Secondary Reasoning Framework (SRF) provides a robust and efficient solution for Document-Level Relation Extraction. By leveraging bidirectional attention and a novel secondary reasoning pass over noun fragments, the model effectively addresses the challenges of entity interaction and sparse context for rare entities. The lightweight nature of its evidence extraction module further ensures that these gains do not come at the cost of excessive computational overhead.

Summary updated

BibTeX
@inproceedings{zhang2024srf,
  author = {Fu Zhang and Qi Miao and Jingwei Cheng and Hongsen Yu and Yi Yan and Xin Li and Yongxue Wu},
  title = {{SRF: Enhancing Document-Level Relation Extraction with a Novel Secondary Reasoning Framework}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.863},
}
Figure