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) is a challenging task in natural language processing where a dialogue system must generate responses that are both contextually coherent and factually grounded in a provided document. While standard dialogue systems excel at casual "chit-chat," they often struggle to integrate external knowledge seamlessly. Common issues include "hallucinations"—where the model invents facts—and a loss of conversational thread when trying to incorporate document snippets. Existing approaches often simply concatenate the document to the conversation history, leading to noisy and often incoherent outputs.

Proposed Methodology: ITE and DD

To address these challenges, researchers have proposed a novel architecture featuring two primary innovations: the Incremental Transformer Encoder (ITE) and the Deliberation Decoder (DD).

Incremental Transformer Encoder (ITE)

Unlike traditional models that process the entire conversation history as a single block, the ITE encodes the dialogue turn-by-turn. This incremental approach maintains a "running state" of the conversation, which is both logically sound and computationally efficient. For each new utterance, the encoder utilizes four specialized sub-layers to integrate information:

  • Self-Attention: Captures the internal structure of the current utterance.
  • Knowledge Attention: Extracts relevant information from the external document.
  • Context Attention: Links the current utterance to the preceding conversation state.
  • Feed-Forward Network: Synthesizes the combined representations.

Deliberation Decoder (DD)

The Deliberation Decoder mimics the human cognitive process of "thinking before speaking" through a two-pass generation strategy.

  1. First Pass (Drafting): The decoder generates a preliminary response focused on contextual coherence, ensuring the output flows naturally from the previous turn.
  2. Second Pass (Refining): This pass takes the initial draft and the document knowledge to produce the final response. It focuses on knowledge correctness, polishing details and ensuring factual accuracy.
The overall architecture of the proposed model, highlighting the Incremental Transformer Encoder and the two-pass Deliberation Decoder.

Experimental Evaluation

The model was evaluated using the Document Grounded Conversations Dataset, which consists of approximately 73,000 utterances centered on movie discussions. The dataset requires models to navigate casual conversation while accurately discussing movie casts, ratings, and plot points provided in text snippets.

Key Results

The proposed ITE+DD model demonstrated superior performance over state-of-the-art baselines, including the Wizard Transformer.

Comparison of the proposed ITE+DD model against various baselines across multiple 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. It also saw significant gains in BLEU scores (0.95 vs. 0.66). Human evaluations further confirmed these findings, with the model scoring 0.90 for Context Coherence and 0.56 for Knowledge Relevance, substantially outperforming the baseline's scores of 0.56 and 0.47, respectively.

Discussion and Future Work

The "draft and polish" strategy of the Deliberation Decoder proved highly effective. Qualitative analysis showed that the second pass frequently corrected factual errors made during the initial drafting phase, such as misidentifying character names or plot details.

While the current results are promising, several avenues for future research remain. The model is currently trained using maximum likelihood estimation; incorporating Reinforcement Learning could potentially enhance the "interestingness" and long-term strategic flow of conversations. Additionally, testing the model's scalability to more complex, technical, or multi-document sources is a necessary next step. Finally, the computational overhead of a two-pass decoder must be optimized for real-time deployment.

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