Relation-Specific Attentions over Entity Mentions for Enhanced Document-Level Relation Extraction

Jiaxin Yu, Deqing Yang, Shuyu Tian

Introduction

Document-level Relation Extraction (RE) is a critical task in natural language processing that involves identifying semantic relationships between entities across an entire document. Unlike sentence-level RE, document-level extraction must account for entities that are mentioned multiple times across different sentences. A significant hurdle in this field is the multi-mention problem: a single entity (e.g., "Samuel Herbert Cohen") may appear as various mentions throughout a text, such as "Cohen," "he," or "the politician."

The Challenge of Multi-Mention Entities

Most existing models address multiple mentions by using simple pooling mechanisms—such as average or max pooling—to aggregate individual mention embeddings into a single, fixed "entity-level" representation. This paper argues that such an approach is fundamentally limited.

By forcing a single representation, models lose the nuanced context provided by individual mentions. Different mentions carry varying semantic weights depending on the specific relation being queried. For example, a mention located near a date is highly relevant for a "date of birth" relation, whereas a mention near a geographic name is more pertinent for determining "citizenship." Simple averaging treats these contexts as identical, resulting in a noisy and imprecise representation.

The RSMAN Framework

To address these limitations, the authors propose the Relation-Specific Mention Attention Network (RSMAN). RSMAN is designed as a "plug-and-play" module that can be integrated into existing state-of-the-art architectures like CorefBERT or SSAN. The framework consists of four primary components:

  1. Relation Prototypes: The model learns a set of prototype vectors, each representing the essential semantics of a specific relation type within the dataset.
  2. Relation-Specific Attention: Instead of a static entity vector, RSMAN calculates a unique representation for an entity for every candidate relation. It computes the similarity (via dot-product) between the relation prototype and each individual mention of the entity.
  3. Attentive Aggregation: Mentions that are semantically aligned with a specific relation receive higher attention weights. The final representation of the entity for that specific relation is a weighted sum of its mentions.
  4. Bilinear Classification: These dynamic, relation-specific representations are then passed to a classifier to determine the probability of the relationship existing between the entity pair.

Experimental Evaluation

The researchers evaluated RSMAN on two major document-level RE benchmarks:

  • DocRED: The standard large-scale, human-annotated dataset for the field.
  • DWIE: An entity-centric dataset characterized by a higher density of mentions per entity (averaging 1.98 mentions per entity, compared to 1.34 in DocRED). This makes DWIE an ideal environment for testing the multi-mention problem.

Key Results

  • State-of-the-Art Performance: On the DWIE dataset, the combination of SSAN + RSMAN achieved an F1 score of 70.95%, significantly outperforming strong baselines such as ATLOP and GAIN.
  • Consistent Improvements: On DocRED, RSMAN provided a steady improvement of approximately 1.0% to 1.5% F1 over backbone models.
  • Complexity Scaling: Analysis showed that the performance gap between RSMAN and traditional models widens as the number of mentions per entity increases. This confirms that the model’s strength lies in its ability to handle complex, multi-mention documents.

Insights and Analysis

Using t-SNE visualizations, the authors demonstrated that different mentions of the same entity are often scattered across the embedding space rather than clustered together. This empirical evidence supports the claim that "averaging" mentions results in a loss of critical information. By dynamically weighting mentions, RSMAN effectively filters out irrelevant context for a given relation.

Conclusion and Future Work

RSMAN demonstrates that relation-specific attention is a powerful tool for overcoming the limitations of static entity representations in document-level RE. While the approach adds some computational complexity by calculating unique representations for every candidate relation, the gains in accuracy—especially in mention-dense documents—are substantial. Future work will focus on exploring more sophisticated similarity functions and adapting the RSMAN module to a broader range of document-level architectures.

Summary updated

BibTeX
@inproceedings{yu2022relation,
  author = {Jiaxin Yu and Deqing Yang and Shuyu Tian},
  title = {{Relation-Specific Attentions over Entity Mentions for Enhanced Document-Level Relation Extraction}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-main.109},
}
Figure