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

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

计算机科学 > 机器学习

arXiv:2402.05738 (cs)
[提交于 2025年3月31日 (v1),最后修订于 2025年3月31日 (此版本, v2)]

标题:Implicit Bias and Fast Convergence Rates for Self-attention

作者:Bhavya Vasudeva, Puneesh Deora, Christos Thrampoulidis
查看论文《Implicit Bias and Fast Convergence Rates for Self-attention》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We study the fundamental optimization principles of self-attention, the defining mechanism of transformers, by analyzing the implicit bias of gradient-based optimizers in training a self-attention layer with a linear decoder in binary classification. Building on prior studies in linear logistic regression, recent findings demonstrate that the key-query matrix $W_t$ from gradient-descent (GD) converges in direction towards $W_{mm}$, which maximizes the margin between optimal and non-optimal tokens across sequences. However, this convergence is local, dependent on initial conditions, only holds asymptotically as the number of iterations increases, and leaves questions about the potential benefits of adaptive step-size rules unaddressed. To bridge this gap, we first establish scenarios for which convergence is provably \emph{global}. We then analyze two adaptive step-size strategies: normalized GD and Polyak step-size, demonstrating \emph{finite-time} convergence rates for $W_t$ to $W_{mm}$, and quantifying the sparsification rate of the attention map. These findings not only show that these strategies can accelerate parameter convergence over standard GD in a non-convex setting but also deepen the understanding of the implicit bias in self-attention, linking it more closely to the phenomena observed in linear logistic regression despite its intricate non-convex nature.
评论: Accepted in TMLR, 43 pages, 10 figures
主题: 机器学习 (cs.LG); 优化与控制 (math.OC); 机器学习 (stat.ML)
引用方式: arXiv:2402.05738 [cs.LG]
  (或者 arXiv:2402.05738v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2402.05738

提交历史

来自:Bhavya Vasudeva
[v2] 2025年3月31日 星期一 06:17:02 UTC
全文链接:

访问论文:

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

当前浏览上下文:

stat.ML
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-03
切换浏览方式为:
cs
cs.LG
math.OC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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