ICFP 2025
Sun 12 - Sat 18 October 2025 Singapore
co-located with ICFP/SPLASH 2025
Tue 14 Oct 2025 10:50 - 11:15 at Orchid West - Clever Compilation Chair(s): John Reppy

We present a new approach to scaling exact inference for probabilistic programs, using generating functions
(GFs) as a compilation target. Existing methods that target representations like binary decision diagrams
(BDDs) achieve strong state-of-the-art results. We show that a compiler targeting GFs can be similarly
competitive—and, in some cases, more scalable—on a range of inference problems where BDD-based methods
perform well.
We present a formal model of this compiler, providing the first definition of GF compilation for a functional
probabilistic language. We prove that this compiler is correct with respect to a denotational semantics. Our
approach is implemented in a probabilistic programming system and evaluated on a range of
inference problems. Our results establish GF compilation as a principled and powerful paradigm for exact
inference: it offers strong scalability, good expressiveness, and a solid theoretical foundation.

Tue 14 Oct

Displayed time zone: Perth change

10:50 - 12:05
Clever CompilationJFP First Papers / ICFP Papers at Orchid West
Chair(s): John Reppy University of Chicago
10:50
25m
Talk
Compiling with Generating Functions
ICFP Papers
Jianlin Li University of Waterloo, Yizhou Zhang University of Waterloo
DOI
11:15
25m
Talk
Correctness Meets Performance: From Agda to FutharkRemote
ICFP Papers
Artjoms Šinkarovs University of Southampton, Troels Henriksen University of Copenhagen
DOI
11:40
25m
Paper
Domain-specific tensor languages
JFP First Papers
Jean-Philippe Bernardy University of Gothenburg, Sweden, Patrik Jansson Chalmers University of Technology and University of Gothenbrug
DOI