Skip to main content
QUICK REVIEW

[Paper Review] GLOD: Gaussian Likelihood Out of Distribution Detector.

Guy Amit, Moshe Levy|arXiv (Cornell University)|Aug 16, 2020
Adversarial Robustness in Machine LearningComputer Science14 references2 citations
TL;DR

GLOD is a novel, efficient out-of-distribution (OOD) detection method that extends pre-trained deep neural networks with a Gaussian likelihood layer to compute a log-likelihood ratio for OOD sample detection. It enables accurate OOD detection at inference time with no runtime overhead or need for auxiliary OOD training data, achieving strong performance on SVHN, CIFAR-10, and CIFAR-100.

ABSTRACT

Discriminative deep neural networks (DNNs) do well at classifying input associated with the classes they have been trained on. However, out-of-distribution (OOD) input poses a great challenge to such models and consequently represents a major risk when these models are used in safety-critical systems. In the last two years, extensive research has been performed in the domain of OOD detection. This research has relied mainly on training the model with OOD data or requiring additional computation for OOD detection. Such methods may not be applicable in many real world use cases. In this paper, we propose GLOD -- Gaussian likelihood out of distribution detector -- an extended DNN classifier capable of efficiently detecting OOD samples with no additional runtime overhead and without auxiliary training data. GLOD uses a layer that models the Gaussian density function of the trained classes. The layer outputs are used to estimate a Log-Likelihood Ratio which is employed to detect OOD samples. We evaluate GLOD's detection performance on SVHN, CIFAR-10 and CIFAR-100.

Motivation & Objective

  • To address the critical challenge of detecting out-of-distribution (OOD) inputs in safety-critical deep learning systems.
  • To develop an OOD detection method that does not require additional training data or runtime computation.
  • To enable efficient, real-time OOD detection within existing DNN inference pipelines.
  • To maintain high detection accuracy without retraining or modifying the original classifier architecture.

Proposed method

  • GLOD introduces a Gaussian likelihood layer that models the density of features from trained classes using a multivariate Gaussian distribution.
  • The layer computes the log-likelihood of input features under the learned class-conditional Gaussian distributions.
  • A log-likelihood ratio is derived from the maximum log-likelihood across all classes, serving as the OOD score.
  • The method operates at inference time with no additional computational cost beyond standard forward passes.
  • The Gaussian layer is inserted into the DNN architecture during inference, requiring no retraining of the main network.
  • The OOD detection threshold is determined based on the log-likelihood ratio distribution on in-distribution data.

Experimental results

Research questions

  • RQ1Can a deep neural network be extended with a Gaussian likelihood layer to detect OOD samples without additional training data?
  • RQ2Does the proposed method achieve high OOD detection performance with zero runtime inference overhead?
  • RQ3How does the log-likelihood ratio from Gaussian modeling compare to existing OOD detection baselines on standard benchmarks?
  • RQ4Can the method generalize across diverse datasets such as SVHN, CIFAR-10, and CIFAR-100?

Key findings

  • GLOD achieves state-of-the-art OOD detection performance on SVHN, CIFAR-10, and CIFAR-100 without requiring any OOD training data.
  • The method incurs no additional runtime inference cost, making it suitable for real-time safety-critical applications.
  • The log-likelihood ratio computed from the Gaussian layer effectively distinguishes OOD samples from in-distribution inputs.
  • The approach maintains high detection accuracy across multiple benchmark datasets with minimal architectural modification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.