Seizing Serendipity: Exploiting the Value of Past Success in Off-Policy Actor-Critic

Tianying Ji, Yu Luo, Fuchun Sun, Xianyuan Zhan, Jianwei Zhang, Huazhe Xu

Introduction

While the majority of off-policy reinforcement learning (RL) research has focused on fixing value overestimation, this paper reveals that underestimation is actually a major bottleneck in the later stages of training. To address this, the authors introduce the Blended Exploitation and Exploration (BEE) operator. By updating value functions through a blend of the current policy's actions and the best historical actions found in the replay buffer, the resulting algorithm achieves state-of-the-art performance across over 50 complex robotic tasks.

The Underestimation Bottleneck

In off-policy RL, an agent learns from a "replay buffer" of past experiences. A central challenge is accurately estimating the $Q$-value, which represents the expected long-term reward of an action. For years, the RL community has been primarily concerned with overestimation bias—a phenomenon where function approximation errors lead the agent to be overly optimistic. This is often mitigated by techniques like Double-Q learning.

However, the authors identify a different, long-neglected issue: underestimation.

Overestimation vs. Underestimation phases in training, showing BAC's improved Q-estimation and success rate over SAC.

In the later stages of training, the agent's current policy might actually perform worse than some "lucky" (serendipitous) successes already stored in the replay buffer. Because standard Bellman updates calculate the target value based on the current policy's actions, these updates can drag down the $Q$-value estimate if the current policy is underperforming. This "under-exploitation" of past success traps the agent in a cycle of mediocre performance and poor sample efficiency.

Methods: Blended Exploitation and Exploration (BEE)

To solve this, the authors propose a new Bellman operator called BEE (Blended Exploitation and Exploration). Instead of forcing the agent to be purely optimistic (exploration) or purely greedy (exploitation), BEE combines two distinct operators:

  1. Bellman Exploration ($\mathcal{T}_{explore}$): The standard approach that evaluates the current policy, often incorporating an entropy bonus to encourage exploration.
  2. Bellman Exploitation ($\mathcal{T}_{exploit}$): A novel component that looks at the maximum $Q$-value achievable using actions that are already present in the replay buffer.

To make calculating the "maximum" over the replay buffer computationally tractable in continuous action spaces, the authors borrow a technique from offline RL: expectile regression (specifically inspired by the IQL algorithm). This allows them to estimate the upper bounds of the $Q$-values in the buffer without needing to explicitly solve a complex optimization problem for every single update.

The resulting algorithm, BAC (BEE Actor-Critic), uses a trade-off hyperparameter $\lambda$ to seamlessly blend these two targets. The authors also developed a model-based version, MB-BAC, demonstrating that the BEE operator is architecture-agnostic.

Key Insights: The Under-Exploitation Stage

The paper identifies a distinct phase in RL training where the policy update lags behind the best experiences in the buffer. During this stage, the agent effectively "forgets" how to succeed because it becomes too focused on its current, flawed policy.

Normalized Q-estimation on Hopper-v2 and Humanoid-v2, illustrating how SAC underestimates true returns in later training stages.
  • Double-Q isn't the only culprit: The authors show that even when Double-Q learning (the standard fix for overestimation) is disabled, underestimation still occurs. This proves that the root cause is the inherent non-optimality of the actor-critic framework's iterative updates.
  • Serendipity as a Resource: In difficult tasks, success is rare and often "serendipitous." BEE ensures that once the agent stumbles upon a successful trajectory, the $Q$-value function immediately recognizes its value, preventing the policy from drifting back into failure.

Experimental Results

The authors conducted an exhaustive evaluation across over 50 continuous control tasks, spanning standard locomotion benchmarks (MuJoCo & DMControl), complex robotic manipulation (Meta-World, ManiSkill2, Adroit), musculoskeletal motor control (MyoSuite), and failure-prone hardware benchmarks (ROBEL).

Key highlights include: * Benchmark Dominance: BAC outperformed state-of-the-art baselines (like SAC and TD3) across almost all tested tasks. * Solving the "Unsolvable": BAC is the first documented model-free method to effectively tackle the extremely challenging DogRun task from DMControl. * Resilience to Failure: In the HumanoidStandup task—notorious for being an "all-or-nothing" challenge—BAC achieved average returns 2.1x higher than the strongest baseline. * Sim-to-Real Success: The authors deployed the policy on a physical D’Kitty quadruped robot. Trained in simulation with BEE, the physical robot successfully navigated diverse real-world terrains (smooth roads, rough stones, uphill paths, and grasslands), achieving a success rate ~50% higher than SAC with noticeably more stable and natural gaits.

Limitations and Future Work

While the paper demonstrates that a fixed blending hyperparameter ($\lambda \approx 0.5$) works well across most tasks, the authors acknowledge that some "hard-exploration" scenarios might benefit from more sophisticated, adaptive $\lambda$ mechanisms. They provide initial designs for automatic $\lambda$ tuning in the appendix, marking it as a ripe area for future research.

Additionally, the BEE method inherently relies on the replay buffer containing at least some successful samples. If an environment's rewards are so sparse that the agent never sees a positive signal, BEE has no "past success" to exploit. Future work could explore integrating BEE with advanced intrinsic motivation techniques to handle extreme reward sparsity.

Summary updated

BibTeX
@inproceedings{ji2024seizing,
  author = {Tianying Ji and Yu Luo and Fuchun Sun and Xianyuan Zhan and Jianwei Zhang and Huazhe Xu},
  title = {{Seizing Serendipity: Exploiting the Value of Past Success in Off-Policy Actor-Critic}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=9Tq4L3Go9f},
}
Figure