Beyond Binary Out-of-Distribution Detection: Characterizing Distributional Shifts with Multi-Statistic Diffusion Trajectories
Achref Jaziri, Martin Rogmann, Martin Mundt, Visvanathan Ramesh
TL;DR
This work addresses the limitation of scalar OOD detection scores by introducing DISC, a diffusion-based method that builds a time-resolved, multi-statistic embedding from denoising trajectories to capture distributional shifts across multiple noise levels. By combining time-expanded reconstruction discrepancies with texture and frequency descriptors, DISC provides both competitive OOD detection and the ability to classify the type of OOD (e.g., covariate vs semantic shifts) on image and tabular data. The authors prove a theoretical non-identifiability result showing that any single scalar statistic cannot distinguish between certain alternative distributions, motivating the need for multi-dimensional statistics. Empirically, DISC matches or surpasses state-of-the-art detectors on ImageNet/CIFAR-10 and ADBench, achieving strong AUROC and improved OOD-type discrimination, signaling a move toward richer open-world evaluations and continual adaptation capabilities.
Abstract
Detecting out-of-distribution (OOD) data is critical for machine learning, be it for safety reasons or to enable open-ended learning. However, beyond mere detection, choosing an appropriate course of action typically hinges on the type of OOD data encountered. Unfortunately, the latter is generally not distinguished in practice, as modern OOD detection methods collapse distributional shifts into single scalar outlier scores. This work argues that scalar-based methods are thus insufficient for OOD data to be properly contextualized and prospectively exploited, a limitation we overcome with the introduction of DISC: Diffusion-based Statistical Characterization. DISC leverages the iterative denoising process of diffusion models to extract a rich, multi-dimensional feature vector that captures statistical discrepancies across multiple noise levels. Extensive experiments on image and tabular benchmarks show that DISC matches or surpasses state-of-the-art detectors for OOD detection and, crucially, also classifies OOD type, a capability largely absent from prior work. As such, our work enables a shift from simple binary OOD detection to a more granular detection.
