Skip to main content
QUICK REVIEW

[Paper Review] Failure Modes of Variational Autoencoders and Their Effects on Downstream Tasks

Yaniv Yacoby, Weiwei Pan|arXiv (Cornell University)|Jul 14, 2020
Adversarial Robustness in Machine LearningComputer Science6 citations
TL;DR

This paper identifies global optima in mean-field Gaussian VAEs (MFG-VAEs) that exhibit pathological behavior—such as posterior collapse and incorrect noise/latent dimension estimation—due to the ELBO objective's inherent trade-offs. It demonstrates these failures degrade downstream tasks like disentangled representation learning, adversarial robustness, and semi-supervised learning, and proposes synthetic benchmarks and practical guidelines to detect and avoid these issues.

ABSTRACT

Variational Auto-encoders (VAEs) are deep generative latent variable models that are widely used for a number of downstream tasks. While it has been demonstrated that VAE training can suffer from a number of pathologies, existing literature lacks characterizations of exactly when these pathologies occur and how they impact downstream task performance. In this paper, we concretely characterize conditions under which VAE training exhibits pathologies and connect these failure modes to undesirable effects on specific downstream tasks, such as learning compressed and disentangled representations, adversarial robustness, and semi-supervised learning.

Motivation & Objective

  • To characterize the exact conditions under which MFG-VAEs fail globally, despite being optimal under the ELBO objective.
  • To link these failure modes to negative impacts on key downstream tasks such as disentangled representation learning, adversarial robustness, and semi-supervised learning.
  • To demonstrate that richer variational families, while improving unsupervised performance, can introduce new pathologies in semi-supervised settings.
  • To provide synthetic datasets that trigger known pathologies for testing future VAE inference methods.
  • To offer practical, empirically and formally grounded guidelines for avoiding MFG-VAE failure modes in real-world applications.

Proposed method

  • Propose synthetic datasets that induce two main pathologies: incorrect noise variance estimation and incorrect latent dimensionality estimation under the ELBO objective.
  • Use the ELBO as the training objective and analyze its global optima to identify when they correspond to uninformative or incorrect generative models.
  • Apply statistical tests on reconstruction residuals to detect manifold misestimation—non-Gaussian residuals indicate failure to capture the true data manifold.
  • Evaluate downstream task performance on synthetic data using MFG-VAEs and richer variational families (e.g., normalizing flows) to compare failure modes.
  • Use unbiased, low-variance log-likelihood estimators to select noise variance, avoiding biased joint optimization with model parameters.
  • Introduce topological data analysis and dimensionality estimation as preprocessing steps to guide variational family selection.

Experimental results

Research questions

  • RQ1Under what conditions do global optima of the MFG-VAE objective lead to pathological generative models, despite being optimal under the ELBO?
  • RQ2How do these pathologies—such as incorrect noise variance and latent dimension estimation—affect downstream tasks like disentangled representation learning and semi-supervised learning?
  • RQ3To what extent do richer variational families alleviate pathologies in unsupervised learning but introduce new issues in semi-supervised learning?
  • RQ4Can synthetic datasets be constructed to reliably trigger and expose these failure modes for benchmarking new VAE methods?
  • RQ5What practical guidelines can be derived to help practitioners avoid these failure modes without incurring excessive computational cost?

Key findings

  • The MFG-VAE objective can have globally optimal solutions that are pathologically uninformative, with the inference model over-regularizing the generative model.
  • The ELBO leads to biased estimates of the output noise variance and latent dimensionality, even when these are globally optimal under the objective.
  • Synthetic datasets were successfully constructed to trigger both the noise variance and latent dimensionality pathologies, enabling systematic testing of VAE methods.
  • In semi-supervised learning, MFG-VAEs exhibit 'functional collapse'—where all data conditionals collapse to the same distribution—due to incorrect latent space estimation.
  • Richer variational families alleviate pathologies in unsupervised learning but introduce new failure modes in semi-supervised tasks, such as degraded generalization and instability.
  • Practical guidelines—such as using domain knowledge or unbiased estimators for noise variance, and topological analysis before model selection—significantly reduce the risk of failure.

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.