On the Bayes Inconsistency of Disagreement Discrepancy Surrogates
Neil G. Marchant, Andrew C. Cullen, Feng Liu, Sarah M. Erfani
TL;DR
The paper tackles distribution shift by scrutinizing disagreement-discrepancy surrogates and revealing that common surrogates are not Bayes consistent. It introduces a principled decomposition and proves inconsistency for existing methods, then presents a new cross-entropy-based surrogate with a novel disagreement loss that is provably Bayes consistent for maximizing disagreement discrepancy. The authors validate the approach with extensive experiments on covariate-shift bounds and harmful-shift detection, showing improved estimation, robustness to adversarial targets, and higher statistical power. This work provides a solid theoretical foundation for reliable use of disagreement discrepancy in robustness analysis and shift-detection tasks, with practical benefits for real-world deployment under distribution shift.
Abstract
Deep neural networks often fail when deployed in real-world contexts due to distribution shift, a critical barrier to building safe and reliable systems. An emerging approach to address this problem relies on \emph{disagreement discrepancy} -- a measure of how the disagreement between two models changes under a shifting distribution. The process of maximizing this measure has seen applications in bounding error under shifts, testing for harmful shifts, and training more robust models. However, this optimization involves the non-differentiable zero-one loss, necessitating the use of practical surrogate losses. We prove that existing surrogates for disagreement discrepancy are not Bayes consistent, revealing a fundamental flaw: maximizing these surrogates can fail to maximize the true disagreement discrepancy. To address this, we introduce new theoretical results providing both upper and lower bounds on the optimality gap for such surrogates. Guided by this theory, we propose a novel disagreement loss that, when paired with cross-entropy, yields a provably consistent surrogate for disagreement discrepancy. Empirical evaluations across diverse benchmarks demonstrate that our method provides more accurate and robust estimates of disagreement discrepancy than existing approaches, particularly under challenging adversarial conditions.
