MOODv2: Masked Image Modeling for Out-of-Distribution Detection
Authors:
- Jingyao LiJLJingyao Li
- Pengguang ChenPCPengguang Chen
- Shaozuo YuSYShaozuo Yu
- Shu LiuSLShu Liu
- Jiaya JiaJJJiaya Jia
Preprint
Abstract
The crux of effective out-of-distribution (OOD) detection lies in acquiring a robust in-distribution (ID) representation, distinct from OOD samples. While previous methods predominantly leaned on recognition-based techniques for this purpose, they often resulted in shortcut learning, lacking comprehensive representations. In our study, we conducted a comprehensive analysis, exploring distinct pretraining tasks and employing various OOD score functions. The results highlight that the feature representations pre-trained through reconstruction yield a notable enhancement and narrow the performance gap among various score functions. This suggests that even simple score functions can rival complex ones when leveraging reconstruction-based pretext tasks. Reconstruction-based pretext tasks adapt well to various score functions. As such, it holds promising potential for further expansion. Our OOD detection framework, MOODv2, employs the masked image modeling pretext task. Without bells and whistles, MOODv2 impressively enhances 14.30% AUROC to 95.68% on ImageNet and achieves 99.98% on CIFAR-10.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- Generalized Out-of-Distribution Detection: A SurveyInternational Journal of Computer Vision, 2024
- Fake it Till You Make it: Learning Transferable Representations from Synthetic ImageNet Clones2023
- Backdoor Learning: A SurveyIEEE Transactions on Neural Networks and Learning Systems, 2022
- Natural Adversarial Examples2021
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019
- Places: A 10 Million Image Database for Scene RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2017