Combine and Conquer: A Meta-Analysis on Data Shift and Out-of-Distribution Detection

Eduardo Dadalto, Florence Alberge, Pierre Duhamel, Pablo Piantanida
6/23/2024
stat.MLcs.AIcs.LG

Official code: edadaltocg/detectors (15 stars, Apache-2.0, PyTorch, last commit 2024-06-19).

Abstract

This paper introduces a universal approach to seamlessly combine out-of-distribution (OOD) detection scores. These scores encompass a wide range of techniques that leverage the self-confidence of deep learning models and the anomalous behavior of features in the latent space. Not surprisingly, combining such a varied population using simple statistics proves inadequate. To overcome this challenge, we propose a quantile normalization to map these scores into p-values, effectively framing the problem into a multi-variate hypothesis test. Then, we combine these tests using established meta-analysis tools, resulting in a more effective detector with consolidated decision boundaries. Furthermore, we create a probabilistic interpretable criterion by mapping the final statistics into a distribution with known parameters. Through empirical investigation, we explore different types of shifts, each exerting varying degrees of impact on data. Our results demonstrate that our approach significantly improves overall robustness and performance across diverse OOD detection scenarios. Notably, our framework is easily extensible for future developments in detection scores and stands as the first to combine decision boundaries in this context. The code and artifacts associated with this work are publicly available\footnote{\url{https://github.com/edadaltocg/detectors}}.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Python package to accelerate research on generalized out-of-distribution (OOD) detection.

151Python, MakefileNov 1, 20222 years agoApache-2.0
anomaly-detectioncovariate-shiftdeep-learningmachine-learningnovelty-detection+8 more

Cite this paper

@article{dadalto2024combine,
  title  = {Combine and Conquer: A Meta-Analysis on Data Shift and Out-of-Distribution Detection},
  author = {Eduardo Dadalto and Florence Alberge and Pierre Duhamel and Pablo Piantanida},
  year   = {2024},
  eprint = {2406.16045},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.16045v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.16045.svg)](https://codeofpaper.com/paper/2406.16045)

Discussion