arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.09469cs.PLcs.LG

Decomposing reverse-mode automatic differentiation

Google Research(谷歌研究院)

Roy Frostig, Matthew J. Johnson, Dougal Maclaurin, Adam Paszke, Alexey Radul

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑