Rethinking Reconstruction Autoencoder-Based Out-of-Distribution Detection

Yibo Zhou
3/4/2022
cs.CVcs.LG

Official code: SDret/Pytorch-implementation-for-Rethinking-Reconstruction-Autoencoder-Based-Out-of-Distribution-Detection (10 stars, Python, last commit 2023-08-25).

Abstract

In some scenarios, classifier requires detecting out-of-distribution samples far from its training data. With desirable characteristics, reconstruction autoencoder-based methods deal with this problem by using input reconstruction error as a metric of novelty vs. normality.

Show full abstract

We formulate the essence of such approach as a quadruplet domain translation with an intrinsic bias to only query for a proxy of conditional data uncertainty. Accordingly, an improvement direction is formalized as maximumly compressing the autoencoder's latent space while ensuring its reconstructive power for acting as a described domain translator. From it, strategies are introduced including semantic reconstruction, data certainty decomposition and normalized L2 distance to substantially improve original methods, which together establish state-of-the-art performance on various benchmarks, e.g., the FPR@95%TPR of CIFAR-100 vs. TinyImagenet-crop on Wide-ResNet is 0.2%. Importantly, our method works without any additional data, hard-to-implement structure, time-consuming pipeline, and even harming the classification accuracy of known classes.

View on arXivView PDF

Code Implementations(1)

This is the public implementation of CVPR2022 paper 'Rethinking Reconstruction Autoencoder-Based Out-of-Distribution Detection'.

100PythonMar 27, 20233 years ago

Similar Papers

Cite this paper

@article{zhou2022rethinking,
  title  = {Rethinking Reconstruction Autoencoder-Based Out-of-Distribution Detection},
  author = {Yibo Zhou},
  year   = {2022},
  eprint = {2203.02194},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.02194}
}

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

Discussion