Self-Supervised Dialogue Learning

Jiawei Wu, Xin Wang, William Yang Wang

Introduction

Neural dialogue systems frequently suffer from two primary deficiencies: blandness and incoherence. Blandness manifests as generic, uninformative responses like "I don't know," while incoherence occurs when a system loses the contextual thread of a conversation. These issues often stem from standard training objectives that reward high-probability sequences, favoring safe but dull responses, and a failure to effectively model the sequential dependencies of long-term dialogue history.

To address these challenges, we introduce a novel self-supervised learning task called inconsistent order detection. By training a model to recognize when the chronological sequence of a conversation has been disrupted, we can capture the underlying semantic flow and logical dependencies essential for coherent dialogue.

The Inconsistent Order Detection Task

The core innovation lies in treating the sequential order of utterances as a fundamental signal of coherence. In this task, the model is presented with a "triple" of utterance pairs (three consecutive exchanges between a human and a machine). The model must then predict whether these pairs are in their original chronological order or if they have been shuffled. This binary classification task forces the network to learn the nuanced transitions and context-dependent relationships that define a natural conversation.

The SSN Architecture

To implement this task, we developed the Sampling-based Self-supervised Network (SSN). Unlike traditional models that attempt to encode an entire dialogue history—often leading to "forgetting" in long sequences—the SSN utilizes a sampling strategy. It selects reference triples from the past to represent context, effectively performing a Monte Carlo estimation of the full dialogue history.

Architecture of the Sampling-based Self-supervised Network (SSN).

As shown in Figure 1, the architecture consists of an Utterance Pair Encoder, which uses a bi-LSTM to transform exchanges into vectors, and an Order Reasoning Layer. This layer employs a 3-step bi-LSTM to analyze the flow between the three vectors in a triple. The SSN can be integrated into larger systems as a discriminator; in open-domain settings, it provides a reward signal to guide generators toward more coherent responses, while in task-oriented settings, it filters low-quality simulated experiences during reinforcement learning.

Experimental Results

We evaluated the SSN across two distinct scenarios: open-domain conversation using the OpenSubtitles dataset and task-oriented dialogue using a Movie-Ticket Booking dataset. The SSN demonstrated an intrinsic accuracy of 85.6% in detecting misordered triples, validating the effectiveness of the sampling strategy.

Human evaluation results comparing SSN to state-of-the-art baselines.

In human evaluations for open-domain dialogue (Figure 4), the SSN-based model significantly outperformed existing adversarial methods such as REGS and AEL. It was preferred over 70% of the time in single-turn tests and over 80% of the time in multi-turn tests. Furthermore, the model produced more diverse responses (higher distinct-n scores) without requiring explicit diversity-promoting penalties, suggesting that coherence naturally drives linguistic variety. In task-oriented scenarios, the SSN-enhanced agent achieved higher success rates and average rewards than standard baselines.

Conclusion

The inconsistent order detection task provides a powerful, self-supervised signal for improving dialogue coherence and diversity. By approximating dialogue history through triple sampling, the SSN avoids the computational and gradient issues of long-sequence encoding while achieving state-of-the-art results. Future work may explore the application of this temporal reasoning to other domains, such as document ordering or video sequence analysis.

Summary updated

BibTeX
@inproceedings{wu2019self,
  author = {Jiawei Wu and Xin Wang and William Yang Wang},
  title = {{Self-Supervised Dialogue Learning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1375},
}
Figure