Abstract
Variational Autoencoders (VAEs) traditionally rely on an asymmetric training objective—the Evidence Lower Bound (ELBO)—which often treats the encoder as a secondary tool for optimizing the decoder. This paper introduces a symmetric approach, framing VAE training as a two-player game seeking a Nash equilibrium. By treating the encoder and decoder as equal partners, this method eliminates the need for the reparameterization trick, enables the use of complex implicit priors, and ensures superior consistency between data and latent representations.
Introduction: The Asymmetry Problem
Standard VAE training is fundamentally asymmetric. The encoder is typically used as a temporary "helper" to maximize the likelihood of the decoder, leading to several limitations:
- Prior Constraints: Models usually require simple, closed-form latent priors (e.g., standard Gaussians), hindering the use of structured latent spaces.
- Gradient Challenges: Training requires the "reparameterization trick" for continuous variables or high-variance estimators for discrete ones.
- Inconsistency: There is no inherent guarantee of "cycle consistency"—moving from data to latent space and back often results in significant information loss.
The proposed Symmetric Equilibrium Learning framework addresses these issues by creating a balanced learning environment where both the encoder and decoder are primary objectives.
Symmetric Equilibrium Learning
The authors frame training as a game between two players:
- The Decoder (Player 1): Maximizes data likelihood, using the encoder to infer missing latent variables.
- The Encoder (Player 2): Maximizes latent variable likelihood, using the decoder to infer missing data.
Instead of a single ELBO objective, the system defines two utility functions ($L_p$ and $L_q$) and seeks a Nash equilibrium—a state where neither player can improve their objective given the other's strategy.
Technical Advantages
- No Reparameterization: Since expectations in the utility functions do not require differentiating through the sampling process of the active player, the reparameterization trick is unnecessary. This simplifies the use of discrete latent variables.
- Implicit Priors: The method only requires samples from distributions, allowing for complex priors $p(z)$ that lack explicit mathematical forms.
- Theoretical Stability: For exponential family models, the authors prove this game converges to a unique, stable equilibrium.
Experimental Results
The method was evaluated on MNIST, Fashion-MNIST, and CelebA-HQ.
Consistency and Image Quality
A key finding is the dramatic improvement in "cycle consistency." When sampling from the "limiting distribution" (repeatedly cycling through the encoder and decoder), symmetric models maintain much higher image quality than ELBO-trained models.
On a Ladder VAE (LVAE), the symmetric approach achieved an FID of 3.63 in the limiting distribution, compared to 83.30 for ELBO, demonstrating that the symmetric objective prevents the model from drifting into low-quality regions of the data space during iterative sampling.
Structured Latent Spaces: Semantic Segmentation
The symmetric approach excels in tasks with structured latent spaces, such as generative semantic segmentation on CelebA-HQ. Here, the "latent space" consists of pixel-level labels.
The model achieved 90.7% segmentation accuracy and demonstrated impressive "missing data completion," successfully in-painting missing image regions while simultaneously inferring their underlying segmentation.
Conclusion and Future Work
Symmetric Equilibrium Learning provides a modern, game-theoretic foundation for VAEs, reimagining the classic "Wake-Sleep" algorithm. While finding Nash equilibria in non-convex deep learning landscapes can be challenging, the benefits in consistency and flexibility for structured tasks are significant. Future work may explore multi-player games and more complex semi-supervised scenarios.
Summary updated