A simple differentiable programming language
Martín Abadi, Gordon D. Plotkin
摘要
Automatic differentiation plays a prominent role in scientific computing and in modern machine learning, often in the context of powerful programming systems. The relation of the various embodiments of automatic differentiation to the mathematical notion of derivative is not always entirely clear---discrepancies can arise, sometimes inadvertently. In order to study automatic differentiation in such programming contexts, we define a small but expressive programming language that includes a construct for reverse-mode differentiation. We give operational and denotational semantics for this language. The operational semantics employs popular implementation techniques, while the denotational semantics employs notions of differentiation familiar from real analysis. We establish that these semantics coincide.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 18 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiation 引用了 Automatic differentiation in PCF
- Automatic differentiation in PCF 引用了 On Correctness of Automatic Differentiation for Non-Differentiable Functions
- ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic Programs 引用了 Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiation
- ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic Programs 引用了 Automatic differentiation in PCF
- ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic Programs 引用了 On Correctness of Automatic Differentiation for Non-Differentiable Functions
引用它的顶会 Paper18
- On Correctness of Automatic Differentiation for Non-Differentiable FunctionsWonyeol Lee, Hangyeol Yu, Xavier Rival, Hongseok YangNeurIPS 2020 · 50 次引用
- Automatic differentiation in PCFDamiano Mazza, Michele PaganiPOPL 2021 · 47 次引用
- Opening the Blackbox: Accelerating Neural Differential Equations by Regularizing Internal Solver HeuristicsAvik Pal, Yingbo Ma, Viral B. Shah, Christopher Vincent RackauckasICML 2021 · 44 次引用
- Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiationFaustyna Krawiec, Simon Peyton Jones, Neel Krishnaswami, Tom Ellis 等POPL 2022 · 27 次引用
- ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic ProgramsAlexander K. Lew, Mathieu Huot, Sam Staton, Vikash K. MansinghkaPOPL 2023 · 16 次引用
它引用的 Paper1
相关 Paper
- Efficient Dual-Numbers Reverse AD via Well-Known Program TransformationsTom Smeding, Matthijs VákárPOPL 2023 · 10 次引用
- ωPAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable ProgramsMathieu Huot, Alexander K. Lew, Vikash K. Mansinghka, Sam StatonLICS 2023 · 5 次引用
- You Only Linearize Once: Tangents Transpose to GradientsAlexey Radul, Adam Paszke, Roy Frostig, Matthew J. Johnson 等POPL 2023 · 13 次引用
- Backpropagation in the simply typed lambda-calculus with linear negationAloïs Brunel, Damiano Mazza, Michele PaganiPOPL 2020 · 24 次引用
- Automatic Functional Differentiation in JAXMin LinICLR 2024 · 5 次引用
