Lune

OOPSLA2024顶会

Programmable MCMC with Soundly Composed Guide Programs

Long Pham, Di Wang, Feras A. Saad, Jan Hoffmann

摘要

Probabilistic programming languages (PPLs) provide language support for expressing flexible probabilistic models and solving Bayesian inference problems. PPLs with programmable inference make it possible for users to obtain improved results by customizing inference engines using guide programs that are tailored to a corresponding model program. However, errors in guide programs can compromise the statistical soundness of the inference. This article introduces a novel coroutine-based framework for verifying the correctness of user-written guide programs for a broad class of Markov chain Monte Carlo (MCMC) inference algorithms. Our approach rests on a novel type system for describing communication protocols between a model program and a sequence of guides that each update only a subset of random variables. We prove that, by translating guide types to context-free processes with finite norms, it is possible to check structural type equality between models and guides in polynomial time. This connection gives rise to an efficient type-inference algorithm for probabilistic programs with flexible constructs such as general recursion and branching. We also contribute a coverage-checking algorithm that verifies the support of sequentially composed guide programs agrees with that of the model program, which is a key soundness condition for MCMC inference with multiple guides. Evaluations on diverse benchmarks show that our type-inference and coverage-checking algorithms efficiently infer types and detect sound and unsound guides for programs that existing static analyses cannot handle.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Trace types and denotational semantics for sound programmable inference in probabilistic languages 引用了 Towards verified stochastic variational inference for probabilistic programs
  • Type-Preserving, Dependence-Aware Guide Generation for Sound, Effective Amortized Probabilistic Inference 引用了 Towards verified stochastic variational inference for probabilistic programs
  • Type-Preserving, Dependence-Aware Guide Generation for Sound, Effective Amortized Probabilistic Inference 引用了 Trace types and denotational semantics for sound programmable inference in probabilistic languages
  • Type-Preserving, Dependence-Aware Guide Generation for Sound, Effective Amortized Probabilistic Inference 引用了 Sound probabilistic inference via guide types
  • Sound probabilistic inference via guide types 引用了 Towards verified stochastic variational inference for probabilistic programs
  • Sound probabilistic inference via guide types 引用了 Trace types and denotational semantics for sound programmable inference in probabilistic languages
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper6

  1. 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 次引用
  2. Towards verified stochastic variational inference for probabilistic programsWonyeol Lee, Hangyeol Yu, Xavier Rival, Hongseok YangPOPL 2020 · 22 次引用
  3. Sound probabilistic inference via guide typesDi Wang, Jan Hoffmann, Thomas W. RepsPLDI 2021 · 9 次引用
  4. Type-Preserving, Dependence-Aware Guide Generation for Sound, Effective Amortized Probabilistic InferenceJianlin Li, Leni Aniva, Pengyuan Shi, Yizhou ZhangPOPL 2023 · 7 次引用
  5. Verified Density Compilation for a Probabilistic Programming LanguageJoseph Tassarotti, Jean-Baptiste TristanPLDI 2023 · 6 次引用

相关 Paper

  1. Nonparametric Involutive Markov Chain Monte CarloCarol Mak, Fabian Zaiser, Luke OngICML 2022 · 2 次引用
  2. Nonparametric Hamiltonian Monte CarloCarol Mak, Fabian Zaiser, Luke OngICML 2021 · 7 次引用
  3. Deterministic stream-sampling for probabilistic programming: semantics and verificationFredrik Dahlqvist, Alexandra Silva, William SmithLICS 2023 · 4 次引用
  4. Probabilistic Programming with Stochastic ProbabilitiesAlexander K. Lew, Matin Ghavamizadeh, Martin C. Rinard, Vikash K. MansinghkaPLDI 2023 · 9 次引用
  5. Language-Agnostic Static Analysis of Probabilistic ProgramsMarkus Böck, Michael Schröder, Jürgen CitoASE 2024 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖