DIALOGPT : Large-Scale Generative Pre-training for Conversational Response Generation

Yizhe Zhang, Siqi Sun, Michel Galley, Yen-Chun Chen, Chris Brockett, Xiang Gao, Jianfeng Gao, Jingjing Liu, Bill Dolan

TL;DR

Researchers have developed DIALOGPT, a large-scale, pre-trained transformer model for conversational response generation. Trained on a massive dataset of Reddit conversations, DIALOGPT achieves near-human performance in single-turn dialogue and generates more relevant, contentful, and context-consistent responses than previous models. The authors have released the model and training pipeline to foster further research in open-domain dialogue systems.

What Problem Does This Paper Address?

Generating natural, engaging, and contextually relevant responses in open-domain conversational AI remains a significant challenge. Existing models often struggle with content and style inconsistency, lack long-term contextual understanding, and produce bland or repetitive outputs. This is particularly difficult in conversational settings because a single prompt can have many valid responses, unlike tasks like machine translation where there's usually a single correct output. Furthermore, human conversations are often informal, noisy, and contain abbreviations or errors, making them harder to model.

Methods

DIALOGPT builds upon the GPT-2 transformer architecture, a powerful model known for its ability to generate realistic text. The key innovation lies in its training methodology:

  • Large-Scale Pre-training: DIALOGPT was trained on a massive dataset of 147 million Reddit comment chains, spanning from 2005 to 2017. This extensive, conversation-like data allows the model to learn the nuances of human dialogue.
  • Transformer Architecture: It utilizes a multi-layer self-attentive transformer, similar to GPT-2, which is effective at capturing long-term dependencies in text.
  • Conversational Framing: The model treats multi-turn dialogue sessions as a single long text, framing response generation as a language modeling task.
  • Mutual Information Maximization (MMI): To combat blandness and improve response diversity, the researchers incorporated an MMI scoring function. This involves using a backward model to predict the source sentence from a generated response, reranking hypotheses to penalize generic outputs.

Datasets

  • Training Data: The primary training dataset consists of approximately 147 million conversation-like exchanges extracted from Reddit comment chains, totaling 1.8 billion words. This data underwent significant filtering to remove URLs, repetitive phrases, non-English sentences, special markers, offensive language, and overly bland responses.
  • Evaluation Datasets:
    • DSTC-7: A benchmark dataset for dialogue system technology challenges, focusing on generating responses grounded in external knowledge.
  • New 6K Multi-reference Test Dataset: A custom dataset extracted from Reddit, designed for more robust evaluation.
  • Human Evaluation Data: A subset of the Reddit data was used for human evaluation, with judges assessing relevance, informativeness, and human-likeness.

Key Insights and Ideas

  • Reddit as a Rich Source: The paper demonstrates that large-scale, publicly available conversation data like Reddit can be effectively leveraged to train powerful conversational models, achieving near-human performance.
  • Transformer's Advantage: The transformer architecture's ability to handle long-range dependencies is crucial for maintaining context and consistency in multi-turn dialogues, outperforming RNN-based approaches.
  • MMI for Diversity: The MMI re-ranking strategy is effective in mitigating blandness and increasing response diversity, even if it slightly impacts BLEU scores.
  • Transformer's "Local Optima" Risk: The authors hypothesize that transformers, due to their strong representation power, might be prone to getting stuck in local optima during reinforcement learning training, leading to degenerate solutions like parroting.

Key Results

  • Automatic Evaluation: DIALOGPT, particularly the 345M parameter version with beam search, achieved state-of-the-art results on the DSTC-7 challenge and the new 6K Reddit multi-reference test set, often surpassing human references in automatic metrics like BLEU.
  • Human Evaluation: Human judges showed a strong preference for DIALOGPT (especially the MMI variant) over a baseline system (PersonalityChat) in terms of relevance, informativeness, and human-likeness. The "vanilla" DIALOGPT medium model was found to be close to human response quality.
  • Efficiency: The model and training pipeline are designed for efficiency, allowing for fine-tuning on custom datasets in a few hours.

Limitations and Future Work

  • Offensive Content Potential: Despite filtering, DIALOGPT retains the potential to generate offensive or biased output, reflecting historical biases present in the training data. The authors emphasize that this should not be construed as reflecting Microsoft's views.
  • Reinforcement Learning Challenges: The paper notes that reinforcement learning training for transformers can easily converge to degenerate solutions, and further investigation into regularized RL training is needed.
  • Future Directions: The authors suggest investigating reinforcement learning for improved relevance and to prevent egregious responses. They also highlight the need for further research into detecting and controlling toxic output. The release of the model and pipeline aims to facilitate research into these areas.

Summary updated

BibTeX
@misc{zhang2019dialogpt,
  author = {Yizhe Zhang and Siqi Sun and Michel Galley and Yen-Chun Chen and Chris Brockett and Xiang Gao and Jianfeng Gao and Jingjing Liu and Bill Dolan},
  title = {{DIALOGPT : Large-Scale Generative Pre-training for Conversational Response Generation}},
  year = {2019},
  eprint = {1911.00536},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.00536},
}
Figure