Incremental Transformer with Deliberation Decoder for Document Grounded Conversations

Zekang Li, Cheng Niu, Fandong Meng, Yang Feng, Qian Li, Jie Zhou

Introduction

Document Grounded Conversation (DGC) represents a significant challenge in natural language processing, requiring models to engage in multi-turn dialogues while grounding responses in external, unstructured knowledge sources. Effective DGC systems must balance two often-competing objectives: Context Coherence, ensuring the response flows naturally from previous dialogue turns, and Knowledge Relevance, ensuring the response accurately incorporates facts from the provided document.

Existing architectures often struggle with these dual requirements, frequently losing track of long-term conversation history or "hallucinating" incorrect facts. This paper proposes a novel approach inspired by human deliberation: an Incremental Transformer architecture paired with a two-pass Deliberation Decoder.

Methodology

The proposed framework consists of two core components designed to improve memory and factual grounding.

Incremental Transformer Encoder (ITE)

Standard Transformer models typically concatenate dialogue history into a single input sequence, which can lead to information loss in long conversations. The ITE instead encodes multi-turn utterances recursively. By utilizing an attention mechanism that considers the current utterance, the document knowledge, and the previous conversational state, the ITE maintains a dynamic "running memory" of the dialogue context.

Deliberation Decoder (DD)

To address the issue of factual accuracy, the authors introduce a two-pass decoding process known as the Deliberation Decoder. This mimics the human tendency to form a rough idea and then "double-check" facts before speaking.

  1. First-pass Decoder: Generates an initial response draft focused on conversational flow and natural language properties.
  2. Second-pass Decoder: Acts as a "deliberation" stage, taking the first-pass output and the source document to refine the response. This second pass ensures the final output is both contextually appropriate and factually grounded.
Overall architecture of the Incremental Transformer with Deliberation Decoder.

Experimental Setup

The model was evaluated on the Document Grounded Conversations Dataset, which contains approximately 84.5k utterances centered on movie-related discussions. The dataset includes rich metadata such as movie names, cast lists, and specific scene descriptions. The performance of the ITE+DD model was compared against several competitive baselines, including Seq2Seq, HRED, and the Wizard Transformer.

Key Results

The ITE+DD model demonstrated substantial improvements over state-of-the-art baselines across multiple metrics.

Comparison of ITE+DD against baselines on automated and human evaluation metrics.

As shown in the results table, the ITE+DD model achieved a remarkably low Perplexity (PPL) of 15.11, compared to 70.30 for the Wizard Transformer. This indicates a much higher level of confidence in the model's predictions. Furthermore, human evaluations confirmed the model's superiority in both Context Coherence (0.90) and Knowledge Relevance (0.56). Notably, the model maintained high fluency scores (1.67), suggesting that the complexity of the two-pass decoder does not degrade the naturalness of the generated text.

Conclusion and Future Work

The "think twice" approach of the Deliberation Decoder significantly enhances the factual grounding of conversational agents. By separating the generation of a natural response from the integration of factual knowledge, the model avoids common pitfalls of single-pass architectures.

Future research directions include integrating document retrieval systems to handle large-scale knowledge bases, applying reinforcement learning to further optimize the deliberation process, and exploring methods to reduce the computational overhead associated with two-pass decoding for real-time applications.

Summary updated

BibTeX
@inproceedings{li2019incremental,
  author = {Zekang Li and Cheng Niu and Fandong Meng and Yang Feng and Qian Li and Jie Zhou},
  title = {{Incremental Transformer with Deliberation Decoder for Document Grounded Conversations}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1002},
}
Figure