TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Unleashing Mask: Explore the Intrinsic Out-of-Distribution...

Unleashing Mask: Explore the Intrinsic Out-of-Distribution Detection Capability

Jianing Zhu, Hengzhuang Li, Jiangchao Yao, Tongliang Liu, Jianliang Xu, Bo Han

2023-06-06Out-of-Distribution Detection
PaperPDFCode(official)

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.

Results

TaskDatasetMetricValueModel
Out-of-Distribution DetectionImageNet-1k vs iNaturalistAUROC94.71ODIN+UMAP (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs iNaturalistFPR9521.97ODIN+UMAP (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs TexturesAUROC88.35ODIN+UMAP (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs TexturesFPR9542.02ODIN+UMAP (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs PlacesAUROC86.99ODIN+UMAP (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs PlacesFPR9550.06ODIN+UMAP (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs SUNAUROC86.92ODIN+UMAP (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs SUNFPR9549.69ODIN+UMAP (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs Curated OODs (avg.)AUROC89.24ODIN+UMAP (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs Curated OODs (avg.)FPR9540.94ODIN+UMAP (ResNet-50)

Related Papers

Safe Domain Randomization via Uncertainty-Aware Out-of-Distribution Detection and Policy Adaptation2025-07-08FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detection2025-07-06Out-of-distribution detection in 3D applications: a review2025-07-01Generative Adversarial Evasion and Out-of-Distribution Detection for UAV Cyber-Attacks2025-06-26Enclosing Prototypical Variational Autoencoder for Explainable Out-of-Distribution Detection2025-06-17A Variational Information Theoretic Approach to Out-of-Distribution Detection2025-06-17DIsoN: Decentralized Isolation Networks for Out-of-Distribution Detection in Medical Imaging2025-06-10EviNet: Evidential Reasoning Network for Resilient Graph Learning in the Open and Noisy Environments2025-06-08