Skip to main content
QUICK REVIEW

[Paper Review] Learning Representation Mapping for Relation Detection in Knowledge Base Question Answering

Peng Wu, Shujian Huang|arXiv (Cornell University)|Jul 17, 2019
Topic ModelingComputer Science32 references6 citations
TL;DR

This paper proposes a representation adapter to improve zero-shot relation detection in knowledge base question answering by learning mappings between relation embeddings from a knowledge graph and those from question-triple pairs. By incorporating adversarial and reconstruction objectives, the method significantly boosts performance on unseen relations while maintaining state-of-the-art accuracy on seen relations, addressing a critical gap in KBQA generalization.

ABSTRACT

Relation detection is a core step in many natural language process applications including knowledge base question answering. Previous efforts show that single-fact questions could be answered with high accuracy. However, one critical problem is that current approaches only get high accuracy for questions whose relations have been seen in the training data. But for unseen relations, the performance will drop rapidly. The main reason for this problem is that the representations for unseen relations are missing. In this paper, we propose a simple mapping method, named representation adapter, to learn the representation mapping for both seen and unseen relations based on previously learned relation embedding. We employ the adversarial objective and the reconstruction objective to improve the mapping performance. We re-organize the popular SimpleQuestion dataset to reveal and evaluate the problem of detecting unseen relations. Experiments show that our method can greatly improve the performance of unseen relations while the performance for those seen part is kept comparable to the state-of-the-art. Our code and data are available at https://github.com/wudapeng268/KBQA-Adapter.

Motivation & Objective

  • To address the poor generalization of existing KBQA systems to unseen relations not present in training data.
  • To study the zero-shot relation detection problem in depth, particularly the lack of representation learning for unseen relations.
  • To propose a novel mapping mechanism—representation adapter—that transfers knowledge from a broader knowledge graph to improve relation detection.
  • To re-organize the SimpleQuestion dataset into SimpleQuestion-Balance to fairly evaluate seen and unseen relation performance separately.
  • To demonstrate that training solely on seen relations is insufficient and that zero-shot generalization must be explicitly addressed in KBQA.

Proposed method

  • Leverage knowledge graph embeddings from a large-scale KB (e.g., FB2M) to pre-train relation representations beyond the limited coverage of human-annotated training data.
  • Train a representation adapter—a learnable mapping head—that maps question-triple relation embeddings to knowledge graph relation embeddings.
  • Use mean square error loss to supervise the adapter's initial training on seen relations.
  • Introduce an adversarial objective to align the distribution of mapped embeddings with the target knowledge graph embedding space.
  • Apply a reconstruction objective to preserve semantic structure by reconstructing original relation representations from the mapped space.
  • Fine-tune the adapter using both seen and unseen relations, enabling zero-shot inference for previously unseen relations.

Experimental results

Research questions

  • RQ1How does the performance of state-of-the-art KBQA systems degrade on unseen relations not present in the training data?
  • RQ2Can knowledge graph embeddings be used to improve representation learning for unseen relations in KBQA?
  • RQ3What training objectives (e.g., adversarial, reconstruction) best improve the generalization of relation detection models to unseen relations?
  • RQ4How can a balanced benchmark be constructed to fairly evaluate both seen and unseen relation detection?
  • RQ5Can a simple adapter mechanism effectively transfer knowledge from a large knowledge graph to a question-answering model without requiring retraining on all relations?

Key findings

  • The proposed representation adapter significantly improves zero-shot relation detection performance on unseen relations, outperforming baseline models that fail on such cases.
  • The method maintains competitive performance on seen relations, achieving accuracy comparable to state-of-the-art models despite not being explicitly optimized for them.
  • The adversarial and reconstruction objectives jointly enhance the adapter's ability to generalize, with ablation studies confirming their positive contribution.
  • Case studies show the adapter correctly identifies relations like 'music.recording.producer' (unseen) when lexical cues are weak, while baseline models fail.
  • The reorganized SimpleQuestion-Balance dataset reveals that standard evaluation protocols overestimate model performance due to high overlap between training and test relations.
  • The results demonstrate that relying solely on seen-relation performance is misleading and that zero-shot generalization must be explicitly evaluated and optimized.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.