Can Your Generative Model Detect Out-of-Distribution Covariate Shift?

Abstract

Detecting Out-of-Distribution (OOD) sensory data and covariate distribution shift aims to identify new test examples with different high-level image statistics to the captured, normal and In-Distribution (ID) set. Existing OOD detection literature largely focuses on semantic shift with little-to-no consensus over covariate shift. Generative models capture the ID data in an unsupervised manner, enabling them to effectively identify samples that deviate significantly from this learned distribution, irrespective of the downstream task. In this work, we elucidate the ability of generative models to detect and quantify domain-specific covariate shift through extensive analyses that involves a variety of models. To this end, we conjecture that it is sufficient to detect most occurring sensory faults (anomalies and deviations in global signals statistics) by solely modeling high-frequency signal-dependent and independent details. We propose a novel method, CovariateFlow, for OOD detection, specifically tailored to covariate heteroscedastic high-frequency image-components using conditional Normalizing Flows (cNFs). Our results on CIFAR10 vs. CIFAR10-C and ImageNet200 vs. ImageNet200-C demonstrate the effectiveness of the method by accurately detecting OOD covariate shift. This work contributes to enhancing the fidelity of imaging systems and aiding machine learning models in OOD detection in the presence of covariate shift. The code for CovariateFlow is available at https://github.com/cviviers/CovariateFlow .

Cite

Text

Viviers et al. "Can Your Generative Model Detect Out-of-Distribution Covariate Shift?." European Conference on Computer Vision Workshops, 2024. doi:10.1007/978-3-031-91585-7_12

Markdown

[Viviers et al. "Can Your Generative Model Detect Out-of-Distribution Covariate Shift?." European Conference on Computer Vision Workshops, 2024.](https://mlanthology.org/eccvw/2024/viviers2024eccvw-your/) doi:10.1007/978-3-031-91585-7_12

BibTeX

@inproceedings{viviers2024eccvw-your,
  title     = {{Can Your Generative Model Detect Out-of-Distribution Covariate Shift?}},
  author    = {Viviers, Christiaan G. A. and Valiuddin, M. M. Amaan and Caetano, Francisco and Abdi, Lemar and Filatova, Lena and de With, Peter H. N. and van der Sommen, Fons},
  booktitle = {European Conference on Computer Vision Workshops},
  year      = {2024},
  pages     = {184-201},
  doi       = {10.1007/978-3-031-91585-7_12},
  url       = {https://mlanthology.org/eccvw/2024/viviers2024eccvw-your/}
}