首页 > AI前沿 > It Cancels: $O(r^2)$ Cholesky Updates for Whitened Operators

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

arXiv机器学习 2026-12-02 13:00 2 阅读 查看原文
用户需要我作为专业的新闻排版工程师,将一段纯文本的新闻正文排版成语义化的HTML片段。我需要严格遵守用户给出的规则: 1. 只输出HTML片段本身,不要Markdown围栏、不要解释。 2. 每个自然段落用`

`包裹,长文用`

/

`划分小节。 3. 列表内容用`
  • `,引用用`
    `,代码用`
    `,重要句子可用``。
    4. 保留原文所有信息,不得增删改内容。
    5. 不要输出`//`等文档级标签。
    
    现在来看正文内容,这是一段关于序列贝叶斯方法的学术新闻/技术报道。原文是一段连续的文本,没有明显的列表、引用或代码块。但我需要分析它是否适合划分小节,或者哪些部分可以用``来强调重要句子。
    
    让我仔细阅读原文:
    
    "Many sequential Bayesian methods maintain a whitened operator $A_w = L^{-1}ML^{-\top}$, where $L$ is the Cholesky factor of an $r \times r$ kernel, precision, or curvature matrix. When the underlying matrix changes by a rank-$1$ perturbation, existing techniques propagate only one-sided quantities $L^{-1}B$; refreshing the sandwiched operator $A_w$ requires a full $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 $A_w$ is formed, intermediate factors of $L$ cancel exactly from both sides of the augmented Givens rotations, and the updated $(L^+)^{-1}M^+(L^+)^{-\top}$ can be recovered in $O(r^2)$ 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 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\times$ speedups. At $r = 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\times$ speedup over fresh re-whitening at $r=65{,}536$, including both methods' metric and operator edits. Code and reproduction available: https://github.com/anusridh97/CholeskykernelC-"
    
    这段文字是一个连贯的段落,没有明显的小节划分。用户要求"长文用`

    /

    `划分小节",但这段文字并不算很长,且逻辑连贯,强行划分小节可能会破坏语义。不过,我可以将其视为一篇技术报道,适当用`

    `来划分几个主题部分,或者直接用一个`

    `包裹整个段落。 但用户说"每个自然段落用`

    `包裹",原文就是一个自然段落。所以最合理的做法是将其用一个`

    `包裹,并在内部适当使用``来强调重要句子。 让我考虑哪些句子是重要的: - "We show that this cost is unnecessary." - 这是核心结论,可以加粗。 - "the updated $(L^+)^{-1}M^+(L^+)^{-\top}$ can be recovered in $O(r^2)$ time" - 这是方法的关键,可以加粗。 - "matches full re-factorization in accuracy with up to $5.4\times$ speedups" - 重要结果,可以加粗。 - "Code and reproduction available: https://github.com/anusridh97/CholeskykernelC-" - 代码链接,可以用``包裹?不过用户说代码用`

    `,这个只是链接,不是代码块。我可以保持它作为普通文本,或者用``内联包裹。规则说"代码用`
    `",指的是代码块。内联代码可以用``。
    
    但用户要求"保留原文所有信息,不得增删改内容",所以我需要小心不要改变内容。加粗只是格式,不改变内容。链接保持原样。
    
    关于数学公式,原文有LaTeX公式如$A_w = L^{-1}ML^{-\top}$,在HTML中我需要保留这些内容。由于用户没有要求渲染公式,我只需原样保留文本。
    
    现在我来构建HTML片段:
    
    原文是一个自然段落,我用`

    `包裹。我可以在段落内部用``强调关键句子。 让我再想想是否需要用`

    `划分小节。用户说"长文用`

    /

    `划分小节",这段文字虽然内容较多,但逻辑连贯,是一个整体。如果强行划分,可能会让HTML结构不自然。不过,为了体现"排版工程师"的专业性,我可以考虑将其分成几个逻辑部分,用`

    `。 比如: - `

    问题与现状

    ` + 描述现有方法的问题 - `

    方法与贡献

    ` + 描述新方法 - `

    实验结果

    ` + 描述实验 但这样需要添加小标题,而用户说"不得增删改内容",添加小标题算不算"增"内容?严格来说,添加小标题是增加了原文没有的文本,这违反了"不得增删改内容"。所以最好不添加小标题,只用`

    `。 用户规则2说"长文用`

    /

    `划分小节",但这是在说如果内容长且适合划分时才用。如果原文本身没有小节结构,强行添加小标题会违反规则4。所以我选择只用`

    `包裹整个段落,内部用``强调重要句子。 最终HTML片段: ```html

    Many sequential Bayesian methods maintain a whitened operator $A_w = L^{-1}ML^{-\top}$, where $L$ is the Cholesky factor of an $r \times r$ kernel, precision, or curvature matrix. When the underlying matrix changes by a rank-$1$ perturbation, existing techniques propagate only one-sided quantities $L^{-1}B$; refreshing the sandwiched operator $A_w$ requires a full $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 $A_w$ is formed, intermediate factors of $L$ cancel exactly from both sides of the augmented Givens rotations, and the updated $(L^+)^{-1}M^+(L^+)^{-\top}$ can be recovered in $O(r^2)$ 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 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\times$ speedups. At $r = 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\times$ speedup over fresh re-whitening at $r=65{,}536$, including both methods' metric and operator edits. Code and reproduction available: https://github.com/anusridh97/CholeskykernelC-

    ``` 等等,用户说"不要Markdown围栏",所以我不能输出```html这样的围栏,只输出HTML本身。而且用户说"不要输出`//`等文档级标签",我上面没有这些,只有`

    `,符合要求。 关于