Introduction
Relation Extraction (RE) aims to identify semantic relationships between entity pairs within a text. While manual labeling is prohibitively expensive, Distant Supervision (DS) offers an automated alternative by aligning existing Knowledge Graphs (KGs) with text corpora. However, DS introduces significant noise: not every sentence containing a known entity pair expresses the target relation. Furthermore, the "Not A Relation" (NA) class is often over-represented and difficult to distinguish using textual features alone.
To address these challenges, this paper introduces CORD (COopeRative Denoising), a framework that leverages the complementary strengths of text-based linguistic patterns and KG-based structural logic through a cooperative training mechanism.
The CORD Framework
The CORD architecture consists of two primary networks that interact via a cooperative module to refine relation predictions.
1. Corpus-Net (The Linguist)
The Corpus-Net focuses on raw word sequences. It utilizes a Bi-directional Gated Recurrent Unit (Bi-GRU) with hierarchical attention to capture linguistic nuances and identify relevant patterns within sentences.
2. KG-Net (The Logician)
The KG-Net processes entity sequences rather than words. By utilizing pre-trained entity embeddings (e.g., DeepWalk and TransE), it captures the structural context of entities within the KG. A key innovation is the integration of External Rule Knowledge, which enforces type constraints—for instance, ensuring that a place_of_birth relation involves a "person" and a "location."
3. The Cooperative Module
The core of CORD is the cooperative module, which facilitates mutual learning between the two networks:
- Bi-directional Knowledge Distillation: Both networks are trained simultaneously, treating each other's predictions as "soft labels." This allows the KG-Net to guide the Corpus-Net toward logically sound patterns and vice versa.
- Adaptive Imitation Rate: To prevent the propagation of errors, the "imitation rate" is dynamically adjusted. Each network only "listens" to its partner when the partner demonstrates higher confidence or better performance on a specific instance.
- Dynamic Ensemble: The final output is a weighted combination of both networks, optimized based on entity linking quality and rule satisfaction.
Experimental Evaluation
The framework was evaluated on the NYT10 dataset, a standard benchmark comprising approximately 522,000 training and 172,000 test sentences across 53 relations. This dataset is particularly challenging due to its "long-tail" nature, where over 77% of entity pairs appear in only a single sentence.
Performance Results
CORD demonstrates superior performance compared to traditional baselines such as Mintz, MIML, and PCNN+ATT.
As shown in the Precision-Recall curves, CORD maintains higher precision across all recall levels. Notably, in sparse data scenarios (entity pairs with only one sentence), the inclusion of logic rules in the KG-Net significantly boosted average precision from 53.5% to 61.9%.
Discussion and Key Insights
The success of CORD highlights several critical insights:
- Complementarity: Textual features excel at discovering novel expressions of relations, while KG features are highly effective at filtering out impossible relations based on structural constraints.
- Denoising via Logic: The KG-Net acts as a powerful filter for the "NA" class. If two entities lack a path in the KG, they are likely unrelated in the text, providing a strong signal that text-only models often miss.
- Stability: The adaptive imitation mechanism ensures training stability, allowing the model to converge effectively even when one network initially underperforms.
Conclusion
CORD represents a significant step forward in distantly supervised relation extraction. By moving beyond text-only models and fostering cooperation between linguistic and structural knowledge, it effectively mitigates the noise inherent in distant supervision. Future work may explore more complex multi-hop reasoning within KGs and automated rule discovery to further enhance the framework's scalability and precision.
Summary updated