NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ReLU to the Rescue: Improve Your On-Policy Actor-Critic with Positive Advantages

Andrew Jesson, Chris Lu, Gunshi Gupta, Nicolas Beltran-Velez, Angelos Filos, Jakob Nicolaus Foerster, Yarin Gal

TL;DR

The authors introduce VSOP (Variational [b]ayes, Spectral-normalized, On-Policy RL), a streamlined approach to bringing Bayesian principles into deep reinforcement learning. By combining ReLU-clipped advantages, spectral normalization, and dropout-based Thompson sampling, VSOP achieves state-of-the-art performance on continuous control and generalization benchmarks, providing a more principled way to handle exploration and stability.

What Problem Does This Paper Address?

On-policy reinforcement learning (RL) algorithms like PPO and A3C are popular because they are stable and work well in dynamic environments. However, they often rely on "state-agnostic" exploration—meaning they explore the same amount regardless of whether they are in a familiar state or a completely new one.

While Bayesian inference offers a path to "state-aware" exploration (exploring more when uncertain), implementing it in deep RL is notoriously difficult and computationally expensive. The authors set out to find the "minimal step" toward approximate Bayesian inference that yields significant performance gains without the overhead of complex probabilistic frameworks.

Methods

The resulting algorithm, VSOP, introduces three key modifications to the standard Asynchronous Advantage Actor-Critic (A3C) framework:

  1. ReLU Advantages ($h^+$): Instead of updating the policy using all advantage estimates, VSOP applies a ReLU function, $h^+ = \max(0, h)$. This restricts policy updates to actions that yielded positive advantages (i.e., performed better than expected).
  2. Spectral Normalization: The authors apply spectral normalization to the weights of the actor and critic networks. This constrains the Lipschitz constant of the networks, preventing wild fluctuations in the value function.
  3. Dropout as Bayesian Approximation: By using dropout during both training and rollout phases, the authors approximate a posterior distribution over the network weights. This enables Thompson Sampling, where a unique policy is sampled for each episode, allowing the agent to explore different strategies based on its current uncertainty.

Datasets

The authors evaluated VSOP across several rigorous benchmarks:

  • MuJoCo (Gymnasium & Brax): A standard suite for continuous control tasks (e.g., Ant, Humanoid, HalfCheetah).
  • ProcGen: A challenging benchmark designed to test generalization, where game levels are procedurally generated so the agent never sees the exact same state twice.
  • Classic Control & MinAtar: Used for broader validation across discrete and simpler continuous tasks.

Key Insights and Ideas

  • The Theoretical "Why": The most elegant part of the paper is the proof that clipping advantages with a ReLU isn't just a heuristic. The authors show it is mathematically equivalent to maximizing a lower bound on the value function.
  • Lipschitz Grounding: They further prove that the error term in this lower bound is proportional to the Lipschitz constant of the value function. This provides a solid theoretical justification for using spectral normalization—it directly minimizes the "gap" in the optimization objective.
  • Adaptive Exploration: Because VSOP uses dropout to represent weight uncertainty, the agent naturally explores more in states where it has little experience. As it visits a state more often and finds "good" actions (positive advantages), the weight variance decreases, and the agent's behavior converges toward the best-known policy.
  • Synergy is Key: As shown in the ablation study (Figure 1), no single component is a "silver bullet." The performance jump comes from the interaction between the three mechanisms.
Figure 1: MuJoCo. Ablating the effect of the proposed mechanisms. Here, we compare VSOP to VSOP without spectral normalization (no-spectral), VSOP without Thompson sampling (no-Thompson), VSOP without advantage clipping (no- ReLU Adv.), and VSOP using all-actions policy optimization (all actions). We see that no single mechanism contributes greater than the sum of all changes, lending credence to the validity of our theory. The overall performance (a-b) and sample efficiency (c-d) metrics illustrate this result. Metrics are computed wrt to the average episodic return of the last 100 episodes and the area under the episodic return curve over ten random seeds

Key Results

  • MuJoCo Superiority: VSOP significantly outperformed PPO, A3C, SAC, and TD3 on the MuJoCo benchmark in terms of Median and Interquartile Mean (IQM) scores. While it trailed slightly behind off-policy methods like SAC on the absolute Mean score, it was more consistent and sample-efficient.
  • Generalization Power: In the ProcGen benchmark, VSOP showed a clear advantage over PPO, suggesting that its Bayesian-inspired exploration makes it much more robust when deployed in environments that differ from its training data.
  • Efficiency in Single-Threaded Settings: The authors found that VSOP's efficiency gains are most pronounced in single-threaded or low-parallelism settings, which are common in real-world robotics applications.
Figure 3: VSOP shows significant improvement over baselines across Median and IQM metrics on MuJoCo.

Limitations and Future Work

  • Massive Parallelization: Interestingly, spectral normalization became detrimental in "massively parallel" settings (e.g., 2048 concurrent threads). The authors hypothesize that the diversity of data from so many agents provides a natural regularization that makes spectral normalization redundant or even over-restrictive.
  • Discrete Action Theory: While VSOP works for discrete actions (like in ProcGen), the current theoretical proofs are tailored for continuous action spaces. Extending the formal grounding to discrete spaces is a noted area for future work.
  • Convergence Rates: While empirical results are strong, establishing formal convergence rates compared to other modern policy gradient methods remains an open theoretical challenge.

Summary updated

BibTeX
@inproceedings{jesson2024relu,
  author = {Andrew Jesson and Chris Lu and Gunshi Gupta and Nicolas Beltran-Velez and Angelos Filos and Jakob Nicolaus Foerster and Yarin Gal},
  title = {{ReLU to the Rescue: Improve Your On-Policy Actor-Critic with Positive Advantages}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=3umNqxjFad},
}
Figure