Lune

NeurIPS2021Top-tier venue

On the Value of Infinite Gradients in Variational Autoencoder Models

Bin Dai, Wenliang Li, David P. Wipf

Abstract

A number of recent studies of continuous variational autoencoder (VAE) models have noted, either directly or indirectly, the tendency of various parameter gradients to drift towards infinity during training. Because such gradients could potentially contribute to numerical instabilities, and are often framed as a problematic phenomena to be avoided, it may be tempting to shift to alternative energy functions that guarantee bounded gradients. But it remains an open question: What might the unintended consequences of such a restriction be? To address this issue, we examine how unbounded gradients relate to the regularization of a broad class of autoencoder-based architectures, including VAE models, as applied to data lying on or near a low-dimensional manifold (e.g., natural images). Our main finding is that, if the ultimate goal is to simultaneously avoid over-regularization (high reconstruction errors, sometimes referred to as posterior collapse) and underregularization (excessive latent dimensions are not pruned from the model), then an autoencoder-based energy function with infinite gradients around optimal representations is provably required per a certain technical sense which we carefully detail. Given that both over-and under-regularization can directly lead to poor generated sample quality or suboptimal feature selection, this result suggests that heuristic modifications to or constraints on the VAE energy function may at times be ill-advised, and large gradients should be accommodated to the extent possible.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Sparse Autoencoders, Again? cites The Intrinsic Dimension of Images and Its Impact on Learning
  • Learning Manifold Dimensions with Conditional Variational Autoencoders cites The Intrinsic Dimension of Images and Its Impact on Learning
  • Learning Manifold Dimensions with Conditional Variational Autoencoders cites Marginalization is not Marginal: No Bad VAE Local Minima when Learning Optimal Sparse Representations
  • Marginalization is not Marginal: No Bad VAE Local Minima when Learning Optimal Sparse Representations cites Learning Manifold Dimensions with Conditional Variational Autoencoders
  • Marginalization is not Marginal: No Bad VAE Local Minima when Learning Optimal Sparse Representations cites The Intrinsic Dimension of Images and Its Impact on Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Learning Manifold Dimensions with Conditional Variational AutoencodersYijia Zheng, Tong He, Yixuan Qiu, David P. WipfNeurIPS 2022 · 34 citations
  2. Marginalization is not Marginal: No Bad VAE Local Minima when Learning Optimal Sparse RepresentationsDavid WipfICML 2023 · 5 citations
  3. Sparse Autoencoders, Again?Yin Lu, Xuening Zhu, Tong He, David WipfICML 2025

Builds on3

  1. The Intrinsic Dimension of Images and Its Impact on LearningPhillip Pope, Chen Zhu, Ahmed Abdelkader, Micah Goldblum et al.ICLR 2021 · 381 citations
  2. From Variational to Deterministic AutoencodersPartha Ghosh, Mehdi S. M. Sajjadi, Antonio Vergari, Michael J. Black et al.ICLR 2020 · 298 citations
  3. The Usual Suspects? Reassessing Blame for VAE Posterior CollapseBin Dai, Ziyu Wang, David P. WipfICML 2020 · 89 citations

Related papers

  1. Autoencoder Image Interpolation by Shaping the Latent SpaceAlon Oring, Zohar Yakhini, Yacov Hel-OrICML 2021 · 41 citations
  2. Iterative energy-based projection on a normal data manifold for anomaly localizationDavid Dehaene, Oriel Frigo, Sébastien Combrexelle, Pierre ElineICLR 2020 · 157 citations
  3. VAE Approximation Error: ELBO and Exponential FamiliesAlexander Shekhovtsov, Dmitrij Schlesinger, Boris FlachICLR 2022 · 21 citations
  4. Improving Variational Autoencoders with Density Gap-based RegularizationJianfei Zhang, Jun Bai, Chenghua Lin, Yanmeng Wang et al.NeurIPS 2022 · 11 citations
  5. Variational autoencoders in the presence of low-dimensional data: landscape and implicit biasFrederic Koehler, Viraj Mehta, Chenghui Zhou, Andrej RisteskiICLR 2022 · 14 citations
Dusk over the sea between two cliffs drawn in fine vertical lines