A Tailored Pre-Training Model for Task-Oriented Dialog Generation

Jing Gu, Qingyang Wu, Chongruo Wu, Weiyan Shi, Zhou YuarXiv 2020

Abstract

The recent success of large pre-trained language models such as BERT and GPT-2 has suggested the effectiveness of incorporating language priors in downstream dialog generation tasks. However, the performance of pre-trained models on the dialog task is not as optimal as expected. In this paper, we propose a Pre-trained Role Alternating Language model (PRAL), designed specifically for task-oriented conversational systems. We model two speakers separately and design several techniques, such as start position randomization, knowledge distillation, and history discount to improve pre-training performance. We introduce a task-oriented dialog pretraining dataset by cleaning 13 existing data sets. The results show that PRAL performs better or on par with state-of-the-art methods across three distinct downstream tasks.

Introduction

While large-scale language models like GPT-2 have revolutionized natural language processing, applying them to task-oriented dialog (e.g., booking a hotel or persuading someone to donate to charity) remains a significant challenge. General-purpose models often struggle with four main hurdles in conversational contexts:

  1. Role Confusion: Most models use a single language model for both parties, ignoring that users and systems have distinct linguistic styles and objectives.
  2. Data Scarcity: High-quality, multi-domain dialog data is much harder to find than general web text.
  3. Position Bias: GPT-2 uses fixed-length position embeddings. Since most dialogs are short, models often overfit to the beginning of a sequence and fail to generalize to different conversation lengths.
  4. Catastrophic Forgetting: Fine-tuning a general model on a specific dialog dataset often causes it to "forget" the broad commonsense knowledge learned during initial pre-training.

The PRAL Framework

To address these issues, we propose PRAL, which builds on the Alternating Roles Dialog Model (ARDM) architecture. PRAL is specifically tailored to the nuances of human-computer interaction through several key innovations.

Role-Alternating Architecture

Instead of a monolithic model, PRAL utilizes two separate GPT-2 Small instances—a User LM and a System LM. This separation allows the framework to capture the unique linguistic patterns and goals of each participant. The User LM focuses on modeling user intent and variability, while the System LM focuses on providing helpful, task-oriented responses.

The PRAL architecture featuring separate User and System LMs supervised by a Teacher GPT via knowledge distillation.

Knowledge Distillation from Teacher GPT

To prevent catastrophic forgetting, we employ a fixed "Teacher" (GPT-2 Large) to provide continuous supervision. During pre-training, the student models (User and System LMs) are trained to minimize the KL divergence between their output distributions and the teacher's. This ensures that while the models specialize in dialog, they retain the rich language priors and commonsense knowledge of the larger base model.

Start Position Randomization (SPR)

To break the rigid link between specific words and their absolute positions in a sequence, we introduce Start Position Randomization. By randomizing the starting index of a dialog within GPT’s 1024-token window, we force the model to learn the semantic meaning of the text rather than relying on its typical location in a training sequence. This significantly improves the model's robustness and generalization.

History Discount

Conversations naturally grow in complexity as they progress. PRAL implements a history discount factor ($\gamma^{U-u}$) to give more weight to later utterances. This emphasizes the importance of recent context and long-term conversational goals over initial greetings.

Datasets and Evaluation

We introduced PretrainDial, a cleaned and unified collection of 13 existing dialog datasets (including CCPE-M, DailyDialog, and the Reddit Corpus), containing approximately 142,000 dialogues. We evaluated PRAL on three distinct downstream tasks:

  • CamRest676: A dataset for restaurant recommendations.
  • MultiWOZ: A large-scale, multi-domain dataset involving hotels, trains, and more.
  • PersuasionForGood: A non-collaborative dataset where the system attempts to persuade a human to donate to charity.

Experimental Results

PRAL consistently outperformed or matched state-of-the-art (SOTA) models across all benchmarks, demonstrating the effectiveness of role-specific pre-training.

Comprehensive results for PRAL on CamRest676, MultiWOZ, and PersuasionForGood datasets.

Key Findings

  • State-of-the-Art Performance: On CamRest676, PRAL achieved a BLEU-4 score of 27.3 and a Success F1 of 0.870, surpassing the previous ARDM baseline.
  • Unsupervised Success: On MultiWOZ, PRAL achieved a BLEU-4 of 21.6, significantly outperforming the LaRL baseline (12.8) despite using zero manual annotations for dialog states or acts.
  • Human-Like Persuasion: In the PersuasionForGood task, human evaluators gave PRAL an "Overall" score of 0.82, a massive improvement over ARDM’s 0.18. It also achieved a higher average donation rate (0.99 vs 0.62), indicating more coherent and persuasive behavior.
  • Ablation Insights: Ablation studies confirmed that Knowledge Distillation was the most impactful feature. Without the Teacher GPT, performance dropped significantly, proving that specialized models still benefit from general-purpose roots.

Conclusion

PRAL demonstrates that for task-oriented dialog, the nature and structure of pre-training matter as much as the volume of data. By decoupling speaker roles and utilizing a teacher-student distillation framework, PRAL achieves superior performance with a fraction of the data used by larger models like DialoGPT. Future work will explore extending this architecture to multi-party conversations and further reducing the gap between unsupervised models and those using explicit state supervision.

Summary updated

BibTeX
@misc{gu2020tailored,
  author = {Jing Gu and Qingyang Wu and Chongruo Wu and Weiyan Shi and Zhou Yu},
  title = {{A Tailored Pre-Training Model for Task-Oriented Dialog Generation}},
  year = {2020},
  eprint = {2004.13835},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.13835},
}
Figure