HAct: Out-of-Distribution Detection with Neural Net Activation Histograms

Sudeepta Mondal, Ganesh Sundaramoorthi
9/9/2023
cs.LG

No confident code implementation found for this paper.

Abstract

We propose a simple, efficient, and accurate method for detecting out-of-distribution (OOD) data for trained neural networks. We propose a novel descriptor, HAct - activation histograms, for OOD detection, that is, probability distributions (approximated by histograms) of output values of neural network layers under the influence of incoming data. We formulate an OOD detector based on HAct descriptors. We demonstrate that HAct is significantly more accurate than state-of-the-art in OOD detection on multiple image classification benchmarks. For instance, our approach achieves a true positive rate (TPR) of 95% with only 0.03% false-positives using Resnet-50 on standard OOD benchmarks, outperforming previous state-of-the-art by 20.67% in the false positive rate (at the same TPR of 95%). The computational efficiency and the ease of implementation makes HAct suitable for online implementation in monitoring deployed neural networks in practice at scale.

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{mondal2023hact,
  title  = {HAct: Out-of-Distribution Detection with Neural Net Activation Histograms},
  author = {Sudeepta Mondal and Ganesh Sundaramoorthi},
  year   = {2023},
  eprint = {2309.04837},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.04837v2}
}

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

Discussion