Abstract
Gaussian Process Latent Variable Models (GP-LVMs) offer a principled Bayesian framework for generative modeling, yet they are often sidelined in favor of Variational Autoencoders (VAEs) due to scalability issues and optimization instability. This paper introduces Stochastic Active Sets (SAS), a robust method for scaling GP decoders. By leveraging the theoretical link between the log-marginal likelihood and cross-validation, SAS utilizes random subsets of training data as active sets. This approach provides a more stable training signal than traditional inducing-point methods, resulting in superior latent representations and improved numerical robustness. Our results demonstrate that SAS-GP can scale to nearly $10^6$ observations and outperforms both standard GP-LVMs and VAEs in low-dimensional structure discovery.
Introduction
Gaussian Process (GP) decoders are highly attractive for generative modeling because they marginalize over the space of non-linear functions, providing a principled way to handle uncertainty. However, they suffer from two major hurdles: computational complexity and training fragility. Standard GPs have a complexity of $O(N^3)$, making them unusable for large datasets. The standard solution—using "inducing points" (pseudo-inputs)—is notoriously difficult to optimize in unsupervised settings. When both the latent variables and the inducing points are moving parts, the optimization often gets stuck or requires complex "tricks" to produce a meaningful latent structure.
This research argues that the field moved away from "active sets" (using actual subsets of the data) too quickly in favor of inducing points, missing out on the inherent stability that real data points provide. We propose Stochastic Active Sets (SAS) as a "third way" that balances the simplicity of early active set methods with the scalability of modern stochastic optimization.
Methodology: Stochastic Active Sets (SAS)
The core innovation of this work is the SAS framework. Instead of trying to find the single "optimal" subset of data to represent the GP—a hard combinatorial problem—we propose averaging over randomly sampled subsets.
The Cross-Validation Link
Drawing on recent theoretical work, we show that the log-marginal likelihood of a GP is equivalent to the average of all possible leave-$R$-out cross-validation scores. This insight allows us to treat the marginal likelihood objective as an expectation over data subsets.
Stochastic Approximation and Amortization
During training, the algorithm randomly splits a mini-batch into an "active set" (used to define the GP mapping) and a "hold-out set" (used to evaluate the likelihood). This provides an unbiased (or nearly unbiased) stochastic estimate of the marginal likelihood. To further stabilize the latent space, we employ amortization networks—neural network encoders that map observations directly to latent variables. This "back-constrains" the model, ensuring that similar observations stay close in the latent space. We also extend this logic to the Bayesian GP-LVM, providing a stochastic approximation of the Evidence Lower Bound (ELBO).
Experimental Results
We evaluated the SAS approach on three standard image benchmarks: MNIST, Fashion-MNIST (FMNIST), and CIFAR-10, as well as a large-scale dataset featuring nearly $10^6$ observations.
Latent Space Quality and Classification
Using a simple 1-Nearest Neighbor classifier on a 2D latent space, the Bayesian SAS-GP achieved 63% accuracy on both MNIST and FMNIST. This significantly outperformed the standard Bayesian GP-LVM, which often collapsed to 18-24% accuracy, and even surpassed the VAE (54-58%). Qualitative analysis shows that SAS-GP creates highly organized latent "landscapes" where classes are clearly separated and transitions between points are smooth.
Numerical Robustness and Efficiency
SAS is surprisingly stable in 32-bit numerical precision. In contrast, inducing point methods often require 64-bit precision and significant "jitter" (noise added to the diagonal of covariance matrices) to prevent mathematical errors. Furthermore, SAS converged faster than inducing point methods because it avoids the overhead of optimizing pseudo-input locations, reaching high-quality solutions in fewer iterations.
Discussion and Future Work
SAS positions itself as a middle ground between rigid early-2000s active set methods and complex modern inducing point methods. By using real data points, the model avoids the "interaction" issues where latent variables and inducing points fight each other during training.
However, limitations remain. The current framework is optimized for Gaussian likelihoods, which are best suited for continuous data. Future work involves adapting SAS to work with likelihoods like the "discretized mixture of logistics" to better handle pixel data. Additionally, exploring deep kernels or convolutional GP structures could help the model better capture high-dimensional features of complex images. While this paper focuses on unsupervised decoders, the SAS framework could theoretically be applied to supervised GP regression to improve robustness in that domain as well.
Summary updated