SR-OOD: Out-of-Distribution Detection via Sample Repairing

Rui Sun, Andi Zhang, Haiming Zhang, Jinke Ren, Yao Zhu +3 more
5/26/2023
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Out-of-distribution (OOD) detection is a crucial task for ensuring the reliability and robustness of machine learning models. Recent works have shown that generative models often assign high confidence scores to OOD samples, indicating that they fail to capture the semantic information of the data. To tackle this problem, we take advantage of sample repairing and propose a novel OOD detection framework, namely SR-OOD. Our framework leverages the idea that repairing an OOD sample can reveal its semantic inconsistency with the in-distribution data. Specifically, our framework consists of two components: a sample repairing module and a detection module. The sample repairing module applies erosion to an input sample and uses a generative adversarial network to repair it. The detection module then determines whether the input sample is OOD using a distance metric. Our framework does not require any additional data or label information for detection, making it applicable to various scenarios. We conduct extensive experiments on three image datasets: CIFAR-10, CelebA, and Pokemon. The results demonstrate that our approach achieves superior performance over the state-of-the-art generative methods in OOD detection.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sun2023srood,
  title  = {SR-OOD: Out-of-Distribution Detection via Sample Repairing},
  author = {Rui Sun and Andi Zhang and Haiming Zhang and Jinke Ren and Yao Zhu and Ruimao Zhang and Shuguang Cui and Zhen Li},
  year   = {2023},
  eprint = {2305.18228},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.18228v2}
}

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/2305.18228.svg)](https://codeofpaper.com/paper/2305.18228)

Discussion