GOLD: Improving Out-of-Scope Detection in Dialogues using Data Augmentation

Derek Chen, Zhou Yu

Introduction

In modern dialogue systems, the ability to identify when a user has gone "off-script" is as crucial as handling known intents. This capability, known as Out-of-Scope (OOS) detection, prevents systems from providing confident but irrelevant responses to queries they were never trained to handle. However, training robust OOS detectors is notoriously difficult because the space of "everything else" is infinite, making manual data collection prohibitively expensive.

This paper introduces GOLD (Generating Out-of-scope Labels with Data augmentation), a framework that shifts the focus from modeling known distributions to actively augmenting the unknown. By leveraging a tiny seed set of OOS examples and a large pool of unlabeled external data, GOLD achieves significant performance improvements across multiple benchmarks.

The Challenge of Out-of-Scope Detection

Most existing OOS detection methods are "indirect": they model the distribution of In-Scope (INS) data and treat any input that falls outside this distribution as an outlier. While effective for obvious domain shifts, these methods often fail on "near-scope" examples—sentences that are linguistically similar to training data but semantically distinct. Direct classification, which treats OOS as a separate class, is generally more robust but requires large amounts of labeled OOS data, which is rarely available in real-world scenarios.

The GOLD Framework

GOLD addresses the data scarcity problem through a three-stage data augmentation pipeline designed to generate high-quality pseudo-labeled OOS examples.

Conceptual overview of the GOLD augmentation process, showing how seed OOS examples are used to extract similar utterances from a source pool to create new pseudo-OOS dialogues.
  1. Match Extraction: The process begins with a small "seed set" of known OOS examples (typically only 1% of the size of the INS training set). GOLD searches a large external "source pool" (e.g., Quora, PersonaChat) to find utterances semantically similar to these seeds.
  2. Candidate Generation: The system generates new pseudo-OOS dialogues by taking existing OOS seed conversations and replacing the user turns with the similar utterances retrieved from the source pool.
  3. Target Election: To ensure the quality of the generated data, GOLD employs a filtering mechanism. An ensemble of baseline OOS detectors (such as MaxProb and Mahalanobis distance) evaluates each candidate. A generated example is only added to the final training set if a majority of these baseline models agree it is truly Out-of-Scope.

Experimental Setup

The researchers evaluated GOLD on three diverse dialogue benchmarks: STAR (multi-domain task-oriented), FLOW (calendar management), and ROSTD (high-precision OOD recognition). They tested various matching techniques for the extraction phase, including high-precision models like SentenceRoBERTa and simpler methods like GloVe and TF-IDF.

Results and Discussion

GOLD consistently outperformed all baseline methods across all metrics, including AUROC, AUPR, and False Positive Rate (FPR).

Detailed performance comparison of GOLD variants against various baselines and an Oracle model across three datasets.

Key Findings

  • Massive Performance Gains: GOLD achieved relative performance gains of over 50% compared to median baseline performance across the three benchmarks. On the ROSTD dataset, GOLD reached a near-perfect AUROC of 0.9990.
  • The Paraphrase Paradox: Interestingly, using highly precise paraphrase models for match extraction actually hindered performance. These models produced data too similar to the seed set, leading to overfitting. "Looser" matching techniques like GloVe and TF-IDF provided the diversity necessary for the model to generalize to the broader OOS space.
  • Efficiency: Despite using a minimal seed set, GOLD-trained models approached the performance of "Oracle" models that had access to full, human-labeled OOS training sets.

Conclusion

GOLD demonstrates that augmenting the "outside" (OOS) is more effective for detection than traditional methods that focus on sharpening the boundary of the "inside" (INS). By prioritizing diversity over strict precision in its augmentation pipeline, GOLD provides a scalable and highly effective solution for building dialogue systems that truly know what they don't know.

Summary updated

BibTeX
@inproceedings{chen2021gold,
  author = {Derek Chen and Zhou Yu},
  title = {{GOLD: Improving Out-of-Scope Detection in Dialogues using Data Augmentation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.35},
}
Figure