"None of the Above": Measure Uncertainty in Dialog Response Retrieval

Yulan Feng, Shikib Mehri, Maxine Eskénazi, Tiancheng Zhao

Introduction

End-to-end (E2E) dialog response retrieval systems are designed to select the most appropriate response from a candidate set given a conversation history. However, most existing models operate under a "closed-world" assumption, presuming the ground truth is always present. In production environments, this is rarely guaranteed. When faced with out-of-scope or low-confidence scenarios, systems often become "overconfident," selecting the best-looking distractor rather than acknowledging that no suitable response exists. This paper addresses this gap by introducing the "None of the Above" (NOTA) task to measure and manage model uncertainty.

Methodology

The researchers employed a standard Dual LSTM Encoder as the base retrieval architecture, which calculates compatibility scores between context and response vectors via dot products. To address the NOTA condition, four primary strategies were evaluated:

  1. Direct Prediction: Training the model with a dedicated _NOTA token within the candidate set.
  2. Thresholding: Rejecting responses whose scores (logits or softmax probabilities) fall below a fixed threshold.
  3. Monte Carlo Dropout: Estimating Bayesian uncertainty by measuring score variance across multiple inference passes with dropout enabled.
  4. Logistic Regression (LogReg) Wrapper: A proposed "set-wise" approach where a simple logistic regression layer is trained on the raw scores (logits) of all candidates simultaneously. This allows the model to learn the relationship between candidates; for instance, if all scores are low or indistinguishable, the LogReg layer can trigger a NOTA response.

A critical technical distinction is the use of raw logits over softmax probabilities. While softmax squashes distributions into a relative range, raw logits preserve the absolute magnitude of the model's confidence, providing a clearer signal for out-of-distribution detection.

Experimental Results

Evaluation was conducted using the Ubuntu Dialog Corpus. A modified test set was created where the ground truth was removed and replaced with a _NOTA token in 50% of the cases. The models were also tested against varying numbers of distractors (from 2 to 100) to assess scalability.

Performance and Scalability

The proposed LogReg approach using logits consistently outperformed all other methods. On the 10-candidate task, the LogReg method achieved an average F1 score of 87.76%, a dramatic improvement over the 60.14% achieved by direct prediction. Furthermore, while standard LSTM performance degraded as the number of distractors increased to 100, the LogReg wrapper remained remarkably stable.

ROC Analysis

The impact of the LogReg wrapper is most evident in the Receiver Operating Characteristic (ROC) curves. Standard thresholding methods achieved a baseline Area Under the Curve (AUC) of approximately 0.71. In contrast, the LogReg wrapper boosted the AUC to 0.91, indicating a significantly higher capability to distinguish between "ground truth present" and "NOTA" scenarios.

ROC curves for baseline thresholding methods, showing a baseline AUC of approximately 0.71.

Key Insights

  • Set-wise vs. Point-wise: Uncertainty is best measured by considering the entire candidate set. The relative "goodness" of a response compared to its peers is a stronger signal for NOTA detection than its isolated score.
  • The NOTA Training Trade-off: Training a model specifically to recognize a NOTA token can improve detection but often degrades the model's primary retrieval recall. The authors recommend training a high-quality standard retrieval model and applying the LogReg wrapper as a post-processing step.

Conclusion

This work demonstrates that simple, set-wise uncertainty modeling can significantly improve the robustness of dialog retrieval systems. While the current study focuses on LSTMs and technical support data, future research should explore the applicability of this method to Transformer-based architectures and more diverse, open-domain conversational datasets.

Summary updated

BibTeX
@inproceedings{feng2020none,
  author = {Yulan Feng and Shikib Mehri and Maxine Eskénazi and Tiancheng Zhao},
  title = {{"None of the Above": Measure Uncertainty in Dialog Response Retrieval}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.182},
}
Figure