Abstract
This paper introduces PRI-VAE, a novel Variational Autoencoder objective based on the "Principle of Relevant Information" (PRI) designed to learn compact and disentangled representations. By leveraging a new matrix-based entropy estimator, the authors demonstrate that VAE training follows a "fitting-then-compression" dynamic. This work provides empirical evidence for a fundamental trade-off between reconstruction quality and disentanglement, while achieving state-of-the-art performance on standard benchmarks.
Introduction
The primary goal of representation learning is to extract latent variables ($z$) that are both compact—containing only relevant information—and disentangled, where individual dimensions correspond to independent factors of variation. While numerous VAE variants like $\beta$-VAE and FactorVAE have been proposed, understanding their internal learning dynamics remains challenging. A significant obstacle is the difficulty of calculating information-theoretic metrics, such as Mutual Information $I(x;z)$, in high-dimensional spaces. PRI-VAE addresses these challenges by introducing a new objective function and an efficient entropy estimation method.
Methodology
The PRI-VAE Objective
Standard VAEs typically optimize the Evidence Lower Bound (ELBO). PRI-VAE modifies this approach by incorporating the Principle of Relevant Information (PRI). The proposed objective is defined as: $$\mathcal{L}_{PRI-VAE} = \text{Reconstruction Loss} - \alpha H(z) - \beta D_{KL}[q(z) || p(z)]$$ Unlike models that directly penalize mutual information $I(x;z)$, PRI-VAE penalizes the entropy $H(z)$. Since $H(z)$ serves as an upper bound for $I(x;z)$, this provides a stronger regularization effect, encouraging faster convergence and more compact latent representations.
Matrix-based Entropy Estimation
To analyze the information flow during training, the authors utilize a recently developed estimator for Rényi’s $\alpha$-entropy. This method avoids the pitfalls of estimating complex probability densities in high dimensions by calculating entropy using the eigenvalues of a Gram matrix in a Reproducing Kernel Hilbert Space (RKHS). This allows for the tracking of $I(x;z)$ and Total Correlation $T(z)$ throughout the training process.
Key Insights: Learning Dynamics and Trade-offs
The use of the matrix-based estimator revealed two critical aspects of VAE training:
- Two-Phase Learning Curve: VAEs exhibit a distinct two-phase behavior. An initial "fitting" phase is characterized by a sharp increase in both mutual information and total correlation (entanglement). This is followed by a "compression" phase, where the model gradually sheds redundant information to improve disentanglement.
- The Disentanglement Trade-off: There is a strong positive correlation between $I(x;z)$ and $T(z)$. As the model is forced toward higher disentanglement (lower $T(z)$), it inevitably loses some information required for reconstruction (lower $I(x;z)$).
Experimental Results
The model was evaluated on benchmarks including dSprites, Cars3D, 3D Chairs, and Fashion-MNIST.
- Quantitative Performance: PRI-VAE consistently outperformed the InfoVAE family in the Mutual Information Gap (MIG) metric. A hybrid version, PRI-VAE*, achieved state-of-the-art MIG scores on dSprites (0.198) and Cars3D (0.132).
- Qualitative Discovery: On the 3D Chairs dataset, PRI-VAE successfully identified six factors of variation (e.g., size, azimuth, backrest), compared to four by standard $\beta$-VAE. On Fashion-MNIST, it discovered a novel "leg separation" factor in trousers.
Limitations and Future Work
Training PRI-VAE requires careful balancing of penalties; the authors suggest a heuristic of $\beta \ge 2\alpha$ to ensure the latent representation doesn't collapse into a single point. Additionally, the fundamental trade-off between disentanglement and reconstruction quality can lead to blurrier images at high disentanglement levels. Future research may explore "Jacobian supervision" to help bridge this gap. Finally, while the matrix-based estimator is effective for standard batch sizes, its computational cost scales with batch size, presenting a potential bottleneck for large-scale applications.
Summary updated