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

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

计算机科学 > 机器学习

arXiv:2405.16563 (cs)
[提交于 2024年5月26日]

标题:Higher-Order Transformer Derivative Estimates for Explicit Pathwise Learning Guarantees

作者:Yannick Limmer, Anastasis Kratsios, Xuwei Yang, Raeid Saqur, Blanka Horvath
查看论文《Higher-Order Transformer Derivative Estimates for Explicit Pathwise Learning Guarantees》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:An inherent challenge in computing fully-explicit generalization bounds for transformers involves obtaining covering number estimates for the given transformer class $T$. Crude estimates rely on a uniform upper bound on the local-Lipschitz constants of transformers in $T$, and finer estimates require an analysis of their higher-order partial derivatives. Unfortunately, these precise higher-order derivative estimates for (realistic) transformer models are not currently available in the literature as they are combinatorially delicate due to the intricate compositional structure of transformer blocks. This paper fills this gap by precisely estimating all the higher-order derivatives of all orders for the transformer model. We consider realistic transformers with multiple (non-linearized) attention heads per block and layer normalization. We obtain fully-explicit estimates of all constants in terms of the number of attention heads, the depth and width of each transformer block, and the number of normalization layers. Further, we explicitly analyze the impact of various standard activation function choices (e.g. SWISH and GeLU). As an application, we obtain explicit pathwise generalization bounds for transformers on a single trajectory of an exponentially-ergodic Markov process valid at a fixed future time horizon. We conclude that real-world transformers can learn from $N$ (non-i.i.d.) samples of a single Markov process's trajectory at a rate of ${O}(\operatorname{polylog}(N)/\sqrt{N})$.
评论: 11 pages (+30 appendix), 3 figures, 6 tables
主题: 机器学习 (cs.LG); 数值分析 (cs.NA); 神经与演化计算 (cs.NE); 数值分析 (math.NA); 概率论 (math.PR); 机器学习 (stat.ML)
引用方式: arXiv:2405.16563 [cs.LG]
  (或者 arXiv:2405.16563v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2405.16563

提交历史

来自:Yannick Limmer
[v1] 2024年5月26日 星期日 13:19:32 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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