Gradient dynamics in reinforcement learning
- 26 August 2022
- journal article
- research article
- Published by American Physical Society (APS) in Physical Review E
- Vol. 106 (2) , 025315
Abstract
Despite the success achieved by the analysis of supervised learning algorithms in the framework of statistical mechanics, reinforcement learning has remained largely untouched by physicists. Here we move towards closing the gap by analyzing the dynamics of the policy gradient algorithm. For a convex problem, namely the -armed bandit, we show that the learning dynamics obeys a drift-diffusion motion described by a Langevin equation, the coefficients of which can be tuned by the learning rate. We explore the striking similarity between our Langevin equation and the Kimura equation, describing genotypes evolution. Furthermore, we propose a mapping between a nonconvex reinforcement learning setting describing multiple joints of a robotic arm and a disordered system, namely a -spin glass. This mapping enables us to show how the learning rate acts as an effective temperature and thus is capable of smoothing rough landscapes, corroborating what is displayed by the drift-diffusive description and paving the way for physics-inspired algorithmic optimization based on annealing procedures in disordered systems.
Keywords
All Related Versions
Funding Information
- National Science Foundation (000000D730321P5Q0002, 70-2021-00145 02.11.2021)
This publication has 52 references indexed in Scilit:
- Statistical mechanics of the vertex-cover problemJournal of Physics A: General Physics, 2003
- Optimizing Searches via Rare EventsPhysical Review Letters, 2002
- Statistical mechanics of random two-player gamesPhysical Review E, 2000
- Matrix Games, Mixed Strategies, and Statistical MechanicsPhysical Review Letters, 1998
- The sphericalp-spin interaction spin glass model: the staticsZeitschrift für Physik B Condensed Matter, 1992
- Phase transition and 1/fnoise in a game dynamical modelPhysical Review Letters, 1992
- Replicators with random interactions: A solvable modelPhysical Review A, 1989
- Optimal storage properties of neural network modelsJournal of Physics A: General Physics, 1988
- Replicator dynamicsJournal of Theoretical Biology, 1983
- A Stochastic Approximation MethodThe Annals of Mathematical Statistics, 1951