Skip to main content
QUICK REVIEW

[Paper Review] Connecting the Dots: A Knowledgeable Path Generator for Commonsense Question Answering

Peifeng Wang, Nanyun Peng|arXiv (Cornell University)|May 2, 2020
Topic ModelingComputer Science41 references12 citations
TL;DR

This paper proposes a knowledgeable path generator that uses fine-tuned GPT-2 to dynamically generate novel, multi-hop relational paths between question and answer entities in commonsense question answering, overcoming knowledge graph sparsity. The method improves QA accuracy by up to 6% over static knowledge graph baselines, especially in low-data settings, and produces interpretable, relevant, and novel paths without fine-tuning the generator.

ABSTRACT

Commonsense question answering (QA) requires background knowledge which is not explicitly stated in a given context. Prior works use commonsense knowledge graphs (KGs) to obtain this knowledge for reasoning. However, relying entirely on these KGs may not suffice, considering their limited coverage and the contextual dependence of their knowledge. In this paper, we augment a general commonsense QA framework with a knowledgeable path generator. By extrapolating over existing paths in a KG with a state-of-the-art language model, our generator learns to connect a pair of entities in text with a dynamic, and potentially novel, multi-hop relational path. Such paths can provide structured evidence for solving commonsense questions without fine-tuning the path generator. Experiments on two datasets show the superiority of our method over previous works which fully rely on knowledge from KGs (with up to 6% improvement in accuracy), across various amounts of training data. Further evaluation suggests that the generated paths are typically interpretable, novel, and relevant to the task.

Motivation & Objective

  • To address the sparsity and contextualization limitations of static commonsense knowledge graphs (KGs) in commonsense question answering.
  • To enable dynamic, multi-hop path generation between question and answer entities even when links are missing in the KG.
  • To improve QA performance by augmenting existing frameworks with a knowledge path generator that generalizes over KG facts using a pre-trained language model.
  • To produce interpretable, novel, and relevant paths that serve as structured evidence for reasoning without requiring fine-tuning of the generator.

Proposed method

  • Sample informative and relevant random walks from a static commonsense KG (ConceptNet) using rules and constraints for path quality.
  • Fine-tune GPT-2 on the sampled paths to learn to generate multi-hop relational paths between question and answer entities.
  • Generate paths end-to-end in a single forward pass, enabling the model to extrapolate beyond existing KG facts.
  • Aggregate generated paths into a knowledge embedding and fuse it with a context embedding from a text encoder for classification.
  • Implement three variants of the path generator: Global (full graph context), Local (limited context), and Scratch (no external KG input) to study the role of graph information.
  • Integrate the path generator into a general QA framework to evaluate its impact on downstream commonsense QA tasks.

Experimental results

Research questions

  • RQ1Can a language model be effectively fine-tuned to generate novel, multi-hop relational paths that bridge missing links in static knowledge graphs for commonsense QA?
  • RQ2How does the performance of a QA system improve when augmented with dynamically generated paths versus relying solely on static KG facts?
  • RQ3To what extent are the generated paths interpretable, novel, and relevant to the task, especially in low-resource training settings?
  • RQ4How does the inclusion of global versus local graph context affect the quality and utility of the generated paths?
  • RQ5Can the path generator serve as a plug-in module that enhances various QA frameworks without requiring task-specific fine-tuning?

Key findings

  • The proposed path generator improves commonsense QA accuracy by up to 6% over baselines that rely solely on static knowledge graphs, with the largest gains observed in low-data regimes.
  • The method demonstrates robustness to limited training data, with accuracy gains increasing as training data decreases, indicating a strong inductive bias from the path generator.
  • Human evaluation confirms that the generated paths are interpretable and relevant, with examples showing logical connections such as linking 'harmony' to 'making peace' through valid reasoning steps.
  • Automatic evaluation shows that the generated paths contain a high proportion of novel and valid triplets not present in the original KG, such as 'cave' → 'IsA' → 'geological_feature'.
  • The Global variant of the path generator, which uses full graph context, outperforms the Local and Scratch variants, indicating that access to broader KG structure enhances path quality.
  • The path generator successfully produces correct 1-hop and 2-hop paths in complex reasoning cases, such as connecting 'film' to 'being entertained' and 'harmony' to 'making peace', while avoiding incorrect or vague relations.

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.