Litcius/Paper detail

Towards Understanding Asynchronous Advantage Actor-Critic: Convergence and Linear Speedup

Han Shen, Kaiqing Zhang, Mingyi Hong, Tianyi Chen

2023IEEE Transactions on Signal Processing33 citationsDOI

Abstract

Asynchronous and parallel implementation of standard reinforcement learning (RL) algorithms is a key enabler of the tremendous success of modern RL. Among many asynchronous RL algorithms, arguably the most popular and effective one is the asynchronous advantage actor-critic (A3C) algorithm. Although A3C is becoming the workhorse of RL, its theoretical properties are still not well-understood, including its non-asymptotic analysis and the performance gain of parallelism (a.k.a. linear speedup). This paper revisits the A3C algorithm and establishes its non-asymptotic convergence guarantees. Under both i.i.d. and Markovian sampling, we establish the local convergence guarantee for A3C in the general policy approximation case and the global convergence guarantee in softmax policy parameterization. Under i.i.d. sampling, A3C obtains sample complexity of <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$\mathcal {O}(\epsilon ^{-2.5}/N)$</tex-math></inline-formula> per worker to achieve <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$\epsilon$</tex-math></inline-formula> accuracy, where <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$N$</tex-math></inline-formula> is the number of workers. Compared to the best-known sample complexity of <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$\mathcal {O}(\epsilon ^{-2.5})$</tex-math></inline-formula> for two-timescale AC, A3C achieves <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">linear speedup</i> , which justifies the advantage of parallelism and asynchrony in AC algorithms theoretically for the first time. Numerical tests on synthetic environment, OpenAI Gym environments and Atari games have been provided to verify our theoretical analysis.

Topics & Concepts

Asynchronous communicationConvergence (economics)SpeedupNotationComputer scienceWeak convergenceMathematicsAlgorithmDiscrete mathematicsTheoretical computer scienceParallel computingArithmeticProgramming languageTelecommunicationsEconomic growthEconomicsQueueReinforcement Learning in RoboticsAdvanced Memory and Neural ComputingAdaptive Dynamic Programming Control