Lune

POPL2020顶会

Backpropagation in the simply typed lambda-calculus with linear negation

Aloïs Brunel, Damiano Mazza, Michele Pagani

摘要

Backpropagation is a classic automatic differentiation algorithm computing the gradient of functions specified by a certain class of simple, first-order programs, called computational graphs. It is a fundamental tool in several fields, most notably machine learning, where it is the key for efficiently training (deep) neural networks. Recent years have witnessed the quick growth of a research field called differentiable programming, the aim of which is to express computational graphs more synthetically and modularly by resorting to actual programming languages endowed with control flow operators and higher-order combinators, such as map and fold. In this paper, we extend the backpropagation algorithm to a paradigmatic example of such a programming language: we define a compositional program transformation from the simply-typed lambda-calculus to itself augmented with a notion of linear negation, and prove that this computes the gradient of the source program with the same efficiency as first-order backpropagation. The transformation is completely effect-free and thus provides a purely logical understanding of the dynamics of backpropagation.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • You Only Linearize Once: Tangents Transpose to Gradients 引用了 Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiation
  • You Only Linearize Once: Tangents Transpose to Gradients 引用了 Automatic differentiation in PCF
  • Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiation 引用了 Automatic differentiation in PCF
  • Efficient Dual-Numbers Reverse AD via Well-Known Program Transformations 引用了 Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiation
  • Efficient Dual-Numbers Reverse AD via Well-Known Program Transformations 引用了 Automatic differentiation in PCF
  • 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
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper13

  1. Automatic differentiation in PCFDamiano Mazza, Michele PaganiPOPL 2021 · 47 次引用
  2. Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiationFaustyna Krawiec, Simon Peyton Jones, Neel Krishnaswami, Tom Ellis 等POPL 2022 · 27 次引用
  3. ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic ProgramsAlexander K. Lew, Mathieu Huot, Sam Staton, Vikash K. MansinghkaPOPL 2023 · 16 次引用
  4. You Only Linearize Once: Tangents Transpose to GradientsAlexey Radul, Adam Paszke, Roy Frostig, Matthew J. Johnson 等POPL 2023 · 13 次引用
  5. Efficient Dual-Numbers Reverse AD via Well-Known Program TransformationsTom Smeding, Matthijs VákárPOPL 2023 · 10 次引用

相关 Paper

  1. δ is for DialecticaMarie Morgane Kerjean, Pierre-Marie PédrotLICS 2024 · 1 次引用
  2. A simple differentiable programming languageMartín Abadi, Gordon D. PlotkinPOPL 2020 · 49 次引用
  3. Compositional Taylor expansion in cartesian differential categoriesAymeric WalchLICS 2025
  4. 𝜆ₛ: computable semantics for differentiable programming with higher-order functions and datatypesBenjamin Sherman, Jesse Michel, Michael CarbinPOPL 2021 · 11 次引用
  5. JAX Autodiff from a Linear Logic PerspectiveGiulia Giusti, Michele PaganiPOPL 2026
黄昏的海面,两侧是细线勾勒的悬崖