TL;DR
This paper introduces BR-Async-Q, the first robust asynchronous Q-learning algorithm capable of handling simultaneous adversarial corruption of both rewards and state observations. By batching online data streams into epochs and applying robust trimmed-mean estimators, the algorithm achieves minimax-optimal error bounds and eliminates the sub-optimal amplification of corruption caused by infrequently visited states.
What Problem Does This Paper Address?
Standard reinforcement learning (RL) algorithms assume that the environment provides clean, uncorrupted feedback. However, in real-world applications like robotics or autonomous driving, sensors fail, logs get corrupted, or malicious actors inject adversarial data.
While prior work has explored robust RL under reward-only corruption, managing joint state and reward corruption has remained an open challenge. Furthermore, existing robust asynchronous Q-learning algorithms suffer from a major theoretical flaw: their error bounds scale inversely with the visitation probability of the least-visited state-action pair ($\lambda_{\min}$). This implies that if an agent rarely visits a particular state, an adversary can exploit that state to catastrophically corrupt the entire learning process. This paper addresses this gap by asking: Is it possible to reliably learn an optimal policy under joint corruption without letting rarely visited states amplify the adversary's impact?
Methods
The authors propose BR-Async-Q (Batch Robust Asynchronous Q-Learning), which departs from standard Q-learning by abandoning step-by-step updates in favor of an epoch-based batching strategy.
Instead of updating the Q-table at every single time step (which introduces high variance and leaves the algorithm vulnerable to corruption), BR-Async-Q partitions the data stream into epochs of length $H$.
- Online Batching: Within each epoch, the algorithm freezes the Q-table and accumulates two datasets for each state-action pair: one for observed rewards and one for bootstrapped look-ahead values.
- Robust Estimation: At the end of the epoch, the algorithm applies modified trimmed-mean estimators (
TRIMHfor heavy-tailed rewards andTRIMBfor bounded look-ahead values) to filter out outliers injected by the adversary. - Stabilization via Clipping: To guard against rare failure events where the robust estimators might still output extreme values, a final clipping step is applied to uniformly bound the empirical Bellman operator.
- Synchronous Updates: The Q-table is updated exactly once per epoch using these variance-reduced, robust directions.
Datasets
The algorithm was evaluated using a simulated classic grid-world environment consisting of:
- 100 states and 40 actions.
- A discount factor of $\gamma = 0.5$.
- Heavy-tailed reward distributions and adversarial attacks where corrupted rewards were replaced with massive biasing signals (e.g., $-10^6$ or $-10^8$) and next-states were replaced via uniform resampling over the state space.
Key Insights and Ideas
- Batching as a Variance Shield: The core "aha moment" is that batching online data before updating the Q-table drastically reduces variance. This reduction is precisely what allows robust estimators to successfully distinguish between clean data tails (even heavy-tailed rewards) and adversarial corruption.
- Eliminating the $\lambda_{\min}$ Curse: By waiting to collect a sufficient number of samples for all state-action pairs within an epoch before performing a synchronous update, the algorithm ensures that the corruption bias does not blow up on infrequently visited states.
- Sharper Bounds via Known Thresholds: For look-ahead values, the algorithm exploits the fact that the true value function must live within known bounds. Using this information to inform the trimming process (
TRIMB) improves the state-corruption error dependency from $O(\sqrt{\epsilon_Y})$ to a much sharper $O(\epsilon_Y)$.
Key Results
The authors provide a finite-time $\ell_\infty$ error bound proving that BR-Async-Q converges close to the optimal value function $Q^*$.
- Minimax Optimality: When only rewards are corrupted ($\epsilon_Y = 0$), the algorithm's bias term exactly matches the information-theoretic lower bound of $\Omega(\sqrt{\epsilon_R}/(1-\gamma))$, completely removing the sub-optimal $1/\sqrt{\lambda_{\min}}$ amplification factor found in prior literature.
- Empirical Stability: In simulation, vanilla Q-learning fails completely under adversarial attacks, while BR-Async-Q consistently converges to a tight neighborhood of the optimal policy.
Limitations and Future Work
The primary limitation of BR-Async-Q is its memory overhead. Because it relies on batching, the algorithm must store all reward and look-ahead samples collected within each epoch, meaning auxiliary memory scales linearly with the epoch length $H$.
To address this, the authors suggest that future work should focus on replacing these batch estimators with streaming, online robust mean estimators that can process samples sequentially while maintaining a compact memory summary. Additionally, extending this framework from tabular settings to deep reinforcement learning (function approximation) remains an important open direction.
Summary updated