Backpropagation in the Simply Typed Lambda-calculus with Linear Negation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 27 Sep 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 2.
4 papers.
- 2023On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameterscited by 3
- 2023ωPAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable Programscited by 3
- 2021Functorial String Diagrams for Reverse-Mode Automatic Differentiationcited by 2
- 2022Efficient and Sound Differentiable Programming in a Functional Array-Processing Languagecited by 0
- 2023ωPAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable Programs21 Feb 2023
- 2023On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters31 Jan 2023
- 2022Efficient and Sound Differentiable Programming in a Functional Array-Processing Language20 Dec 2022
- 2021Functorial String Diagrams for Reverse-Mode Automatic Differentiation28 Jul 2021