Alternating Recurrent Dialog Model with Large-scale Pre-trained Language Models

Zhou Yu, Qingyang Wu, Yichi Zhang, Yu Li, Zhou Yu 0005

Introduction

Building intelligent conversational agents typically requires significant "scaffolding" in the form of human-annotated belief states (tracking user goals) and dialog acts (categorizing intent). While effective, this approach is costly, difficult to scale, and often task-specific. The Alternating Recurrent Dialog Model (ARDM) addresses these challenges by learning directly from raw conversation data while maintaining the distinct roles of "User" and "System."

Methodology

The core of the framework is the Alternating Recurrent Dialog Model (ARDM). Instead of treating a dialog as a monolithic document, ARDM decomposes the probability of a dialog into alternating turns between two distinct language models: a User LM and a System LM. Both are initialized from a pre-trained GPT-2 model.

Overview of the ARDM framework, including the alternating turn structure and memory recurrence mechanism.

Key technical features include:

  • Alternating Recurrence: Explicitly modeling user and system utterance distributions separately to prevent speaker role "blending" often seen in standard fine-tuning.
  • Memory Recurrence: Utilizing a Transformer-XL-inspired memory bank to store hidden states (keys and values) from previous turns. This allows for efficient long-range context handling without recomputing every token at every turn.
  • Zero-Shot Triggers: Using specific tokens (e.g., "A:" for user, "B:" for system) to signal turn transitions, aligning with the formatting used during GPT-2's original training.

Experimental Setup

The model was evaluated on three diverse datasets to test its versatility:

  1. CamRest676: A traditional restaurant booking dataset.
  2. MultiWOZ: A large-scale, multi-domain task-oriented benchmark.
  3. PersuasionForGood: A complex dataset involving non-collaborative persuasion tasks, where a "persuader" tries to convince a "persuadee" to donate to charity.

Results and Discussion

ARDM demonstrates that large pre-trained models can implicitly learn belief states from raw text, removing the need for explicit tracking labels. Role separation proves crucial for maintaining distinct agent personalities and goals.

Performance comparison on the CamRest676 dataset. ARDM achieves superior results even with significantly less training data.

On CamRest676, ARDM set a new state-of-the-art with a BLEU-4 score of 26.2. Notably, ARDM trained on only 50% of the data still outperformed previous models like Sequicity that used the full dataset. On MultiWOZ, ARDM performed competitively with models using manual annotations (like HDSA), proving the viability of the annotation-free approach. In the PersuasionForGood task, human evaluators preferred ARDM responses 65.3% of the time, and the model successfully elicited higher average donations ($0.807 vs $0.538) compared to baselines.

Conclusion and Future Work

ARDM provides a scalable, annotation-free approach to dialog modeling that leverages the power of pre-trained language models. While highly effective, future work could integrate Reinforcement Learning (RL) to better align the model's fluency-based training with specific task completion goals. Additionally, the success in persuasion tasks highlights ethical considerations regarding the potential for misuse, necessitating transparency and clear identification of AI agents to users.

Summary updated

BibTeX
@inproceedings{yu2021alternating,
  author = {Zhou Yu and Qingyang Wu and Yichi Zhang and Yu Li and Zhou Yu},
  title = {{Alternating Recurrent Dialog Model with Large-scale Pre-trained Language Models}},
  booktitle = {EACL},
  year = {2021},
  doi = {10.18653/v1/2021.eacl-main.110},
}
Figure