Variance Reduction via Resampling and Experience Replay
Jiale Han, Xiaowu Dai, Yuhua Zhu
TL;DR
Variance Reduction via Resampling and Experience Replay develops a theoretical framework that models experience replay through resampled $U$- and $V$-statistics, establishing asymptotic variance reductions under conditions like $\lim_{n\to\infty} \frac{n}{Bk}=0$ and $k=o(n)$. The framework is applied to policy evaluation in MDPs with LSTD, continuous-time RL via a PDE-based PhiBE approach, and kernel ridge regression, showing both variance reduction and, for kernel methods, substantial computational savings from $O(n^3)$ to $O(n^2)$. Empirical results across the three domains corroborate variance reductions and stability gains, particularly in data-limited scenarios. The work provides a principled explanation for the effectiveness of experience replay and points to broad applicability beyond RL, including scalable kernel methods and potential extensions to federated and active learning. Overall, the paper offers a rigorous basis for leveraging replay to improve both efficiency and reliability in sequential learning tasks.
Abstract
Experience replay is a foundational technique in reinforcement learning that enhances learning stability by storing past experiences in a replay buffer and reusing them during training. Despite its practical success, its theoretical properties remain underexplored. In this paper, we present a theoretical framework that models experience replay using resampled $U$- and $V$-statistics, providing rigorous variance reduction guarantees. We apply this framework to policy evaluation tasks using the Least-Squares Temporal Difference (LSTD) algorithm and a Partial Differential Equation (PDE)-based model-free algorithm, demonstrating significant improvements in stability and efficiency, particularly in data-scarce scenarios. Beyond policy evaluation, we extend the framework to kernel ridge regression, showing that the experience replay-based method reduces the computational cost from the traditional $O(n^3)$ in time to as low as $O(n^2)$ in time while simultaneously reducing variance. Extensive numerical experiments validate our theoretical findings, demonstrating the broad applicability and effectiveness of experience replay in diverse machine learning tasks.
