计算机科学 > 程序设计语言
[提交于 2021年5月20日]
标题:Decomposing reverse-mode automatic differentiation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We decompose reverse-mode automatic differentiation into (forward-mode) linearization followed by transposition. Doing so isolates the essential difference between forward- and reverse-mode AD, and simplifies their joint implementation. In particular, once forward-mode AD rules are defined for every primitive operation in a source language, only linear primitives require an additional transposition rule in order to arrive at a complete reverse-mode AD implementation. This is how reverse-mode AD is written in JAX and Dex.
提交历史
来自:Roy Frostig[v1] 2021年5月20日 星期四 02:33:56 UTC