跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2612.00246 · v1

It Cancels: $O(r^2)$ Cholesky Updates for Whitened Operators

首次提交 2026-12-01 03:27
版本更新 2026-12-01 03:27
雷达观测 2026-12-02 23:13
arXiv ↗PDF ↗

摘要

Many sequential Bayesian methods maintain a whitened operator Aw=L−1ML−⊤A_w = L^{-1}ML^{-\top}, where LL is the Cholesky factor of an r×rr \times r kernel, precision, or curvature matrix. When the underlying matrix changes by a rank-11 perturbation, existing techniques propagate only one-sided quantities L−1BL^{-1}B; refreshing the sandwiched operator AwA_w requires a full O(r3)O(r^3) 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. Once AwA_w is formed, intermediate factors of LL cancel exactly from both sides of the augmented Givens rotations, and the updated (L+)−1M+(L+)−⊤(L^+)^{-1}M^+(L^+)^{-\top} can be recovered in O(r2)O(r^2) time by applying the rotations double-sidedly to a zero-padded matrix, followed by a rank-11 correction. We provide a self-contained derivation, stability bounds, and implementations in C++, CUDA/Triton, and MLX/Metal, with an AMD Triton port. 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 5.4×5.4\times speedups. At r=1024r = 1024, training time drops from 1075s to 198s, so larger curvature charts, and their lower test MSE, fit the same time budget. On an NVIDIA B200, asymmetric updates from The Well reach a 113.4×113.4\times speedup over fresh re-whitening at r=65,536r=65{,}536, including both methods' metric and operator edits. Code and reproduction available: https://github.com/anusridh97/CholeskykernelC-

作者备注:Accepted at NeurIPS 2026. 62 pages (10 pages main text, 7 figures, 14 tables). Code: [https://github.com/anusridh97/CholeskykernelC-](https://github.com/anusridh97/CholeskykernelC-)

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-12-01 03:27 · 最新观测版本

It Cancels: $O(r^2)$ Cholesky Updates for Whitened Operators

Many sequential Bayesian methods maintain a whitened operator Aw=L−1ML−⊤A_w = L^{-1}ML^{-\top}, where LL is the Cholesky factor of an r×rr \times r kernel, precision, or curvature matrix. When the underlying matrix changes by a rank-11 perturbation, existing techniques propagate only one-sided quantities L−1BL^{-1}B; refreshing the sandwiched operator AwA_w requires a full O(r3)O(r^3) 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. Once AwA_w is formed, intermediate factors of LL cancel exactly from both sides of the augmented Givens rotations, and the updated (L+)−1M+(L+)−⊤(L^+)^{-1}M^+(L^+)^{-\top} can be recovered in O(r2)O(r^2) time by applying the rotations double-sidedly to a zero-padded matrix, followed by a rank-11 correction. We provide a self-contained derivation, stability bounds, and implementations in C++, CUDA/Triton, and MLX/Metal, with an AMD Triton port. 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 5.4×5.4\times speedups. At r=1024r = 1024, training time drops from 1075s to 198s, so larger curvature charts, and their lower test MSE, fit the same time budget. On an NVIDIA B200, asymmetric updates from The Well reach a 113.4×113.4\times speedup over fresh re-whitening at r=65,536r=65{,}536, including both methods' metric and operator edits. Code and reproduction available: https://github.com/anusridh97/CholeskykernelC-

查看此版本解读 →查看此版本原文 ↗