TL;DR
Curiosity-based reinforcement learning (RL) is powerful but notoriously fragile. It often requires exhaustive tuning of the "curiosity weight" ($\beta$) to prevent the agent from either getting stuck in local optima or wandering aimlessly. This paper introduces Hyper, an algorithm that decouples exploration from exploitation and uses a "repositioning phase" to ensure the agent explores from a stable "base camp." This approach makes the agent significantly more robust to hyperparameters and is provably efficient.
The Problem: The "Goldilocks" Dilemma of Curiosity
In RL, agents must constantly balance exploration (trying new things) and exploitation (using what they already know to maximize reward). Curiosity-driven methods attempt to solve hard-exploration problems by providing the agent with an "intrinsic reward" for visiting novel states.
However, these methods suffer from a severe sensitivity to the hyperparameter $\beta$, which scales this intrinsic reward:
- Too small (Lazy): The agent ignores the curiosity signal and gets trapped in local optima or suboptimal goals.
- Too large (Obsessed): The agent becomes entirely focused on novelty, over-exploring the environment and failing to learn the actual task.
Because the "perfect" $\beta$ changes drastically depending on the environment and reward structure, researchers are forced to run massive, computationally expensive hyperparameter sweeps. This heavily limits the real-world utility and accessibility of curiosity-based RL.
The Solution: Hyperparameter Robust Exploration (Hyper)
The authors propose Hyper, which introduces two primary innovations to stabilize curiosity-driven learning:
- Two-Phase Trajectories (Repositioning & Exploration): Instead of executing one long exploratory run, each episode is split into two phases. First, a Repositioning Phase uses the current exploitation policy to move the agent to a state it already understands well. Then, an Exploration Phase takes over, using a curiosity policy to search for novelty from that "safe" starting point.
- Policy Decoupling: Hyper maintains two distinct policies: an exploration policy ($\pi$) trained with intrinsic rewards, and an exploitation policy ($\mu$) trained strictly on task rewards. This prevents the "noisy" intrinsic signals from corrupting the agent's ability to perform the actual task.
- Bounded Geometric Distribution: The length of the repositioning phase is sampled from a geometric distribution truncated to the episode horizon. The probability of stopping the repositioning phase decays over time, allowing the agent to venture further out as its exploitation policy becomes more reliable.
The authors also provide theoretical justification, proving that Hyper achieves polynomial sample complexity under linear function approximation, guaranteeing that it can find a near-optimal policy efficiently.
Key Insights
- Exploration Needs a "Base Camp": Pure curiosity often leads agents into "the middle of nowhere," where they cannot relate new findings back to the task. By repositioning the agent first, Hyper ensures exploration is grounded in regions where the agent already has some task-specific competence.
- Stability through Regularization: By controlling the starting point of exploration via the exploitation policy, Hyper effectively regularizes the state visitation distribution. This prevents the optimization instability that typically occurs when an agent's policy changes too drastically due to high intrinsic rewards.
Key Results
- Unprecedented Robustness: In $\beta$-sensitivity tests, Hyper maintained near-peak performance for $\beta$ values spanning several orders of magnitude (from $5e^{-3}$ up to $100.0$). In stark contrast, standard curiosity-driven methods crashed as soon as $\beta$ deviated from a very narrow optimal window.
- Performance in Sparse Rewards: In hard-exploration tasks like the "LargeMaze-Hard" environment, Hyper was the only agent that consistently reached the goal. Standard curiosity agents found the goal occasionally but failed to learn a stable policy to return to it.
- Efficiency: Hyper performed comparably to or better than state-of-the-art baselines across both dense and sparse reward MuJoCo continuous control tasks, often exhibiting lower variance between runs.
Limitations and Future Work
- Computational Overhead: Hyper requires maintaining and updating two separate policies alongside an intrinsic reward model. This increases the memory and computational footprint compared to simpler, exploitation-only algorithms.
- Repositioning Reliance: The method assumes the exploitation policy can eventually reach "promising" areas. In environments where the very first step is a severe bottleneck (e.g., a locked door at the immediate start), the repositioning phase might not provide significant benefits until the agent has already explored past that bottleneck.
- Future Directions: The authors suggest exploring more complex repositioning strategies beyond simply following the exploitation policy, such as explicitly targeting specific "frontier" states to accelerate discovery.
Summary updated