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

Executive Summary

This paper introduces VSOP (Variational, Spectral-normalized, On-Policy reinforcement learning), a simple yet theoretically grounded upgrade to standard on-policy reinforcement learning (RL). By combining ReLU-clipped advantages, spectral normalization, and dropout-based Thompson sampling, the authors transform the classic A3C algorithm into an approximate Bayesian inference engine. This approach achieves state-of-the-art performance on MuJoCo and ProcGen benchmarks by enabling adaptive, state-aware exploration.

The Challenge of Efficient Exploration

On-policy reinforcement learning algorithms like PPO and A3C are workhorses of the field, but they often struggle with efficient exploration. Most standard methods use "state-agnostic" exploration—usually through entropy regularization—which encourages the agent to try random actions regardless of whether it is in a brand-new state or one it has visited a thousand times.

Ideally, agents should utilize state-aware exploration: being bold and curious in unfamiliar territory, but precise and exploitative in well-understood states. While Bayesian RL offers a principled way to achieve this via Thompson sampling, implementing it in policy gradient methods is mathematically messy because the standard RL objective isn't a simple likelihood function. The core question this research addresses is: What is the minimal step we can take toward approximate Bayesian inference in actor-critic deep RL?

The VSOP Framework

The researchers propose modifying the Asynchronous Advantage Actor-Critic (A3C) algorithm with three key components to approximate Bayesian inference:

  1. ReLU on Advantages: Advantage estimates are passed through a ReLU function ($h^+ = \max(0, h)$). This means the policy only updates when an action performs better than average.
  2. Dropout as Bayesian Approximation: Monte Carlo (MC) Dropout is used during both training and inference. By treating the neural network weights as random variables, the agent can perform Thompson Sampling. In each rollout, the agent samples a "version" of its policy from the approximate posterior and follows it.
  3. Spectral Normalization (SN): SN is applied to the critic's weights to constrain its Lipschitz constant.

Theoretical Grounding: The paper proves that if one assumes a Normal-Gamma distribution over actions and advantages, the resulting Bayesian gradient update takes the exact form of the A3C update—provided the advantages are non-negative. This offers a rigorous theoretical justification for the common heuristic of clipping advantages. Furthermore, updating only on positive advantages optimizes a lower bound on the value function, where the "gap" in this bound is proportional to the Lipschitz constant of the value function. This provides the first clear theoretical reason why Spectral Normalization is so effective for the critic in this setup.

Key Results and Insights

VSOP was evaluated across a wide array of standard and challenging benchmarks, including MuJoCo continuous control tasks, the ProcGen generalization suite, and MinAtar.

MuJoCo Superiority and Generalization

VSOP significantly outperformed PPO, A3C, SAC, and TD3 on the MuJoCo benchmark, achieving higher Median and Interquartile Mean (IQM) scores. This proves it is both more performant and more reliable across different random seeds.

Learning curve on Humanoid-v4 demonstrating VSOP's superior sample efficiency and final performance compared to ablated versions.

On the challenging ProcGen benchmark, designed to test generalization to unseen levels, VSOP showed a massive improvement over PPO. It generalized better to unseen test levels in 8 out of 16 environments and was statistically equivalent in 5 others.

Ablation Studies: The Secret Sauce

Ablation studies revealed that the combination of all three techniques is strictly necessary. Removing the ReLU clipping, spectral normalization, or Thompson sampling led to significant performance drops.

Aggregate ablation metrics showing VSOP outperforms its variants across Median, IQM, and Mean scores.

By clipping advantages with a ReLU, the advantage effectively acts as a "precision" modifier. When the agent finds a high-advantage action, the variance of the sampled policies decreases (exploitation). When advantages are low or negative, the variance remains high (exploration). Unlike entropy regularization, VSOP’s Thompson sampling is adaptive—the diversity of sampled policies naturally shrinks as the agent gains confidence in a specific state-action pair.

Limitations and Future Work

  • Massive Parallelism: The authors noted that Spectral Normalization can be detrimental in "massively parallel" settings (e.g., thousands of threads in Brax). With enough diverse data from parallel agents, the regularization provided by SN may become overly restrictive.
  • Discrete Action Theory: While VSOP works well empirically on discrete tasks like ProcGen, the current theoretical derivation for the Normal-Gamma assumption is tailored to continuous action spaces. Extending this theory to categorical distributions remains future work.
  • Smoothness Assumptions: The theoretical proofs rely on the assumption that the policy is a smooth function, which is technically violated by the ReLU activation functions used in the networks. Investigating the impact of smoother activations (like GeLU or Swish) in this framework is an open question.

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