TASTE: Task-Aware Out-of-Distribution Detection via Stein Operators
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.
Empirical ResultsBrowse all benchmarks →
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| iSUN | TASTE | FPR95 | 0.5901-0.06 vs baseline | in-distribution=CIFAR-10Source quoteL1634: FPR95 │ 0.7848 │ 0.6455 │ 0.9396 │ 0.6829 │ 0.6995 │ 0.8223 │ 0.5901 |
| Places365 | TASTE | FPR95 | 0.5609-0.09 vs baseline | in-distribution=CIFAR-10Source quoteL1638: FPR95 │ 0.7878 │ 0.6461 │ 0.86 │ 0.7714 │ 0.6894 │ 0.7432 │ 0.5609 |
Reported baseline / comparator measurements (2)
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| iSUN | Energy baseline | FPR95 | 0.6455 | in-distribution=CIFAR-10Source quoteL1634: FPR95 │ 0.7848 │ 0.6455 │ 0.9396 │ 0.6829 │ 0.6995 │ 0.8223 │ 0.5901 |
| Places365 | Energy baseline | FPR95 | 0.6461 | in-distribution=CIFAR-10Source quoteL1638: FPR95 │ 0.7878 │ 0.6461 │ 0.86 │ 0.7714 │ 0.6894 │ 0.7432 │ 0.5609 |
BibTeX
@misc{kozyra2026taste,
author = {Michał Kozyra and Gesine Reinert},
title = {{TASTE: Task-Aware Out-of-Distribution Detection via Stein Operators}},
year = {2026},
eprint = {2602.07640},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2602.07640},
}Ask Althea to put this paper to the test.
Loading related content...