Skip to main content
QUICK REVIEW

[Paper Review] Dueling Decoders: Regularizing Variational Autoencoder Latent Spaces

Bryan Seybold, Emily Fertig|arXiv (Cornell University)|May 17, 2019
Generative Adversarial Networks and Image SynthesisComputer Science45 references3 citations
TL;DR

This paper proposes Dueling Decoders, a regularization method for variational autoencoders (VAEs) that adds an auxiliary decoder to prevent posterior collapse in autoregressive VAEs. By training a secondary decoder to reconstruct input data from the latent space, the method enhances semantic information retention, leading to better representation quality than standard ELBO optimization or other regularization strategies.

ABSTRACT

Variational autoencoders learn unsupervised data representations, but these models frequently converge to minima that fail to preserve meaningful semantic information. For example, variational autoencoders with autoregressive decoders often collapse into autodecoders, where they learn to ignore the encoder input. In this work, we demonstrate that adding an auxiliary decoder to regularize the latent space can prevent this collapse, but successful auxiliary decoding tasks are domain dependent. Auxiliary decoders can increase the amount of semantic information encoded in the latent space and visible in the reconstructions. The semantic information in the variational autoencoder's representation is only weakly correlated with its rate, distortion, or evidence lower bound. Compared to other popular strategies that modify the training objective, our regularization of the latent space generally increased the semantic information content.

Motivation & Objective

  • To address the problem of posterior collapse in autoregressive VAEs, where decoders ignore the latent space and behave as autodecoders.
  • To investigate whether auxiliary decoding tasks can regularize the latent space and improve semantic information retention in VAE representations.
  • To evaluate whether common VAE training objectives—ELBO, rate, distortion—accurately reflect semantic information content in the latent space.
  • To compare the effectiveness of different auxiliary tasks across domains, particularly in computer vision versus natural language processing.
  • To develop a reliable proxy for measuring semantic information in VAE reconstructions and latent representations.

Proposed method

  • Introduce a dual-decoder architecture: a primary autoregressive decoder and a secondary auxiliary decoder trained to reconstruct input data from the latent code.
  • Use the auxiliary decoder as a regularizer to encourage the encoder to produce meaningful, disentangled latent representations.
  • Train the model using the standard VAE objective (ELBO) while leveraging the auxiliary decoder's reconstruction loss to shape the latent space.
  • Apply a linear or MLP classifier on the latent code to measure semantic representation accuracy, and a separate classifier on the reconstructed data to measure semantic reconstruction accuracy.
  • Visualize the latent space using 2D projections (e.g., mean and covariance of encoder distributions) to assess clustering by class label.
  • Compare models with and without regularization by evaluating performance across multiple datasets and decoder types (PixelCNN, CNN, Dueling Decoder).

Experimental results

Research questions

  • RQ1Can adding an auxiliary decoder effectively regularize the latent space and prevent posterior collapse in autoregressive VAEs?
  • RQ2How does the performance of the auxiliary decoder vary across different data modalities, such as image vs. text data?
  • RQ3To what extent do standard VAE metrics (ELBO, rate, distortion) correlate with semantic information content in the latent space?
  • RQ4Is semantic reconstruction accuracy a reliable proxy for the quality of learned representations in VAEs?
  • RQ5Do models with identical architectures and ELBO scores encode different amounts of semantic information depending on the training objective?

Key findings

  • The addition of a pixel-independent auxiliary decoder significantly improves semantic information retention in the latent space, especially for image classification tasks.
  • Models with Dueling Decoders achieved 88% ± 11% of the semantic information available in the latent space (as measured by MLP classifier accuracy), compared to 77% ± 15% for linear classifiers.
  • Semantic reconstruction accuracy (on reconstructions) and latent representation accuracy (on z) were highly correlated (R² > 0.8), validating reconstruction accuracy as a strong proxy for semantic content.
  • The latent space of models with auxiliary decoders showed clear class-wise clustering in 2D visualizations, whereas models without regularization exhibited disorganized, unstructured distributions.
  • Even with identical architectures and ELBO scores, models converged to different rate-distortion points, indicating that ELBO alone does not determine semantic quality.
  • Posterior collapse occurs early in training for autoregressive decoders, but models that escape this collapse via auxiliary regularization remain stable and generalize well.

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.