π€ AI Summary
Existing out-of-distribution detection methods often overlook either the task sensitivity of models or the geometric structure of data, limiting their ability to accurately characterize the practical impact of distributional shifts on model performance. This work proposes TASTE, a novel framework that, for the first time, integrates Stein operators into task-aware distribution shift detection. By modeling an input sensitivity field and combining it with geometric projections of the data distribution, TASTE enables theoretically grounded, coordinate-level shift localization and pixel-level interpretable diagnosis. Empirical evaluations on Gaussian shifts, MNIST geometric perturbations, and CIFAR-10 corruption benchmarks demonstrate that TASTEβs detection outputs align closely with actual model performance degradation, significantly outperforming current state-of-the-art methods.
π Abstract
Out-of-distribution detection methods are often either data-centric, detecting deviations from the training input distribution irrespective of their effect on a trained model, or model-centric, relying on classifier outputs without explicit reference to data geometry. We propose TASTE (Task-Aware STEin operators): a task-aware framework based on so-called Stein operators, which allows us to link distribution shift to the input sensitivity of the model. We show that the resulting operator admits a clear geometric interpretation as a projection of distribution shift onto the sensitivity field of the model, yielding theoretical guarantees. Beyond detecting the presence of a shift, the same construction enables its localisation through a coordinate-wise decomposition, and for image data-provides interpretable per-pixel diagnostics. Experiments on controlled Gaussian shifts, MNIST under geometric perturbations, and CIFAR-10 perturbed benchmarks demonstrate that the proposed method aligns closely with task degradation while outperforming established baselines.