Aggregating Optimistic Planning Trees for Solving Markov Decision Processes

Gunnar Kedenburg, Raphaël Fonteneau, Rémi MunosNeurIPS 2013

The ASOP (Aggregated Safe Optimistic Planning) algorithm tackles complex decision-making by building a "forest" of planning trees, where each tree represents a single possible future. By combining deep, optimistic exploration of promising paths with a "safety" mechanism for uniform coverage, ASOP outperforms state-of-the-art methods in stochastic environments—even those that have full knowledge of transition probabilities.

The Challenge of Online Planning in MDPs

In Markov Decision Processes (MDPs), an agent must make a sequence of decisions to maximize rewards in an uncertain environment. Traditional "online planning" involves looking ahead from the current state to find the best move. However, two major hurdles exist:

  1. The Curse of Dimensionality: Large state spaces make it computationally impossible to calculate the exact "value" of every possible position.
  2. Stochasticity vs. Budget: If the environment is random, you need many samples to understand the odds. But if your computational budget (calls to a simulator) is limited, you face a brutal trade-off: do you look deep into one possible future, or wide across many shallow ones?

Existing algorithms like UCT (used in AlphaGo) or OP-MDP often struggle to balance this depth and width efficiently when they only have access to a randomized simulator rather than a full mathematical model of the environment.

Introducing ASOP: Aggregated Safe Optimistic Planning

To address these limitations, the researchers introduce ASOP. The algorithm operates in three distinct phases to balance deep exploration with robust safety guarantees:

  1. Safe Optimistic Planning (SOP): This is the engine that builds individual "Single Successor State" (S3) trees. Each tree is a deterministic "realization"—essentially a "what if" scenario where every action leads to exactly one outcome sampled from the simulator.
  2. Optimism: It uses an upper bound on potential reward to prioritize expanding the most promising branches.
  3. Safety: To ensure the algorithm doesn't get "tricked" by a lucky or unlucky sample, it spends half its budget expanding the shallowest nodes (uniform exploration).
  4. Forest Construction: ASOP runs multiple independent instances of SOP to create a "forest" of these trees.
  5. Aggregation: Finally, it merges the information from all trees to create an "empirical MDP." It calculates the best immediate action based on the average performance across this forest.
Comparison of Safe, Optimistic, and combined Safe+Optimistic planning strategies.

Key Insights: The "Safety Tax" and Deterministic Depth

By treating each tree as a deterministic path, the algorithm can "tunnel" much deeper into the search space than algorithms that try to account for every possible random branch at every step.

However, purely optimistic planning in sampled trees can be inconsistent—it might ignore the optimal path forever if the first few samples are unlucky. The "Safe" part of SOP (expanding shallow nodes) acts as a theoretical "insurance policy" that guarantees the algorithm will eventually find the truth.

Experimental Results

The researchers evaluated ASOP using a noisy version of the Inverted Pendulum benchmark, where actions are applied stochastically (e.g., a 60% chance the intended voltage is applied, and a 40% chance a lower voltage is applied). This rigorously tests the algorithm's ability to handle uncertainty.

Performance comparison of ASOP against UCT, FSSS, and OP-MDP.
  • Superior Performance: In the inverted pendulum tests, ASOP achieved higher discounted rewards than UCT and FSSS across various budget levels.
  • Sampling Efficiency: Surprisingly, ASOP performed better than OP-MDP, even though OP-MDP was given the exact transition probabilities. This suggests that sampling-based "forests" are more computationally efficient at identifying the best actions than trying to solve the full probability math under a tight budget.
  • Consistency: The authors provide a finite-sample analysis proving that as the budget and forest size grow, the regret (the gap between the chosen action and the perfect action) converges to zero.

Limitations and Future Work

While the results are strong, the performance depends on the balance between forest size and per-tree budget. Finding the "sweet spot" for a new problem still requires some manual tuning. Furthermore, the current mathematical proof of convergence relies primarily on the "safe" (uniform) part of the algorithm. The authors acknowledge that the "optimistic" part is what makes it fast in practice, but they haven't yet fully captured that benefit in their formal analysis. Future work will explore more complex "smoothness" properties of value functions to further refine how the optimistic search prioritizes branches.

Summary updated

BibTeX
@inproceedings{kedenburg2013aggregating,
  author = {Gunnar Kedenburg and Raphaël Fonteneau and Rémi Munos},
  title = {{Aggregating Optimistic Planning Trees for Solving Markov Decision Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2013},
  url = {https://openreview.net/forum?id=ByWoDuWOZS},
}
Figure