Skip to main content
QUICK REVIEW

[Paper Review] Entity Structure Within and Throughout: Modeling Mention Dependencies for Document-Level Relation Extraction

Benfeng Xu, Quan Wang|arXiv (Cornell University)|Feb 20, 2021
Topic ModelingComputer Science30 references9 citations
TL;DR

This paper proposes SSAN, a structured self-attention network that models entity mention dependencies—such as coreference and co-occurrence—within and throughout the Transformer encoder by integrating structural biases into the self-attention mechanism. It achieves state-of-the-art performance on three document-level relation extraction datasets by jointly optimizing context and structure reasoning, significantly outperforming prior methods through adaptive attention regularization.

ABSTRACT

Entities, as the essential elements in relation extraction tasks, exhibit certain structure. In this work, we formulate such structure as distinctive dependencies between mention pairs. We then propose SSAN, which incorporates these structural dependencies within the standard self-attention mechanism and throughout the overall encoding stage. Specifically, we design two alternative transformation modules inside each self-attention building block to produce attentive biases so as to adaptively regularize its attention flow. Our experiments demonstrate the usefulness of the proposed entity structure and the effectiveness of SSAN. It significantly outperforms competitive baselines, achieving new state-of-the-art results on three popular document-level relation extraction datasets. We further provide ablation and visualization to show how the entity structure guides the model for better relation extraction. Our code is publicly available.

Motivation & Objective

  • To formalize diverse mention dependencies—such as coreference, co-occurrence, and indirect links—into a unified framework for document-level relation extraction.
  • To address the limitation of existing methods that treat entity structure as post-hoc features or use isolated graph networks by integrating structural reasoning directly into the attention mechanism.
  • To improve relation extraction by enabling simultaneous and interactive context and structure reasoning throughout the entire encoding process.
  • To develop a generalizable method applicable to any Transformer-based model for incorporating structural priors beyond coreference.

Proposed method

  • Formalize entity structure as a set of mention dependencies, including coreference, co-occurrence, and indirect links via shared references.
  • Design two transformation modules within each self-attention block to generate attentive biases that regularize attention flow based on structural priors.
  • Integrate structural guidance directly into the self-attention mechanism, allowing context and structure reasoning to occur interactively and simultaneously across all layers.
  • Apply the structured self-attention mechanism within a standard Transformer encoder, replacing standard multi-head attention with SSAN blocks.
  • Use the resulting contextual representations for document-level relation classification, with end-to-end training on relation extraction datasets.
  • Adapt the method to various pre-trained models by injecting structural biases without architectural changes.

Experimental results

Research questions

  • RQ1How can entity mention dependencies—beyond simple coreference—be systematically formalized as structural priors in document-level relation extraction?
  • RQ2Can structural dependencies be effectively modeled within the self-attention mechanism rather than as post-processing features or separate graph networks?
  • RQ3Does integrating structural reasoning throughout the entire encoding process improve relation extraction performance compared to isolated or late fusion approaches?
  • RQ4To what extent does the proposed SSAN model outperform existing methods on diverse document-level relation extraction benchmarks?

Key findings

  • SSAN achieves new state-of-the-art results on three document-level relation extraction datasets: DocRED, CDR, and GDA, demonstrating consistent and substantial improvements over competitive baselines.
  • The model significantly outperforms existing methods that use coreference as extra features or apply graph-based refinement, showing the advantage of end-to-end structural integration.
  • Ablation studies confirm that incorporating structural dependencies improves performance, with the most notable gains when modeling indirect links via shared references.
  • Visualization results show that SSAN attention focuses more on relevant mentions and structural paths, such as coreferential chains, indicating effective guidance from entity structure.
  • The method generalizes well across domains, achieving strong performance on both general-domain (DocRED) and biomedical (CDR, GDA) datasets.
  • The proposed structural bias modules effectively regularize attention flow, leading to more coherent and contextually informed representations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.