acceptodds
Published as a conference paper at NeurIPS 2026

It Cancels: O(r²) Cholesky Updates for Whitened Operators

Anupama Sridhar, Jack Shi, Ravi Deshpande, Jack Li, Alexander R Johansen, Michael P Snyder

Abstract

Many sequential Bayesian methods maintain a whitened operator , where is the Cholesky factor of a kernel, precision, or curvature matrix. When the underlying matrix changes by a rank- perturbation, existing techniques propagate only one-sided quantities ; refreshing the sandwiched operator requires a full re-factorization that dominates iteration cost, consuming up to 91% of per-step time in natural gradient methods. We show that this cost is unnecessary. For pre-whitened inputs, intermediate factors of cancel exactly from both sides of the augmented Givens rotations, and the updated can be recovered in time by applying the rotations double-sidedly to a zero-padded matrix, followed by a rank-1 correction. We provide a self-contained derivation, stability bounds, and implementations as a C++ extension, MLX kernel, and Triton GPU kernel. On streaming sparse GP regression, online Bayesian optimization on protein fitness landscapes, and natural gradient preconditioning, the method matches full re-factorization in accuracy with up to speedups. At , training time drops from 1075s to 198s, making larger curvature charts affordable and producing strictly better test MSE.

Keywords:
Paris, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_URn7OpenReview ↗
Rating
4
Clarity
3
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

This work studies a problem in sequential Bayesian inference and natural gradient optimization: how to efficiently update the “whitened operator” with Cholesky preconditioning structure, without doing expensive full re-decomposition at every step.

The paper points out that in Gaussian processes, variational inference, and natural gradient methods, the system usually maintains a Cholesky decomposition and a whitened operator under this coordinate system. When the underlying matrix has low-rank changes, classical methods can update the Cholesky factor efficiently, but the whitened operator on both sides still needs to be recomputed. This makes the per-step complexity still cubic, and becomes the main bottleneck.

The authors propose a key algebraic observation: by applying Givens rotations in an augmented space, the Cholesky structure on the left and right sides of the whitened operator cancels out exactly. Using this property, one can perform transformations on an expanded matrix, and then take the main block. This gives a new update rule for the whitened operator with quadratic complexity.

Based on this idea, the paper further provides a full algorithm pipeline, including Cholesky update, two-sided propagation, low-rank correction, and vector recovery steps. They also prove numerical stability of the whole procedure. Experiments include streaming Gaussian processes, protein Bayesian optimization, and natural gradient training tasks. Results show that the method keeps the same numerical accuracy as full recomputation, but gives significant speedup across different scales.

The main claim of the paper is: it proposes an exact structural update method, so that whitened operators under low-rank changes can be updated in quadratic complexity, and this significantly reduces computational bottlenecks in several machine learning systems.

Strengths and weaknesses

From Quality, the paper is solid both in theory and implementation. The method is built on classical tools like Givens rotations and Cholesky updates. The authors provide full block-structure derivations and also include error control analysis. So it is not just heuristic, but has a strict algebraic foundation.

From Clarity, the overall logic is relatively clear: first it shows the bottleneck in whitening operator updates, then introduces the two-sided rotation idea, and finally presents algorithm and engineering details. The decomposition of the method is reasonable and helps understanding. But because there are many linear algebra transformations, it is still hard for readers without numerical linear algebra background.

From Significance, this is an important problem in Gaussian processes, online Bayesian inference, and natural gradient optimization. Cholesky recomputation is often a main computational bottleneck. Reducing complexity from cubic to quadratic is very meaningful in large-scale inducing point methods or streaming settings.

From Originality, the key contribution is the “two-sided propagation of whitened operators” idea. Although one-sided Cholesky updates and Givens rotations are classical, extending them to a two-sided whitening structure and using exact cancellation is a clear new technical idea. The perspective of exploiting structural invariance is also a strong methodological contribution.

Overall, I find this paper well balanced between theory and engineering, and it is a typical structural acceleration algorithm paper.

Questions

(1) Numerical stability in extreme cases Although the paper proves bounded error, numerical stability may still degrade near degenerate matrices or near downdate boundaries. It would be helpful to add more experiments under ill-conditioned kernels or highly correlated settings.

(2) GPU parallelization limitation Givens rotations are inherently sequential and not very GPU-friendly. Even though batching and kernel fusion are used, there may still be throughput bottlenecks. It would be good to analyze scalability when rank becomes large.

(3) Comparison with inverse-free methods The paper mentions inverse-free approaches, but does not clearly compare when each method is better. It would help to clarify the regime separation: when this method is preferred, and when inverse-free methods are better.

(4) Practical cost of rank-k extension Although complexity is quadratic times rank, in practice constant factors may be large, especially when multiple rotations are composed. A more fine-grained runtime breakdown would be useful.

(5) Dependence on whitening assumption The method assumes a whitened parameterization. It would be helpful to clarify whether non-whitened models need an extra transformation step, or whether the method can still be applied directly.

Limitations

yes

Paper formatting concerns

n.a.

Final justification
  • The rebuttal substantially addresses my numerical-stability concern. The new stress tests identify failures of unguarded low-precision updates in extreme regimes, while the proposed leverage and residual guards trigger precision upgrades or refactorization and keep final errors within the specified limits.

  • The authors provide a convincing response to the GPU scalability concern through an exact parallel-scan reformulation, B200 benchmarks, and a phase-level runtime breakdown. They also give detailed operation counts and rank-kk CPU benchmarks supporting the practical advantage over refactorization.

  • The comparison with inverse-free methods now clearly identifies the relevant regimes: inverse-free approaches are preferable under dense metric changes, whereas the proposed method is advantageous for repeated low-rank updates requiring two-sided whitened operators. The whitening requirement is also clarified as a one-time initialization whose cost is amortized over a stream.

  • A minor limitation is that stability in extreme cases relies on monitoring and occasional re-whitening or refactorization, and the new hardware evidence remains limited to the tested platforms. However, these are practical boundaries rather than flaws in the central method.

Overall, the rebuttal resolves my main concerns and considerably strengthens the empirical and implementation evidence. I therefore maintain my positive recommendation and support acceptance.

1 comment

We sincerely thank the reviewer for the incisive evaluation, recognizing both the exact algebraic contribution and its practical importance. On the density of the linear algebra: we see this as an opportunity. We will release an open-source package with a simple API (update, downdate, automatic guards) so practitioners can use the method without a numerical linear algebra background.

Q1: Numerical stability in extreme cases. We stress-tested positive updates and signed downdates at κ2(G)\kappa_2(G) up to 10810^{8} with near-duplicate points (Table 1). FP32 is inadequate for both methods: our worst trajectory (κ2(G)≈5.7×107\kappa_2(G)\approx5.7\times10^{7}) gave residual ∼6×10−2\sim6\times10^{-2} vs. ∼8×10−3\sim8\times10^{-3} for fresh FP32 refactorization. Near the downdate boundary, all requested downdates completed with errors $\geq$2 orders below limits.

CriterionLimitObserved maxResult
Positive/kernel trajectories complete640/640640/640640/640640/640pass
FP32 backward residual5.0×10−45.0\times10^{-4}6.04×10−26.04\times10^{-2}fail
FP64 backward residual1.0×10−101.0\times10^{-10}1.29×10−101.29\times10^{-10}fail
Requested FP64 downdates complete400/400400/400400/400400/400pass
Guarded downdates complete800/800800/800800/800800/800pass
Guarded FP32 AwA_w error10−310^{-3}2.83×10−62.83\times10^{-6}pass
Guarded FP64 AwA_w error10−1010^{-10}7.21×10−157.21\times10^{-15}pass

Table 1: Predeclared stress-test limits and observed maxima.

Given this boundary, we add two guards. (1) Pre-downdate: before G−=G−zz⊤G^-=G-zz^\top we compute the leverage ℓdown:=∥L−1z∥22\ell_{\mathrm{down}}:=\Vert L^{-1}z\Vert_2^2. If near 1, we reject, damp, or refactorize. (2) Post-update: an 8-column sketch QQ monitors ρ^=∥(LAwL⊤−M)Q∥F/∥MQ∥F\widehat{\rho}=\Vert(LA_wL^\top-M)Q\Vert_F/\Vert MQ\Vert_F. If ρ^>2.5×10−4\widehat{\rho}>2.5\times10^{-4} in FP32, we upgrade to FP64 and re-whiten. Over 48,48048{,}480 stress-grid operations, the policy ignored 48,27048{,}270 healthy updates, promoted 64 failing trajectories, refreshed 146 FP64 states, and kept all final errors within limits with zero false negatives (max post-policy residuals: 2.8×10−42.8\times10^{-4} FP32-start, 7.4×10−117.4\times10^{-11} FP64-start).

Q2: GPU parallelization and large-rank scaling. The Givens rotations are sequential only in appearance: each applies vector ops to O(r)O(r) entries, and the double-sided transport has O(r2)O(r^2) parallel work, exposed by an exact prefix-scan form. With u=L−1zu=L^{-1}z, Si=1+∑j≤iuj2S_i=1+\sum_{j\le i}u_j^2: ci=Si−1/Sic_i=\sqrt{S_{i-1}/S_i}, si=ui/Sis_i=u_i/\sqrt{S_i}, so one prefix sum over uj2u_j^2 gives all coefficients in O(log⁡r)O(\log r) depth. In each sweep, the padded entry follows pi=cipi−1−sixip_i=c_ip_{i-1}-s_ix_i, p0=0p_0=0. Affine maps compose associatively, so this runs as a parallel scan. Each of the r+1r+1 columns (left sweep) and rows (right sweep) is an independent chain. The reformulation only reassociates floating point, dropping no rotation.

We benchmarked a B200 in FP32 up to r=65,536r=65{,}536, ten fixed transitions per rank from The Well collection's accretion-disk trajectory database (Ohana et al., NeurIPS 2024). Timings include both methods' shared rank-one updates of GG and MM (Table 2).

rrOurs (ms)Refactor (ms)RatioRange
2,0482{,}0480.9710.9712.1652.1652.232.231.961.96–2.38×2.38\times
4,0964{,}0961.6671.6676.9096.9094.154.153.953.95–4.20×4.20\times
8,1928{,}1925.2065.20632.4132.416.226.226.196.19–6.24×6.24\times
16,38416{,}38412.1412.14198.3198.316.3416.3416.2716.27–16.36×16.36\times
32,76832{,}76831.5231.521,378.81{,}378.843.7443.7443.6943.69–43.77×43.77\times
49,15249{,}15258.0058.004,439.34{,}439.376.5376.5376.3676.36–76.57×76.57\times
65,53665{,}53691.5491.5410,277.710{,}277.7112.27112.27112.15\mathbf{112.15}–112.35×\mathbf{112.35}\times

Table 2: Median per-update time, ten transitions per rank, one B200.

Isolating the update alone at r=65,536r=65{,}536 (20 reps) yields median 43.60943.609 ms vs. 10,444.0510{,}444.05 ms for full Cholesky + re-whitening, i.e. 239.49×\mathbf{239.49\times} (SD 0.0440.044 ms, CV 0.100.10%). The gap widens with rr: refactorization does 73r3\frac{7}{3}r^3 FLOPs on O(r2)O(r^2) data (compute-bound) while ours does O(r2)O(r^2) FLOPs on the same data (bandwidth-bound), so wall-clock speedups trail Q4's arithmetic reductions. Table 3 reports correctness: cross-method AwA_w error vs. fresh recomputation, factor error for LL, and κ2(G)\kappa_2(G) (51 to 58, far below Q1's 10810^{8}). The last row aggregates all predeclared diagnostics including operator-validation residuals.

rrκ2(G)\kappa_2(G)AwA_w (cross-method)FactorMargin below 10−310^{-3}
2,0482{,}04857.757.7–58.058.04.17×10−54.17\times10^{-5}2.63×10−72.63\times10^{-7}24.0×24.0\times
4,0964{,}09656.556.5–56.856.84.59×10−54.59\times10^{-5}2.02×10−72.02\times10^{-7}21.8×21.8\times
8,1928{,}19255.155.1–55.455.43.62×10−53.62\times10^{-5}1.61×10−71.61\times10^{-7}27.6×27.6\times
16,38416{,}38453.753.7–54.054.03.10×10−53.10\times10^{-5}1.55×10−71.55\times10^{-7}32.3×32.3\times
32,76832{,}76852.452.4–52.652.62.98×10−52.98\times10^{-5}1.33×10−71.33\times10^{-7}33.6×33.6\times
49,15249{,}15251.651.6–51.851.83.04×10−53.04\times10^{-5}1.98×10−71.98\times10^{-7}32.9×32.9\times
65,53665{,}53651.051.0–51.351.32.82×10−52.82\times10^{-5}1.31×10−71.31\times10^{-7}35.5×35.5\times
Max, all diagnostics1.12×10−41.12\times10^{-4}8.9×8.9\times

Table 3: Correctness for the ladder of Table 2.

Remaining bottlenecks were shared-memory bank conflicts. Padding the stride from 64 to 65 fixed them (Table 4). Scan phases were already fast, so the sweep's sequential appearance is not the limit.

PhaseStride 64Stride 65Improvement
Descriptor9.7689.768 ms4.0564.056 ms2.41×2.41\times
Vertical scan0.4870.487 ms0.4880.488 msunchanged
Horizontal scan4.1654.165 ms4.1644.164 msunchanged
Apply18.14218.142 ms7.3097.309 ms2.48×2.48\times
Total AwA_w32.56232.562 ms16.01716.017 ms2.03×2.03\times

Table 4: Phase breakdown at r=65,536r=65{,}536, before/after padding.

Q3: Comparison with inverse-free methods. The closest is R-SVGP (Cortinovis et al., AISTATS 2026, arXiv:2604.00697): T≈K~−1\mathbf{T}\approx\widetilde{\mathbf{K}}^{-1} via matmul-only Newton–Schulz at O((B+K)r2+t∗r3)O((B+K)r^2+t^{\ast}r^3)/iter (BB minibatch, KK Hutchinson probes, t∗t^{\ast} NS steps; their MM is our rr). It is decomposition-free but tolerance-controlled and cubic per step. Regimes split by whether Aw=L−1ML−⊤A_w=L^{-1}ML^{-\top} is used per step and how the metric changes. If AwA_w is never needed (Kalman, RLS, prediction, R-SVGP-style batch training): use one-sided quantities or Sherman–Morrison. Under dense drift (batch/deep/interdomain SVGP training): inverse-free wins. Under rank-kk streams (NGD/Fisher preconditioning, streaming SVGP, online BO, Koopman/DMD, streaming Laplace): ours wins significantly due to Θ(r2k)\Theta(r^2k)/step vs. Θ(r3)\Theta(r^3)/NS step. Ours is exact vs. tolerance-controlled (Table 3), handles asymmetric (z≠wz\neq w) and two-metric (Lx≠LyL_x\neq L_y) operators, needs no warm start, and provides guarded downdates whose threshold τ\tau is auto-calibrable from a refresh budget (see response to Reviewer fdru). Our operation count is constant, while their t∗t^{\ast} varies with tolerance, schedules, stopping rules, and stochastic probes. Our advantage grows with rr (112×112\times at r=65,536r=65{,}536, Table 2). We will add this comparison to the related work section.

Q4: Practical cost of the rank-kk extension. We derive exact coefficients for both methods. Leading terms keep all contributions of order r2kr^2k or higher. Discarded terms (rkrk, r2r^2, rr) are lower order for all k≤rk\leq r, so the comparison holds throughout. For k≪rk\ll r the work ratio (ours vs. refactoring) is ≈r6k\approx\frac{r}{6k}. An FMA is two FLOPs.

QuantityOur rank-kk updateFresh refactorization
FMAs7r2k+2rk2−3rk+5r2−r27r^2k+2rk^2-3rk+\frac{5r^2-r}{2}k(3r2+r)2+r(r−1)(7r+1)6\frac{k(3r^2+r)}{2}+\frac{r(r-1)(7r+1)}{6}
Standalone multiplies3rk+2r3rk+2r5r2+r2\frac{5r^2+r}{2}
FP32 reciprocalsrr00
FP32 rsqrtsrrrr
Exact FLOPs14r2k+4rk2−3rk+5r2+r14r^2k+4rk^2-3rk+5r^2+rk(3r2+r)+r(r−1)(7r+1)3+5r2+r2k(3r^2+r)+\frac{r(r-1)(7r+1)}{3}+\frac{5r^2+r}{2}
Leading terms14r2k+4rk214r^2k+4rk^273r3+3r2k\frac{7}{3}r^3+3r^2k
k≪rk\ll r∼14r2k\sim14r^2k∼73r3\sim\frac{7}{3}r^3

Table 5: Exact work for a PSD rank-kk update, dense output (L+,Aw+)(L^+,A_w^+).

A CPU experiment confirms these speedups (mean ±\pm SD over ten seed medians). Speedup is the paired refactorization/update ratio, two-sided 95% CI. Values >1>1 favor us.

rrkkOurs (ms)Refactor (ms)Speedup [95% CI]
25610.414±0.0080.414\pm0.0081.180±0.0191.180\pm0.0192.853\mathbf{2.853} [2.825,2.881][2.825,2.881]
25620.473±0.0040.473\pm0.0041.180±0.0191.180\pm0.0192.4952.495 [2.463,2.527][2.463,2.527]
25640.520±0.0030.520\pm0.0031.183±0.0221.183\pm0.0222.2752.275 [2.246,2.304][2.246,2.304]
25680.638±0.0450.638\pm0.0451.210±0.0751.210\pm0.0751.8971.897 [1.879,1.916][1.879,1.916]
256160.779±0.0910.779\pm0.0911.223±0.1241.223\pm0.1241.5731.573 [1.556,1.590][1.556,1.590]
256321.149±0.0171.149\pm0.0171.247±0.0201.247\pm0.0201.0851.085 [1.075,1.094][1.075,1.094]
102417.007±0.2087.007\pm0.20858.97±2.3058.97\pm2.308.416\mathbf{8.416} [8.282,8.551][8.282,8.551]
102427.974±0.2097.974\pm0.20957.02±2.2457.02\pm2.247.1507.150 [7.052,7.247][7.052,7.247]
102448.844±0.2318.844\pm0.23158.47±2.2258.47\pm2.226.6156.615 [6.400,6.830][6.400,6.830]
1024810.29±0.2310.29\pm0.2357.34±2.7657.34\pm2.765.5725.572 [5.447,5.698][5.447,5.698]
10241612.97±0.2312.97\pm0.2356.94±1.7656.94\pm1.764.3894.389 [4.309,4.469][4.309,4.469]
10243218.33±0.1418.33\pm0.1457.21±1.9157.21\pm1.913.1223.122 [3.061,3.182][3.061,3.182]

Table 6: Direct PSD metric rank-kk CPU speedup confirmation.

Q5: Dependence on the whitening assumption. The method requires only that the maintained state contain an explicit G=LL⊤G=LL^\top and Aw=L−1ML−⊤A_w=L^{-1}ML^{-\top}, not that the whole model be in whitened coordinates: we whiten once, then maintain incrementally, amortizing setup over the stream. If needed only once, computing from scratch suffices. If only one-sided quantities are needed, use the propagation from Q3.

Reviewer_RVfBOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper addresses a long-standing computational bottleneck in sequential Bayesian methods (such as variational Gaussian processes and natural gradient preconditioning): the O(r3)O(r^3) cost of updating a double-sided whitened operator Aw=L−1ML−⊤A_w = L^{-1}ML^{-\top} when the underlying matrix undergoes a rank-1 perturbation. While updating the Cholesky factor LL or one-sided quantities L−1BL^{-1}B in O(r2)O(r^2) or O(rp)O(rp) time is well-established, updating the sandwiched matrix AwA_w has historically required full re-factorization.

The authors present a surprisingly simple yet elegant algebraic discovery: by applying augmented Givens rotations double-sidedly to a zero-padded matrix, the intermediate Cholesky factors cancel out exactly, allowing the updated operator to be recovered in O(r2)O(r^2) time. The paper backs this theoretical result with a self-contained derivation, stability bounds, and highly optimized custom hardware implementations (C++, MLX, and Triton GPU kernels). Empirical evaluations across streaming sparse GPs, online Bayesian optimization on protein fitness landscapes, and natural gradient preconditioning demonstrate identical numerical accuracy to full re-factorization alongside up to 5.4x practical speedups.

Strengths and weaknesses

Strengths

  1. Elegant and Exact Solution: The core mathematical insight (Theorem 1) is beautifully simple. It solves a notorious O(r3)O(r^3) bottleneck exactly without resorting to approximations, maintaining algebraic equivalence to full re-factorization.
  2. Strong Practical Impact and Engineering: Rather than leaving the method as a purely theoretical curiosity, the authors engineered custom Triton, MLX, and C++ kernels. This is crucial because standard BLAS/LAPACK operations struggle with double-sided Givens rotations due to irregular memory access. Their implementations show substantial wall-clock speedups (e.g., dropping training time from 1075s to 198s at r=1024r=1024).
  3. Thorough Evaluation: The method is validated across three distinct and practical domains (GPs, online BO, and natural gradients), demonstrating its broad utility in modern machine learning.

Weaknesses

  1. Clarity Regarding Matrix Properties: While Theorem 1 states that MM can be an "arbitrary matrix," the text lacks explicit discussion regarding the exact conditions under which this O(r2)O(r^2) double-sided update is strictly superior to existing one-sided updates.
  2. Slightly Overstated/Misleading Claims on Accuracy: The abstract and introduction state that the method "yielded strictly better test MSE." Because this method is algebraically exact, any improvement in test MSE is an indirect consequence of being able to afford a larger rank rr within the same computational budget, rather than a fundamental algorithmic improvement in prediction quality. The current phrasing introduces a minor logical leap.
Questions
  1. Conditions of Superiority vs. One-Sided Baselines: If a practitioner encounters a scenario where MM is fixed or possesses a very low-rank factorization M=BB⊤M = BB^\top (where B∈Rr×pB \in \mathbb{R}^{r \times p} and p≪rp \ll r), one could simply propagate the one-sided quantity V=L−1BV = L^{-1}B using existing O(r2p)O(r^2p) techniques. Could you explicitly clarify under what specific conditions (e.g., when MM is full-rank, or when multiple distinct MM's exist, or when MM itself changes dynamically per step) your double-sided approach becomes strictly necessary or superior? Connecting this explanation to why this elegant property might have been overlooked in classical signal processing (where low-rank/one-sided properties often sufficed) would greatly enrich the paper's context.
  2. Clarification on Test MSE Improvement: In the abstract, you mention that the method "yielded strictly better test MSE." Since Theorem 1 shows that your method matches full re-factorization exactly in accuracy, am I correct in understanding that this MSE improvement stems entirely from the fact that the O(r2)O(r^2) efficiency allows the model to utilize a much larger curvature chart rr under the same time constraints? Please clarify this phrasing to avoid the misconception that the update algorithm itself inherently changes the model's predictive capability.
Limitations

None significant. The limitations are standard for Cholesky-based updates (e.g., handling sequential rank-1 updates and scaling limits of rr), which the authors adequately address through stability bounds and empirical scaling graphs.

Paper formatting concerns
  • Typo in Abstract (Line 1): The abstract opens with the equation Aw=L−1ML−7A_w = L^{-1}ML^{-7}. This is clearly a typographical error meant to be L−⊤L^{-\top} or L−1L^{-1}. Please correct this expression.
Final justification

Resolved Issues: The authors' rebuttal successfully resolved all initial concerns. First, the specific conditions under which the O(r2)O(r^2) double-sided update is superior to existing one-sided updates (i.e., when a dense AwA_w is required and MM is dynamically modified or hard to factorize) were clearly defined. Second, the authors clarified that the reported test-MSE improvements stem indirectly from enabling larger curvature charts under the same time budget, backed by matched-rank TOST equivalence results proving algebraic exactness.

Unresolved Issues: None.

Weight Assignment & Recommendation: High weight is assigned to the mathematical soundness of Theorem 1, the strong engineering impact of the custom hardware kernels, and the practical resolution of a key computational bottleneck in sequential Bayesian methods. Therefore, I confidently maintain my positive recommendation.

1 comment

We sincerely thank the reviewer for their thorough and constructive feedback. We appreciate the recognition of Theorem 1 as an exact solution to a long-standing bottleneck and of the custom C++, Triton, and MLX kernels built. We will address both points the reviewer raised below and integrate it into the camera-ready version.

W1 & Q1: Conditions under which the double-sided update is superior. We agree that the generality of Theorem 1 does not imply universal computational superiority, and the superior method depends on how the result is used downstream. If the downstream computation only requires the one-sided quantities VB=L−1BV_B = L^{-1} B and VC=L−1CV_C = L^{-1} C (satisfying r×pr \times p with p≪rp \ll r), propagating them avoids forming AwA_w, which is more expensive to maintain. Therefore, we will recommend the one-sided path. Our method is superior when a dense AwA_w is required and MM cannot be cheaply factorized (e.g., when MM is effectively full-rank, when MM is modified per step through zw⊤z w^\top, when many operators share one metric). In that case, if one-sided propagation is used, it must still form the dense product under the O(r2p)O(r^2 p) update rule, whereas our method performs at O(r2)O(r^2), independent of pp (Table 1). Some examples that would show significant speedups with our method would be the following:

  • Natural gradient and Fisher preconditioning,
  • SVGPs,
  • Online BO with changing inducing sets,
  • Koopman operators and DMD,
  • Laplace approximations and Posterior covariance estimation,

among others. Conversely, Kalman filters, RLS state updates, and ordinary prediction only need a one-sided quantity, so AwA_w rarely needs to be maintained. This is why double-sided cancellation was overlooked in classical signal processing. We test the steady-state cost of returning dense Aw+=(L+)−1M(L+)−⊤A_w^+ = (L^+)^{-1} M (L^+)^{-\top} after a rank-one update G+=G+zz⊤G^+ = G + z z^\top, M=BC⊤M = B C^\top for B,C∈Rr×pB, C \in \mathbb{R}^{r \times p}. We maintain AwA_w directly at O(r2)O(r^2) and test against the alternatives: A\mathcal{A} propagates VB=L−1BV_B = L^{-1} B and VC=L−1CV_C = L^{-1} C then forms the product; B\mathcal{B} recomputes the Cholesky factor, solves, then forms the product. We chose FP64 on one CPU thread and ten seeds. The bold numbers represent the smallest width pp at which our method is faster; the value shown is the alternative/ours ratio at that width.

rrOurs (ms)Alt.p=1p = 1p=32p = 32p=64p = 64p=128p = 128p=256p = 256
2562560.230.23A\mathcal{A}0.400.400.560.560.780.781.20\mathbf{1.20}2.092.09
2562560.230.23B\mathcal{B}2.58\mathbf{2.58}2.972.973.473.474.424.426.716.71
102410243.853.85A\mathcal{A}0.740.740.960.961.15\mathbf{1.15}1.271.272.232.23
102410243.853.85B\mathcal{B}6.53\mathbf{6.53}6.986.987.377.377.327.329.989.98

Table 1: Width pp at which the O(r2)O(r^2) maintenance of dense Aw+A_w^+ becomes cheaper than the alternatives after a rank-one update.

We will make these conditions explicit in the camera-ready version.

W2 & Q2: Clarifying the test-MSE improvement. We agree that the MSE gain comes from the larger affordable chart, and we will remove any language stating that the update changes predictive accuracy. Since the update is an exact reformulation, it produces the same state transition as full refactorization. We test matched-rank test-MSE equivalence in natural-gradient training as follows: at fixed rank r=1024r = 1024, both the O(r2)O(r^2) update and full O(r3)O(r^3) refactorization run the same number of epochs on identical runs, and the final test MSE runs through a TOST equivalence criterion at margin ±0.01\pm 0.01. We use FP32, ten CPU threads, and 20 paired seeds.

Quantity (MSE)Value (mean ±\pm sample SD)
Ours0.5415±0.01520.5415 \pm 0.0152
Refactor0.5430±0.01420.5430 \pm 0.0142
Difference (Ours −- Refactor)−0.0015±0.0115-0.0015 \pm 0.0115

Table 2: Matched-rank test-MSE of the O(r2)O(r^2) update versus full O(r3)O(r^3) refactorization at r=1024r = 1024.

From Table 2, the 90% confidence interval for the MSE difference is [−0.0060,0.0029][-0.0060, 0.0029]. This lies within the ±0.01\pm 0.01 margin, so ours and refactor's test MSEs are statistically equivalent through the TOST criterion. As you mentioned, the accuracy gains reported for larger charts come from the cheapness of our update. The revised abstract and introduction will attribute the improvement to the larger chart affordable within the same time budget.

Paper Formatting: Abstract typo. Finally, we will also address the typo in the abstract. The intended expression is Aw=L−1ML−⊤A_w = L^{-1} M L^{-\top}.

Reviewer_fdruOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
3
Quality
4
Significance
4
Read review
Summary

This work is presenting a novel accelerated computation algorithm for specific step involving Cholesky updates of so-called whitened operators. It seems to get inspiration from Givens rotation that updates single-sided whitening of forward operator, and its implementation (extension?) for the double-sided whitening operator is done in clean and straightforward manner. Actual implementations for computation in CPU, CUDA, and for Apple silicons are validated empirically for actual computational speedup. The comparison seems to be broadly applicable to tested scenarios with real improvements.

Strengths and weaknesses

Nice work! The algorithm and its implementation deliver real world improvements in computation time that corresponds well with theoretical complexity analysis based on the algorithm. With empirical validations on CPU, GPU (only CUDA, but this covers quite a majority for now), and MLX (which is the acceleration layer for Apple silicons). Of course it would be much happier to have validations with implementations for AMD and Intel accelerators, but it is not a must to demonstrate the effectiveness of this work.

The theory and algorithm section is cleanly written and up to the point, with most of heavyweightlifting relegated to the appendix while preserving the flow. The connection of this improvement to so many fields of machine learning makes this work a perfect fit to this venue, where the readership is mixed generalists and specialists.

Minor suggestion: the z's (from line 73) and w's (from line 81) happen out of nowhere. Although the terminologies may be standard given the proper context, the general readership would benefit a lot with a succinct introduction on the new terms and what roles they have in the algorithm when provided as part of input data.

Questions

Q1: It seems that chart refreshing is one of the hyperparameters needed for real world applications (especially against a very large sized problems). I am curious how gracefully this method reacts to a spectrum of different \tau for the refreshing step.

Q2: How would the implementation of this algorithm be disseminated?

Limitations

Yes.

Paper formatting concerns

No

Final justification

I support my final rating to be the same as the initial rating of 5. The authors' responses show that they can indeed deliver updates in a very short amount of time, which is a big plus for a wide-reaching work like this one. Moreover, to my surprise, the additional sensitivity analysis result showed impressive robustness. From practical viewpoint this is a boon; from theoretical viewpoint this leaves much more to be investigated. Since this work has more of the practical punch, I see this unexpected robustness a strict plus, confirming my initial impression/rating.

Thank you for your hard work!

1 comment

We sincerely thank the reviewer for their thoughtful and positive feedback, and for recognizing how our algorithm effectively bridges theoretical complexity with real-world acceleration across multiple hardware architectures. We appreciate the idea to implement on AMD and Intel architectures and we are implementing the suggestions. We also agree that we need more precision when introducing notation. As such, we will clarify the notational roles when they first appear.

Notation: the roles of zz and ww. For reference, given the symmetric positive-definite matrix G=LL⊤G = L L^\top and the unwhitened operator MM, the method considers updates of the form

G+=G+zz⊤,M+=M+zw⊤.G^+ = G + z z^\top, \quad M^+ = M + z w^\top.

Thus, zz is the rank-one update vector for GG, while ww is the right-hand factor in the corresponding update to MM. When the operator update is symmetric, M+=M+zz⊤M^+ = M + z z^\top, we have w=zw = z. In streaming SVGP, these vectors are constructed from streamed feature contributions; in NGD preconditioning, the same per-step Fisher contribution updates both matrices, giving z=wz = w. The asymmetric case z≠wz \neq w is equally supported, since Theorem 1 places no structure on MM (Appendix C.6). This admits the lagged cross-moment M=∑tzt+1zt⊤M = \sum_t z_{t+1} z_t^\top of streaming Koopman/DMD, which our new large-rank experiments exercise at ranks to 65,53665{,}536.

Two-metric extension. We will also state one further consequence of the derivation. The proof in Appendix A.5 applies Proposition 1 on the left and Proposition 2 on the right as independent steps, so the two sides may carry different metrics of different dimensions. With Gx=LxLx⊤G_x = L_x L_x^\top, Gy=LyLy⊤G_y = L_y L_y^\top, A=Lx−1MLy−⊤A = L_x^{-1} M L_y^{-\top}, and rotations Qx,QyQ_x, Q_y built from [Lx ∣ zx][L_x \, | \, z_x] and [Ly ∣ zy][L_y \, | \, z_y],

TL(Qx⊤A^Qy)=(Lx+)−1M(Ly+)−⊤,M∈Rrx×ry,\mathrm{TL}(Q_x^\top \hat{A} Q_y) = (L_x^+)^{-1} M (L_y^+)^{-\top}, \quad M \in \mathbb{R}^{r_x \times r_y},

where TL(⋅)\mathrm{TL}(\cdot) takes the leading rx×ryr_x \times r_y block and A^\hat{A} is the zero-padded AA. Sweeps cost O(rxry)O(r_x r_y). The submitted statement is the case Lx=LyL_x = L_y. This covers streaming and multi-set CCA.

Q1: τ\tau scaling. We tested τ\tau over {0.01,0.02,0.05,0.1,0.2,0.5}\{0.01, 0.02, 0.05, 0.1, 0.2, 0.5\} at r=256r = 256 and r=1024r = 1024 under ten seeds each in natural-gradient training, building the rank-rr curvature chart. For each seed, the model state and order of mini-batches for all six thresholds are held constant to ensure that any difference comes from τ\tau. We report the "refresh fraction," the fraction of steps that trigger a refresh. This is because the refresh fraction is hardware agnostic, unlike wall-clock time, thus provides a consistent metric that depends only on the algorithm.

rrτ\tauRefresh fractionFinal test MSE
2562560.010.010.6414±0.02150.6414 \pm 0.02150.5549±0.01180.5549 \pm 0.0118
2562560.020.020.4606±0.02490.4606 \pm 0.02490.5558±0.01020.5558 \pm 0.0102
2562560.050.050.2608±0.01880.2608 \pm 0.01880.5561±0.01530.5561 \pm 0.0153
2562560.100.100.1549±0.00920.1549 \pm 0.00920.5603±0.01180.5603 \pm 0.0118
2562560.200.200.0893±0.00760.0893 \pm 0.00760.5614±0.01660.5614 \pm 0.0166
2562560.500.500.0254±0.00270.0254 \pm 0.00270.5703±0.01250.5703 \pm 0.0125
102410240.010.010.4329±0.01820.4329 \pm 0.01820.5531±0.00910.5531 \pm 0.0091
102410240.020.020.3324±0.01530.3324 \pm 0.01530.5514±0.00880.5514 \pm 0.0088
102410240.050.050.2152±0.00840.2152 \pm 0.00840.5535±0.01090.5535 \pm 0.0109
102410240.100.100.1371±0.00630.1371 \pm 0.00630.5562±0.01360.5562 \pm 0.0136
102410240.200.200.0739±0.00690.0739 \pm 0.00690.5574±0.01320.5574 \pm 0.0132
102410240.500.500.0195±0.00280.0195 \pm 0.00280.5644±0.01470.5644 \pm 0.0147

Table 1: Chart-refresh threshold τ\tau (Section 3.5) swept for our O(r2)O(r^2) update in natural-gradient training, where each triggered refresh rebuilds the rank-rr chart at O(r3)O(r^3).

We found that as τ\tau increases, the chart refreshes less often, and the final test MSE changes very little until the largest threshold τ=0.5\tau = 0.5, where refreshing too rarely begins to hurt accuracy. Moving from τ=0.1\tau = 0.1 to τ=0.5\tau = 0.5 raises the MSE by 0.01010.0101 at r=256r = 256. At the 95% interval [0.0033,0.0169][0.0033, 0.0169], this is significant. At r=1024r = 1024, the MSE is only raised by 0.00820.0082 (95% interval [−0.0005,0.0170][-0.0005, 0.0170]), which is not significant. We suggest starting at τ=0.05\tau = 0.05 to τ=0.1\tau = 0.1, which refreshes much less often than τ=0.01\tau = 0.01 to τ=0.02\tau = 0.02 without the accuracy loss appearing at τ=0.5\tau = 0.5. Since this experiment is machine-agnostic, this range is a safe bet, and the best wall-clock value can be tuned per-machine accordingly under these constraints.

We also note that τ\tau need not be chosen directly at all. Write st=ρt2/∥gt∥22s_t = \rho_t^2 / \Vert g_t \Vert_2^2 for the per-step residual score of Section 3.5, so a refresh triggers when st>τs_t > \tau. Fixing an integer budget BB over a window of mm steps and thresholding at the corresponding empirical quantile of the scores refreshes on exactly BB of the mm steps. With the realized score sequence fixed, the refresh fraction q(τ)q(\tau) is nonincreasing, right-continuous, and piecewise constant in τ\tau, with jumps only at observed scores, and it satisfies q(τ)≤sˉ/τq(\tau) \le \bar{s} / \tau by Markov's inequality, where sˉ\bar{s} is the average score. The average per-step cost is c2r2+q(τ)crefc_2 r^2 + q(\tau) c_{\mathrm{ref}}, where c2r2c_2 r^2 is the steady-state update cost and cref=cddr2+c3r3c_{\mathrm{ref}} = c_d d r^2 + c_3 r^3 is the cost of one refresh (chart rotation plus eigendecomposition, Section 3.5). Thus, a practitioner may specify an optimal refresh overhead q≤θc2/(cdd+c3r)q \le \theta c_2 / (c_d d + c_3 r), where θ\theta is the acceptable fractional increase in average per-step cost, and let τ\tau follow from the observed score distribution. We will also add the technical details and proofs in the camera-ready version.

Q2: Code publishing. We intend to release the full implementation (CPU, CUDA, and MLX kernels) as an open-source Python/C++ library on GitHub under the MIT License upon paper publication. We will also provide a standard pip package for easy installation, alongside standalone benchmarks and documentation to help researchers integrate the accelerated solver into existing PyTorch and MLX workflows.

AMD/Intel Kernel. We were able to port our kernel to AMD for our method, though the AMD kernel is still being optimized. We tested it up to rank 28,67228{,}672 on an AMD Radeon Pro V520, which executed with all correctness checks passing in 624.674624.674 ms. A same-device full-refactorization baseline could not run because the available PyTorch/ROCm stack (ATen, rocBLAS, and rocSOLVER) contains no gfx1011 device kernels, so standard matrix multiplication, Cholesky, and triangular solves fail. We are still working on the Intel kernel.

Comments on the paper

1 comment
Meta-review

This paper proposes an efficient algorithm for updating the whitened operator L−1ML−TL^{-1}ML^{-T} when the underlying matrix LLTLL^T undergoes a rank-1 update. This operation comes up in many sequential Bayesian methods. Theorem 1 presents an identity for the updated whitened operator using which leads to an O(r2)O(r^2) update algorithm, improving over the O(r3)O(r^3) required for a full refactorization. The reviewers agree that the technical contribution is elegant and practical, and the algorithm is implemented and tested in a broad range of scenarios. They have also raised a number of questions addressing which would strengthen the paper. These include:

  • Reviewer RVfb's questions about when the method is superior compared to the one-sided baseline if MM is low-rank, and on the Test MSE improvement.
  • Reviewer fdru's question on the chart refresh step and the parameter τ\tau and the comments on clarifying notation. (I would also suggest explicitly stating in the abstract and introduction that the underlying matrix is r×rr \times r.)
  • Reviewer URn7's questions about numerical stability, comparison with inverse-free methods, and the cost of extending the method to rank-kk updates.

PS: Thanks to the authors for their detailed responses to the reviewers' comments. OpenReview flagged the following erroneous reference which should be fixed in the final version: The paper 'Cholesky factor updating techniques for rank 2 matrix modifications' published in SIAM Journal on Matrix Analysis and Applications (Volume 10, Issue 4, 1989, pages 553–577) exists, but its actual authors are Richard Bartels and Linda Kaufman, not M. R. Osborne, T. Prager, and A. Stokes.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.