Abstract
Standard Variational Autoencoders (VAEs) often struggle to map complex data directly to latent spaces, particularly when involving discrete variables or intricate structures. We present the Variational Composite Autoencoder (VCAE), a framework that introduces a surrogate variable to create a hierarchical bridge between observations and latent representations. This approach significantly improves learning efficiency, optimization stability, and generative performance.
Introduction
Generative modeling has been revolutionized by Variational Autoencoders (VAEs), which learn to compress high-dimensional data into a lower-dimensional latent space. However, the standard "one-off" encoder-decoder architecture often faces a significant "learning burden." When the gap between the raw observation ($x$) and the latent variable ($z$) is too wide—due to complex data structures like graphs or the use of discrete latent variables—optimization becomes unstable and convergence slows.
The Learning Burden in VAEs
The primary challenge in standard VAEs is the direct mapping from $x$ to $z$. In scenarios involving highly sophisticated data (e.g., grammar trees) or intractable latent variables, the encoder must capture extreme nuances in a single step. This often results in high-variance gradients during training, particularly when using score function estimators for discrete variables. The authors argue that this direct jump is often too ambitious, limiting the model's ability to learn effective representations.
The VCAE Framework: Bridging the Latent Gap
To address these limitations, the Variational Composite Autoencoder (VCAE) introduces an intermediate "surrogate" variable ($s$). This transforms the standard $x \leftrightarrow z$ mapping into a hierarchical structure: $x \leftrightarrow s \leftrightarrow z$.
Hierarchical Representation and Objective
In the VCAE framework, raw data is first projected into a moderate surrogate space ($s$), which then serves as the basis for learning the final latent variable ($z$). The model utilizes two inference networks, $q(s|x)$ and $q(z|x)$, alongside two generative networks, $p(s|z)$ and $p(x|s)$.
The authors derive a modified Evidence Lower Bound (ELBO) that incorporates the surrogate variable, allowing the decoupling of representation learning into two manageable sub-procedures. This hierarchy provides a "stepping stone" for the optimization process, smoothing the landscape and naturally reducing gradient variance.
Hybrid Optimization
A key advantage of VCAE is its flexibility in optimization strategies. It allows for hybrid approaches, such as employing the reparameterization trick for a continuous surrogate variable while using score function methods (like NVIL) for a discrete latent variable. This modularity makes VCAE a general framework that can unify and improve upon previous specialized methods.
Experimental Evaluation
The VCAE was evaluated on the statically binarized MNIST dataset, focusing on generative modeling and structured prediction tasks.
Generative Modeling Performance
In generative tasks, VCAE demonstrated superior performance compared to standard VAEs and other state-of-the-art optimization methods. VCAE achieved an importance-weighted log-likelihood of -95.7, significantly outperforming the standard VAE (-112.8) and the specialized "Concrete-s" baseline (-105.3).
Structured Prediction and Stability
For structured prediction (predicting image parts), VCAE reached a score of -62.1, surpassing both VAE-Con (-62.4) and the standard VAE (-77.1). Furthermore, VCAE outperformed specialized discrete optimizers like NVIL and REBAR across various architectures. Analysis of gradient variance confirmed that VCAE maintains lower or more competitive variance, explaining its faster and more stable convergence.
Conclusion and Future Work
The Variational Composite Autoencoder offers a robust solution to the learning burden in generative models by introducing a hierarchical surrogate space. While it demonstrates significant gains in log-likelihood and stability, future research should address the increased computational overhead of the additional network modules. Additionally, exploring the scalability of VCAE to high-resolution natural images and investigating optimal surrogate distribution types for different data modalities remain important avenues for future work.
Summary updated