Fully Scalable Gaussian Processes using Subspace Inducing Inputs

Aristeidis Panos, Petros Dellaportas, Michalis K. TitsiasarXiv 2018

Abstract

We introduce fully scalable Gaussian processes, an implementation scheme that tackles the problem of treating a high number of training instances together with high dimensional input data. Our key idea is a representation trick over the inducing variables called subspace inducing inputs. This is combined with certain matrix-preconditioning based parametrizations of the variational distributions that lead to simplified and numerically stable variational lower bounds. Our illustrative applications are based on challenging extreme multi-label classification problems with the extra burden of the very large number of class labels. We demonstrate the usefulness of our approach by presenting predictive performances together with low computational times in datasets with extremely large number of instances and input dimensions.

Introduction

Gaussian Processes (GPs) are powerful, flexible non-parametric models, but they traditionally scale poorly with the number of training instances $N$, typically $\mathcal{O}(N^3)$. While "sparse GPs" using $M$ inducing variables and stochastic optimization have successfully reduced this complexity to $\mathcal{O}(M^3)$, they hide a critical bottleneck: the input dimensionality $D$.

In reality, the time complexity of modern sparse GPs is $\mathcal{O}(DM^2 + M^3)$. When dealing with modern machine learning tasks like text processing or extreme multi-label classification, $D$ can reach the hundreds of thousands. In these scenarios, the $\mathcal{O}(DM^2)$ term dominates, making the optimization of inducing inputs computationally prohibitive. This paper addresses this "dimensionality bottleneck" to make GPs truly scalable for massive, high-dimensional datasets.

Methodology

The authors propose two major methodological improvements to the variational sparse GP framework:

Subspace Inducing Inputs

Instead of freely optimizing the $M \times D$ matrix of inducing inputs $Z$, which requires computing gradients over $DM$ parameters, the authors restrict $Z$ to a data-informed lower-dimensional subspace. They precompute a basis matrix $\tilde{X}$ of size $R \times D$ (where $R \ll D$) using Singular Value Decomposition (SVD) on the training data. The inducing inputs are then parameterized as $Z = A\tilde{X}$, where $A$ is an $M \times R$ matrix of tunable weights. This reduces the optimization complexity from $\mathcal{O}(DM^2)$ to $\mathcal{O}(RM^2)$.

Efficient Variational Parameterization

Standard free-form parameterization of the variational distribution $q(\mathbf{u})$ requires optimizing a full covariance matrix ($\mathcal{O}(M^2)$ parameters), which can be slow and numerically unstable. The authors propose a parsimonious $2M$-parameter representation using a mean vector and a diagonal matrix, preconditioned with the model's kernel matrix $K_Z$. This structure cancels out the inverses and determinants of $K_Z$ in the Evidence Lower Bound (ELBO), eliminating the need for unstable Cholesky decompositions of the prior covariance.

Multi-Label GP Factor Model (MLGPF)

To evaluate these scalable GPs, the authors build a hierarchical model for extreme multi-label classification that uses a small number of shared latent GP functions to capture correlations across thousands of class labels.

Experimental Results

The method was evaluated on a mix of small-scale (Bibtex, Delicious, Mediamill, EUR-Lex) and large-scale (RCV1, AmazonCat) real-world multi-label classification datasets.

Computational Efficiency

Using subspace inducing inputs (s-LINEAR) drastically reduced training times on high-dimensional datasets. For the massive AmazonCat dataset ($D \approx 203$K), training time per epoch dropped from 782.1 minutes for standard LINEAR to 400.7 minutes for s-LINEAR. Furthermore, computing KL divergence terms and their derivatives was more than 4 times faster using the subspace method on this dataset.

Comparison of subspace-based (s-) and standard GP models across various datasets, showing Precision@k and training times.

Predictive Performance

Despite the aggressive approximations, the MLGPF model achieved Precision@k scores highly competitive with state-of-the-art tree and embedding methods such as SLEEC, FastXML, and PD-Sparse. In some cases, like the EUR-Lex dataset, the subspace GP approach outperformed all baselines.

Predictive performance (Precision@k) of the proposed s-LINEAR model compared to state-of-the-art multi-label classification methods.

Conclusion

High dimensionality is a significant challenge for sparse GPs, as kernel evaluations in high dimensions are computationally expensive. By projecting the optimization problem onto a lower-dimensional subspace derived from the training data, the authors retain the flexibility of gradient-based optimization at a fraction of the cost. Preconditioning the variational covariance matrix further stabilizes the ELBO, avoiding numerical issues common in GP optimization. Future work may extend these techniques to more complex kernels and address missing labels in extreme multi-label datasets.

Summary updated

BibTeX
@misc{panos2018fully,
  author = {Aristeidis Panos and Petros Dellaportas and Michalis K. Titsias},
  title = {{Fully Scalable Gaussian Processes using Subspace Inducing Inputs}},
  year = {2018},
  eprint = {1807.02537},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.02537},
}
Figure