跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2605.08475 (cs)
[提交于 2026年5月8日 (v1),最后修订于 2026年9月25日 (此版本, v3)]

标题:Transformers Can Implement Preconditioned Richardson Iteration for In-Context Gaussian Kernel Regression

作者:Mingsong Yan, Dongyang Li, Charles Kulick, Sui Tang
查看论文《Transformers Can Implement Preconditioned Richardson Iteration for In-Context Gaussian Kernel Regression》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In this paper, we study in-context kernel ridge regression (KRR) with Gaussian kernels and show, both theoretically and empirically, that a standard softmax-attention transformer can approximate the KRR predictor during its forward pass. Under bounded-data assumptions, we construct a single-head transformer whose forward pass approximately implements \textit{preconditioned Richardson iteration} on the associated kernel system. The construction uses $O(\log(1/\epsilon))$ blocks and MLP width $O(\sqrt{N/\epsilon})$ to achieve $\epsilon$-accurate prediction for prompts of length $N$. Our construction reveals a functional decomposition within the transformer architecture: softmax attention produces a row-normalized Gaussian-kernel operator needed for \emph{cross-token} interactions, while MLP layers act locally to approximate the \emph{intra-token} scalar arithmetic required by the update. Empirically, we train GPT-2-style transformers on Gaussian-process regression tasks and observe that they progressively align with the exact Gaussian KRR estimator across depth in terms of both \emph{prediction error} and \emph{induced weights}, with ablations further supporting this trend. Comparisons with classical KRR solvers also show that deeper layers align with later solver iterates. Together, we empirically demonstrate that the pretrained transformers exhibit progressive refinement toward exact Gaussian KRR across depth, and theoretically establish inexact preconditioned Richardson iteration as a concrete mechanism for approximating this predictor within an explicitly constructed softmax-attention transformer.
主题: 机器学习 (cs.LG); 人工智能 (cs.AI); 数值分析 (cs.NA); 数值分析 (math.NA); 优化与控制 (math.OC)
引用方式: arXiv:2605.08475 [cs.LG]
  (或者 arXiv:2605.08475v3 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2605.08475

提交历史

来自:Mingsong Yan
[v1] 2026年5月8日 星期五 20:50:58 UTC (594 KB)
[v2] 2026年5月15日 星期五 21:26:00 UTC (594 KB)
[v3] 2026年9月25日 星期五 04:15:33 UTC (599 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-09
切换浏览方式为:
cs
cs.LG
cs.NA
math.NA
math.OC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站