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

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

计算机科学 > 机器学习

arXiv:2401.02736 (cs)
[提交于 2024年6月25日 (v1),最后修订于 2024年6月25日 (此版本, v2)]

标题:On the numerical reliability of nonsmooth autodiff: a MaxPool case study

作者:Ryan Boustany
查看论文《On the numerical reliability of nonsmooth autodiff: a MaxPool case study》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:This paper considers the reliability of automatic differentiation (AD) for neural networks involving the nonsmooth MaxPool operation. We investigate the behavior of AD across different precision levels (16, 32, 64 bits) and convolutional architectures (LeNet, VGG, and ResNet) on various datasets (MNIST, CIFAR10, SVHN, and ImageNet). Although AD can be incorrect, recent research has shown that it coincides with the derivative almost everywhere, even in the presence of nonsmooth operations (such as MaxPool and ReLU). On the other hand, in practice, AD operates with floating-point numbers (not real numbers), and there is, therefore, a need to explore subsets on which AD can be numerically incorrect. These subsets include a bifurcation zone (where AD is incorrect over reals) and a compensation zone (where AD is incorrect over floating-point numbers but correct over reals). Using SGD for the training process, we study the impact of different choices of the nonsmooth Jacobian for the MaxPool function on the precision of 16 and 32 bits. These findings suggest that nonsmooth MaxPool Jacobians with lower norms help maintain stable and efficient test accuracy, whereas those with higher norms can result in instability and decreased performance. We also observe that the influence of MaxPool's nonsmooth Jacobians on learning can be reduced by using batch normalization, Adam-like optimizers, or increasing the precision level.
主题: 机器学习 (cs.LG); 数值分析 (cs.NA); 数值分析 (math.NA); 优化与控制 (math.OC); 机器学习 (stat.ML)
引用方式: arXiv:2401.02736 [cs.LG]
  (或者 arXiv:2401.02736v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2401.02736
期刊参考: Transactions on Machine Learning Research Journal, 2024, 23 p

提交历史

来自:Ryan Boustany
[v2] 2024年6月25日 星期二 08:55:16 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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