Unleashing Mask: Explore the Intrinsic Out-of-Distribution Detection Capability
Jianing Zhu, Hengzhuang Li, Jiangchao Yao, Tongliang Liu, Jianliang Xu, Bo Han
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 mask to figure out the memorized atypical samples, and then finetune the model or prune it with the introduced mask to forget them. Extensive experiments and analysis demonstrate the effectiveness of our method. The code is available at: https://github.com/ tmlr-group/Unleashing-Mask .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection? cites Energy-based Out-of-distribution Detection
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection? cites Learning to Augment Distributions for Out-of-distribution Detection
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection? cites ReAct: Out-of-distribution Detection With Rectified Activations
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection? cites Out-of-Distribution Detection with Deep Nearest Neighbors
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection? cites Diversified Outlier Exposure for Out-of-Distribution Detection via Informative Extrapolation
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection? cites CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances
- Envisioning Outlier Exposure by Large Language Models for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
- Envisioning Outlier Exposure by Large Language Models for Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
- Envisioning Outlier Exposure by Large Language Models for Out-of-Distribution Detection cites Open-Set Recognition: A Good Closed-Set Classifier is All You Need
- Learning to Augment Distributions for Out-of-distribution Detection cites Energy-based Out-of-distribution Detection
- Learning to Augment Distributions for Out-of-distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
- Learning to Augment Distributions for Out-of-distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
- Learning to Augment Distributions for Out-of-distribution Detection cites Diversified Outlier Exposure for Out-of-Distribution Detection via Informative Extrapolation
- Learning to Augment Distributions for Out-of-distribution Detection cites CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances
- ReAct: Out-of-distribution Detection With Rectified Activations cites Energy-based Out-of-distribution Detection
- Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
- Out-of-Distribution Detection with Deep Nearest Neighbors cites ReAct: Out-of-distribution Detection With Rectified Activations
- Open-Set Recognition: A Good Closed-Set Classifier is All You Need cites Energy-based Out-of-distribution Detection
- Open-Set Recognition: A Good Closed-Set Classifier is All You Need cites CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances
- Dream the Impossible: Outlier Imagination with Diffusion Models cites Energy-based Out-of-distribution Detection
- Dream the Impossible: Outlier Imagination with Diffusion Models cites ReAct: Out-of-distribution Detection With Rectified Activations
- Dream the Impossible: Outlier Imagination with Diffusion Models cites Out-of-Distribution Detection with Deep Nearest Neighbors
- Dream the Impossible: Outlier Imagination with Diffusion Models cites CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances
- Diversified Outlier Exposure for Out-of-Distribution Detection via Informative Extrapolation cites Energy-based Out-of-distribution Detection
- Diversified Outlier Exposure for Out-of-Distribution Detection via Informative Extrapolation cites ReAct: Out-of-distribution Detection With Rectified Activations
- Diversified Outlier Exposure for Out-of-Distribution Detection via Informative Extrapolation cites Out-of-Distribution Detection with Deep Nearest Neighbors
- Diversified Outlier Exposure for Out-of-Distribution Detection via Informative Extrapolation cites CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances
Cited by top-tier papers13
- Dream the Impossible: Outlier Imagination with Diffusion ModelsXuefeng Du, Yiyou Sun, Jerry Zhu, Yixuan LiNeurIPS 2023 · 114 citations
- Learning to Augment Distributions for Out-of-distribution DetectionQizhou Wang, Zhen Fang, Yonggang Zhang, Feng Liu et al.NeurIPS 2023 · 59 citations
- Diversified Outlier Exposure for Out-of-Distribution Detection via Informative ExtrapolationJianing Zhu, Yu Geng, Jiangchao Yao, Tongliang Liu et al.NeurIPS 2023 · 54 citations
- How Does Unlabeled Data Provably Help Out-of-Distribution Detection?Xuefeng Du, Zhen Fang, Ilias Diakonikolas, Yixuan LiICLR 2024 · 39 citations
- Envisioning Outlier Exposure by Large Language Models for Out-of-Distribution DetectionChentao Cao, Zhun Zhong, Zhanke Zhou, Yang Liu et al.ICML 2024 · 34 citations
Builds on20
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
- Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
- CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted InstancesJihoon Tack, Sangwoo Mo, Jongheon Jeong, Jinwoo ShinNeurIPS 2020 · 755 citations
- ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 citations
- Open-Set Recognition: A Good Closed-Set Classifier is All You NeedSagar Vaze, Kai Han, Andrea Vedaldi, Andrew ZissermanICLR 2022 · 594 citations
Related papers
- Watermarking for Out-of-distribution DetectionQizhou Wang, Feng Liu, Yonggang Zhang, Jing Zhang et al.NeurIPS 2022 · 44 citations
- Rethinking Out-of-distribution (OOD) Detection: Masked Image Modeling is All You NeedJingyao Li, Pengguang Chen, Zexin He, Shaozuo Yu et al.CVPR 2023
- Strengthen Out-of-Distribution Detection Capability with Progressive Self-Knowledge DistillationYang Yang, Haonan XuICML 2025
- Training OOD Detectors in their Natural HabitatsJulian Katz-Samuels, Julia B. Nakhleh, Robert D. Nowak, Yixuan LiICML 2022 · 115 citations
- Extremely Simple Activation Shaping for Out-of-Distribution DetectionAndrija Djurisic, Nebojsa Bozanic, Arjun Ashok, Rosanne LiuICLR 2023 · 23 citations
