Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiation
Faustyna Krawiec, Simon Peyton Jones, Neel Krishnaswami, Tom Ellis, Richard A. Eisenberg, Andrew W. Fitzgibbon
摘要
In this paper, we give a simple and efficient implementation of reverse-mode automatic differentiation, which both extends easily to higher-order functions, and has run time and memory consumption linear in the run time of the original program. In addition to a formal description of the translation, we also describe an implementation of this algorithm, and prove its correctness by means of a logical relations argument.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A general construction for abstract interpretation of higher-order automatic differentiation 引用了 𝜆ₛ: computable semantics for differentiable programming with higher-order functions and datatypes
- You Only Linearize Once: Tangents Transpose to Gradients 引用了 Automatic differentiation in PCF
- You Only Linearize Once: Tangents Transpose to Gradients 引用了 Backpropagation in the simply typed lambda-calculus with linear negation
- You Only Linearize Once: Tangents Transpose to Gradients 引用了 A simple differentiable programming language
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters 引用了 You Only Linearize Once: Tangents Transpose to Gradients
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters 引用了 Automatic differentiation in PCF
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters 引用了 Backpropagation in the simply typed lambda-calculus with linear negation
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters 引用了 A simple differentiable programming language
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters 引用了 Efficient Dual-Numbers Reverse AD via Well-Known Program Transformations
- Automatic differentiation in PCF 引用了 Backpropagation in the simply typed lambda-calculus with linear negation
- Automatic differentiation in PCF 引用了 A simple differentiable programming language
- Efficient Dual-Numbers Reverse AD via Well-Known Program Transformations 引用了 Automatic differentiation in PCF
- Efficient Dual-Numbers Reverse AD via Well-Known Program Transformations 引用了 Backpropagation in the simply typed lambda-calculus with linear negation
- Efficient Dual-Numbers Reverse AD via Well-Known Program Transformations 引用了 A simple differentiable programming language
- ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic Programs 引用了 𝜆ₛ: computable semantics for differentiable programming with higher-order functions and datatypes
- ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic Programs 引用了 Automatic differentiation in PCF
- ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic Programs 引用了 Backpropagation in the simply typed lambda-calculus with linear negation
- ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic Programs 引用了 A simple differentiable programming language
引用它的顶会 Paper10
- ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic ProgramsAlexander K. Lew, Mathieu Huot, Sam Staton, Vikash K. MansinghkaPOPL 2023 · 16 次引用
- You Only Linearize Once: Tangents Transpose to GradientsAlexey Radul, Adam Paszke, Roy Frostig, Matthew J. Johnson 等POPL 2023 · 13 次引用
- Efficient Dual-Numbers Reverse AD via Well-Known Program TransformationsTom Smeding, Matthijs VákárPOPL 2023 · 10 次引用
- A general construction for abstract interpretation of higher-order automatic differentiationJacob Laurel, Rem Yang, Shubham Ugare, Robert Nagel 等OOPSLA 2022 · 9 次引用
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable ParametersWonyeol Lee, Sejun Park, Alex AikenICML 2023 · 6 次引用
它引用的 Paper4
- A simple differentiable programming languageMartín Abadi, Gordon D. PlotkinPOPL 2020 · 49 次引用
- Automatic differentiation in PCFDamiano Mazza, Michele PaganiPOPL 2021 · 47 次引用
- Backpropagation in the simply typed lambda-calculus with linear negationAloïs Brunel, Damiano Mazza, Michele PaganiPOPL 2020 · 24 次引用
- 𝜆ₛ: computable semantics for differentiable programming with higher-order functions and datatypesBenjamin Sherman, Jesse Michel, Michael CarbinPOPL 2021 · 11 次引用
相关 Paper
- Efficient CHADTom Smeding, Matthijs VákárPOPL 2024 · 6 次引用
- Automatic Functional Differentiation in JAXMin LinICLR 2024 · 5 次引用
- AD for an Array Language with Nested ParallelismRobert Schenck, Ola Rønning, Troels Henriksen, Cosmin E. OanceaSC 2022 · 11 次引用
- Reverse-mode automatic differentiation and optimization of GPU kernels via enzymeWilliam S. Moses, Valentin Churavy, Ludger Paehler, Jan Hückelheim 等SC 2021 · 50 次引用
- Elastic Locomotion with Mixed Second-order DifferentiationSiyuan Shen, Tianjia Shao, Kun Zhou, Chenfanfu Jiang 等SIGGRAPH 2025 · 2 次引用
