Reproduce “Approximate Inference in Discrete Distributions with Monte Carlo Tree Search and Value Functions” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Lars Buesing, Nicolas Heess, Theophane Weber

TreeSample approximates discrete distributions by searching a tree of partial assignments, caching rewards, and revisiting branches using probability mass and uncertainty. Soft backups aggregate continuation mass rather than selecting one assignment. On synthetic 10-variable chains, it achieved KL error 0.53 ± 0.17 versus 1.94 ± 0.48 for sequential Monte Carlo at 10,000 reward evaluations; this does not measure runtime.

Key insights

  • Probabilistic inference in discrete domains can be framed as a sequential decision-making problem within a maximum-entropy MDP, with its solution providing a direct path to the target distribution's properties.
  • Monte Carlo Tree Search, conventionally for optimization, can be adapted for approximate integration by replacing standard Bellman backups with soft-Bellman updates, effectively aggregating probabilities.
  • Learned neural network-based value functions, particularly GNNs, can provide effective search guidance and facilitate amortized inference, transferring complex computational knowledge across varying discrete distributions and graph structures.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.