Introduction
Standard reinforcement learning (RL) algorithms typically operate under the assumption that rewards are "light-tailed"—meaning they are either bounded or follow distributions like Gaussians where extreme values are exceedingly rare. In these settings, the primary challenge of RL is learning the transition dynamics of the environment. However, many real-world domains, including high-frequency trading, network routing, and sensor-heavy robotics, generate rewards characterized by heavy tails. In such environments, a single massive outlier can significantly bias standard empirical mean estimators, leading algorithms to converge on sub-optimal policies. This paper addresses this gap by introducing Heavy-UCRL2 and Heavy-Q-Learning, which leverage robust statistics to achieve near-optimal regret bounds in the presence of extreme reward noise.
Robust RL Framework
The core innovation of this work is the integration of robust mean estimation into standard RL architectures. The authors demonstrate that in heavy-tailed regimes, the difficulty of learning the reward distribution actually dominates the difficulty of learning transitions. To mitigate this, they replace standard empirical mean estimators with two robust alternatives:
- Truncated Empirical Mean: This method ignores rewards exceeding a dynamic threshold that adapts based on the number of samples collected.
- Median-of-Means: This approach involves splitting data into blocks, calculating the mean of each block, and taking the median of those results to provide a more stable estimate.
Heavy-UCRL2 and Heavy-Q-Learning
Heavy-UCRL2 is a model-based extension of the UCRL2 algorithm. It uses robust estimators to construct "optimistic" confidence intervals for rewards, ensuring that the agent remains robust to outliers while exploring. Heavy-Q-Learning provides a more computationally efficient, model-free alternative. It applies adaptive truncation directly to the Bellman update and incorporates a specialized exploration bonus to account for the heightened uncertainty inherent in heavy-tailed data.
For high-dimensional tasks, the authors propose Heavy-DQN. Since deep networks lack explicit state-action counts, they utilize SimHash—a count-based exploration technique—to determine appropriate truncation thresholds for the neural network's reward updates.
Experimental Evaluation
The researchers evaluated their algorithms across three distinct benchmarks designed to test both exploration and robustness to noise:
- SixArms: A synthetic multi-armed bandit-style MDP where one action is optimal but suffers from high-variance, heavy-tailed noise.
- DoubleChain: A complex synthetic environment (illustrated below) that tests an agent's ability to maintain stable learning over long sequences of states despite noisy feedback.
- MountainCar-v0: A standard control task where the agent must swing a car up a hill. To simulate real-world instability, the authors injected symmetric $\alpha$-stable noise into the rewards.
Key Results and Insights
The theoretical analysis proves that Heavy-UCRL2 and Heavy-Q-Learning achieve a regret bound of $\tilde{O}(T^{\frac{1}{1+\epsilon}})$, where $\epsilon$ represents the "heaviness" of the tail. This matches known lower bounds for heavy-tailed bandits, indicating these algorithms are theoretically optimal for this regime.
Empirically, the robust variants significantly outperformed standard baselines. In the DoubleChain and SixArms environments, standard algorithms like PSRL and vanilla Q-learning often failed to identify the optimal policy, getting trapped by reward outliers. In the MountainCar environment, Heavy-DQN demonstrated superior stability compared to both unclipped DQN and DQN with fixed reward clipping, highlighting the importance of adaptive truncation.
Limitations and Future Work
While providing a robust foundation for heavy-tailed RL, several challenges remain. The current algorithms require a priori knowledge or estimation of the $(1+\epsilon)$-th moment of the reward distribution. Furthermore, robust estimators like Median-of-Means introduce additional computational and storage overhead. Future research is needed to bridge the gap between these robust techniques and Bayesian RL methods, such as Posterior Sampling, and to improve count-based exploration in extremely high-dimensional state spaces.
Summary updated