FutureTOD: Teaching Future Knowledge to Pre-trained Language Model for Task-Oriented Dialogue

Weihao Zeng, Keqing He, Yejie Wang, Chen Zeng, Jingang Wang, Yunsen Xian, Weiran Xu

Introduction

Task-Oriented Dialogue (TOD) systems, such as digital assistants, require a deep understanding of conversational context to effectively assist users. While general-purpose pre-trained language models (PLMs) like BERT have revolutionized NLP, they often struggle with the specific linguistic nuances of dialogue. To address this, researchers have frequently employed Contrastive Learning (CL). CL aims to align representations of semantically similar pairs (e.g., context and its actual response) while distancing dissimilar ones.

However, CL in the context of dialogue is plagued by two primary issues: false positives and sampling noise. Consecutive utterances do not always share semantic meaning, and selecting effective "hard negatives" is notoriously difficult. FutureTOD addresses these challenges by introducing a non-contrastive self-training framework that leverages "future knowledge" as a supervision signal.

Comparison of traditional Contrastive Learning (CL) and the proposed FutureTOD self-training framework.

Methodology: The FutureTOD Framework

The core philosophy of FutureTOD is that a robust dialogue representation should be predictive of the conversation's trajectory. Instead of contrasting against random negatives, the model learns by distilling knowledge from a "Teacher" that has access to the future.

Student-Teacher Architecture

The framework utilizes two identical BERT-base models:

  1. Student Model: Receives only the current dialogue context ($C$).
  2. Teacher Model: Receives the current context plus subsequent "future" utterances ($C+F$).

The Student is trained to minimize the Mean Squared Error (MSE) between its representations and those of the Teacher. Unlike standard distillation that focuses on the final output, FutureTOD performs distillation across all 12 layers of the transformer. This ensures that the Student captures both low-level linguistic features and high-level semantic concepts influenced by future information.

Detailed architecture of FutureTOD illustrating the multi-layer distillation process and the dual objective (Distillation + MLM).

Self-Training and Objectives

The Teacher is not a static model; it is periodically updated with the Student's weights. This self-training loop allows the Teacher to provide increasingly refined targets as the Student's understanding improves. To maintain general language capabilities, the Student also optimizes a standard Masked Language Modeling (MLM) loss alongside the distillation objective.

Experimental Setup and Results

FutureTOD was pre-trained on a diverse corpus of over 100,000 dialogues from 9 public TOD datasets, including MultiWOZ (MWOZ), MetaLWOZ, and Taskmaster. The model's performance was evaluated across four critical downstream tasks: Intent Recognition, Dialogue State Tracking (DST), Dialogue Act Prediction, and Response Selection.

FutureTOD demonstrated superior performance compared to established baselines like TOD-BERT and DSE:

  • Dialogue State Tracking (DST): FutureTOD achieved a Joint Goal Accuracy of 50.4% on MWOZ 2.1, a significant improvement over TOD-BERT's 48.0%.
  • Few-Shot Learning: In data-constrained scenarios, the model showed high efficiency. For 1-shot intent recognition, it reached 43.1% accuracy, outperforming BERT-mlm (38.9%).
  • Out-of-Domain (OOD) Robustness: The model generalized better to unexpected inputs, improving OOD recall to 47.6% from TOD-BERT's 43.6%.

Conclusion

FutureTOD represents a shift away from the noise-prone nature of contrastive learning in dialogue pre-training. By treating the future of a conversation as a rich source of supervision, the framework produces representations that are both discriminative and predictive. Future work may explore extending this "future-teaching" paradigm to generative tasks and investigating more complex teacher-student configurations.

Summary updated

BibTeX
@inproceedings{zeng2023futuretod,
  author = {Weihao Zeng and Keqing He and Yejie Wang and Chen Zeng and Jingang Wang and Yunsen Xian and Weiran Xu},
  title = {{FutureTOD: Teaching Future Knowledge to Pre-trained Language Model for Task-Oriented Dialogue}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.360},
}
Figure