Gaussian Latent Representations for Uncertainty Estimation using Mahalanobis Distance in Deep Classifiers

Aishwarya Venkataramanan, Assia Benbihi, Martin Laviale, Cedric Pradalier
5/23/2023
cs.CVcs.LG

No official code found. Best implementation: vaishwarya96/MAPLE-uncertainty-estimation (5 stars, last commit 2024-02-25).

Abstract

Recent works show that the data distribution in a network's latent space is useful for estimating classification uncertainty and detecting Out-of-distribution (OOD) samples. To obtain a well-regularized latent space that is conducive for uncertainty estimation, existing methods bring in significant changes to model architectures and training procedures. In this paper, we present a lightweight, fast, and high-performance regularization method for Mahalanobis distance-based uncertainty prediction, and that requires minimal changes to the network's architecture. To derive Gaussian latent representation favourable for Mahalanobis Distance calculation, we introduce a self-supervised representation learning method that separates in-class representations into multiple Gaussians. Classes with non-Gaussian representations are automatically identified and dynamically clustered into multiple new classes that are approximately Gaussian. Evaluation on standard OOD benchmarks shows that our method achieves state-of-the-art results on OOD detection with minimal inference time, and is very competitive on predictive probability calibration. Finally, we show the applicability of our method to a real-life computer vision use case on microorganism classification.

View on arXivView PDF

Code Implementations(1)

Code for the ICCV 2023 Workshop paper "Gaussian Latent Representations for Uncertainty Estimation using Mahalanobis Distance in Deep Classifiers"

51PythonMay 25, 20232 years ago

Similar Papers

Cite this paper

@article{venkataramanan2023gaussian,
  title  = {Gaussian Latent Representations for Uncertainty Estimation using Mahalanobis Distance in Deep Classifiers},
  author = {Aishwarya Venkataramanan and Assia Benbihi and Martin Laviale and Cedric Pradalier},
  year   = {2023},
  eprint = {2305.13849},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.13849v3}
}

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

Discussion