BootTOD: Bootstrap Task-oriented Dialogue Representations by Aligning Diverse Responses

Weihao Zeng, Keqing He, Yejie Wang, Dayuan Fu, Weiran Xu

Abstract

Pre-trained language models have been successful in many scenarios. However, their usefulness in task-oriented dialogues (TOD) is limited due to the intrinsic linguistic differences between general text and task-oriented dialogues. Current TOD pre-training methods rely on a contrastive framework, which faces challenges such as selecting true positives and hard negatives, as well as lacking diversity. In this paper, we propose a novel dialogue pre-training model called BootTOD. It learns task-oriented dialogue representations via a self-bootstrapping framework. Unlike contrastive counterparts, BootTOD aligns context and context+response representations and dismisses the requirements of contrastive pairs. BootTOD also uses multiple appropriate response targets to model the intrinsic one-to-many diversity of human conversations. Experimental results show that BootTOD outperforms strong TOD baselines on diverse downstream dialogue tasks.

The Challenges of Contrastive Learning in Dialogue

Most existing Task-Oriented Dialogue (TOD) models utilize Contrastive Learning (CL) to learn representations. In this paradigm, the model is trained to pull "positive" pairs (a context and its actual response) closer in the embedding space while pushing "negative" pairs (a context and a random response from another conversation) apart.

However, this approach suffers from two significant limitations:

  1. The False Negative Trap: In dialogue, a response sampled from a different conversation might still be a valid continuation for the current context. Forcing the model to treat these as "wrong" introduces noise and degrades representation quality.
  2. The One-to-Many Nature of Conversation: Human dialogue is inherently diverse. A single user utterance can be met with multiple valid system responses depending on the underlying logic or strategy. Standard contrastive methods struggle to model this "one-to-many" property because they typically focus on a single ground-truth pair.
The one-to-many nature of task-oriented dialogue, where a single user request can lead to multiple valid system responses.

The BootTOD Architecture

BootTOD addresses these issues by moving away from contrastive learning toward a self-bootstrapping architecture, inspired by vision models like BYOL. Instead of relying on negative samples, BootTOD focuses on aligning the representation of a dialogue context ($C$) with the representation of the context combined with its response ($C+R$).

The Alignment Mechanism

The core of BootTOD is a dual-encoder setup using a shared BERT backbone. To prevent the model from "collapsing"—a common failure mode in non-contrastive learning where the model outputs a constant value—the framework employs two key components:

  • Predictor MLP Head: Applied to the context side to transform the representation.
  • Stop-Gradient Operation: Applied to the target ($C+R$) side. This forces the context-only encoder to "predict" the information contained in the future response without allowing the target side to simply move toward the context.
The BootTOD architecture: aligning context representations with context+response representations using a predictor and stop-gradient mechanism.

Modeling Diversity and Multi-Layer Alignment

To handle the one-to-many problem, BootTOD does not just look at the immediate next turn. During pre-training, it randomly selects different lengths of consecutive future utterances as targets. This teaches the model that multiple future paths are valid. Furthermore, rather than just aligning the final output layer, BootTOD aligns representations across multiple BERT layers, ensuring the capture of both low-level linguistic features and high-level dialogue semantics.

Experimental Evaluation

The model was pre-trained on a collection of nine task-oriented dialogue datasets, including MultiWOZ and Schema-Guided Dialogue. Evaluation spanned several critical tasks:

  • Intent Recognition: Using the OOS (Out-of-Scope) dataset.
  • Dialogue State Tracking (DST): Using MultiWOZ 2.1.
  • Response Selection: Using MultiWOZ 2.1 and DSTC2.

Key Results

BootTOD consistently outperformed strong baselines like TOD-BERT, DSE, and SimCSE across various metrics:

  • Few-Shot Performance: In 1-shot intent recognition, BootTOD achieved 44.0% accuracy, surpassing TOD-BERT (42.5%). In 1% data settings for response selection on MultiWOZ, it reached 37.0% (1-to-100), nearly tripling the performance of BERT-mlm (13.0%).
  • Dialogue State Tracking: On the full MultiWOZ 2.1 dataset, it achieved a 50.7% Joint Goal Accuracy, a significant improvement over previous state-of-the-art TOD pre-training models (48.0%).
  • Generalization: The model demonstrated superior "Recall (out)" on the OOS dataset, indicating a better ability to identify when a user's request falls outside the system's domain.

Conclusion

BootTOD demonstrates that negative samples are not a prerequisite for learning robust dialogue representations. By focusing on alignment and embracing the inherent diversity of human conversation, BootTOD sets a new standard for task-oriented dialogue pre-training, particularly in data-scarce scenarios. Future work may explore scaling these techniques to larger generative architectures or integrating them with reinforcement learning for dialogue policy optimization.

Summary updated

BibTeX
@inproceedings{zeng2024boottod,
  author = {Weihao Zeng and Keqing He and Yejie Wang and Dayuan Fu and Weiran Xu},
  title = {{BootTOD: Bootstrap Task-oriented Dialogue Representations by Aligning Diverse Responses}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=i91xlFXHc0},
}
Figure