Introduction
Relation Extraction (RE) is a fundamental task in natural language processing, aimed at identifying semantic relationships between entities in text. To train these models at scale, researchers often rely on Distant Supervision (DS). This technique automatically labels training data by aligning existing Knowledge Bases (KBs) with raw text. For instance, if a KB contains the triplet <Donald Trump, born-in, New York City>, any sentence mentioning both entities is automatically labeled with the born-in relation.
However, DS is inherently noisy. A sentence like "Trump worked in NYC" might be incorrectly labeled as born-in, creating false positives that degrade model performance. Traditional methods to mitigate this noise, such as Multi-Instance Learning (MIL), often rely on rigid assumptions that fail to capture the complex, context-dependent nature of real-world data noise.
The Dynamic Transition Matrix Framework
This paper introduces a novel neural architecture designed to explicitly model the noise process using a Dynamic Transition Matrix (DTM). Unlike previous approaches that use a single global matrix for an entire dataset, this model generates a unique transition matrix for every input sentence.
As shown in the architecture above, the process involves four main steps:
- Encoder: Sentences are converted into dense vector embeddings.
- Prediction: The model predicts a "true" latent relation distribution ($p$).
- Noise Modeling: Simultaneously, the model generates a transition matrix ($T$) representing the probability that a true relation $i$ is observed as relation $j$ in the noisy data.
- Transformation: The final observed distribution ($o$) is calculated as $o = T^T \cdot p$.
By making the transition matrix dynamic, the model can recognize that specific linguistic contexts (e.g., the word "worked") are strong indicators that a label might be noisy.
Training Strategy: Curriculum Learning
Training a noise model presents a "chicken and egg" dilemma: identifying noise requires a good model, but training a good model requires clean data. The authors address this through Curriculum Learning.
The model begins by "trusting" the noisy labels, with the transition matrix initialized close to an identity matrix. As training progresses, the model gradually learns to identify noise patterns, shifting its focus from raw labels to the underlying true relations. To ensure the model doesn't simply explain away all data as noise, Trace Regularization is applied, encouraging the matrix to remain as close to identity as possible unless there is strong evidence of a label flip.
Experimental Results
The approach was evaluated on two datasets: TIMERE, a new dataset focusing on time-related relations with reliability heuristics, and ENTITYRE, the standard New York Times (NYT) dataset.
Key findings include:
- Superiority of Dynamic Modeling: The results demonstrate that the dynamic transition matrix (TM) significantly outperforms both the baseline (PR) and a global transition matrix (GTM). This validates the hypothesis that noise is context-dependent.
- State-of-the-Art Performance: On the NYT dataset, the "Attention + Transition Matrix" (att_TM) approach achieved a precision of 67.24% at 10% recall, a substantial improvement over the standard attention-based baseline of 61.51%.
- Robustness to Noise: In the TIMERE experiments, the model successfully extracted signals from noisy instances, even outperforming models trained exclusively on small sets of "clean" data.
Conclusion
By explicitly and dynamically modeling the transition from true relations to noisy labels, this framework provides a robust solution for distantly supervised relation extraction. The combination of context-aware noise modeling and curriculum learning allows the model to effectively navigate the trade-off between data quantity and data quality, setting a new benchmark for the field.
Summary updated