数学 > 数值分析
[提交于 2023年5月12日]
标题:Understanding Automatic Differentiation Pitfalls
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Automatic differentiation, also known as backpropagation, AD, autodiff, or algorithmic differentiation, is a popular technique for computing derivatives of computer programs accurately and efficiently. Sometimes, however, the derivatives computed by AD could be interpreted as incorrect. These pitfalls occur systematically across tools and approaches. In this paper we broadly categorize problematic usages of AD and illustrate each category with examples such as chaos, time-averaged oscillations, discretizations, fixed-point loops, lookup tables, and linear solvers. We also review debugging techniques and their effectiveness in these situations. With this article we hope to help readers avoid unexpected behavior, detect problems more easily when they occur, and have more realistic expectations from AD tools.
提交历史
来自:Jan Hückelheim[v1] 2023年5月12日 星期五 15:17:11 UTC