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.
- Next-Utterance Retrieval (NUR): Selecting the correct next utterance from a candidate set.
- Next-Utterance Generation (NUG): Generating the next utterance word-by-word.
- 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.
- 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.
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.
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