Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Graph-Augmented Language Models for Knowledge-Grounded Dialogue Generation

Minki Kang, Jin Myung Kwak|arXiv (Cornell University)|May 30, 2023
Topic ModelingComputer Science9 citations
TL;DR

SURGE retrieves a context-relevant subgraph from a Knowledge Graph, encodes it invariantly into a language model, and uses graph-text contrastive learning to generate knowledge-grounded dialogues with higher factual fidelity.

ABSTRACT

Language models have achieved impressive performances on dialogue generation tasks. However, when generating responses for a conversation that requires factual knowledge, they are far from perfect, due to an absence of mechanisms to retrieve, encode, and reflect the knowledge in the generated responses. Some knowledge-grounded dialogue generation methods tackle this problem by leveraging facts from Knowledge Graphs (KGs); however, they do not guarantee that the model utilizes a relevant piece of knowledge from the KG. To overcome this limitation, we propose SUbgraph Retrieval-augmented GEneration (SURGE), a framework for generating context-relevant and knowledge-grounded dialogues with the KG. Specifically, our SURGE framework first retrieves the relevant subgraph from the KG, and then enforces consistency across facts by perturbing their word embeddings conditioned by the retrieved subgraph. Then, we utilize contrastive learning to ensure that the generated texts have high similarity to the retrieved subgraphs. We validate our SURGE framework on OpendialKG and KOMODIS datasets, showing that it generates high-quality dialogues that faithfully reflect the knowledge from KG.

Motivation & Objective

  • Motivate and address factual inaccuracies in dialogue generated by PLMs when external knowledge is needed.
  • Develop a context-relevant subgraph retriever that selects only pertinent KG facts to condition generation.
  • Propose an invariant and efficient graph encoding to integrate KG information into PLMs.
  • Apply graph-text contrastive learning to ensure generated responses reflect retrieved KG knowledge.

Proposed method

  • Propose SURGE which retrieves a context-relevant subgraph Z from a KG G using a GNN-based triplet retriever with p_phi(Z|x).
  • Encode Z in a permutation- and relation-inversion-invariant way via SORT(INV(Z)) and a relation-aware perturbation beta to PLM embeddings.
  • Formulate end-to-end training by marginalizing over retrieved subgraphs with L_ret plus supervised L_sup when gold subgraphs exist, and a graph-text contrastive loss L_cont.
  • Introduce Knowledge-verifying Question Answering (KQA) to evaluate factual correctness of generated knowledge.
  • Evaluate SURGE on OpendialKG and KOMODIS showing improved knowledge fidelity and standard metrics.
Figure 1: Motivation. Existing knowledge-grounded dialogue generation models with a KG often utilize the multi-hop subgraph associated with entities in the dialogue context (e.g., Jane Austen ). However, they suffer from a couple of the following problems: (1) irrelevant knowledge where only 12.6% o
Figure 1: Motivation. Existing knowledge-grounded dialogue generation models with a KG often utilize the multi-hop subgraph associated with entities in the dialogue context (e.g., Jane Austen ). However, they suffer from a couple of the following problems: (1) irrelevant knowledge where only 12.6% o

Experimental results

Research questions

  • RQ1Can a learned subgraph retriever isolate context-relevant KG facts for dialogue generation?
  • RQ2Does an invariant graph encoding reliably condition PLMs on KG structure without exploding computation?
  • RQ3Does graph-text contrastive learning improve fidelity and reduce hallucination in knowledge-grounded dialogue?
  • RQ4How does SURGE perform on benchmark KG-based dialogue datasets compared with baselines?
  • RQ5Can a KQA-based evaluation capture factual correctness of generated responses?

Key findings

  • SURGE variants with contrastive learning achieve higher KQA scores than baselines on OpendialKG (e.g., SURGE (contrastive) in Table 1).
  • Retrieving context-relevant subgraphs outperforms all-knowledge and random retrieval baselines across BLEU, ROUGE, and F1 metrics.
  • Invariant graph encoding satisfies permutation and relation-inversion invariances while remaining space-efficient.
  • Graph-text contrastive learning improves consistency between retrieved facts and generated responses, boosting KF1 and related metrics.
  • KOMODIS results show SURGE (Ours) achieving stronger metrics than baselines on knowledge-grounded generation.
Figure 2: Framework Overview. Our framework, SURGE, consists of three parts. First, a context-relevant subgraph retriever $p_{\phi}({\mathcal{Z}}|{\bm{x}})$ retrieves the subgraph ${\mathcal{Z}}$ relevant to the given dialogue history ${\bm{x}}$ from a knowledge graph ${\mathcal{G}}$ (e.g., 1-hop KG
Figure 2: Framework Overview. Our framework, SURGE, consists of three parts. First, a context-relevant subgraph retriever $p_{\phi}({\mathcal{Z}}|{\bm{x}})$ retrieves the subgraph ${\mathcal{Z}}$ relevant to the given dialogue history ${\bm{x}}$ from a knowledge graph ${\mathcal{G}}$ (e.g., 1-hop KG

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.