Introduction
In unsupervised learning, a primary goal is to discover the latent hierarchical structure of data—understanding, for instance, that an image of a face is composed of complex shapes, which are in turn composed of simple edges. Hierarchical Variational Autoencoders (HVAEs) are theoretically well-suited for this task. However, they frequently suffer from posterior collapse, a phenomenon where higher-level latent layers ignore the input data and simply match a prior distribution (typically a standard Gaussian). This leads to top layers that fail to learn meaningful abstractions, as information fails to propagate upward through the hierarchy.
Methodology
This paper proposes a novel approach to mitigating posterior collapse by reimagining hierarchical inference as a sequential decision process optimized via Reinforcement Learning (RL).
Sequential Decision Formulation
The inference of latent variables ($z_1, z_2, ... z_L$) is treated as an agent taking actions in an environment. The "state" consists of the input data and previously generated latent variables, while the "action" is the generation of the next latent variable in the hierarchy. The encoder network serves as the policy.
Skip-Generative Path and Reward Design
To ensure high-level latents capture useful information, the authors introduce a skip-generative path. This path marginalizes out intermediate layers to evaluate how well the input $x$ can be reconstructed using only a specific high-level latent (e.g., $z_5$). The reward is based on the mutual information between the input and the current latent variable, effectively measuring the unique information provided by each layer.
Q-Value Regularization
By employing a Q-value function that considers both immediate and future rewards, the model ensures that lower layers are optimized not just for immediate reconstruction, but to provide a foundation for subsequent levels of abstraction. The entire system is trained using policy gradients to optimize the encoder and decoder simultaneously.
Experimental Results
The approach was evaluated on standard benchmarks including FashionMNIST, CIFAR-10/100, TinyImageNet, and STL-10.
Mitigating Posterior Collapse
Quantitative analysis using Mutual Information Neural Estimation (MINE) demonstrates that the RL-enhanced model (HVAE+RL) maintains significantly higher mutual information at top-level latents compared to standard HVAE and Integrated VAE (IVAE) baselines.
Qualitative and Downstream Performance
Visualizations confirm that while standard HVAEs produce generic, blurry reconstructions at high levels, the RL-trained models retain specific attributes like pose or clothing type. This improved representation translates to massive gains in downstream tasks; on FashionMNIST, classification accuracy jumped from ~10.7% (standard HVAE) to 78.23% (HVAE+RL).
Discussion and Key Insights
A critical finding of this work is that a model with a lower Evidence Lower Bound (ELBO)—traditionally seen as a sign of a "worse" model—can actually produce superior representations for downstream tasks. This suggests that standard VAE evaluation metrics may be misaligned with the goal of feature learning. Unlike methods that disrupt the hierarchy to avoid collapse, the RL approach preserves the semantic dependency between levels: lower levels retain fine-grained details, while higher levels capture abstract concepts.
Conclusion
By treating hierarchical inference as a reinforcement learning problem, this work provides a robust mechanism for ensuring information flow to the highest levels of a latent hierarchy. Future work may involve extending this RL-based regularization to the latent layers of diffusion models to enhance their interpretability and efficiency.
Summary updated