ωPAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable Programs
Mathieu Huot, Alexander K. Lew, Vikash K. Mansinghka, Sam Staton
摘要
We introduce a new setting, the category of ωPAP spaces, for reasoning denotationally about expressive differentiable and probabilistic programming languages. Our semantics is general enough to assign meanings to most practical probabilistic and differentiable programs, including those that use general recursion, higher-order functions, discontinuous primitives, and discrete and continuous sampling. But crucially, it is also specific enough to exclude many pathological denotations, enabling us to establish new results about differentiable and probabilistic programs. In the differentiable setting, we prove general correctness theorems for automatic differentiation and its use within gradient descent. In the probabilistic setting, we establish the almost-everywhere differentiability of probabilistic programs’ trace density functions, and the existence of convenient base measures for density computation in Monte Carlo inference. In some cases these results were previously known, but required detailed proofs of an operational flavor; by contrast, all our proofs work directly with programs’ denotations.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A mathematical model for automatic differentiation in machine learning 引用了 On Correctness of Automatic Differentiation for Non-Differentiable Functions
- On Correctness of Automatic Differentiation for Non-Differentiable Functions 引用了 A mathematical model for automatic differentiation in machine learning
- What does automatic differentiation compute for neural networks? 引用了 A mathematical model for automatic differentiation in machine learning
- What does automatic differentiation compute for neural networks? 引用了 On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters
- What does automatic differentiation compute for neural networks? 引用了 Automatic differentiation in PCF
- What does automatic differentiation compute for neural networks? 引用了 On Correctness of Automatic Differentiation for Non-Differentiable Functions
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters 引用了 A mathematical model for automatic differentiation in machine learning
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters 引用了 Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiation
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters 引用了 Automatic differentiation in PCF
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameters 引用了 On Correctness of Automatic Differentiation for Non-Differentiable Functions
- Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiation 引用了 Automatic differentiation in PCF
- Semantics of Integrating and Differentiating Singularities 引用了 Automatic differentiation in PCF
- Semantics of Integrating and Differentiating Singularities 引用了 On Correctness of Automatic Differentiation for Non-Differentiable Functions
- Automatic differentiation in PCF 引用了 On Correctness of Automatic Differentiation for Non-Differentiable Functions
引用它的顶会 Paper7
- On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable ParametersWonyeol Lee, Sejun Park, Alex AikenICML 2023 · 6 次引用
- Bayesian Separation Logic: A Logical Foundation and Axiomatic Semantics for Probabilistic ProgrammingShing Hin Ho, Nicolas Wu, Azalea RaadPOPL 2026 · 2 次引用
- A Cartesian Closed Category for Random VariablesPietro Di Gianantonio, Abbas EdalatLICS 2024 · 1 次引用
- What does automatic differentiation compute for neural networks?Sejun Park, Sanghyuk Chun, Wonyeol LeeICLR 2024
- Semantics of Integrating and Differentiating SingularitiesJesse Michel, Wonyeol Lee, Hongseok YangPLDI 2025
它引用的 Paper11
- A mathematical model for automatic differentiation in machine learningJérôme Bolte, Edouard PauwelsNeurIPS 2020 · 84 次引用
- On Correctness of Automatic Differentiation for Non-Differentiable FunctionsWonyeol Lee, Hangyeol Yu, Xavier Rival, Hongseok YangNeurIPS 2020 · 50 次引用
- Automatic differentiation in PCFDamiano Mazza, Michele PaganiPOPL 2021 · 47 次引用
- Trace types and denotational semantics for sound programmable inference in probabilistic languagesAlexander K. Lew, Marco F. Cusumano-Towner, Benjamin Sherman, Michael Carbin 等POPL 2020 · 30 次引用
- Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiationFaustyna Krawiec, Simon Peyton Jones, Neel Krishnaswami, Tom Ellis 等POPL 2022 · 27 次引用
相关 Paper
- Deterministic stream-sampling for probabilistic programming: semantics and verificationFredrik Dahlqvist, Alexandra Silva, William SmithLICS 2023 · 4 次引用
- ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic ProgramsAlexander K. Lew, Mathieu Huot, Sam Staton, Vikash K. MansinghkaPOPL 2023 · 16 次引用
- 𝜆ₛ: computable semantics for differentiable programming with higher-order functions and datatypesBenjamin Sherman, Jesse Michel, Michael CarbinPOPL 2021 · 11 次引用
- A simple differentiable programming languageMartín Abadi, Gordon D. PlotkinPOPL 2020 · 49 次引用
- Guaranteed bounds for posterior inference in universal probabilistic programmingRaven Beutner, C.-H. Luke Ong, Fabian ZaiserPLDI 2022 · 18 次引用
