Variance-aware robust reinforcement learning with linear function approximation under heavy-tailed rewards

Xiang Li, Qiang SunarXiv 2023

Abstract

This paper presents two algorithms, AdaOFUL and VARA, for online sequential decision-making in the presence of heavy-tailed rewards with only finite variances. For linear stochastic bandits, we address the issue of heavy-tailed rewards by modifying the adaptive Huber regression and proposing AdaOFUL. AdaOFUL achieves a state-of-the-art regret bound of $\widetilde{O}\big(d\big(\sum_{t=1}^T \nu_{t}^2\big)^{1/2}+d\big)$ as if the rewards were uniformly bounded, where $\nu_{t}^2$ is the observed conditional variance of the reward at round $t$, $d$ is the feature dimension, and $\widetilde{O}(\cdot)$ hides logarithmic dependence. Building upon AdaOFUL, we propose VARA for linear MDPs, which achieves a tighter variance-aware regret bound of $\widetilde{O}(d\sqrt{HG^*K})$. Our regret bound is superior to current state-of-the-art bounds by depending on a tighter instance-dependent quantity, having optimal dependence on $d$ and $H$, and remaining valid even when rewards have only finite variances.

Introduction

Reinforcement Learning (RL) theory typically assumes rewards are strictly bounded or follow light-tailed distributions (e.g., sub-Gaussian). However, real-world domains like finance, genomics, and online advertising often involve "heavy-tailed" rewards where extreme values occur more frequently. Standard RL methods struggle in these environments because they are not designed to handle the high probability of outliers.

Existing robust RL methods often use truncation, which introduces estimation errors dependent on absolute moments rather than central moments (variance). This leads to suboptimality, particularly in low-noise scenarios. This paper addresses the challenge of designing algorithms that are both robust to heavy tails and "variance-aware"—meaning their regret scales with the actual noise variance, matching the efficiency of algorithms designed for much stricter assumptions.

Methods

The core innovation lies in moving from standard squared-error loss to a modified Adaptive Huber Regression. The authors utilize a smooth Pseudo-Huber loss that behaves quadratically for small errors and linearly for large errors, effectively mitigating the influence of outliers while maintaining sensitivity to the underlying signal.

AdaOFUL: Linear Stochastic Bandits

AdaOFUL (Adaptive Huber regression based OFUL) is designed for linear bandits. Unlike prior robust methods using a fixed robustification parameter, AdaOFUL adaptively selects parameters for each data point based on its importance and observed conditional variance. This allows for a more nuanced balance between bias and robustness in non-i.i.d. online settings.

Algorithm 1: Adaptive Huber regression based OFUL (AdaOFUL)

VARA: Linear MDPs

VARA (Variance-Aware Regret via Adaptive Huber regression) extends these principles to linear Markov Decision Processes (MDPs). It incorporates finer variance estimators for both rewards and transition value functions, ensures monotonic value function updates, and employs rare-switching updates to maintain computational efficiency.

Key Insights

  • Central Moments over Absolute Magnitude: By using Huber regression instead of simple truncation, the authors ensure that estimation errors depend on the variance of the rewards rather than their absolute magnitude. This allows the algorithm to focus on the core signal even in the presence of heavy tails.
  • Data-Adaptive Robustification: In online learning, data is collected adaptively. The authors show that the robustification parameter $\tau$ must be tuned differently for each observation to optimally balance bias and robustness.
  • Tighter Instance-Dependency: The regret bound for VARA depends on a quantity $G^*$, which is the sum of weighted per-step conditional variances. This is a much tighter, problem-specific measure than the worst-case bounds used in previous state-of-the-art methods.

Results

The paper establishes rigorous regret bounds that demonstrate the effectiveness of these algorithms:

  • AdaOFUL: Achieves a regret bound of $\tilde{O}(d\sqrt{\sum_{t=1}^T \nu_t^2} + d)$, where $\nu_t^2$ is the conditional variance. This is the first variance-aware bound for heavy-tailed linear bandits.
  • VARA: Achieves a regret bound of $\tilde{O}(d\sqrt{HG^*K})$. It features optimal dependence on the feature dimension ($d$) and the horizon length ($H$), remaining valid even when rewards have only finite variances.

Conclusion and Limitations

While these algorithms successfully "tame" heavy tails with state-of-the-art efficiency, they introduce higher computational costs. Unlike standard Least Squares, Huber regression lacks a closed-form solution and requires iterative optimization (e.g., Nesterov’s accelerated gradient descent). Furthermore, the current framework is limited to linear function approximation; extending these robust, variance-aware techniques to non-linear models like Deep Neural Networks remains a significant area for future research.

Summary updated

BibTeX
@misc{li2023variance,
  author = {Xiang Li and Qiang Sun},
  title = {{Variance-aware robust reinforcement learning with linear function approximation under heavy-tailed rewards}},
  year = {2023},
  eprint = {2303.05606},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.05606},
}
Figure