Unleashing Mask: Explore the Intrinsic Out-of-Distribution Detection Capability
Jianing Zhu, Hengzhuang Li, Jiangchao Yao, Tongliang Liu, Jianliang, Xu, Bo Han

TL;DR
This paper investigates the intrinsic out-of-distribution detection ability of models, discovering an intermediate training stage with superior OOD detection, and proposes Unleashing Mask to enhance this capability by removing memorized atypical samples.
Contribution
It introduces a novel method, Unleashing Mask, that improves OOD detection by identifying and forgetting atypical samples within a trained model.
Findings
Intermediate training stage shows higher OOD detection performance.
Mask-based method effectively identifies atypical samples.
Finetuning or pruning with the mask enhances OOD detection capabilities.
Abstract
Out-of-distribution (OOD) detection is an indispensable aspect of secure AI when deploying machine learning models in real-world applications. Previous paradigms either explore better scoring functions or utilize the knowledge of outliers to equip the models with the ability of OOD detection. However, few of them pay attention to the intrinsic OOD detection capability of the given model. In this work, we generally discover the existence of an intermediate stage of a model trained on in-distribution (ID) data having higher OOD detection performance than that of its final stage across different settings, and further identify one critical data-level attribution to be learning with the atypical samples. Based on such insights, we propose a novel method, Unleashing Mask, which aims to restore the OOD discriminative capabilities of the well-trained model with ID data. Our method utilizes a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Adversarial Robustness in Machine Learning · Machine Learning and Data Classification
