Integrating Sample-Based Planning and Model-Based Reinforcement Learning

Thomas J. Walsh, Sergiu Goschin, Michael L. Littman

Reinforcement Learning (RL) agents often struggle in environments with astronomical state spaces. While we can efficiently learn models for structured worlds, the subsequent planning step typically requires exhaustive search, creating a significant "planning bottleneck." This paper, presented at AAAI-10, introduces a solution by integrating sample-based planners into the KWIK-Rmax framework, providing the first PAC-MDP RL solution for exponentially large state spaces that is both theoretically sound and computationally tractable.

The Planning Bottleneck

In model-based RL, an agent builds a model of the environment and uses a planner to determine the best actions. For complex domains like Factored or Relational MDPs, the state space can be $2^{100}$ or larger. Traditional planners like Value Iteration must visit every state, making them unusable in these scenarios.

The authors ask: Can we replace these exhaustive planners with "sample-based" planners—which only look at a few likely future paths—without losing the theoretical guarantee that the agent will eventually learn the best possible strategy?

Forward Search Sparse Sampling (FSSS)

The paper evaluates several sample-based planners to replace exhaustive ones:

  • Sparse Sampling (SS): A classic algorithm independent of state space size but slow in practice due to blind searching.
  • UCT (Upper Confidence for Trees): A popular bandit-based search. However, the authors show that in certain adversarial environments, UCT can take super-exponential time to find the right move, failing the requirements for a robust RL agent.
  • Forward Search Sparse Sampling (FSSS): The authors' novel contribution. FSSS performs a top-down search while maintaining upper and lower bounds on state values. These bounds allow for effective pruning: if a branch is guaranteed to be worse than the current best option, the search stops there.

Experimental Evaluation

The algorithms were evaluated on two simulated environments designed to test scaling: the Paint-Polish World (a relational MDP) and the Flags World (a factored MDP).

Performance and computational scaling in the Paint-Polish world.

In the Paint-Polish world, as the number of objects increases, the state space grows exponentially. As shown in the figure above, traditional Value Iteration (VI) and Sparse Sampling (SS) quickly become computationally intractable. In contrast, FSSS and UCT remain efficient, with FSSS producing more consistent, high-reward policies.

Learning performance in the Flags world environment.

In the Flags world, the state space is $O(n^2 2^{n^2})$, making exhaustive planning impossible. The results demonstrate that the KWIK-FSSS agent successfully learns a near-optimal policy, while a standard greedy explorer gets stuck in local optima and fails to find the flags.

Key Insights

  • Provable Efficiency: The authors prove that any "efficient state-independent planner" integrated with KWIK-Rmax results in a PAC-MDP agent.
  • The Power of Pruning: FSSS provides the best of both worlds: the rigorous guarantees of Sparse Sampling with the practical speed of heuristic search.
  • Optimism via Generative Models: The authors show how to integrate the "optimism" required for RL exploration directly into the generative model used by the planner, rather than needing to explicitly build a modified MDP.

Conclusion

By bridging the gap between sample-efficient model learning and computationally efficient planning, this work enables RL agents to operate in domains previously considered too large for model-based approaches. While challenges remain regarding scaling with the planning horizon, FSSS provides a robust foundation for future research in structured, large-scale reinforcement learning.

Summary updated

BibTeX
@inproceedings{walsh2010integrating,
  author = {Thomas J. Walsh and Sergiu Goschin and Michael L. Littman},
  title = {{Integrating Sample-Based Planning and Model-Based Reinforcement Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2010},
  doi = {10.1609/aaai.v24i1.7689},
}
Figure