Abstract
Zero-Shot Relation Extraction (ZRE) aims to identify relationships between entities for relation types not seen during training. While reframing RE as a Question Answering (QA) task has shown promise, it typically relies on labor-intensive, human-authored question templates. This paper proposes a framework that treats questions as latent variables, enabling the model to generate its own semantically relevant questions. By introducing a novel "OffMML-G" learning objective, the authors mitigate semantic drift and ensure grammatical consistency. Experimental results demonstrate that this weakly-supervised approach achieves performance nearly on par with systems using manual "gold" templates, significantly outperforming existing zero-shot baselines.
Introduction
Relation Extraction (RE) is a fundamental task in natural language processing, involving the identification of semantic relationships between entities within a text—for instance, recognizing that "Steve Jobs" is the "founder" of "Apple." However, traditional supervised models are limited by their training data, struggling with Zero-Shot Relation Extraction (ZRE), where the model must generalize to entirely new relation types (e.g., identifying a "Political Leader" relation after only being trained on "CEO" relations).
A common strategy to address ZRE is to cast it as a Question Answering (QA) problem. To find the founder of a company, one might ask a QA model, "Who founded [Entity]?". While effective, this approach introduces a significant bottleneck: it requires humans to manually craft "gold" question templates for every potential new relation. This research investigates whether it is possible to leverage the reasoning capabilities of QA models for ZRE without the need for human-authored questions.
Methodology
The proposed framework utilizes a dual-module architecture consisting of a Question Generator and an Answer Generator, both implemented using the T5 transformer model. The central challenge is training these modules in the absence of ground-truth questions.
The authors address this through several key technical innovations:
- Latent Variable Modeling: The question is treated as a latent variable that bridges the abstract relation signal and the concrete answer in the text.
- Marginal Maximum Likelihood (MML): The model explores a search space of potential questions and optimizes the probability of arriving at the correct answer, effectively learning which questions are most informative for a given relation.
- Off-Policy Sampling (OffMML): To prevent "semantic drift"—where the generator produces ungrammatical strings that happen to elicit the correct answer from the answer module—the authors employ a fixed sampling module. This ensures that generated questions remain grounded in natural language.
- Greedy Update (G): The answer module is updated based on the single most effective question identified during the search process, rather than an average of multiple candidates, which improves training stability.
- Knowledge Augmentation: Relation keywords are enriched with Wikidata descriptions (e.g., "P150" is expanded to "contains the administrative territorial entity") to provide the generator with richer semantic context.
Experimental Setup and Results
The framework was evaluated across three diverse benchmarks: RE-QA, FewRel, and WikiZSL. For the zero-shot evaluations, the researchers created specific splits ensuring that relations present in the test set were completely absent from the training phase.
The proposed OffMML-G algorithm demonstrated state-of-the-art performance across the evaluated datasets. On the RE-QA benchmark, the model outperformed existing baselines by over 16 F1 points in tail entity extraction without any manual templates.
As shown in Figure 5, the OffMML-G model achieved an F1 score of 65.4, coming within 0.7 points of the "GoldQ-Trained" system (66.1 F1), which utilizes human-authored templates. This narrow margin highlights the efficacy of the latent question approach. Additionally, on FewRel and WikiZSL, the model significantly outperformed ZS-BERT, confirming that the QA-reframing is more robust for unseen relations than standard discriminative approaches.
Key Insights and Future Work
A primary finding of this work is the importance of grammatical integrity for generalization. The authors observed that "spurious" or ungrammatical questions might yield correct answers on training data but fail to generalize to unseen relations. The off-policy sampling technique significantly reduced the perplexity of generated questions, which directly correlated with improved zero-shot performance.
While the results are promising, challenges remain. The current training process is computationally intensive due to the search over latent questions. Future work may explore more efficient sampling methods or scaling the architecture to larger models like T5-large. Additionally, extending the framework from sentence-level to document-level extraction remains an important frontier for research.
Summary updated