Abstract: The Cholesky decomposition is a fundamental tool for solving linear systems with symmetric and positive definite matrices which are ubiquitous in linear algebra, optimization, and machine learning. Its numerical stability can be improved by introducing a pivoting strategy that iteratively permutes the rows and columns of the matrix. The order of pivoting indices determines how accurately the intermediate decomposition can reconstruct the original matrix, thus is decisive for the algorithm's efficiency in the case of early termination. Standard implementations select the next pivot from the largest value on the diagonal. In the case of Bayesian nonparametric inference, this strategy corresponds to greedy entropy maximization, which is often used in active learning and design of experiments. We explore this connection in detail and deduce novel pivoting strategies for the Cholesky decomposition. The resulting algorithms are more efficient at reducing the uncertainty over a data set, can be updated to include information about observations, and additionally benefit from a tailored implementation. We benchmark the effectiveness of the new selection strategies on two tasks important to Gaussian processes: sparse regression and inference based on preconditioned iterative solvers. Our results show that the proposed selection strategies are either on par or, in most cases, outperform traditional baselines while requiring a negligible amount of additional computation.
Introduction
Gaussian Processes (GPs) are powerful nonparametric models known for providing robust uncertainty estimates. However, their computational cost scales cubically ($O(N^3)$) with the number of data points $N$, making them challenging for large datasets. To mitigate this, practitioners often employ low-rank approximations by stopping a matrix factorization—specifically, the pivoted Cholesky decomposition—early.
Standard linear algebra libraries typically use a pivoting strategy that selects the point with the highest variance (the largest diagonal element). While numerically stable, this paper argues that such a strategy is often suboptimal for Gaussian Process inference when the algorithm is terminated early. For stationary kernels, this default approach acts as greedy entropy maximization, which tends to prioritize outliers or boundary points, failing to efficiently reduce the overall model uncertainty.
Bridging Linear Algebra and Active Learning
By recognizing that standard pivoting is mathematically equivalent to greedy uncertainty sampling in active learning, the authors propose two novel strategies that are smarter about point selection:
- Projected Covariance (PCov): Instead of picking the single most uncertain point, PCov aims to select the point that maximally reduces the uncertainty of all remaining points (approximating A-optimal design). It prioritizes "central" points that share high covariance with the rest of the dataset. Through clever caching, the authors maintain an efficient $O(N)$ cost per iteration.
- Weighted Projected Covariance (WPCov): This strategy incorporates target observations ($y$) into the selection process. By weighting the selection to greedily minimize $\ell_2$ prediction error, it acts similarly to a matching pursuit algorithm, making the decomposition task-specific.
Empirical Evaluation and Results
The effectiveness of these strategies was evaluated on 12 standard UCI datasets. The experiments focused on two key GP tasks: sparse regression and preconditioning for iterative solvers like Conjugate Gradient (CG).
Key Findings:
- Superior Sparse Approximations: In sparse GP regression, both PCov and WPCov achieved lower Negative Log Marginal Likelihoods (NLML) and lower trace reconstruction errors at lower ranks than traditional baselines. This allows for highly accurate models using fewer inducing points.
- Enhanced Solver Efficiency: When used to construct preconditioners, PCov significantly reduced the number of iterations and wall-clock time required for CG solvers to converge.
- Target-Aware Gains: WPCov consistently outperformed other methods in reducing the Sum of Squared Errors (SSE), demonstrating the value of incorporating target variables into the matrix factorization process.
- Implementation Speedups: A custom sparse triangular matrix data structure implemented in Julia further reduced computation time by up to an order of magnitude compared to standard formats.
Conclusion
This work demonstrates that integrating active learning principles into fundamental linear algebra operations can yield significant performance improvements for Gaussian Process inference. While the greedy nature of these strategies is inherently suboptimal compared to joint optimization, the empirical results show they are a powerful and computationally inexpensive alternative to standard pivoting. Future research will explore automated termination criteria and extensions to multi-output and classification settings.
Summary updated