Uncertainty in latent representations of variational autoencoders optimized for visual tasks

Josefina Catoni, Domonkos Martos, Ferenc Csikor, Enzo Ferrante, Diego H. Milone +3 more
4/23/2024
cs.LGcs.AI

No official code found. Best implementation: josefina-catoni/EA-VAE-uncertainty-in-latent-representations (4 stars, last commit 2026-03-27). 1 more below.

Abstract

Deep Generative Models (DGMs) can learn flexible latent variable representations of images while avoiding intractable computations, common in Bayesian inference. However, investigating the properties of inference in Variational Autoencoders (VAEs), a major class of DGMs, reveals severe problems in their uncertainty representations. Here we draw inspiration from classical computer vision to introduce an inductive bias into the VAE by incorporating a global explaining-away latent variable, which remedies defective inference in VAEs. Unlike standard VAEs, the Explaing-Away VAE (EA-VAE) provides uncertainty estimates that align with normative requirements across a wide spectrum of perceptual tasks, including image corruption, interpolation, and out-of-distribution detection. We find that restored inference capabilities are delivered by developing a motif in the inference network (the encoder) which is widespread in biological neural networks: divisive normalization. Our results establish EA-VAEs as reliable tools to perform inference under deep generative models with appropriate estimates of uncertainty.

View on arXivView PDF

Code Implementations(2)

40Python, Jupyter NotebookJan 13, 20256 months ago

Accompanying code for the manuscript "Uncertainty in latent representations of variational autoencoders optimized for visual tasks".

10Shell, PythonJan 29, 20251 years ago

Similar Papers

Cite this paper

@article{catoni2024uncertainty,
  title  = {Uncertainty in latent representations of variational autoencoders optimized for visual tasks},
  author = {Josefina Catoni and Domonkos Martos and Ferenc Csikor and Enzo Ferrante and Diego H. Milone and Balázs Meszéna and Gergő Orbán and Rodrigo Echeveste},
  year   = {2024},
  eprint = {2404.15390},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.15390v2}
}

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

Discussion