ARNOR: Attention Regularization based Noise Reduction for Distant Supervision Relation Classification

Wei Jia, Dai Dai, Xinyan Xiao, Hua WuACL 2019

Introduction: The Noise in Distant Supervision

To train Relation Classification (RC) models, researchers often rely on Distant Supervision (DS). This technique automatically labels sentences by aligning a knowledge base with a text corpus: if a database states that "Bill Lockyer" was "born in" "California," DS labels every sentence containing both entities as a "place_of_birth" relation.

Distant supervision often labels sentences incorrectly if they contain the target entities but do not express the target relation.

However, this assumption is frequently flawed. As shown in the figure above, a sentence like "Bill Lockyer is the attorney general of California" contains the correct entities but does not express the "born in" relation. This "noise"—which can exceed 30% of the data—confuses models. Previous attempts to mitigate this using Reinforcement Learning or Multi-Instance Learning often fail because models learn to "cheat," identifying the entities themselves (shortcut learning) rather than the context explaining the relationship.

The ARNOR Framework

The authors introduce ARNOR (Attention Regularization based NOise Reduction), a framework built on the intuition that a trustable relation label should be explainable by the model. If a model cannot "explain" a relation by pointing to a valid linguistic pattern, the data point is likely noise.

The ARNOR architecture uses attention regularization and iterative instance selection to refine the training set across multiple epochs.

Key Components

  • Attention-based BiLSTM Encoder: The base model processes sentences using a bidirectional LSTM, employing an attention mechanism to weigh word importance.
  • Attention Regularization (AR): Standard models often focus solely on entity names. AR uses Kullback–Leibler (KL) divergence loss to force the model's attention to align with "target" patterns—the connective words between entities (e.g., "was born in").
  • Instance Selection: The framework calculates a confidence score for every sentence. If the model’s attention distribution matches the expected relation pattern, the instance is deemed "trustable."
  • Bootstrap Learning: This iterative process starts with high-frequency patterns, selects trustable data, retrains with attention regularization, discovers new patterns, and repeats across epochs.

Datasets and Evaluation

Experiments were conducted on the standard NYT (New York Times) dataset, which is aligned with Freebase. Recognizing that existing test sets were often noisy or too small, the authors released a new, manually annotated sentence-level test set containing 1,024 sentences and 4,543 entity pairs to provide a more rigorous benchmark.

Results and Insights

ARNOR significantly outperformed all baselines on the NYT dataset, achieving an F1 score of 60.90%, a substantial leap over the previous state-of-the-art (CNN+RL) at 49.34%.

Key takeaways include:

  • Combating Shortcut Learning: By forcing the model to look at the "connective tissue" of a sentence rather than just the entities, Attention Regularization prevents the model from taking the easiest path to a correct label.
  • Precision Gains: The model showed a tremendous improvement in precision (65.23%), demonstrating its superior ability to avoid false positives caused by noisy DS labels.
  • Data Quality as a Filter: Instead of just deleting noisy samples, ARNOR relabels them as "None," providing the model with valuable negative examples to learn the boundaries of valid relations.

Conclusion

ARNOR demonstrates that explainability can be used as a powerful data quality filter. By requiring models to justify their classifications through attention to specific linguistic patterns, the framework effectively purifies noisy datasets, leading to state-of-the-art performance in relation classification.

Summary updated

BibTeX
@inproceedings{jia2019arnor,
  author = {Wei Jia and Dai Dai and Xinyan Xiao and Hua Wu},
  title = {{ARNOR: Attention Regularization based Noise Reduction for Distant Supervision Relation Classification}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1135},
}
Figure