POPL 2026
Sun 11 - Sat 17 January 2026 Rennes, France
Sun 11 Jan 2026 14:24 - 14:34 at Salle 13 - Third Session Chair(s): Cameron Freer

Automatic differentiation (AD) is a suite of techniques for mechanically computing the derivatives of functions represented as programs. First-class AD exposes differentiation as a higher- order construct within a programming language, enabling nested applications of the derivative operator. Beyond supporting the computation of higher and mixed partial derivatives, first-class AD also enables differentiation through optimizers, solvers, and inference engines that themselves rely on automated derivatives. This has applications to meta-learning, hyperparameter tuning, and Bayesian “reasoning-about-reasoning” in cognitive science.

This abstract studies a popular implementation strategy for first-class forward-mode AD, developed by Siskind and Pearlmutter and implemented in widely used systems for scientific computing and machine learning, including JAX and Julia. This strategy, tagged forward-mode, dynamically generates unique tags at runtime to identify distinct applications of the derivative operator. This avoids a problem known as perturbation confusion, which may compromise correctness when derivatives are nested. The soundness of this approach has usually been justified by informal algebraic arguments, analogizing these tags to distinct infinitesimals. In this work, we precisely formulate tagged forward-mode as a meaning-preserving compiler from a high-level source language with first-class differentiation to a low-level language with fresh tag generation as a computational effect. We then establish its correctness via logical relations.

Sun 11 Jan

Displayed time zone: Brussels, Copenhagen, Madrid, Paris change

14:00 - 15:30
Third SessionLAFI at Salle 13
Chair(s): Cameron Freer Massachusetts Institute of Technology
14:00
10m
Talk
Towards Compiling Higher-Order Programs to Bayesian Networks
LAFI
Claudia Faggian CNRS, Université Paris Cité, Gabriele Vanoni IRIF, Université Paris Cité
14:12
10m
Talk
On Contextual Distances in Randomized Programming: Amplification and Lower Bounds
LAFI
14:24
10m
Talk
Nominal Semantics for First-class Automatic Differentiation
LAFI
Jack Czenszak Yale University, Alexander K. Lew Yale University
14:36
10m
Talk
Semantic Foundations for Laziness in Discrete Probabilistic Programming
LAFI
Simon Castellan University of Rennes; Inria; CNRS; IRISA, Tom Hirschowitz Univ. Grenoble Alpes, Univ. Savoie Mont Blanc, CNRS, LAMA, 73000 Chambéry, Hugo Paquet Inria, École Normale Supérieure
14:48
10m
Talk
Incremental Density Computation for Efficient Programmable Inference
LAFI
Fabian Zaiser MIT, Vikash Mansinghka Massachusetts Institute of Technology, Alexander K. Lew Yale University
15:00
10m
Talk
Generating Functions Meet Occupation Measures: Invariant Synthesis for Probabilistic Loops
LAFI
Kevin Batz , Adrian Gallus RWTH Aachen University, Darion Haase RWTH Aachen University, Benjamin Lucien Kaminski Saarland University; University College London, Joost-Pieter Katoen RWTH Aachen University, Lutz Klinkenberg RWTH Aachen University, Tobias Winkler RWTH Aachen University
15:12
10m
Talk
Probabilistic Programming Meets Automata Theory: Exact Inference using Weighted Automata
LAFI
Dominik Geißler Technische Universität Berlin, Tobias Winkler RWTH Aachen University
File Attached
Hide past events