Papers
Topics
Authors
Recent
Search
2000 character limit reached

Variational Free Energy Pivot Selection for Pivoted Cholesky

Published 1 Jun 2026 in math.NA | (2606.01821v1)

Abstract: Pivoted Cholesky factorizations construct low-rank approximations of symmetric positive definite matrices by sequentially selecting pivots from the residual diagonal. Classical greedy and randomized rules, such as randomly pivoted Cholesky, target the algebraic trace-norm error of the residual. In many applications, however, the matrix enters a nonlinear matrix functional whose value, not the trace-norm error, determines solution quality, and residual-based rules ignore this structure. We derive a pivot rule that maximizes the exact one-step change of such a functional under Cholesky-consistent rank-1 updates, for a functional combining log-determinant, quadratic, and trace terms. This functional arises as the variational free energy in Gaussian process regression, where the matrix is a kernel matrix. The resulting per-step gain admits a closed-form additive decomposition into complexity, data-fit, and trace contributions, and is used directly as a pivot-selection criterion. We refer to the resulting method as ΔΔ-VFE pivoted Cholesky. At each iteration, the criterion is evaluated on a batch of ss candidate pivots sampled proportionally to the residual diagonal via incremental Woodbury updates, at a total cost of O(snr<sup>2)\mathcal{O}(snr<sup>2) for an n×nn\times n matrix and target rank rr. This matches the asymptotic complexity of randomly pivoted Cholesky up to the batch factor ss. Cholesky-consistent rank-1 updates yield monotonically non-decreasing functional values, and the proposed rule maximizes the per-step gain among them. Numerical experiments show improved objective values and predictive accuracy at low to moderate ranks compared to classical and randomly pivoted Cholesky, while preserving trace-norm approximation quality.

Authors (2)

Summary

  • The paper derives an exact per-pivot variational free energy gain that combines complexity, data-fit, and trace terms, enabling objective-aware Cholesky selection with monotonic improvement guarantees.
  • The proposed randomized batch method runs in O(snr²) time and O(nr + r²) space, reduces to RPCholesky when s=1, and uses incremental Woodbury updates for efficiency.
  • Experiments on Abalone and QM7 show up to 57.79% smaller VFE gaps, improved low-rank prediction accuracy, and trace errors matching or outperforming established baselines.

Motivation and problem statement

Pivoted Cholesky factorizations construct low-rank approximations KLLK \approx LL^\top of symmetric positive definite matrices by greedily or randomly selecting pivots from the residual diagonal. Classical greedy pivoted Cholesky and its randomized variant RPCholesky target the algebraic trace-norm error tr(KK~)\mathrm{tr}(K - \widetilde K), a criterion that is well understood and carries provable guarantees. In Gaussian process regression (GPR), however, the quality of an approximation is governed not by the trace error but by the variational free energy (VFE) lower bound on the log marginal likelihood, which combines log-determinant, quadratic data-fit, and trace terms. Residual-diagonal pivot rules explicitly optimize only the third of these components. The paper addresses this mismatch by deriving a pivot rule that maximizes the exact one-step change of the VFE under rank-1 updates that are consistent with the incremental Cholesky factorization.

The per-pivot gain formula

The central theoretical result is a closed-form additive decomposition of the exact change in the VFE induced by a rank-1 update K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top. Writing Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I, a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u, and b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y, the gain is

ΔL=12(log(1+a)b21+a1σε2u22).\Delta\mathcal L = -\frac{1}{2}\left(\log(1+a) - \frac{b^2}{1+a} - \frac{1}{\sigma_\varepsilon^2}\|\bm u\|_2^2\right).

The three terms correspond exactly to the complexity, data-fit, and trace penalty components of the VFE. Restricting to Cholesky-consistent updates up=tp/dp(i)\bm u_p = \bm t_p/\sqrt{d_p^{(i)}}, where tp\bm t_p is the residual column at candidate pivot pp, yields computable scalars tr(KK~)\mathrm{tr}(K - \widetilde K)0 and tr(KK~)\mathrm{tr}(K - \widetilde K)1 expressible purely in terms of quantities already maintained by pivoted Cholesky.

Two structural observations sharpen the interpretation. First, the trace term tr(KK~)\mathrm{tr}(K - \widetilde K)2 equals the exact one-step decrease in tr(KK~)\mathrm{tr}(K - \widetilde K)3, namely tr(KK~)\mathrm{tr}(K - \widetilde K)4, whereas greedy pivoted Cholesky uses the diagonal entry tr(KK~)\mathrm{tr}(K - \widetilde K)5 only as a tractable proxy for this quantity. Second, using the identity tr(KK~)\mathrm{tr}(K - \widetilde K)6, the data-fit term is a scaled inner product between the candidate direction and the current predictive residual — a directional quantity, in contrast to the pointwise residual-magnitude criterion of Schreiter et al. This places the method in a three-level hierarchy: diagonal-based rules (greedy, RPCholesky), exact trace-reduction maximizers, and finally the full variational objective.

A notable consequence is that monotonicity holds for any admissible pivot: since tr(KK~)\mathrm{tr}(K - \widetilde K)7, every Cholesky-consistent update satisfies tr(KK~)\mathrm{tr}(K - \widetilde K)8, so greedy pivoted Cholesky and RPCholesky also produce monotonically non-decreasing VFE sequences. The proposed rule simply selects, at each step, the admissible pivot maximizing this guaranteed gain.

Algorithmic realization and complexity

Evaluating the gain for all tr(KK~)\mathrm{tr}(K - \widetilde K)9 candidates would cost K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top0 overall, which is infeasible. The algorithm instead samples a batch K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top1 of K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top2 candidates proportionally to the residual diagonal — the same distribution as RPCholesky, so the method reduces exactly to RPCholesky at K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top3 — and evaluates K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top4 only within the batch. Repeated application of K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top5 is handled via Woodbury identities, with the auxiliary matrix K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top6 updated incrementally by a Schur-complement block formula rather than refactored. For K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top7, total runtime is K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top8 with space complexity K~i+1=K~i+uu\widetilde K_{i+1} = \widetilde K_i + \bm u\bm u^\top9, matching RPCholesky up to the batch factor Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I0. This assumes kernel columns are formed on demand; precomputing Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I1 raises costs to Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I2 time and Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I3 space.

Relation to prior work

The scalar per-candidate gain was previously derived by Cao et al. in their CholQR algorithm for sparse GP inducing-point optimization, via an augmented QR representation interleaved with local-search swaps and hyperparameter optimization. The contribution here is a re-derivation within the fixed-hyperparameter pivoted Cholesky framework, making the additive decomposition explicit and connecting the rule to the randomized pivoted-Cholesky literature through the shared sampling distribution. Compared to ridge leverage score sampling, the data-fit term Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I4 differs structurally: it is directional, built from the current low-rank approximation rather than the full kernel, depends on Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I5, and evolves incrementally. Relative to Bach–Jordan's Cholesky with side information, the gain here is exact rather than approximated with look-ahead strategies.

Numerical results

Experiments on Abalone (Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I6, Gaussian kernel) and QM7 (Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I7, Laplacian kernel), averaged over 15 randomized runs, compare greedy pivoted Cholesky, RPCholesky, and Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I8-VFE pivoted Cholesky up to rank 2048.

  • VFE objective: On Abalone at Σi=K~i+σε2I\Sigma_i = \widetilde K_i + \sigma_\varepsilon^2 I9, a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u0-VFE reduces the relative gap a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u1 by approximately 57.79% versus greedy pivoted Cholesky and 26.91% versus RPCholesky; the advantage over greedy remains above 70% throughout a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u2. On QM7, gains over both baselines are near 50% at a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u3, peaking at 57.04% over greedy at a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u4. Notably, even at a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u5 no method has converged on QM7, where a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u6-VFE still attains the smallest gap (230.66% vs. 360.89% and 317.43%).
  • Trace-norm error: Despite optimizing a different objective, a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u7-VFE matches or improves upon RPCholesky's relative trace error throughout, with gaps reaching 15.88% (Abalone, a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u8) and 59.06% over greedy (QM7, a=uΣi1ua = \bm u^\top \Sigma_i^{-1}\bm u9). This indicates the functional-aware gains do not come at the cost of standard approximation quality.
  • Prediction: On Abalone, RMSE improvements over baselines reach roughly 5.5–6% at b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y0; on QM7, MAE reductions reach 20.43% (vs. greedy) and 38.37% (vs. RPCholesky) at b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y1. At very small ranks (b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y2) greedy occasionally wins, so the advantage is specific to low-to-moderate ranks.
  • Batch size: On QM7 with b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y3, all batch sizes beat RPCholesky on all metrics; the relative VFE gap decreases monotonically in b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y4 from b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y5 onward but with diminishing returns, and b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y6 already captures most of the achievable gain while yielding strictly lower trace errors than RPCholesky across the displayed range. This supports treating b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y7 as a small constant in practice.

Limitations and open questions

Several caveats are stated in the paper itself. The empirical validation covers two benchmark datasets and two kernels; generalization to other regimes is not established. The batch size b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y8 is treated empirically rather than analyzed theoretically, and no convergence-rate analysis for the resulting pivot sequence is provided. The method operates in the fixed-hyperparameter regime, so the interaction between objective-aware pivoting and hyperparameter optimization — where the data-fit term's dependence on b=uΣi1yb = \bm u^\top \Sigma_i^{-1}\bm y9 could couple with kernel learning — remains unexamined. Finally, the derivation is specific to the VFE functional; extension to other nonlinear matrix functionals is posed as an open direction rather than solved.

Conclusion

This paper derives an exact, closed-form per-step gain for the variational free energy under Cholesky-consistent rank-1 updates and uses it as a greedy pivot-selection criterion implementable at ΔL=12(log(1+a)b21+a1σε2u22).\Delta\mathcal L = -\frac{1}{2}\left(\log(1+a) - \frac{b^2}{1+a} - \frac{1}{\sigma_\varepsilon^2}\|\bm u\|_2^2\right).0 cost via incremental Woodbury updates. The rule provably produces monotonically non-decreasing VFE values, subsumes RPCholesky as the ΔL=12(log(1+a)b21+a1σε2u22).\Delta\mathcal L = -\frac{1}{2}\left(\log(1+a) - \frac{b^2}{1+a} - \frac{1}{\sigma_\varepsilon^2}\|\bm u\|_2^2\right).1 special case, and empirically improves both the target objective and predictive accuracy at low-to-moderate ranks without degrading trace-norm approximation quality. The main open questions concern convergence theory, principled batch-size selection, and interaction with hyperparameter learning.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.