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

Jianing Zhu, Hengzhuang Li, Jiangchao Yao, Tongliang Liu, Jianliang Xu +1 more
6/6/2023
cs.LG

Official code: tmlr-group/Unleashing-Mask (7 stars, MIT, last commit 2023-07-11). 1 more implementation below.

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.

View on arXivView PDF

Code Implementations(2)

MIT

[ICML 2023] "Unleashing Mask: Explore the Intrinsic Out-of-Distribution Detection Capability"

70PythonMay 22, 20233 years agoMIT
forgettingoodood-detection
MIT

[ICML 2023] "Unleashing Mask: Explore the Intrinsic Out-of-Distribution Detection Capability"

182PythonJan 26, 20233 years agoMIT
atypical-samplesforgettinggeneralizationmaskood-detection+1 more

Similar Papers

Cite this paper

@article{zhu2023unleashing,
  title  = {Unleashing Mask: Explore the Intrinsic Out-of-Distribution Detection Capability},
  author = {Jianing Zhu and Hengzhuang Li and Jiangchao Yao and Tongliang Liu and Jianliang Xu and Bo Han},
  year   = {2023},
  eprint = {2306.03715},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.03715v1},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.03715.svg)](https://codeofpaper.com/paper/2306.03715)

Discussion