Self-Supervised Knowledge Triplet Learning for Zero-Shot Question Answering

Pratyay Banerjee, Chitta Baral

Introduction

Traditional Question Answering (QA) systems rely heavily on large-scale, human-annotated datasets. This dependency introduces significant challenges, primarily the high cost of data acquisition and the risk of "annotation bias," where models exploit superficial patterns in human-generated data rather than learning genuine reasoning. This paper proposes Knowledge Triplet Learning (KTL), a self-supervised framework designed to overcome these limitations by training models on structured knowledge graph triples without requiring labeled QA pairs.

The Knowledge Triplet Learning Framework

The core of KTL is the conceptualization of knowledge as a triplet $(h, r, t)$, representing a Head entity, a Relation, and a Tail entity. By mapping these components to the (context, question, answer) structure of a QA task, the model learns to perform tri-directional reasoning.

The Knowledge Triplet Learning (KTL) framework illustrating tri-directional prediction between Head, Relation, and Tail.

As shown in Figure 1, KTL requires the model to master three distinct functions:

  1. Tail Prediction ($f_t$): Predicting the answer given the context and question.
  2. Head Prediction ($f_h$): Predicting the context given the question and answer.
  3. Relation Prediction ($f_r$): Predicting the question given the context and answer.

This multi-faceted approach ensures that the model develops a robust internal representation of the logical dependencies between the three elements.

Implementation and Synthetic Data

The authors explore two primary implementation strategies:

  • Knowledge Representation Learning (KRL): A vector-space approach where entities and relations are projected into a shared space, using distance-based scoring to evaluate triple validity.
  • Span Masked Language Modeling (SMLM): A Transformer-based approach (using RoBERTa) that treats triplet completion as a fill-in-the-blank task by masking parts of the triple.

To scale KTL to domains lacking formal knowledge graphs, the researchers introduce Synthetic Graph Construction. By applying heuristics like "Common Concept" and "Directed Story" to raw text corpora (e.g., QASC, OMCS, RoCStories), they generate millions of training triples automatically.

Experimental Results

The framework was evaluated across six challenging benchmarks, including SocialIQA, aNLI, and OpenBookQA.

QA training accuracy across various benchmarks as a function of the number of KTL samples.

Key findings include:

  • Zero-Shot Performance: KTL-trained models significantly outperformed standard language models like GPT-2 and RoBERTa. For instance, on SocialIQA, KTL achieved 48.5% accuracy, surpassing GPT-2's 40.8%.
  • Scaling and Efficiency: As illustrated in Figure 3, performance consistently improves with the number of KTL training samples across all datasets. Furthermore, KTL provides a superior initialization for few-shot learning; models pre-trained with KTL and fine-tuned on just 8% of labeled data approached the performance of fully supervised systems.
  • SMLM Superiority: The SMLM approach consistently outperformed KRL, indicating that the attention mechanisms in Transformers are better suited for capturing complex relational nuances than simple linear projections.

Conclusion

Knowledge Triplet Learning demonstrates that structured, tri-directional reasoning can be learned in a self-supervised manner. By leveraging both existing knowledge graphs and synthetic data, KTL achieves state-of-the-art zero-shot performance, reducing the field's reliance on expensive human annotations and mitigating the impact of annotation bias. Future work will focus on improving negative sampling techniques and addressing more complex reasoning patterns such as negation and multi-hop logic.

Summary updated

BibTeX
@inproceedings{banerjee2020self,
  author = {Pratyay Banerjee and Chitta Baral},
  title = {{Self-Supervised Knowledge Triplet Learning for Zero-Shot Question Answering}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.11},
}
Figure