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

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

计算机科学 > 数学软件

arXiv:2409.06752 (cs)
[提交于 2024年9月10日 (v1),最后修订于 2024年12月10日 (此版本, v3)]

标题:A tutorial on automatic differentiation with complex numbers

作者:Nicholas Krämer
查看论文《A tutorial on automatic differentiation with complex numbers》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Automatic differentiation is everywhere, but there exists only minimal documentation of how it works in complex arithmetic beyond stating "derivatives in $\mathbb{C}^d$" $\cong$ "derivatives in $\mathbb{R}^{2d}$" and, at best, shallow references to Wirtinger calculus. Unfortunately, the equivalence $\mathbb{C}^d \cong \mathbb{R}^{2d}$ becomes insufficient as soon as we need to derive custom gradient rules, e.g., to avoid differentiating "through" expensive linear algebra functions or differential equation simulators. To combat such a lack of documentation, this article surveys forward- and reverse-mode automatic differentiation with complex numbers, covering topics such as Wirtinger derivatives, a modified chain rule, and different gradient conventions while explicitly avoiding holomorphicity and the Cauchy--Riemann equations (which would be far too restrictive). To be precise, we will derive, explain, and implement a complex version of Jacobian-vector and vector-Jacobian products almost entirely with linear algebra without relying on complex analysis or differential geometry. This tutorial is a call to action, for users and developers alike, to take complex values seriously when implementing custom gradient propagation rules -- the manuscript explains how.
主题: 数学软件 (cs.MS); 机器学习 (cs.LG); 数值分析 (cs.NA); 数值分析 (math.NA)
引用方式: arXiv:2409.06752 [cs.MS]
  (或者 arXiv:2409.06752v3 [cs.MS] 对于此版本)
  https://doi.org/10.48550/arXiv.2409.06752

提交历史

来自:Nicholas Krämer
[v1] 2024年9月10日 星期二 14:04:58 UTC
[v2] 2024年10月11日 星期五 16:05:50 UTC
[v3] 2024年12月10日 星期二 18:34:46 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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