{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T14:14:12Z","timestamp":1784211252350,"version":"3.55.0"},"reference-count":44,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T00:00:00Z","timestamp":1767830400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,1,8]]},"abstract":"<jats:p>JAX Autodiff refers to the core of the automatic differentiation (AD) systems developed in projects like JAX and Dex. JAX Autodiff has recently been formalised in a linear typed calculus by Radul et al in POPL 2023. Although this formalisation suffices to express the main program transformations of AD, the calculus is very specific to this task, and it is not clear whether the type system yields a substructural logic that has interest on its own.<\/jats:p>\n                  <jats:p>\n                    We propose an encoding of JAX Autodiff into a linear\n                    <jats:italic toggle=\"yes\">\u03bb-<\/jats:italic>\n                    calculus that enjoys a Curry-Howard correspondence with Girard\u2019s linear logic. We prove that the encoding is sound both qualitatively (the encoded terms are extensionally equivalent to the original ones) and quantitatively (the encoding preserves the original work cost as described by Radul et al. As a byproduct, we show that unzipping, one of the transformations used to implement backpropagation in JAX Autodiff, is, in fact, optional.\n                  <\/jats:p>","DOI":"10.1145\/3776654","type":"journal-article","created":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T18:59:43Z","timestamp":1767898783000},"page":"324-353","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["JAX Autodiff from a Linear Logic Perspective"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6533-8307","authenticated-orcid":false,"given":"Giulia","family":"Giusti","sequence":"first","affiliation":[{"name":"ENS de Lyon, CNRS, Universit\u00e9 Claude Bernard Lyon 1, LIP, UMR 5668, Lyon cedex 07, 69342, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6271-3557","authenticated-orcid":false,"given":"Michele","family":"Pagani","sequence":"additional","affiliation":[{"name":"ENS de Lyon, CNRS, Universit\u00e9 Claude Bernard Lyon 1, LIP, UMR 5668, Lyon cedex 07,  69342, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,1,8]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1605.08695"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371106"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(93)90181-R"},{"key":"e_1_3_1_5_2","unstructured":"The JAX authors. accessed July 11 2024. Automatic differentiation. https:\/\/jax.readthedocs.io\/en\/latest\/automatic-differentiation.html."},{"key":"e_1_3_1_6_2","volume-title":"Dual Intuitionistic Linear Logic","author":"Barber Andrew G.","year":"1996","unstructured":"Andrew G. Barber. 1996. Dual Intuitionistic Linear Logic. Technical Report. University of Edinburgh. Technical report ECS-LFCS-96-347, available at https:\/\/www.lfcs.inf.ed.ac.uk\/reports\/96\/ECS-LFCS-96-347\/."},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-44914-8_3"},{"key":"e_1_3_1_8_2","first-page":"153:1","article-title":"Automatic Differentiation in Machine Learning: a Survey","volume":"18","author":"Baydin At\u0131l\u0131m G\u00fcne\u015f","year":"2017","unstructured":"At\u0131l\u0131m G\u00fcne\u015f Baydin, Barak A. Pearlmutter, Alexey Andreyevich Radul, and Jeffrey Mark Siskind. 2017. Automatic Differentiation in Machine Learning: a Survey. Journal of Machine Learning Research 18 (2017), 153:1\u2013153:43.","journal-title":"Journal of Machine Learning Research"},{"key":"e_1_3_1_9_2","unstructured":"James Bradbury Roy Frostig Peter Hawkins Matthew James Johnson Chris Leary Dougal Maclaurin George Necula Adam Paszke Jake VanderPlas Skye Wanderman-Milne and Qiao Zhang. 2018. JAX: composable transformations of Python+NumPy programs. http:\/\/github.com\/jax-ml\/jax"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371132"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-54830-7_7"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.CSL.2020.18"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.1017\/S096012952200038X"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.333.20"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.CSL.2024.21"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-99336-8_1"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.46298\/lmcs-19(4:5)2023"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129502003729"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129504004645"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPICS.CSL.2011.1"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-49498-1_9"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1016\/J.TCS.2008.06.001"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(87)90045-4"},{"key":"e_1_3_1_24_2","unstructured":"Giulia Giusti. 2025. Exploiting the Potential of Linearity in Automatic Differentiation and Computational Cryptography. arXiv:2510.17220 https:\/\/arxiv.org\/abs\/2510.17220"},{"key":"e_1_3_1_25_2","unstructured":"Giulia Giusti and Michele Pagani. 2025. JAX Autodiff from a Linear Logic Perspective (Extended Version). arXiv:2510.16883 https:\/\/arxiv.org\/abs\/2510.16883"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-45231-5_17"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1016\/0168-0072(93)90146-5"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1145\/3661814.3662106"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3498710"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1016\/J.IC.2012.10.015"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1017\/S096012952300018X"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1016\/S1571-0661(04)00022-2"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/3434309"},{"key":"e_1_3_1_34_2","unstructured":"Paul-Andr\u00e9 Melli\u00e8s. 2009. Categorical semantics of linear logic. Number 27 in Panoramas et Synth\u00e8ses. Soci\u00e9t\u00e9 Math\u00e9matique de France 1 \u2013 196."},{"key":"e_1_3_1_35_2","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. In NIPS 2017 Workshop on Autodiff (Long Beach California USA). https:\/\/openreview.net\/forum?id=BJJsrmfCZ"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/1330017.1330018"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3571236"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(94)90012-4"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1145\/3571247"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/3632878"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/3527634"},{"key":"e_1_3_1_42_2","unstructured":"Philip Wadler. 1992. There\u2019s no substitute for linear logic. Proceedings of the 8th International Workshop on Mathematical Foundations of Programming Semantics."},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-58027-1_24"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/355586.364791"},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-17164-2_24"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3776654","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T13:40:27Z","timestamp":1784209227000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3776654"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,8]]},"references-count":44,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2026,1,8]]}},"alternative-id":["10.1145\/3776654"],"URL":"https:\/\/doi.org\/10.1145\/3776654","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,8]]},"assertion":[{"value":"2025-06-27","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-11-06","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-01-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}