On Double Descent in Reinforcement Learning with LSTD and Random Features
David Brellmann, Eloïse Berthier, David Filliat, Goran Frehse
TL;DR
This paper investigates the behavior of temporal-difference learning in reinforcement learning under severe overparameterization by introducing a double asymptotic regime where the number of parameters $N$ and distinct visited states $m$ grow to infinity at a fixed ratio. The authors study regularized least-squares TD with random features in the lazy training regime, deriving deterministic equivalents for both the empirical and true Mean-Squared Bellman Error (MSBE) that include resolvent-based correction terms responsible for a double descent around the interpolation threshold $N/m=1$. They show these correction terms vanish as the regularization $\lambda$ increases or as all states become visited, and they validate the theory with experiments on synthetic MRPs and Taxi-v3 that closely match the predicted behavior. The work connects random-feature and resolvent techniques from supervised learning to reinforcement learning, offering a principled understanding of how model complexity and regularization shape TD performance in RL settings. Overall, it provides a rigorous accounting of when overparameterization helps or hurts in TD methods and identifies key determinants of double descent in MSBE and MSVE, with practical implications for selecting regularization and state coverage in RL tasks.
Abstract
Temporal Difference (TD) algorithms are widely used in Deep Reinforcement Learning (RL). Their performance is heavily influenced by the size of the neural network. While in supervised learning, the regime of over-parameterization and its benefits are well understood, the situation in RL is much less clear. In this paper, we present a theoretical analysis of the influence of network size and $l_2$-regularization on performance. We identify the ratio between the number of parameters and the number of visited states as a crucial factor and define over-parameterization as the regime when it is larger than one. Furthermore, we observe a double descent phenomenon, i.e., a sudden drop in performance around the parameter/state ratio of one. Leveraging random features and the lazy training regime, we study the regularized Least-Square Temporal Difference (LSTD) algorithm in an asymptotic regime, as both the number of parameters and states go to infinity, maintaining a constant ratio. We derive deterministic limits of both the empirical and the true Mean-Squared Bellman Error (MSBE) that feature correction terms responsible for the double descent. Correction terms vanish when the $l_2$-regularization is increased or the number of unvisited states goes to zero. Numerical experiments with synthetic and small real-world environments closely match the theoretical predictions.
