Corruption-Tolerant Asynchronous Q-Learning with Near-Optimal Rates

Sreejeet Maity, Aritra Mitra

Reinforcement Learning (RL) agents rely heavily on reward signals to learn optimal policies. However, in real-world deployments—such as autonomous driving or recommendation systems—these signals are often "dirty," corrupted by heavy-tailed noise or malicious adversarial attacks. This paper introduces Robust Async-Q, the first Q-learning algorithm designed to handle adversarially corrupted rewards in a realistic, asynchronous, and sequential (Markovian) setting, achieving near-optimal convergence rates.

The Challenge of Asynchronous Online Learning

While robust statistics has long studied how to estimate means from corrupted data, applying these ideas to RL is notoriously difficult. Most existing robust RL research assumes a "generative model" (where any state-action pair can be sampled at will) or relies on independent and identically distributed (i.i.d.) data.

This paper tackles the significantly harder asynchronous online setting. In this scenario, data arrives as a single, time-correlated trajectory, and the agent only observes one state-action pair at a time. When an agent is exploring sequentially, distinguishing between a rare but legitimate reward and a malicious "poisoned" sample becomes incredibly difficult.

A Two-Layered Defense Mechanism

To overcome these challenges, the authors propose a two-layered defense mechanism integrated directly into the standard Q-learning update rule:

  1. Robust Reward Estimation: Instead of relying on a simple average of observed rewards, the algorithm employs a trimmed mean estimator. This technique ignores the most extreme values in the reward history for each state-action pair, effectively filtering out adversarial outliers.
  2. Adaptive Thresholding: Because robust estimators are probabilistic and can still fail on rare occasions, the authors add a deterministic "safety layer." They define a "typical region" for rewards that shrinks as the agent collects more data. Any reward estimate falling outside this region is rejected and set to zero. This prevents the algorithm's iterates from diverging due to extreme adversarial signals.

The paper also introduces Robust Async-RAQ, a "reward-agnostic" version that does not require prior knowledge of the reward's mean or variance. Instead, it uses a slowly growing function of time as a proxy for these statistics.

Theoretical Insights and Fundamental Limits

A major contribution of this work is establishing the fundamental limits of learning under corruption. The authors prove an information-theoretic lower bound demonstrating that if a fraction $\epsilon$ of the data is corrupted, an estimation error of at least $\Omega(\sqrt{\epsilon})$ is unavoidable.

Remarkably, Robust Async-Q hits this limit, achieving a near-optimal convergence rate of $\tilde{O}(1/\sqrt{T} + \sqrt{\epsilon})$. This means it matches the speed of standard Q-learning ($1/\sqrt{T}$) while adding only the unavoidable penalty for the corruption ($\sqrt{\epsilon}$). Furthermore, the authors show that even when data is time-correlated (Markovian), the convergence rate only slows down by a factor related to the environment's "mixing time."

To prove these guarantees, the authors utilized a refined version of the Azuma-Hoeffding inequality for almost-martingales, a mathematical tool they note will likely be broadly useful for other RL researchers.

Empirical Validation

Though primarily a theoretical paper, the authors validated their algorithms using several classic RL environments modified with adversarial attacks, including Synthetic Grid-worlds, FrozenLake-v1, CliffWalking-v1, and Taxi-v3.

In the CliffWalking environment, for example, an adversary was programmed to inject large positive rewards to make falling off a cliff appear highly beneficial. Vanilla Q-learning was completely misled by the adversary and failed to learn the task. In stark contrast, Robust Async-Q successfully ignored the "poisoned" rewards and learned the optimal path.

Limitations and Future Directions

The authors note a few limitations that pave the way for future research:

  • Corrupted Transitions: This work focuses exclusively on corrupted rewards. In many scenarios, an adversary might also corrupt the state transitions (e.g., making the agent think it moved left when it actually moved right).
  • Function Approximation: The current analysis is "tabular," meaning it works for finite states and actions. Extending these robust guarantees to Deep RL, which uses neural networks for function approximation, remains a major open challenge.
  • Memory Overhead: The trimmed mean approach requires storing a history of rewards for each state-action pair. Future work could explore "streaming" robust estimators to reduce this memory footprint.

Summary updated

BibTeX
@inproceedings{maity2026corruption,
  author = {Sreejeet Maity and Aritra Mitra},
  title = {{Corruption-Tolerant Asynchronous Q-Learning with Near-Optimal Rates}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=L5ZJv73k7x},
}
Figure