Out-of-Distribution Detection with Semantic Mismatch under Masking

Yijun Yang, Ruiyuan Gao, Qiang Xu
7/31/2022
cs.CVcs.AI

Official code: cure-lab/MOODCat (15 stars, Python, Apache-2.0, last commit 2022-08-19).

Abstract

This paper proposes a novel out-of-distribution (OOD) detection framework named MoodCat for image classifiers. MoodCat masks a random portion of the input image and uses a generative model to synthesize the masked image to a new image conditioned on the classification result.

Show full abstract

It then calculates the semantic difference between the original image and the synthesized one for OOD detection. Compared to existing solutions, MoodCat naturally learns the semantic information of the in-distribution data with the proposed mask and conditional synthesis strategy, which is critical to identifying OODs. Experimental results demonstrate that MoodCat outperforms state-of-the-art OOD detection solutions by a large margin.

View on arXivView PDF

Code Implementations(1)

cure-lab/MOODCatOfficial100%
Apache-2.0

ECCV2022

150Python, ShellJul 15, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{yang2022outofdistribution,
  title  = {Out-of-Distribution Detection with Semantic Mismatch under Masking},
  author = {Yijun Yang and Ruiyuan Gao and Qiang Xu},
  year   = {2022},
  eprint = {2208.00446},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.00446}
}

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

Discussion