Abstract
Traditional Relation Extraction (RE) models often treat the task as a multi-class classification problem, ignoring the semantic relationships between labels and requiring vast amounts of annotated data. This paper introduces SURE (Summarization as Relation Extraction), a framework that reframes RE as an abstractive summarization task. By leveraging models pre-trained on massive summarization corpora, SURE utilizes "indirect supervision" to achieve state-of-the-art performance, particularly in low-resource settings where labeled data is scarce.
Introduction
Relation Extraction (RE) is the task of identifying the semantic relationship between two entities within a given context—for example, determining that "Steve Jobs" and "Apple" share a founded_by relationship. Historically, this has been approached through multi-class classification, where a model maps an input sentence to a specific label ID.
However, this standard paradigm suffers from two primary limitations. First is semantic blindness: classifiers treat labels as arbitrary integers, failing to utilize the inherent meaning of words like "spouse" or "employer." Second is data hunger: training robust classifiers requires extensive manual annotation, which is expensive and difficult to scale. SURE addresses these issues by treating RE as a summarization problem, where the goal is to generate a concise natural language statement describing the interaction between entities.
The SURE Framework
The SURE framework consists of three core components designed to align the RE task with the objectives of pre-trained generative models like BART and PEGASUS.
1. Input and Relation Verbalization
Instead of using artificial markers (e.g., [E1]) to denote entities, SURE employs Input Verbalization. The input sentence is rewritten into a natural language prompt, such as: "The subject entity is Mandelbrot. The object entity is Poland. [Context Sentence]". This ensures the input remains within the natural language distribution the model encountered during pre-training.
Similarly, Relation Verbalization converts abstract labels into semantic templates. Rather than predicting a label like per:city_of_birth, the model is trained to generate a natural sentence: "{subj} was born in the city {obj}". This allows the model to leverage its internal linguistic knowledge of what "born in" means.
2. Trie-Based Constrained Inference
To prevent the generative model from hallucinating or producing invalid text, SURE utilizes Trie Scoring. A prefix tree (Trie) is constructed from all possible valid relation templates. During inference, the model is constrained to only generate sequences that exist within the Trie. This effectively transforms the generative process into a ranking task, where the model calculates the probability of predefined, valid relations.
3. Type Constraints
To further refine accuracy, SURE applies entity type constraints. If the subject is identified as a "Person" and the object as a "Location," the model automatically prunes the Trie to exclude irrelevant relations like "headquarters_in," which typically requires an "Organization" as a subject.
Experimental Evaluation
The authors evaluated SURE on several prominent RE benchmarks:
- TACRED & TACREV: Standard and cleaned versions of the Large-scale Relation Extraction dataset.
- SemEval 2010 Task 8: A dataset focused on semantic relations between nominals.
- Low-Resource Splits: To test the model's efficiency, the authors created training subsets containing only 1%, 5%, and 10% of the original TACRED data.
Results and Analysis
State-of-the-Art Performance
SURE achieved new state-of-the-art results on standard benchmarks, reaching 75.1% F1 on TACRED and 83.5% F1 on TACREV. These results demonstrate that the generative approach is competitive with, and often superior to, traditional classification-based models.
Dominance in Low-Resource Settings
The most significant finding was the model's performance with minimal data. In the 1% TACRED split (approximately 680 training examples), SURE achieved an F1 score of 52.0%. In contrast, standard models like SpanBERT and RoBERTa struggled significantly, scoring 0.0% and 7.7% respectively. This suggests that the "indirect supervision" from summarization pre-training provides a powerful prior that allows the model to generalize from very few examples.
The Role of the Backbone Model
The study found that PEGASUS generally outperformed BART as a backbone. This is likely due to PEGASUS’s pre-training objective—Gap Sentence Generation—which closely mimics the extractive and synoptical nature of the RE task.
Conclusion
SURE demonstrates that Relation Extraction can be effectively reframed as a summarization task. By using natural language templates and constrained decoding, the framework captures the semantic nuances of relation labels and significantly reduces the need for labeled data. Future work may explore automated prompt tuning to replace manual templates and the extension of this framework to document-level extraction, where entities are separated by longer contexts.
Summary updated