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

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

统计学 > 机器学习

arXiv:2402.02098 (stat)
[提交于 2024年2月6日]

标题:Self-attention Networks Localize When QK-eigenspectrum Concentrates

作者:Han Bao, Ryuichiro Hataya, Ryo Karakida
查看论文《Self-attention Networks Localize When QK-eigenspectrum Concentrates》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The self-attention mechanism prevails in modern machine learning. It has an interesting functionality of adaptively selecting tokens from an input sequence by modulating the degree of attention localization, which many researchers speculate is the basis of the powerful model performance but complicates the underlying mechanism of the learning dynamics. In recent years, mainly two arguments have connected attention localization to the model performances. One is the rank collapse, where the embedded tokens by a self-attention block become very similar across different tokens, leading to a less expressive network. The other is the entropy collapse, where the attention probability approaches non-uniform and entails low entropy, making the learning dynamics more likely to be trapped in plateaus. These two failure modes may apparently contradict each other because the rank and entropy collapses are relevant to uniform and non-uniform attention, respectively. To this end, we characterize the notion of attention localization by the eigenspectrum of query-key parameter matrices and reveal that a small eigenspectrum variance leads attention to be localized. Interestingly, the small eigenspectrum variance prevents both rank and entropy collapse, leading to better model expressivity and trainability.
主题: 机器学习 (stat.ML); 机器学习 (cs.LG)
引用方式: arXiv:2402.02098 [stat.ML]
  (或者 arXiv:2402.02098v1 [stat.ML] 对于此版本)
  https://doi.org/10.48550/arXiv.2402.02098

提交历史

来自:Han Bao
[v1] 2024年2月6日 星期二 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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