Abstract
Traditional evaluation of dialogue systems often relies on binary "in-distribution vs. out-of-distribution" testing, which fails to capture the nuanced degradation of performance in real-world settings. This paper introduces two novel methods—Unknown Word (UW) and Insufficient Context (IC)—to simulate the gradual distributional shifts encountered in natural conversations. Our findings demonstrate that as these shifts intensify, model accuracy and calibration significantly deteriorate. Among the evaluated strategies, deep ensembles emerge as the most robust defense for maintaining predictive reliability.
Introduction
While dialogue models perform well on clean, curated datasets, they often struggle in "the wild" where users employ slang, technical jargon, or join conversations mid-stream. Most existing research evaluates predictive uncertainty—a model's ability to gauge its own confidence—using coarse domain shifts. This study argues for a more granular approach, examining how a model's performance and confidence scores degrade incrementally as inputs become increasingly corrupted or incomplete.
Methodology
To simulate realistic conversational noise, the authors propose two corruption strategies applied to the DailyDialog dataset:
- Unknown Word (UW): Simulates vocabulary gaps by replacing words in the dialogue context with synonyms from WordNet that were absent from the training set. The intensity is controlled by a Replacement Ratio and Word Importance, the latter determined by BERT attention weights.
- Insufficient Context (IC): Simulates missing information by sequentially deleting the earliest sentences in a dialogue chain, leaving only the turns closest to the target response. This is governed by a Deletion Ratio.
These shifts were tested against four BERT-based response ranker variants: a Vanilla model, a Dropout model (using Monte Carlo Dropout), Deep Ensembles (averaging five models), and Temperature Scaling (a post-hoc calibration method).
Key Results and Discussion
The Fragility of Calibration
Experimental results indicate that calibration is highly sensitive to distributional shifts. A model well-calibrated on standard test data often loses this alignment as soon as the input distribution shifts. For instance, the Vanilla model's Expected Calibration Error (ECE) spiked from 0.035 to 0.259 under heavy word-replacement shifts.
Impact of Word Importance and Context
Not all corruptions are equal. Replacing words with high attention weights causes a much sharper decline in accuracy than replacing filler words. Interestingly, reducing context length (IC) proved less damaging to calibration than replacing words (UW), suggesting that while missing context makes the task harder, it is less likely to "confuse" the model's internal confidence than encountering unknown vocabulary.
Robustness of Ensembles
Deep Ensembles consistently outperformed other methods across all metrics. Under an extreme 50% word replacement shift, the Ensemble model maintained 48.7% accuracy and an ECE of 0.183, significantly higher than the Vanilla and Dropout variants. While Temperature Scaling did not improve raw accuracy, it remained a computationally efficient way to keep ECE low, preserving model reliability.
Conclusion
This research highlights the necessity of evaluating dialogue systems under granular distributional shifts. While deep ensembles provide the best protection against performance decay, the fragility of model calibration under shift remains a significant challenge for deploying reliable dialogue agents. Future work should extend these evaluations to larger generative models and specialized technical domains to further validate these proxy corruption strategies.
Summary updated