Introduction
Reinforcement learning (RL) algorithms traditionally rely on minimizing squared Bellman errors to learn value functions. However, this approach is inherently sensitive to outliers and state aliasing, often leading to instability or divergence. This paper, published in IEEE Transactions on Pattern Analysis and Machine Intelligence, introduces a mathematically principled framework for robust losses, such as the Huber and Absolute error, reformulated as saddlepoint optimization problems. These new gradient-based algorithms offer significantly improved stability and performance without the need for common heuristics like target networks.
The Problem with Squared Errors
The standard Mean Squared Bellman Error (MSBE) over-emphasizes large errors. In RL, these spikes frequently arise from two sources:
- State Aliasing: When distinct states are indistinguishable to an agent's sensors but have vastly different values, squared loss forces the agent to reconcile these differences, often degrading the overall policy.
- Outliers: Rare, high-magnitude rewards can cause massive gradient updates that destabilize neural network weights.
Practitioners often resort to reward clipping or target networks to mitigate these issues, but these methods lack a consistent underlying loss function, making them difficult to analyze and tune.
Robust Saddlepoint Optimization
To address these limitations, the authors derive methods to minimize the Mean Huber Bellman Error (MHBE) and Mean Absolute Bellman Error (MABE) directly. The primary challenge is the "double sampling" problem, which they overcome using Fenchel-Moreau biconjugates. This transformation converts the robust loss into a min-max (saddlepoint) problem: $\min_\theta \max_h L(\theta, h)$.
By introducing an auxiliary variable ($h$) that acts as a projection of the error, the authors enable the computation of unbiased gradients. This leads to a new class of algorithms, such as QRC-Huber, which are true gradient-based methods rather than simple heuristic error clippers.
Experimental Evaluation
The proposed methods were tested across three distinct tiers:
- Linear Prediction Tasks: Including HardAlias (severe ambiguity), Outlier (rare large rewards), and Baird’s Counterexample (a classic divergence case for TD learning).
- Classic Control: Benchmarks like Mountain Car, Cartpole, and Lunar Lander.
- Minatar: A miniaturized Atari suite for testing scalability to pixel-based inputs and convolutional neural networks.
Key Results and Stability
A major finding is that robust losses allow agents to handle approximation limits more gracefully. Instead of "splitting the difference" in aliased states, robust losses allow the agent to maintain a better ordering of actions. Furthermore, algorithms like QRC-Huber remain stable without target networks, as they utilize the true gradient of a stable loss function.
In the Minatar suite, QRC-Huber outperformed DQN, achieving a higher average scaled return ($0.53 \pm 0.03$ vs. $0.36 \pm 0.06$) with significantly less hyperparameter tuning. In aliased environments, the fixed-point solution for the Huber loss was up to 20 times more accurate than the squared loss solution.
Conclusion
By moving from squared errors to robust losses through saddlepoint reformulation, this work provides a more stable foundation for reinforcement learning. The resulting algorithms are not only more resilient to outliers and state ambiguity but also simplify the RL pipeline by reducing the reliance on stability hacks like target networks.
Summary updated