Out-of-distribution Detection via Frequency-regularized Generative Models

Mu Cai, Yixuan Li
8/18/2022
cs.LGcs.CV

Official code: mu-cai/FRL (11 stars, Python, Apache-2.0, last commit 2023-05-01).

Abstract

Modern deep generative models can assign high likelihood to inputs drawn from outside the training distribution, posing threats to models in open-world deployments. While much research attention has been placed on defining new test-time measures of OOD uncertainty, these methods do not fundamentally change how deep generative models are regularized and optimized in training.

Show full abstract

In particular, generative models are shown to overly rely on the background information to estimate the likelihood. To address the issue, we propose a novel frequency-regularized learning FRL framework for OOD detection, which incorporates high-frequency information into training and guides the model to focus on semantically relevant features. FRL effectively improves performance on a wide range of generative architectures, including variational auto-encoder, GLOW, and PixelCNN++. On a new large-scale evaluation task, FRL achieves the state-of-the-art performance, outperforming a strong baseline Likelihood Regret by 10.7% (AUROC) while achieving 147$\times$ faster inference speed. Extensive ablations show that FRL improves the OOD detection performance while preserving the image generation quality. Code is available at https://github.com/mu-cai/FRL.

View on arXivView PDF

Code Implementations(1)

mu-cai/FRLOfficial100%
Apache-2.0

Code for WACV 2023 paper "Out-of-distribution Detection via Frequency-regularized Generative Models" by Mu Cai and Yixuan Li

110PythonAug 18, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{cai2022outofdistribution,
  title  = {Out-of-distribution Detection via Frequency-regularized Generative Models},
  author = {Mu Cai and Yixuan Li},
  year   = {2022},
  eprint = {2208.09083},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.09083}
}

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

Discussion