NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Pretraining Methods for Dialog Context Representation Learning

Shikib Mehri, Evgeniia Razumovskaia, Tiancheng Zhao, Maxine Eskénazi

Introduction

Traditional NLP pretraining, exemplified by models like BERT and GPT, typically treats language as a linear sequence of tokens. While highly effective for general language understanding, this approach often overlooks the structural nuances of human conversation. Dialog is inherently interactive, characterized by turn-taking, evolving user goals (belief states), and cross-turn references. To address this, we explore pretraining objectives specifically designed to capture discourse-level relationships in multi-turn exchanges.

Methodology

We evaluate four unsupervised pretraining objectives using a hierarchical encoder architecture, which employs biLSTMs to encode individual utterances and aggregate them into a coherent context representation.

  1. Next-Utterance Retrieval (NUR): Selecting the correct next utterance from a candidate set.
  2. Next-Utterance Generation (NUG): Generating the next utterance word-by-word.
  3. Masked-Utterance Retrieval (MUR): A novel objective where a model must retrieve an original utterance that was replaced by a random distractor within a dialog context.
  4. Inconsistency Identification (InI): A novel objective requiring the model to identify the index of a randomly replaced utterance in the context.

Pretraining was conducted on the MultiWoz dataset, a multi-domain corpus of over 10,000 dialogs. The resulting context encoder weights were then fine-tuned on downstream tasks including Belief State Prediction (BSP), Dialog Act Prediction (DAP), and response prediction.

Key Insights

Generation as a Superior Teacher

A primary finding is that Next-Utterance Generation (NUG) serves as a particularly effective pretraining task. Because generating a response is more complex than simple retrieval, it forces the model to develop a richer, more "general" representation of the dialog context. This is evidenced by NUG's superior performance across various evaluation metrics.

Figure 2: Hits@1 for NUR across training epochs, showing NUG's consistent lead over other pretraining methods.

Discourse vs. Word-Level Features

While discourse-level pretraining significantly improved most tasks, it showed limited impact on Belief State Prediction (BSP). BSP often relies on precise word-level matching (e.g., identifying specific slot values like "cheap"), whereas our objectives focus on high-level semantic flow. This suggests that optimal dialog models may require a combination of discourse-level and word-level (e.g., standard MLM) pretraining.

Performance in Low-Data Regimes

The advantages of dialog-specific pretraining are most pronounced when labeled data is scarce. In scenarios with very limited training examples, pretrained models—particularly those using NUG—demonstrate a massive performance gap over randomly initialized baselines.

Figure 3: Performance on the NUR task across different training set sizes, highlighting the robustness of pretrained models in low-data scenarios.

For instance, with only 1% of the training data, the NUG-pretrained model achieved a BLEU score of 11.29, nearly doubling the baseline's 6.82. Furthermore, in few-shot domain generalization tests (e.g., transferring to a restaurant domain with 50 examples), NUR pretraining improved BSP F1 from 4.07 to 19.64.

Conclusion

Shifting pretraining focus from flat text to structured dialog discourse leads to faster convergence and better generalization. While hierarchical biLSTMs were the focus here, these discourse-level objectives provide a blueprint for enhancing more modern Transformer-based architectures. Future work should investigate scaling these objectives to massive, unlabelled conversational datasets from platforms like Reddit or Twitter.

Summary updated

BibTeX
@inproceedings{mehri2019pretraining,
  author = {Shikib Mehri and Evgeniia Razumovskaia and Tiancheng Zhao and Maxine Eskénazi},
  title = {{Pretraining Methods for Dialog Context Representation Learning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1373},
}
Figure