[Paper Review] Relation Classification as Two-way Span-Prediction
This paper proposes a novel two-way span-prediction framework for supervised relation classification, treating each relation as a question-answer pair to improve model focus on relevant entities. By converting relation classification into a span-prediction task using bidirectional templates, the method achieves state-of-the-art results, outperforming prior methods by 2.3 F₁ on TACRED and 0.9 F₁ on SemEval, while reducing reliance on superficial heuristics.
The current supervised relation classification (RC) task uses a single embedding to represent the relation between a pair of entities. We argue that a better approach is to treat the RC task as span-prediction (SP) problem, similar to Question answering (QA). We present a span-prediction based system for RC and evaluate its performance compared to the embedding based system. We demonstrate that the supervised SP objective works significantly better then the standard classification based objective. We achieve state-of-the-art results on the TACRED and SemEval task 8 datasets.
Motivation & Objective
- To address the limitations of standard relation classification models that rely on global sentence embeddings and often ignore the specific entities.
- To improve model performance by forcing attention on the exact span of entities involved in a relation, reducing reliance on superficial textual patterns.
- To evaluate whether a span-prediction approach, inspired by question-answering, can outperform traditional embedding-based classification in supervised relation classification.
- To investigate the impact of bidirectional question templates and answer combination strategies (OR vs. AND) on model performance.
- To assess whether pre-training on general QA datasets like SQuAD improves performance on relation classification tasks.
Proposed method
- Each relation type is converted into two questions: one with the head entity as the query and the tail as the answer, and vice versa, forming a two-way span-prediction setup.
- The model is trained to predict the span of the answer for each question, using a span-scoring function that maximizes the score for the correct span.
- The final relation prediction is made using an OR combination of the two question answers, ensuring high recall while maintaining precision.
- The method uses pre-trained language models like BERT and ALBERT as the backbone for encoding context and queries.
- Templates are designed to encode semantic knowledge about the relation, and the model is fine-tuned end-to-end on relation classification datasets.
- The approach is evaluated on TACRED, SemEval-8, and the newly released CRE dataset to test robustness and generalization.
Experimental results
Research questions
- RQ1Can a two-way span-prediction framework improve supervised relation classification performance compared to standard embedding-based classification?
- RQ2Does using bidirectional questions (with both entities as query and answer) lead to better model generalization and reduced heuristic bias?
- RQ3How do different answer combination strategies (OR vs. AND) affect precision and recall in the span-prediction setup?
- RQ4Can pre-training on general QA datasets like SQuAD improve performance on relation classification tasks?
- RQ5To what extent does the span-prediction objective reduce model dependence on non-semantic textual patterns?
Key findings
- The two-way span-prediction method achieves a new state-of-the-art F₁ score of 88.7 on TACRED, outperforming prior methods by 2.3 F₁ points.
- On SemEval-8, the method achieves an F₁ score of 88.9, representing a 0.9 F₁ point improvement over the previous SOTA.
- Using bidirectional questions leads to a 2.4 F₁ point improvement over a unidirectional setup, demonstrating the importance of modeling relations from both perspectives.
- The AND combination of answers significantly reduces F₁ (by ~10 points) compared to OR, due to over-constraining the model and lowering recall.
- Pre-training on SQuAD 2.0 did not improve performance and even degraded results when combined with TACRED data, indicating that the main benefit comes from supervised span-prediction, not QA pre-training.
- The model shows strong generalization on the CRE dataset, which is designed to test for shallow heuristics, confirming reduced reliance on spurious patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.