TL;DR
This paper introduces CFER, a novel "coarse-to-fine" approach for document-level relation extraction. CFER effectively integrates global document context with fine-grained path information between entities, leading to state-of-the-art performance on challenging datasets and demonstrating robustness to imbalanced data.
What Problem Does This Paper Address?
Extracting relationships between entities (e.g., "person works for company") is a fundamental task in Natural Language Processing (NLP). While sentence-level relation extraction has seen significant progress, many real-world relationships span across multiple sentences within a document. This "document-level relation extraction" (DocRE) is significantly more challenging because it requires understanding context beyond a single sentence and reasoning over potentially long distances between entities. Existing graph-based methods often struggle to balance capturing the overall document structure with precisely modeling the specific interactions between distant entity pairs.
Methods
The core innovation of CFER lies in its coarse-to-fine entity representation strategy. This strategy involves two main phases:
- Coarse-level Representation: CFER first constructs a comprehensive document-level graph that connects words through various relationships: syntactic dependencies, adjacent words, cross-sentence links, and coreferential mentions. This graph is then processed by Densely Connected Graph Convolutional Networks (DCGCN). DCGCNs are adept at integrating both local and global contextual information across the entire graph, providing a "coarse" understanding of entity representations.
- Fine-level Representation: To address the limitations of modeling long-distance interactions, CFER uses the coarse-level representations as guidance. It employs an attention-based path encoding mechanism. This involves identifying shortest paths between mentions of a target entity pair within a subgraph. An attention aggregator then selectively combines information from these paths, weighted by their relevance, to produce "fine-grained" entity representations that specifically capture inter-entity interactions.
Finally, the representations from both the coarse and fine levels are combined to generate a comprehensive entity representation, which is then used for relation classification via a bilinear scorer.
Datasets
The paper evaluates CFER on two prominent document-level RE datasets:
- DocRED: A large-scale, human-annotated dataset constructed from Wikipedia and Wikidata, considered the largest of its kind for general domain DocRE. It features 96 relation categories.
- CDR: A biomedical dataset focused on chemical-disease reactions, containing 500 training, 500 development, and 500 testing examples.
Key Insights and Ideas
- The Power of Two Levels: The "coarse-to-fine" approach is crucial. Simply focusing on global graph structure (coarse) or only on specific paths (fine) is insufficient. Combining both provides a more holistic and accurate representation.
- Guidance is Key: Using the global context (coarse representation) to guide the selection and aggregation of path information (fine representation) is more effective than processing paths in isolation.
- Robustness to Imbalance: CFER shows a remarkable ability to handle "long-tail" relations (those with very few positive examples), significantly outperforming baselines in these challenging scenarios. This suggests its approach is more generalizable.
- Long-Distance Reasoning: The model explicitly demonstrates its capability to capture relations between entities that are far apart in the document, a critical challenge in DocRE.
Key Results
CFER achieves state-of-the-art performance on both DocRED and CDR datasets across various evaluation metrics (micro F1, Ign F1, Intra-F1, Inter-F1).
- On DocRED, CFER (using BERTBase and RoBERTaLarge) outperforms 21 existing models across different tracks (non-PTM, BERT, RoBERTa), achieving the best micro F1 scores. For instance, CFER-RoBERTaLarge achieves 62.80% micro F1.
- On CDR, CFER also demonstrates superior performance, particularly in modeling inter-sentence interactions (Inter-F1), achieving 57.8%.
- Ablation studies confirm the effectiveness of both the coarse-level (DCGCN) and fine-level (attention-based path encoding) modules. Removing either significantly degrades performance.
- The model shows strong robustness to uneven label distribution, making significantly larger improvements on long-tail relations compared to baselines.
Limitations and Future Work
- Limitations: The paper acknowledges that while CFER excels at modeling long-distance interactions, the performance on entity pairs with very large sentence distances (though still good) can slightly decrease compared to closer pairs. The paper also notes that graph-based models generally outperform text-based models, implying that further improvements might come from even richer graph constructions or reasoning mechanisms.
- Future Work: The authors suggest that their coarse-to-fine strategy is not limited to document-level RE and has the potential to be applied to other NLP tasks that require integrating global context with specific local interactions. Further exploration into more sophisticated graph construction and attention mechanisms could also yield improvements.
Summary updated