Abstract: Label noise and long-tailed distributions are two major challenges in distantly supervised relation extraction. Recent studies have shown great progress on denoising, but paid little attention to the problem of long-tailed relations. In this paper, we introduce a constraint graph to model the dependencies between relation labels. On top of that, we further propose a novel constraint graph-based relation extraction framework (CGRE) to handle the two challenges simultaneously. CGRE employs graph convolution networks to propagate information from data-rich relation nodes to data-poor relation nodes, and thus boosts the representation learning of long-tailed relations. To further improve the noise immunity, a constraint-aware attention module is designed in CGRE to integrate the constraint information. Extensive experimental results indicate that CGRE achieves significant improvements over the previous methods for both denoising and long-tailed relation extraction.
Introduction
Distantly Supervised Relation Extraction (DSRE) is a powerful technique for training models by aligning Knowledge Bases (like Wikidata) with raw text. For example, if a database indicates that "Bill Gates founded Microsoft," the system automatically labels any sentence containing those two entities as expressing the "Founded" relation.
However, this approach faces two significant hurdles:
- Label Noise: Sentences like "Bill Gates spoke at a Microsoft conference" do not actually express the "Founded" relation, yet they are labeled as such, introducing noise into the training set.
- The Long-Tail Problem: Real-world data is heavily skewed. While a few "head" relations (e.g., "Place of Birth") have thousands of examples, the vast majority of relations (e.g., "Interred Here") have very few. Standard models typically perform well on the head but fail on the tail.
Previous solutions often relied on rigid relation hierarchies that are not available for all datasets. This paper introduces CGRE (Constraint Graph-based Relation Extraction), a framework that uses entity types as bridges to transfer knowledge and filter noise.
Methodology
The CGRE framework addresses these challenges through three integrated components:
- The Constraint Graph: The model builds a bipartite graph where nodes represent either Relations or Entity Types (e.g., Person, Organization). Edges are established based on logical constraints; for instance, the "Child of" relation must connect two "Person" entities.
- Graph Encoder (GCN): A two-layer Graph Convolutional Network (GCN) serves as the core for handling long-tailed relations. Because rare and common relations often share entity types (e.g., both "Founded" and "CEO of" involve a Person and an Organization), the GCN allows information to flow from data-rich "head" nodes to data-poor "tail" nodes through these shared type bridges.
- Constraint-Aware Attention: When processing a "bag" of sentences, the model uses the constraint graph to verify if the entities in a sentence match the required types for a specific relation. If a sentence mentions a "Location" where a "Person" is expected, the attention mechanism automatically down-weights that sentence as noise.
Experimental Setup and Results
The researchers evaluated CGRE on three major benchmarks: NYT-520K, NYT-570K (standard distant supervision sets mapping Freebase to New York Times articles), and GDS (Google Relation Extraction, a human-annotated corpus).
Performance Highlights
CGRE demonstrated significant improvements across all metrics:
- Denoising Capabilities: On the NYT-520K dataset, CGRE achieved an AUC (Area Under Curve) of 41.7%, outperforming standard baselines like PCNN+ATT (34.7%) and specialized models like RESIDE (35.5%).
- Long-Tail Recovery: For relations with fewer than 100 training instances, CGRE achieved a 77.8% Hits@10 score, a massive jump from the vanilla baseline which struggled below 5%.
- Attention Accuracy: On human-verified data (NYT-H), the model's ability to identify the correct sentence in a noisy bag improved by over 4% compared to standard attention models.
Key Insights
- Entity Types as Knowledge Bridges: By learning what a "Person" looks like in common relations, the model gains a significant head start in understanding how a "Person" behaves in rare relations.
- Soft Constraints: Rather than strictly deleting sentences that violate type constraints, the model uses "soft" attention to prefer valid sentences while maintaining the flexibility to learn from context.
- Universality: Unlike hierarchy-based models, the constraint graph can be automatically generated for any dataset by observing which entity types co-occur with specific relations.
Conclusion
CGRE effectively mitigates the dual issues of label noise and long-tailed distributions in DSRE. While the current graph is relatively small, future work may involve scaling the framework to handle thousands of fine-grained entity types or integrating broader structural knowledge from large-scale Knowledge Graphs like Freebase.
Summary updated