Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Injection into Dialogue Generation via Language Models

Yi-Lin Tuan, Wei Wei|arXiv (Cornell University)|Apr 30, 2020
Topic ModelingComputer Science48 references7 citations
TL;DR

This paper proposes InjK, a two-stage knowledge injection framework that enables dialogue models to generate coherent and informative responses even with limited external knowledge by jointly learning to infer relevant knowledge and generate responses. It outperforms prior methods in low-knowledge scenarios by modeling stochastic causality through a latent knowledge variable, significantly reducing response perplexity and improving coherence and informativeness under knowledge insufficiency.

ABSTRACT

Dialogue generation has been successfully learned from scratch by neural networks, but tends to produce the same general response, e.g., "what are you talking about?", in many conversations. To reduce this homogeneity, external knowledge such as the speaker's profile and domain knowledge is applied as an additional condition to diversify a model's output. The required knowledge to develop an effective conversation, however, is not always available, which is different from prior work's assumption that a model always has acquired sufficient knowledge before chatting. This problem can be detrimental when applying a dialogue model like this chatting online with unconstrained people and topics, because the model does not have the needed knowledge. To address this problem, we propose InjK, which is a two-stage approach to inject knowledge into a dialogue generation model. First, we train a large-scale language model and query it as textual knowledge. Second, we frame a dialogue generation model to sequentially generate textual knowledge and a corresponding response. Empirically, when a dialogue generation model can only access limited knowledge, our method outperforms prior work by producing more coherent and informative responses.

Motivation & Objective

  • To address the critical problem of knowledge insufficiency in real-world dialogue systems, where external knowledge is often unavailable during inference.
  • To propose a unified method that does not rely on pre-annotated knowledge in training data, enabling effective response generation even when knowledge is sparse.
  • To model the stochastic causal relationship between unobserved knowledge and dialogue responses, improving robustness to knowledge scarcity.
  • To evaluate the impact of knowledge insufficiency at inference time, demonstrating that current models fail under low-knowledge conditions.

Proposed method

  • InjK employs a two-stage process: first, it uses a large language model to generate candidate knowledge from the dialogue context; second, it conditions response generation on both the dialogue history and the inferred knowledge.
  • The method introduces a latent variable that represents unobserved knowledge, modeled via a variational autoencoder with a policy gradient and Kullback-Leibler divergence (KLD) regularization.
  • Knowledge is disentangled from input utterances by mapping semantic content to a domain-specific knowledge space, enabling the model to reason about missing or implicit knowledge.
  • The framework jointly optimizes knowledge generation and response generation using a reinforcement learning objective with a policy gradient, encouraging informative and contextually relevant knowledge.
  • It uses a knowledge gap metric to quantify model sensitivity to knowledge availability, defined as the standard deviation of perplexity across varying knowledge lengths.
  • The approach is evaluated on Personachat and LIGHT datasets, comparing performance under different knowledge availability levels.

Experimental results

Research questions

  • RQ1How does knowledge insufficiency during inference affect the performance of existing knowledge-grounded dialogue models?
  • RQ2Can a dialogue model generate high-quality responses when external knowledge is limited or absent, without relying on pre-annotated knowledge in training?
  • RQ3What is the impact of modeling latent knowledge as a stochastic variable on response coherence and informativeness?
  • RQ4How does the proposed method compare to state-of-the-art baselines in terms of robustness to knowledge scarcity?
  • RQ5To what extent does the model’s performance depend on the availability of external knowledge, and how can this dependency be minimized?

Key findings

  • InjK significantly outperforms MLE and CVAE baselines in response coherence and informativeness when knowledge is limited, with lower perplexity and higher human evaluation scores.
  • The model maintains stable performance across varying knowledge lengths, demonstrating a smaller knowledge gap (standard deviation of perplexity) than all baselines, especially KGuide and KGround.
  • Abllation studies show that removing either the policy gradient or KLD term degrades performance, confirming their importance in joint knowledge and response generation.
  • InjK achieves the lowest knowledge gap in both training and inference phases, indicating robustness to knowledge insufficiency.
  • Human evaluation shows moderate inter-annotator agreement (Fleiss’ kappa) and confirms that InjK generates more coherent and contextually relevant responses than baselines under low-knowledge conditions.
  • The results demonstrate that considering knowledge insufficiency during both training and inference leads to more cognitively plausible and user-friendly dialogue systems.

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.