Denoising Criterion for Variational Auto-Encoding Framework

Daniel Jiwoong Im, Sungjin Ahn, Roland Memisevic, Yoshua Bengio

Abstract

This paper introduces the Denoising Variational Autoencoder (DVAE), a framework that bridges the gap between the robustness of Denoising Autoencoders (DAE) and the probabilistic rigor of Variational Autoencoders (VAE). By incorporating input corruption and deriving a new, tractable variational lower bound, the authors enable models to learn more expressive approximate posterior distributions, such as mixtures of Gaussians. Experimental results on standard benchmarks demonstrate that DVAE and its importance-weighted extension, DIWAE, consistently outperform their vanilla counterparts, particularly when paired with complex inference networks.

Introduction

Variational Autoencoders (VAEs) have become a cornerstone of generative modeling, yet they often suffer from a "flexibility gap." To maintain computational efficiency, VAEs typically assume a simple Gaussian approximate posterior. This assumption is often too restrictive to capture the intricate manifold structure of real-world data.

Conversely, deterministic Denoising Autoencoders (DAEs) are renowned for their generalization capabilities. By learning to map corrupted inputs back to clean targets, DAEs effectively capture the underlying data manifold. This paper explores whether the denoising principle can be integrated into the variational framework to create more flexible and robust probabilistic models. The primary challenge is mathematical: adding input noise typically renders the standard Evidence Lower Bound (ELBO) intractable due to the need to marginalize over the noise distribution.

Methods

The authors propose a modified objective function termed the Denoising Variational Lower Bound ($L_{dvae}$). The framework operates through several key steps:

  1. Input Corruption: Similar to a DAE, the model receives a clean input $x$, which is corrupted into $\tilde{x}$ using Gaussian or salt-and-pepper noise before being fed into the inference network.
  2. Implicit Mixture Models: The authors prove that marginalizing the encoder over the input noise effectively transforms the approximate posterior into a Mixture of Gaussians, which is significantly more expressive than a single Gaussian.
  3. Tractable Bound: A new inequality is derived, demonstrating that the proposed denoising bound is a tighter lower bound on the log-likelihood than the standard approach when inputs are noisy.
  4. DIWAE Extension: This logic is extended to the Importance Weighted Autoencoder (IWAE), resulting in the Denoising Importance Weighted Autoencoder (DIWAE).

Experimental Results

The models were evaluated on the Binarized MNIST and Frey Face datasets. A key theoretical insight confirmed by the experiments is that adding stochastic layers (like input noise) to the bottom of an inference network can provide a tighter lower bound on the marginal likelihood.

Generative performance (P(x)) over training epochs for various VAE and DVAE variants.

As shown in the training curves, DIWAE and DVAE variants consistently achieve higher log-likelihoods than standard VAE and IWAE models. Specifically, DIWAE with $M=10$ samples demonstrates the strongest performance, highlighting the synergy between denoising and importance weighting.

Impact of Noise Levels

The experiments revealed a "sweet spot" for input corruption. For instance, on MNIST, salt-and-pepper noise levels between 5% and 10% yielded superior results compared to no noise (standard VAE) or excessive corruption (15%).

Performance comparison across different noise levels and hidden layer configurations.

The denoising criterion proved particularly effective when using powerful inference networks like Gated Recurrent Units (GRUs), which are otherwise prone to overfitting. By forcing the network to map various corrupted versions of a data point to the same latent posterior, the model becomes more robust to small perturbations in the observation space.

Conclusion and Future Work

The DVAE framework successfully integrates denoising into variational inference, providing a principled way to increase posterior flexibility. While the results are promising, the current approach requires manual tuning of noise types and levels. Future research may focus on learning the corruption distribution automatically. Additionally, while increasing the number of Monte Carlo samples ($M$) improves the bound, it comes at a higher computational cost, suggesting a need for more efficient sampling or heuristic procedures for high-resolution datasets.

Summary updated

BibTeX
@inproceedings{im2017denoising,
  author = {Daniel Jiwoong Im and Sungjin Ahn and Roland Memisevic and Yoshua Bengio},
  title = {{Denoising Criterion for Variational Auto-Encoding Framework}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10777},
}
Figure