Introduction
In standard Reinforcement Learning (RL), agents are typically "greedy"—they aim to maximize the expected reward of their immediate next action. To prevent agents from getting stuck in local optima, researchers traditionally rely on artificial "exploration bonuses," such as entropy regularization (which penalizes the agent for being too certain) or curiosity rewards (which incentivize visiting novel states).
However, these bonuses are often bolted-on heuristics. In the real world, exploration is driven by the knowledge that we will have multiple attempts at a task. If given only one shot, playing it safe is optimal. But with ten tries, one might spend the first nine experimenting to find a highly rewarding strategy. This paper formalizes this intuition by introducing ReMax, an objective that evaluates a policy based on the best result achieved over multiple "retries," allowing exploration to emerge as a natural, mathematical necessity.
The ReMax Objective and RePPO
The core contribution of this work is the ReMax objective. Instead of maximizing the standard RL objective $J_{RL}(\pi) = \mathbb{E}[R]$, ReMax maximizes the expected maximum return over $M$ samples: $J_{ReMax} = \mathbb{E}[\max(R_1, \dots, R_M)]$.
By explicitly accounting for "epistemic uncertainty"—the gaps in the agent's knowledge—ReMax encourages the agent to test actions with highly uncertain values, driven by the potential for a maximum reward over multiple tries.
To apply this objective in deep RL, the authors integrate ReMax into the widely used Proximal Policy Optimization (PPO) algorithm, creating RePPO (ReMax PPO). RePPO introduces several key innovations:
- Emulated Retries: Because it is impossible to literally "rewind" time in most environments to retry a state $M$ times, RePPO uses a Q-function (a critic) to estimate what those retries would have yielded.
- Continuous Retry Parameter ($m$): The discrete number of retries $M$ is generalized into a continuous parameter $m > 0$. This enables fine-grained control over exploration: $m > 1$ encourages broader exploration, while $m < 1$ accelerates convergence.
- Expected Improvement (EI): The authors derive a novel policy gradient based on "Expected Improvement," a concept borrowed from Bayesian optimization. This allows the agent to learn from single-trajectory returns while effectively optimizing for the "best of $M$" objective.
Experimental Evaluation
The authors evaluated RePPO across a diverse set of environments to test its theoretical and practical capabilities:
- Multi-armed Bandits: Used for initial theoretical validation and to visualize how the objective reshapes the reward landscape.
- MinAtar: A computationally efficient version of the Atari benchmark (including Breakout, Asterix, Freeway, and Space Invaders).
- Atari 10: A selection of "hard-exploration" games from the Arcade Learning Environment (e.g., Alien, Frostbite, Hero).
- Craftax: A complex, open-ended RL benchmark inspired by Minecraft and NetHack, which demands long-term planning and discovery.
Key Findings and Insights
Exploration as an Emergent Property: The most striking finding is that explicit entropy bonuses are no longer required to maintain policy diversity. Under the ReMax objective, a stochastic (randomized) policy naturally emerges as the mathematically optimal solution because it effectively "hedges" against uncertainty. RePPO maintained higher policy entropy throughout training compared to entropy-regularized PPO, demonstrating that "retry" logic is a powerful driver of diversity.
The Geometry of Reward: In deterministic settings, the parameter $m$ acts as a "gradient flattener." A high $m$ value flattens the objective function near the optimum, preventing the agent from collapsing into a single action too early and affording it time to discover potentially better actions.
Stable Exploration via Q-Replacement: To prevent the agent from over-optimistically following a flawed critic, the authors found that replacing the critic's estimate with the actual return for the sampled action (a technique termed Q-replacement) was vital for stable exploration.
Performance and Efficiency: On MinAtar, RePPO (without any exploration bonus) outperformed standard PPO with entropy bonuses, as well as PPO combined with Random Network Distillation (RND, a popular curiosity method). In the highly complex Craftax environment, RePPO achieved competitive results with heavily tuned PPO+RND baselines while remaining significantly simpler to implement. Furthermore, speed benchmarks confirmed that the computational overhead of sorting Q-values and computing the ReMax gradient is negligible, making RePPO a practical drop-in replacement for standard PPO.
Limitations and Future Directions
While RePPO offers a principled approach to exploration, it currently has a few limitations. The closed-form derivation for ReMax relies on sorting actions, which is effective for discrete action spaces but does not immediately translate to continuous control tasks, such as robotics. Additionally, like all actor-critic methods, RePPO's performance is heavily dependent on the quality of its Q-function; a poorly trained critic will yield inaccurate "emulated retries." Finally, formal regret bounds for ReMax in the full RL setting (beyond bandits) remain an open area for research.
Future work may involve combining ReMax with explicit Bayesian critics or ensemble methods to better model uncertainty in high-dimensional state spaces, further bridging the gap between theoretical exploration and practical deep RL.
Summary updated