Approximate Inference for Stochastic Planning in Factored Spaces

Zhennan Wu, Roni Khardon

Abstract

Stochastic planning can be reduced to probabilistic inference in large discrete graphical models, but the hardness of inference necessitates approximation schemes. This paper argues that the choice of approximation and the direction of information flow are critical. We introduce Collapsed State Variational Inference (CSVI), which focuses approximation on action sequences, achieving state-of-the-art performance by avoiding local optima common in standard variational methods.

Introduction

Stochastic planning involves maximizing rewards in uncertain environments with factored state spaces. By casting planning as probabilistic inference, researchers can leverage graphical model techniques. However, exact inference is intractable in large-scale problems, leading to the use of approximations like Belief Propagation (BP) and Mean Field Variational Inference (MFVI). This paper seeks to unify these approaches and address the failures of standard variational methods in complex planning tasks.

Methods

The authors categorize planning-as-inference algorithms by direction (Forward vs. Backward) and approximation type (BP vs. MFVI). A key contribution is Collapsed State Variational Inference (CSVI). Unlike standard MFVI, which approximates all variables independently, CSVI analytically integrates out state variables ("collapses" them) and focuses on action variables. This reduction in the number of approximated variables helps avoid poor local optima. Sampling is used to estimate updates for the resulting complex distribution.

Results and Key Insights

Evaluation across six domains from the ICAPS 2011 competition (Sysadmin, Elevators, Crossing, Game of Life, Skill Teaching, and Traffic) reveals several insights. CSVI significantly outperforms standard MFVI and achieves parity with state-of-the-art Forward Loopy BP (SOGBOFA).

Performance comparison across domains and ELBO analysis. The plots show CSVI's superior performance over standard MFVI and its parity with SOGBOFA, alongside ELBO increase compositions.

Key findings include:

  • Directionality: For BP, forward reasoning (SOGBOFA) is superior to backward reasoning.
  • MFVI Brittleness: Standard MFVI is sensitive to update order and reward scaling. The ELBO analysis (shown in the bottom right of the figure) illustrates how standard MFVI can get stuck compared to the collapsed version.
  • CSVI Robustness: By collapsing states, CSVI provides a tighter bound and more stable optimization, performing well without the need for specialized reward exponentiation.

Conclusion

While CSVI is computationally more intensive due to sampling, it offers a robust and high-performing alternative for stochastic planning. Future work includes exploring amortized variational inference to reduce computational costs and extending the framework to closed-loop policies.

Summary updated

Abstract

Stochastic planning can be reduced to probabilistic inference in large discrete graphical models, but hardness of inference requires approximation schemes to be used. In this paper we argue that su...
BibTeX
@inproceedings{wu2022approximate,
  author = {Zhennan Wu and Roni Khardon},
  title = {{Approximate Inference for Stochastic Planning in Factored Spaces}},
  booktitle = {PGM},
  year = {2022},
  url = {https://openreview.net/forum?id=Hfj4MrmqBt},
}
Figure