Skip to main content
QUICK REVIEW

[Paper Review] noDice: Inference for Discrete Probabilistic Programs with Nondeterminism and Conditioning

Tobias Gürtler, Benjamin Lucien Kaminski|arXiv (Cornell University)|Feb 23, 2026
Bayesian Modeling and Causal InferenceComputer Science0 citations
TL;DR

noDice extends Dice to enable inference for loop-free, discrete probabilistic programs with nondeterminism and conditioning, by compiling to an ADD-based MDP and computing conditional reachability to obtain maximum output probability.

ABSTRACT

Probabilistic programming languages (PPLs) are an expressive and intuitive means of representing complex probability distributions. In that realm, languages like Dice target an important class of probabilistic programs: those whose probability distributions are discrete. Discrete distributions are common in many fields, including text analysis, network verification, artificial intelligence, and graph analysis. Another important feature in the world of probabilistic modeling are nondeterministic choices as found in Markov Decision Processes (MDPs) which play a major role in reinforcement learning. Modern PPLs usually lack support for nondeterminism. We address this gap with the introduction of noDice, which extends the discrete probabilistic inference engine Dice. noDice performs inference on loop-free programs by constructing an MDP so that the distributions modeled by the program correspond to schedulers in the MDP. Furthermore, decision diagrams are used as an intermediate step to exploit the program structure and drastically reduce the state space of the MDP.

Motivation & Objective

  • Motivate and enable inference for discrete probabilistic programs with nondeterminism and conditioning.
  • Provide a language (noDice) and a theoretical framework for compositional, convex-set semantics.
  • Develop an inference algorithm that leverages decision diagrams to reduce state space.
  • Demonstrate efficiency gains and practical scalability against existing model-checking approaches.

Proposed method

  • Translate a noDice program into a pair of boolean formulas that separately encode program behavior and observations.
  • Represent these formulas as Binary Decision Diagrams (BDDs) and fuse them into an Algebraic Decision Diagram (ADD).
  • Lift the ADD into a Markov Decision Process (MDP) to capture both probabilistic and nondeterministic choices.
  • Use conditional reachability in the constructed MDP to compute the maximum probability of the program output under successful observations.
  • Exploit ADDs to prune redundant states and reduce the resulting MDP size for tractable inference.
  • Discuss the limitations of ADD-based reasoning (bounded, finite boolean variables, loop-free programs) and contrast with other approaches.

Experimental results

Research questions

  • RQ1How can we perform inference for discrete probabilistic programs that include both nondeterminism and conditioning?
  • RQ2Can a sound, scalable framework be built to compute the maximum probability that a program outputs a given value under observations?
  • RQ3To what extent can decision diagrams (BDDs/ADDs) reduce the state space of the inferred model compared to traditional model-checking approaches?
  • RQ4What are the theoretical and practical trade-offs of modeling nondeterminism via convex sets of distributions in this setting?

Key findings

  • noDice reduces the state space of the resulting MDP via ADD-based compilation, enabling more scalable inference.
  • The maximum probability that a noDice program outputs a given value under successful observations can be computed as a conditional reachability probability in the constructed MDP.
  • In certain benchmarks, noDice outperforms state-of-the-art model checkers on equivalent tasks.
  • The framework can determine nontrivial probabilities (illustrated by an example where the maximum probability is computed for a vehicle-tracking scenario).
  • The approach handles both probabilistic choices and nondeterministic decisions within a single, compositional semantics based on convex sets of distributions.

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.