Abstract
Gaurav Singh, Parminder Bhatia. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers). 2019.
Introduction
Relation Extraction (RE) is a fundamental task in Natural Language Processing (NLP) aimed at identifying semantic connections between entities in text. For instance, in the sentence "Aspirin treats a headache," an RE model identifies the "treats" relationship between "Aspirin" and "headache." While modern deep learning models excel at intra-sentence RE where entities are proximal, they often struggle with cross-sentence RE where relationships are obscured by complex logical chains or long-range dependencies.
The Challenge of Long-Range Dependencies
Most contemporary RE models utilize a "first-order" approach. They employ an encoder, such as a Transformer, to generate mathematical representations of target entities and predict relationships directly from these vectors. This approach is effective when entities are close together. However, in cross-sentence scenarios, the "logic" connecting entities may span multiple sentences. Relying on the encoder to compress this extensive context into two entity vectors is often insufficient, leading models to incorrectly classify valid relations as negative due to weak or noisy signals.
Methodology: Explicit Context Conditioning
To address these limitations, Singh and Bhatia propose a model that integrates traditional first-order signals with Second-Order Relations (SOR).
Second-Order Relations
The core innovation lies in the hypothesis that two entities can be connected via an intermediate "context token." If Entity A relates to Context Token K, and Context Token K relates to Entity B, a second-order path exists between A and B.
The score for a triplet $(i, j, k)$—representing entities $i, j$ and context token $k$—is the sum of the relation scores of $(i, k)$ and $(k, j)$. These scores are aggregated across all possible context tokens using a LogSumExp function, which serves as a "soft" max-pooling mechanism to identify the most relevant "bridge" tokens while filtering out noise.
Model Architecture
The architecture combines these signals by adding second-order scores to first-order scores using a learnable weight ($\alpha$). This allows the model to prioritize direct signals when they are robust and leverage contextual bridges when direct signals are insufficient.
Experimental Evaluation
The model was evaluated on three challenging biomedical datasets: i2b2 2010 (clinical notes), DCN (De-identified Clinical Notes), and CDR (Chemical-Disease Relations).
Results
The proposed +SOR model demonstrated significant improvements over the baseline BRAN model:
- DCN Dataset: F1 score increased from 0.712 to 0.734.
- i2b2 Dataset: F1 score improved from 0.395 to 0.407, surpassing the previous state-of-the-art HDLA model (0.388).
- CDR Dataset: Performance remained identical to the baseline. In this case, the learnable weight $\alpha$ was tuned to 0, indicating that the encoder already captured the necessary information without requiring explicit bridge tokens.
Conclusion
Explicit context conditioning provides a structured way to handle long-range dependencies in RE. While the current work focuses on second-order relations, future research could explore higher-order relations for even longer documents. Additionally, investigating the model's performance on general-domain text remains a promising avenue for further study.
Summary updated