Abstract
We address the problem of Bayesian reinforcement learning using efficient model-based online planning. We propose an optimism-free Bayes-adaptive algorithm to induce deeper and sparser exploration with a theoretical bound on its performance relative to the Bayes optimal as well as lower computational complexity. The main novelty is the use of a candidate policy generator, to generate long-term options in the planning tree (over beliefs), which allows us to create much sparser and deeper trees. Experimental results on different environments show that in comparison to the state-of-the-art, our algorithm is both computationally more efficient, and obtains significantly higher reward over time in discrete environments.
Introduction: The Curse of Dimensionality in Bayesian RL
In Reinforcement Learning (RL), an agent must navigate the fundamental trade-off between exploring unknown environments and exploiting current knowledge. Bayesian Reinforcement Learning (BRL) provides a principled framework for this by maintaining a probability distribution, or "belief," over possible models of the world. This is formally modeled as a Bayes-Adaptive MDP (BAMDP).
While the Bayes-optimal solution involves planning in a "hyper-state" space (combining state and belief), it is computationally intractable. The planning tree grows exponentially with the lookahead horizon, a phenomenon known as the "curse of dimensionality." Existing approximations often suffer from being either short-sighted (shallow horizon) or prohibitively slow (massive branching factor). This paper introduces Deeper Sparser Sampling (DSS) to bridge this gap, enabling deep lookahead without computational explosion.
Methods: Deeper and Sparser Planning
The core innovation of DSS is planning with multi-step policies instead of individual actions. By branching on $K$-step policies, the algorithm creates a search tree that is both deeper and thinner than traditional methods.
The DSS algorithm follows a structured approach:
- Policy Generation: At each node, the algorithm samples $N$ MDPs from the current belief. For each sample, it generates a candidate policy using standard methods like Policy Iteration or RTDP.
- Sparse Branching: Instead of branching on every possible action $|A|$, the tree only branches on these $N$ candidate policies.
- Deep Lookahead: Each branch represents $K$ steps of following a policy. A tree of depth $H$ thus explores a total horizon of $H \times K$.
- Belief Updating: Beliefs are updated at the end of each $K$-step segment, allowing the planner to anticipate how its knowledge will evolve.
This "policy-level planning" assumes that if the agent's belief changes slowly, a stationary policy remains a good approximation over a short window ($K$ steps), significantly reducing the branching factor.
Experimental Evaluation
The researchers evaluated DSS on several classic discrete RL benchmarks designed to test exploration efficiency:
- Chain: A 5-state environment requiring long-term planning to reach a distant reward.
- DoubleLoop: A 9-state environment with two loops sharing a state.
- Grid5 & Grid10: Sparse-reward navigation tasks on 5x5 and 10x10 grids.
- Maze: A complex 264-state environment requiring the collection of flags before reaching a goal.
Key Results and Insights
DSS variants (using Policy Iteration or RTDP as generators) consistently outperformed state-of-the-art methods like BAMCP and BFS3 across the tested environments.
Performance and Efficiency
- Superior Rewards: In environments like Chain, DoubleLoop, and Maze, DSS achieved significantly higher total rewards.
- Computational Gains: DSS proved much faster than its predecessors. In the Grid10 task, while BFS3 timed out after 2000 seconds, DSS-RTDP completed the task in approximately 97 seconds.
- Scalability: The performance gap widened in more complex environments like the Maze, suggesting that policy-based sparse sampling scales better to large state spaces.
Theoretical Advantages
The authors demonstrate that DSS is optimism-free, relying on the inherent diversity of sampled Thompson-style policies for exploration. Furthermore, they show that the approximation error in DSS is discounted by $\gamma^{HK}$ rather than just $\gamma^H$, meaning deeper lookahead effectively suppresses sampling errors.
Limitations and Future Work
While highly effective in discrete domains, DSS currently faces constraints:
- Discrete Spaces: The current implementation is limited to discrete states and actions. Extending this to continuous control would require neural network-based policy generators.
- Generator Dependency: Performance relies on the quality and diversity of the candidate policy generator.
- Future Directions: Future research may explore using non-linear function approximators, such as Deep Neural Networks, to model state-spaces in high-dimensional environments.
Summary updated