Stable Gradients for Stable Learning at Scale in Deep Reinforcement Learning

Pablo Samuel Castro (Google DeepMind / U. de Montreal / Mila) · Johan Obando Ceron (Mila / Université de Montréal) · Aaron Courville (Mila, U. Montreal) · Pierre-Luc Bacon (Mila) · Roger Creus Castanyer (Université de Montréal) · Lu Li (Mila - Quebec Artificial Intelligence Institute) · Glen Berseth (Mila - Québec AI Institute & Université de Montréal)
agentsarchitectural choicescomplex mechanismsdeep reinforcement learningdirect interventionseffective mechanismempirical analysesenvironmentsgradient flow stabilizationgradient pathologiesnetwork depthsnetwork widthsnon-stationarityperformance degradationrobust performancescaling challenges

Scaling deep reinforcement learning networks is challenging and often results in degraded performance, yet the root causes of this failure mode remain poorly understood. Several recent works have proposed mechanisms to address this, but they are often complex and fail to highlight the causes underlying this difficulty. In this work, we conduct a series of empirical analyses which suggest that the combination of non-stationarity with gradient pathologies, due to suboptimal architectural choices, underlie the challenges of scale. We propose a series of direct interventions that stabilize gradient flow, enabling robust performance across a range of network depths and widths. Our interventions are simple to implement and compatible with well-established algorithms, and result in an effective mechanism that enables strong performance even at large scales. We validate our findings on a variety of agents and suites of environments.