Hybrid Energy Based Model in the Feature Space for Out-of-Distribution Detection

Marc Lafon, Elias Ramzi, Clément Rambour, Nicolas Thomé
5/1/2023
17 citations

Official code: MarcLafon/heatood (9 stars, Python, Apache-2.0, last commit 2023-07-25).

Abstract

Out-of-distribution (OOD) detection is a critical requirement for the deployment of deep neural networks. This paper introduces the HEAT model, a new post-hoc OOD detection method estimating the density of in-distribution (ID) samples using hybrid energy-based models (EBM) in the feature space of a pre-trained backbone.

Show full abstract

HEAT complements prior density estimators of the ID density, e.g. parametric models like the Gaussian Mixture Model (GMM), to provide an accurate yet robust density estimation. A second contribution is to leverage the EBM framework to provide a unified density estimation and to compose several energy terms. Extensive experiments demonstrate the significance of the two contributions. HEAT sets new state-of-the-art OOD detection results on the CIFAR-10 / CIFAR-100 benchmark as well as on the large-scale Imagenet benchmark. The code is available at: https://github.com/MarcLafon/heatood.

View on arXivView PDF

Code Implementations(1)

MarcLafon/heatoodOfficial100%
Apache-2.0

This repo contains the official implementation of Hybrid Energy Based Model in the Feature Space for Out-of-Distribution Detection (ICML'23).

93Python, ShellJul 25, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{lafon2023hybrid,
  title  = {Hybrid Energy Based Model in the Feature Space for Out-of-Distribution Detection},
  author = {Marc Lafon and Elias Ramzi and Clément Rambour and Nicolas Thomé},
  year   = {2023},
  eprint = {2305.16966},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2305.16966},
  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/2305.16966.svg)](https://codeofpaper.com/paper/2305.16966)

Discussion