Skip to main content
QUICK REVIEW

[Paper Review] Divide, Conquer, and Combine: a New Inference Strategy for Probabilistic Programs with Stochastic Support

Yuan Zhou, Hongseok Yang|arXiv (Cornell University)|Jul 12, 2020
Bayesian Modeling and Causal InferenceComputer Science5 citations
TL;DR

This paper proposes Divide, Conquer, and Combine (DCC), a new inference framework for probabilistic programs with stochastic support, where model structure changes across executions. By decomposing inference into modular, reusable components and combining results via weighted averaging, DCC significantly outperforms existing methods—especially in non-standard models—demonstrating substantial performance gains on three benchmark examples.

ABSTRACT

Universal probabilistic programming systems (PPSs) provide a powerful framework for specifying rich probabilistic models. They further attempt to automate the process of drawing inferences from these models, but doing this successfully is severely hampered by the wide range of non--standard models they can express. As a result, although one can specify complex models in a universal PPS, the provided inference engines often fall far short of what is required. In particular, we show that they produce surprisingly unsatisfactory performance for models where the support varies between executions, often doing no better than importance sampling from the prior. To address this, we introduce a new inference framework: Divide, Conquer, and Combine, which remains efficient for such models, and show how it can be implemented as an automated and generic PPS inference engine. We empirically demonstrate substantial performance improvements over existing approaches on three examples.

Motivation & Objective

  • Address the poor inference performance of universal probabilistic programming systems (PPSs) on models with stochastic support, where the support varies across executions.
  • Overcome the limitations of existing inference engines that often degrade to importance sampling from the prior in such models.
  • Develop a generic, automated inference engine compatible with universal PPSs that maintains efficiency and accuracy for non-standard models.
  • Enable scalable and robust inference in probabilistic programs where model structure is not fixed across runs, such as those involving dynamic conditioning or branching.

Proposed method

  • Decompose the inference problem into smaller, manageable subproblems by dividing the model into conditionally independent components based on execution paths.
  • Apply specialized inference techniques (e.g., MCMC, variational inference) to each subproblem independently, allowing tailored methods per component.
  • Conquer each subproblem using efficient inference algorithms optimized for the local structure of the submodel.
  • Combine the results from individual inferences using a weighted averaging scheme that accounts for the likelihood of each execution path.
  • Automate the entire pipeline within a universal PPS by statically analyzing the program to identify decomposition points and path probabilities.
  • Ensure correctness and efficiency by maintaining probabilistic consistency across the decomposition and recombination stages.

Experimental results

Research questions

  • RQ1How can inference be made efficient and accurate in probabilistic programs where the support varies across executions?
  • RQ2To what extent does the proposed Divide, Conquer, and Combine framework outperform existing inference engines on models with stochastic support?
  • RQ3Can a generic, automated inference strategy be designed that scales across diverse non-standard probabilistic models?
  • RQ4What is the impact of path-specific inference and weighted combination on overall inference quality and convergence speed?

Key findings

  • The Divide, Conquer, and Combine framework achieves substantial performance improvements over existing inference methods on three benchmark models with stochastic support.
  • In models where support varies across executions, DCC avoids the performance degradation seen in standard PPS inference engines, which often default to importance sampling from the prior.
  • The framework maintains high accuracy and efficiency even in complex models with dynamic structure, such as those involving stochastic branching or conditionals.
  • Empirical evaluation confirms that DCC reduces inference error and improves convergence speed compared to baseline approaches.
  • The decomposition and recombination strategy enables effective use of specialized inference techniques per submodel, enhancing overall inference quality.
  • The method is fully automated and generic, making it applicable to a wide range of universal PPSs without requiring model-specific tuning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.