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

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

计算机科学 > 机器学习

arXiv:2312.17306 (cs)
[提交于 2023年12月28日]

标题:Gradient Flossing: Improving Gradient Descent through Dynamic Control of Jacobians

作者:Rainer Engelken
查看论文《Gradient Flossing: Improving Gradient Descent through Dynamic Control of Jacobians》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Training recurrent neural networks (RNNs) remains a challenge due to the instability of gradients across long time horizons, which can lead to exploding and vanishing gradients. Recent research has linked these problems to the values of Lyapunov exponents for the forward-dynamics, which describe the growth or shrinkage of infinitesimal perturbations. Here, we propose gradient flossing, a novel approach to tackling gradient instability by pushing Lyapunov exponents of the forward dynamics toward zero during learning. We achieve this by regularizing Lyapunov exponents through backpropagation using differentiable linear algebra. This enables us to "floss" the gradients, stabilizing them and thus improving network training. We demonstrate that gradient flossing controls not only the gradient norm but also the condition number of the long-term Jacobian, facilitating multidimensional error feedback propagation. We find that applying gradient flossing prior to training enhances both the success rate and convergence speed for tasks involving long time horizons. For challenging tasks, we show that gradient flossing during training can further increase the time horizon that can be bridged by backpropagation through time. Moreover, we demonstrate the effectiveness of our approach on various RNN architectures and tasks of variable temporal complexity. Additionally, we provide a simple implementation of our gradient flossing algorithm that can be used in practice. Our results indicate that gradient flossing via regularizing Lyapunov exponents can significantly enhance the effectiveness of RNN training and mitigate the exploding and vanishing gradient problem.
评论: 28 pages, 16 figures, accepted at NeurIPS 2023
主题: 机器学习 (cs.LG); 人工智能 (cs.AI); 混沌动力学 (nlin.CD); 神经元与认知 (q-bio.NC); 机器学习 (stat.ML)
引用方式: arXiv:2312.17306 [cs.LG]
  (或者 arXiv:2312.17306v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2312.17306

提交历史

来自:Rainer Engelken
[v1] 2023年12月28日 星期四 18:51:20 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-12
切换浏览方式为:
cs
cs.LG
nlin.CD
q-bio.NC
stat.ML

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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