{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,1,9]],"date-time":"2026-01-09T03:03:26Z","timestamp":1767927806504,"version":"3.49.0"},"reference-count":30,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2019,12,20]],"date-time":"2019-12-20T00:00:00Z","timestamp":1576800000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2020,1]]},"abstract":"<jats:p>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.<\/jats:p>","DOI":"10.1145\/3371132","type":"journal-article","created":{"date-parts":[[2019,12,20]],"date-time":"2019-12-20T19:45:25Z","timestamp":1576871125000},"page":"1-27","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":23,"title":["Backpropagation in the simply typed lambda-calculus with linear negation"],"prefix":"10.1145","volume":"4","author":[{"given":"Alo\u00efs","family":"Brunel","sequence":"first","affiliation":[{"name":"Deepomatic, France"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Damiano","family":"Mazza","sequence":"additional","affiliation":[{"name":"CNRS, France"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Michele","family":"Pagani","sequence":"additional","affiliation":[{"name":"IRIF, France \/ University of Paris Diderot, France"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2019,12,20]]},"reference":[{"key":"e_1_2_2_1_1","volume-title":"Benoit Steiner, Paul A. Tucker, Vijay Vasudevan, Pete Warden, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng.","author":"Abadi Mart\u00edn","year":"2016"},{"key":"e_1_2_2_2_1","first-page":"6","article-title":"An Abstract Factorization Theorem for Explicit Substitutions","volume":"15","author":"Accattoli Beniamino","year":"2012","journal-title":"Proceedings of RTA (LIPIcs)"},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-02508-3_3"},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/2628136.2628154"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3131851.3131855"},{"key":"e_1_2_2_6_1","article-title":"Automatic Differentiation in Machine Learning: a Survey","volume":"18","author":"Baydin At\u0131l\u0131m G\u00fcne\u015f","year":"2017","journal-title":"Journal of Machine Learning Research"},{"key":"e_1_2_2_7_1","first-page":"303","article-title":"Approximation by superpositions of a sigmoidal function","volume":"2","author":"Cybenko George","year":"1989","journal-title":"MCSS"},{"key":"e_1_2_2_8_1","first-page":"397","article-title":"There and Back Again","volume":"66","author":"Danvy Olivier","year":"2005","journal-title":"Fundam. Inform."},{"key":"e_1_2_2_9_1","volume-title":"Proceedings of COLING: Technical Papers. 69\u201378","author":"dos Santos Cicero","year":"2014"},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129516000372"},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2967973.2968608"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(03)00392-X"},{"key":"e_1_2_2_13_1","volume-title":"ICFP","author":"Elliott Conal","year":"2018"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(87)90045-4"},{"key":"e_1_2_2_15_1","volume-title":"Proceedings of ICML. 513\u2013520","author":"Glorot Xavier","year":"2011"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1016\/0893-6080(91)90009-T"},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129515000377"},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-45226-3_44"},{"key":"e_1_2_2_19_1","volume-title":"Deep Learning est mort. Vive Differentiable Programming!","author":"LeCun Yann","year":"2018"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1162\/neco.1989.1.4.541"},{"key":"e_1_2_2_21_1","unstructured":"Adam Paszke Sam Gross Soumith Chintala Gregory Chanan Edward Yang Zachary DeVito Zeming Lin Alban Desmaison Luca Antiga and Adam Lerer. 2017. Automatic differentiation in PyTorch. (2017).  Adam Paszke Sam Gross Soumith Chintala Gregory Chanan Edward Yang Zachary DeVito Zeming Lin Alban Desmaison Luca Antiga and Adam Lerer. 2017. Automatic differentiation in PyTorch. (2017)."},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.1109\/72.410363"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/1330017.1330018"},{"key":"e_1_2_2_24_1","first-page":"413","article-title":"Back Propagation in a Clifford Algebra","volume":"2","author":"Pearson J.K.","year":"1992","journal-title":"Proceedings of ICANN"},{"key":"e_1_2_2_25_1","volume-title":"Some Principles of Differential Programming Languages. (2018). https:\/\/popl18.sigplan.org\/details\/ POPL- 2018- papers\/76\/Some- Principles- of- Differential- Programming- Languages Invited talk at POPL","author":"Plotkin Gordon","year":"2018"},{"key":"e_1_2_2_26_1","volume-title":"Language models are unsupervised multitask learners. OpenAI Blog 1, 8","author":"Radford Alec","year":"2019"},{"key":"e_1_2_2_27_1","volume-title":"Volumes 1 and 2","author":"Rumelhart David E."},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/2766462.2767830"},{"key":"e_1_2_2_29_1","first-page":"41","article-title":"Automatic Differentiation Applied to Unconstrained Nonlinear Optimization with Result Verification","volume":"3","author":"Iwaarden Ronald Van","year":"1993","journal-title":"Interval Computations"},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3341700"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3371132","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3371132","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T19:05:43Z","timestamp":1750273543000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3371132"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,12,20]]},"references-count":30,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2020,1]]}},"alternative-id":["10.1145\/3371132"],"URL":"https:\/\/doi.org\/10.1145\/3371132","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,12,20]]},"assertion":[{"value":"2019-12-20","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}