Introduction
Document-level Relation Extraction (DocRE) is a critical task in Natural Language Processing that involves identifying entities and their relationships across entire documents. Unlike sentence-level extraction, DocRE must account for information spread across multiple sentences. Traditional approaches often use a pipeline—extracting mentions, performing coreference resolution (COREF), and then predicting relations. However, these methods suffer from error propagation and a lack of bidirectional information sharing between subtasks.
The TAG Framework
To overcome these limitations, researchers presented TAG (Table-to-Graph) at ACL 2023. TAG is a joint extraction model that treats DocRE as a unified table-to-graph generation problem, enabling information to flow between coreference and relational subtasks.
The framework operates in four main stages:
- Biaffine Table Filler: The model generates a 2D table where each cell represents a pair of mentions, assigning coarse scores for coreference and potential relations using a Pre-trained Language Model (PLM).
- Latent Graph Construction: Mentions are treated as nodes in a graph connected by three types of edges: coreference, relational, and syntactic (local sentence context).
- Information Propagation: Using a Relational Graph Convolutional Network (R-GCN), the model passes messages along these edges, allowing mention representations to be refined by their neighbors.
- Enhanced HAC Decoding: Hierarchical Agglomerative Clustering groups mentions into entities, incorporating a relational penalty to ensure logical consistency in the final predictions.
Key Insights and Ideas
A primary insight of this work is that relations help entities. While entities are necessary to find relations, relational patterns also serve as a powerful signal for coreference. For example, if two mentions share a specific relationship to a third entity, they are highly likely to refer to the same entity. Additionally, the inclusion of syntactic edges acts as a vital anchor, maintaining local accuracy before the model attempts long-range reasoning across the document.
Experimental Results
TAG was evaluated on the DocRED and Re-DocRED benchmarks, achieving new state-of-the-art results. On the DocRED test set, TAG (using RoBERTa-base) achieved an F1 score of 43.16, a significant improvement over previous joint extraction models.
Beyond overall performance, the model demonstrated a clear advantage in complex reasoning. For relations requiring evidence from five or more sentences, TAG improved recall by 6.0% over baselines lacking the graph module. This confirms that the latent graph effectively captures long-range dependencies that pipeline models often miss.
Conclusion and Future Work
TAG represents a significant step forward in joint entity and relation extraction by leveraging a graph-based approach to unify subtasks. While highly effective, the authors note that the $O(M^2)$ complexity of the table-filling approach may pose scalability challenges for extremely long documents. Future work may involve adapting the model to specialized domains like medicine or law, where linguistic structures differ from the Wikipedia-style text found in DocRED.
Summary updated