TL;DR
Offline reinforcement learning often fails because neural networks wildly overestimate the value of actions they haven't seen in their training data. This paper introduces PARS, a simple yet highly effective algorithm that suppresses these extrapolation errors by scaling up rewards alongside Layer Normalization and explicitly penalizing physically impossible actions. PARS achieves state-of-the-art performance on challenging benchmarks like AntMaze Ultra and transitions seamlessly from offline training to online fine-tuning.
What Problem Does This Paper Address?
In offline reinforcement learning (RL), agents learn purely from pre-collected datasets without interacting with the environment. A major hurdle in this setup is extrapolation error: when the agent evaluates an out-of-distribution (OOD) action, standard ReLU-based neural networks tend to extrapolate linearly beyond the data boundary. If the local trend at the boundary is upward, the network mistakenly assigns a massive Q-value (predicted reward) to an unobserved, potentially catastrophic action.
While prior methods used Layer Normalization (LN) to bound these exploding predictions, LN alone doesn't force Q-values to decrease outside the data range. The authors set out to design a mechanism that actively forces Q-values to trend downward in OOD regions without requiring complex auxiliary models or overly conservative constraints that hinder later online learning.
Methods
The authors propose PARS (Penalizing infeasible Actions and Reward Scaling), a lightweight modification built on top of the minimalist TD3+BC framework. It introduces two core mechanisms:
- Reward Scaling with Layer Normalization (RS-LN): Instead of treating reward scaling as a minor hyperparameter tweak, PARS dramatically increases the reward scale ($c_{reward}$). Mathematically, larger output scales force the network to learn finer feature resolutions to maintain approximation fidelity. When paired with Layer Normalization—which confines the input volume to a unit sphere—this trick reduces the gradient similarity (Neural Tangent Kernel) between in-distribution and OOD actions, naturally suppressing OOD Q-values.
- Penalizing Infeasible Actions (PA): The algorithm explicitly samples actions far outside the environment's feasible action space ($A_I$) and penalizes their Q-values toward a minimum possible value ($Q_{min}$). Crucially, they leave a massive "guard interval" (100x to 1000x the feasible boundary) between the valid data and the penalized zone to ensure the network establishes a safe downward trend without corrupting valid action values.
Datasets
PARS was evaluated on 28 datasets from the standard D4RL benchmark, spanning three distinct domains:
- AntMaze: Including Umaze, Medium, Large, and the highly complex Ultra map size (which features a significantly larger map and sparse rewards).
- Adroit: Hand-manipulation tasks (Pen, Door, Hammer, Relocate) using both "cloned" human demonstrations and "expert" data.
- MuJoCo: Standard locomotion tasks (HalfCheetah, Hopper, Walker2d) across various data quality levels (Random, Medium, Replay, Expert).
Key Insights and Ideas
- The Dormant Neuron Connection: The authors discovered that scaling up rewards alongside LN reactivates "dormant neurons" (neurons that consistently output zero) in the network, boosting network expressivity by up to 50%. This is the first work to explicitly link network expressivity to OOD mitigation in offline RL.
- Counter-Intuitive Regularization: Traditionally, regularizing OOD actions involves complex density models or policy constraints. PARS achieves a similar effect purely through function approximation dynamics: changing the scale of the target values changes how the network generalizes.
- Distance Matters for Penalties: Penalizing OOD actions too close to the data boundary hurts performance because it bleeds into valid in-distribution estimates. Moving the penalties far into the "infeasible" zone acts as an anchor that safely guides the network's boundary trends downward.
Key Results
PARS demonstrates exceptional robustness, matching or exceeding state-of-the-art performance across all domains in both offline training and online fine-tuning.
- AntMaze Ultra Breakthrough: In the challenging AntMaze Large and Ultra datasets, PARS achieved 24% and 280% performance improvements over previous SOTA baselines, respectively.
- Superior Online Fine-Tuning: When transitioning to online fine-tuning (300k steps), PARS outpaced specialized online-fine-tuning algorithms like RLPD and Cal-QL. It was the only algorithm capable of successfully learning in the AntMaze Ultra-Play and Ultra-Diverse environments.
- High Computational Efficiency: Because it avoids massive critic ensembles (often requiring up to 500 critics in prior SOTA) or auxiliary generative models, PARS trains significantly faster and uses a fraction of the GPU memory compared to methods like SAC-RND or ReBRAC.
Limitations and Future Work
- Positive Q-Value Assumption: The natural suppression mechanism of RS-LN relies on target Q-values being positive. If an environment heavily features negative rewards or penalties that outweigh rewards, the offline dataset rewards must be manually shifted upward to ensure positivity.
- Ensemble Dependency: While PARS reduces the need for massive ensembles, it still relies on a small critic ensemble (4 to 10 critics) to correct misestimations inside the data's convex hull for MuJoCo and Adroit tasks.
- Future Directions: The authors suggest exploring more optimal ways to integrate Layer Normalization into RL architectures and designing novel activation functions tailored specifically for reward-scaled networks.
Summary updated