Approximation of Response Knowledge Retrieval in Knowledge-grounded Dialogue Generation

Wen Zheng, Natasa Milic-Frayling, Ke ZhouEMNLP 2020

Introduction

Knowledge-grounded dialogue systems aim to produce informative responses by leveraging external information sources. However, a significant bottleneck in these systems is retrieval noise. Traditional methods rely on the user's input (the "post") to search for relevant facts, but the most useful information for a response often deviates from direct keyword matches in the post. This paper introduces TPPA (Transformer & Post-based Posterior Approximation), a novel framework designed to bridge this gap by approximating the posterior distribution of knowledge given the response, using only the post during inference.

The Challenge: Post vs. Response Retrieval

The authors distinguish between Post-Retrieved Knowledge (PRK) and Response-Retrieved Knowledge (RRK). PRK often suffers from topic drift because the user's post may not contain the specific entities or concepts that the response should address. In contrast, RRK—knowledge retrieved using the actual ground-truth response—shows a much higher correlation with the desired output.

Word overlap comparison between different retrieval strategies showing the significant advantage of RRK over PRK.

As shown in the analysis of the Wizard of Wikipedia dataset, RRK (mean overlap 4.27) has nearly double the word overlap with the final response compared to PRK (mean overlap 2.25). Since the response is unavailable during real-world inference, the goal of TPPA is to train a model that can "predict" or approximate this RRK using only the post.

Methodology: The TPPA Framework

The TPPA approach decouples knowledge selection from response generation through a two-phase process.

The TPPA architecture featuring Post and Response Processing Units and a Knowledge Selection Unit.

Phase 1: Training (Posterior Approximation)

During training, the model has access to the ground-truth response. It uses a Response Processing Unit to identify the "perfect" knowledge snippets (RRK). Simultaneously, a Post Processing Unit encodes the user's post and candidate knowledge snippets using a Transformer-based encoder. An Auto-Pointer and the Gumbel-Softmax trick are employed to learn a mapping from the post to the RRK distribution. This allows the model to learn which facts are likely to be useful for a response even when the response itself is hidden.

Phase 2: Inference and Generation

At inference time, the trained TPPA model selects the most relevant knowledge from a candidate pool based solely on the user's post. These selected facts are then passed to the Transformer with Expanded Decoder (TED). TED is a generative component that balances information from the post and the retrieved facts to synthesize a coherent, fact-grounded response.

Experimental Evaluation

The researchers evaluated TPPA on two primary benchmarks:

  • Wizard of Wikipedia (Wiz): A large-scale dataset (~202k turns) where participants use Wikipedia to inform their conversation.
  • Holl-E: A movie-centric dataset (~9k conversations) grounded in plots and reviews.

Key Results

TPPA consistently outperformed strong baselines such as BM25, DrQA, and joint models like SKT.

  • Retrieval Precision: On the Wiz dataset, TPPA achieved a P@1 of 10.1%, outperforming BM25 (4.9%) and CNN-DSSM (8.2%).
  • Generation Quality: When integrated with the TED generator, TPPA reached a BLEU-4 score of 3.91 on Wiz and 12.66 on Holl-E, surpassing the previous state-of-the-art (SKT) which scored 3.14 and 9.16, respectively.
  • Diversity: The model demonstrated higher Div-2 scores, indicating the production of more varied and less repetitive language.

Conclusion and Future Work

TPPA demonstrates that treating knowledge selection as a latent variable problem significantly improves the grounding of dialogue systems. By decoupling selection and generation, the model achieves superior performance and flexibility. However, the system remains dependent on the quality of the underlying knowledge base; performance drops on datasets like Reddit where the grounding text is often ignored by users. Future research will focus on making these models more robust to low-quality knowledge sources and scaling to open-domain web search.

Summary updated

BibTeX
@inproceedings{zheng2020approximation,
  author = {Wen Zheng and Natasa Milic-Frayling and Ke Zhou},
  title = {{Approximation of Response Knowledge Retrieval in Knowledge-grounded Dialogue Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.findings-emnlp.321},
}
Figure