Abstract
Traditional Gaussian Process Variational Autoencoders (GP-VAEs) are limited by $O(N^3)$ computational complexity and poor generalization to unseen object styles. We present the Factorized GP-VAE (FGP-VAE), which partitions latent variables into local (instance-specific) and global (group-shared) components. By factorizing the kernel matrix, FGP-VAE achieves a 13x speedup and superior reconstruction accuracy while enabling zero-shot generation of novel object instances.
Introduction
Variational Autoencoders (VAEs) are powerful generative models, but their standard formulation assumes data points are independent and identically distributed (IID). In many real-world scenarios, such as video sequences or multi-view imaging, data is highly correlated. GP-VAEs were introduced to capture these correlations by using a Gaussian Process prior over auxiliary features. However, the cubic scaling of GPs makes them impractical for large datasets. Furthermore, existing models often struggle to generalize to "unseen" styles without extensive retraining.
Methodology
FGP-VAE addresses these challenges through structural optimizations that exploit the natural grouping of data. The architecture introduces three key innovations:
Kernel Factorization
Instead of a monolithic $N \times N$ correlation matrix, FGP-VAE assumes independence between distinct groups (e.g., different digit instances). This results in a block-diagonal covariance structure, reducing computational complexity from $O(N^3)$ to $O(PQ^3)$, where $P$ is the number of groups and $Q$ is the group size.
Latent Space Partitioning
The latent space is split into two distinct parts:
- Local Latents: These capture variations tied to auxiliary features, such as the specific angle of a rotation.
- Global Latents: These capture group-wide characteristics, representing the unique "style" or identity of an object.
Disentangled Kernels
By employing different kernels for different latent dimensions—such as periodic kernels for rotation and binary kernels for identity—the model is mathematically incentivized to disentangle style from pose.
Key Results
Evaluated on the Rotated MNIST dataset (6,400 images consisting of 400 digit instances at 16 angles), FGP-VAE demonstrates significant performance gains.
As illustrated above, FGP-VAE maintains high visual fidelity. Quantitatively, it outperforms baseline models across all metrics, achieving the lowest Mean Squared Error (MSE) and the fastest training time among GP-based approaches.
Notably, FGP-VAE excels at extrapolation. It can generate rotations for "unseen" digits (styles not in the training set) by inferring global latents from a single image. The model achieves an MSE of 0.0316 on these unseen instances, a capability lacking in previous GP-VAE architectures.
Discussion
While FGP-VAE significantly improves scalability, it remains $O(Q^3)$ within individual groups. Future work may incorporate Sparse GP techniques to handle larger group sizes. Additionally, automating kernel selection and learning auxiliary features from raw data are promising directions for extending the model to more complex, unstructured datasets.
Summary updated