Denoising Deep Generative Models

Gabriel Loaiza-Ganem, Brendan Leigh Ross, Luhuan Wu, John P. Cunningham, Jesse C. Cresswell, Anthony L. Caterini

Abstract

Likelihood-based deep generative models (DGMs), such as Variational Autoencoders (VAEs) and Normalizing Flows (NFs), often struggle with "manifold overfitting." This occurs when a high-dimensional model attempts to fit data that resides on a lower-dimensional manifold, leading to infinite likelihood spikes rather than a smooth, representative distribution. This paper investigates whether simple denoising techniques—specifically Tweedie’s formula and conditional noise modeling—can mitigate this issue. Despite the mathematical elegance of these approaches, experimental results across standard benchmarks show that they only sporadically improve performance, serving as a cautionary tale for intuitive fixes in high-dimensional modeling.

Introduction

Most real-world datasets, particularly images, are believed to follow the manifold hypothesis. This hypothesis suggests that while data may be represented in a high-dimensional space (e.g., $28 \times 28 = 784$ pixels for MNIST), the actual information clusters around a much lower-dimensional structure.

Standard likelihood-based models encounter significant theoretical and practical hurdles when dealing with this dimensionality gap. Because these models attempt to assign volume to data that effectively has none, the training process can collapse into "manifold overfitting." In this state, the model creates extremely sharp density spikes around training points to maximize likelihood, failing to learn the true underlying structure of the data. This research explores whether "fattening" the manifold with noise during training and subsequently denoising during inference can provide a robust solution.

Methodology

The authors proposed two primary strategies to bridge the dimensionality gap without altering the core architecture of the underlying DGMs.

1. Tweedie Denoising DGMs

This approach utilizes Tweedie’s formula, a mathematical identity that allows for the estimation of the mean of an exponential family distribution given a single noisy observation.

  • Training: A fixed level of Gaussian noise is added to the data. This ensures the target distribution occupies a full-dimensional volume, preventing infinite likelihood spikes.
  • Inference: To recover clean samples from the learned noisy distribution, the model utilizes the gradient of the learned density. Tweedie’s formula enables a one-shot denoising step to move from the noisy sample back toward the estimated original manifold.

2. Conditional Denoising DGMs

Rather than using a fixed noise level, this method trains the model to be "noise-aware." * Training: The model is trained on data corrupted by varying levels of noise, with the noise variance ($\sigma$) provided as a conditional input to the network. * Inference: The model is evaluated by setting the conditional noise parameter to zero ($\sigma = 0$), theoretically allowing it to generate samples directly on the clean manifold.

Experimental Setup

The proposed methods were integrated into standard VAE and Normalizing Flow architectures and evaluated on four benchmark computer vision datasets:

  • MNIST: Grayscale handwritten digits.
  • Fashion-MNIST (FMNIST): Grayscale clothing items.
  • SVHN: Color house numbers.
  • CIFAR-10: Diverse color images across ten categories.

Performance was primarily measured using the Fréchet Inception Distance (FID), where lower scores indicate higher image quality and better alignment with the true data distribution.

Results and Discussion

The results, originally presented at the NeurIPS "I Can't Believe It's Not Better" workshop, suggest that while the methods are well-motivated, their efficacy is inconsistent.

Inconsistent Performance Gains

The denoising variants (prefixed with TD- or CD-) did not consistently outperform baseline models. While there were specific successes—most notably the Conditional Denoising Normalizing Flow (CD-NF) on MNIST, which improved the FID from 137.2 to 87.4—these gains were not universal. On the Fashion-MNIST dataset, the standard VAE actually outperformed all proposed denoising variants.

The Challenge of Continuity

The failure of the conditional approach suggests a breakdown in the continuity assumption. For the $\sigma = 0$ inference to work, the model must smoothly interpolate from high-noise regimes to the zero-noise limit. The results indicate that models often continue to learn "spiky" or poorly generalized distributions even when conditioned on noise levels.

Comparison to Diffusion Models

Modern Diffusion Models also rely on denoising but do so through an iterative, multi-step process. This research demonstrates that simpler, "one-shot" denoising or conditional approaches struggle to capture the same generative quality, likely because they cannot accurately resolve the complex gradients required for high-quality manifold projection in a single step.

Conclusion

This study highlights the persistent difficulty of the manifold overfitting problem. The disappointing results suggest several limiting factors: the high sensitivity to the choice of noise level ($\sigma$), the potential for distributions to remain "peaked" even after smoothing, and the inherent complexity of real-world data manifolds that simple Gaussian noise may not adequately address. While these denoising techniques offer a "plug-and-play" simplicity, they are currently insufficient to replace the more complex iterative refinement processes found in state-of-the-art generative frameworks.

Summary updated

BibTeX
@inproceedings{loaizaganem2022denoising,
  author = {Gabriel Loaiza-Ganem and Brendan Leigh Ross and Luhuan Wu and John P. Cunningham and Jesse C. Cresswell and Anthony L. Caterini},
  title = {{Denoising Deep Generative Models}},
  booktitle = {ICBINB @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=2Ze_U-JilX},
}

Loading related content...

Figure