TL;DR
Researchers have introduced HOT-GP, a novel model-based reinforcement learning algorithm that utilizes Gaussian Processes to "hallucinate" optimistic outcomes. By modeling the joint uncertainty of both rewards and state transitions, the agent can explore complex environments—such as sparse-reward mazes and robotic control tasks—with significantly higher sample efficiency than traditional methods.
The Challenge of Exploration in Model-Based RL
Reinforcement Learning (RL) is notoriously "data-hungry," often requiring millions of interactions with an environment to learn a simple task. For robotics, this is a dealbreaker: real-world trials are expensive, slow, and cause physical wear and tear.
Model-Based RL (MBRL) attempts to solve this by learning a "world model" (a simulator) from a few real interactions and then practicing within that simulator. However, most MBRL agents struggle with exploration. They either explore greedily (ignoring uncertainty) or use "optimism" in a way that treats rewards and physics as independent. If an agent doesn't know the reward function beforehand, it needs a principled way to be optimistic about both where it is going and what it will get when it arrives.
HOT-GP: Hallucination-based Optimistic Thompson Sampling
The authors propose HOT-GP, an approach where the core innovation lies in how the agent "imagines" its future:
- Joint Modeling: Instead of training separate models for physics (transitions) and rewards, HOT-GP uses a Gaussian Process (GP) to model them jointly. This allows the agent to understand the correlation between a specific movement and the resulting reward.
- Neural Network Mean Function: To handle complex robot physics, the method uses a Deep Neural Network as the "mean" of the GP. This combines the high-capacity learning of deep neural networks with the rigorous uncertainty quantification of GPs.
- Optimistic "Hallucination": When practicing in its internal simulator, the agent doesn't just pick the most likely outcome. Instead, it performs a two-step sampling process:
- First, it samples a "high" reward from the top end of its predicted distribution (optimism).
- Second, it calculates the state transition most likely to be associated with that high reward.
This "hallucination" encourages the agent to try transitions that might lead to high rewards, even if it isn't completely certain about them yet.
Experimental Environments
The researchers evaluated HOT-GP on several standard and challenging continuous control benchmarks:
- MuJoCo Benchmarks: Standard tasks like Half-Cheetah, Reacher, and Pusher.
- Sparse Reward Tasks: Modified versions of the MuJoCo tasks (e.g., Sparse Reacher) and Sparse Maze environments where the agent only receives a reward upon hitting a tiny target, making exploration extremely difficult.
- VMAS Robot Coverage: A practical robotics task where an agent must visit unique, high-value cells in a 2D space without revisiting them.
Key Insights
- Correlation is Key: The most significant insight is that optimism is far more effective when the agent models the relationship between state and reward. If the model knows that "moving left" is correlated with "higher reward" in its current belief, it can explore that direction more purposefully.
- GPs vs. Ensembles: Most MBRL uses "ensembles" (groups of neural networks) to estimate uncertainty. The paper demonstrates that GPs provide much better-calibrated uncertainty. Without the artificial "clamping" of variance required by ensembles, the GP naturally guides the agent toward unknown but promising regions.
- The "Optimism Schedule": The authors found that being too optimistic early on (when the model is highly inaccurate) can be harmful. They implemented a linear schedule to gradually increase the level of optimism as the model becomes more reliable.
Key Results
- Massive Speedup: On the Half-Cheetah task, HOT-GP reached a high performance level in just 250,000 steps, whereas the popular SAC algorithm typically takes millions of steps to achieve comparable results.
- Solving the "Unsolvable": In the Medium Maze (a sparse reward environment with many dead ends), HOT-GP was the only algorithm to consistently find the goal. Greedy methods and standard MBRL (like MBPO) frequently got stuck or failed to learn entirely.
- Robustness to Penalties: As seen in the Sparse Reacher tasks, environments with "action penalties" (where moving costs energy) often trip up standard algorithms. HOT-GP successfully navigated the trade-off between exploring and saving energy, whereas other optimistic baselines often became "reckless" and failed.
Limitations and Future Work
- Computational Overhead: Gaussian Processes are mathematically intensive. HOT-GP takes roughly 2x to 3x longer in wall-clock time to train compared to simpler models like MBPO.
- Hyperparameter Tuning: The "optimism threshold" ($r_{min}$) is a new hyperparameter that requires tuning for different tasks. While the authors provide intuition on how to set it, it adds another layer of complexity to the deployment process.
- Short Horizon: The current implementation focuses on a 1-step lookahead. Extending this to a multi-step planning horizon could make the agent even more strategic in its exploration, representing a promising direction for future research.
Summary updated