加速策略梯度:關於強化學習中Nesterov動量的收斂速度

Accelerated Policy Gradient: On the Convergence Rates of the Nesterov Momentum for Reinforcement Learning

檔案

日期

2024

類型

語言

中文

摘要

在強化學習(RL)領域中,各種加速策略梯度(Policy Gradient, PG)的方法已經被廣泛分析。 然而,使用於 RL 的動量加速方法(英文:momentum acceleration methods)的理論大部分仍然是未知且未解的,更何況這些動量加速方法被廣泛使用於實驗以及現實應用上。為了證明動量加速方法在 RL 領域中的收斂速度,我們將著名的Nesterov加速梯度(Nesterov's Accelerated Gradient, NAG)方法應用於RL中的策略優化,稱之為加速策略梯度(Accelerated Policy Gradient, APG)。為了展示APG在實現快速收斂方面的潛力,我們證明,在使用真實梯度和softmax策略參數化的情況下,APG以以下速率收斂到最優策略:(i)在固定步長下為$\tilde{O}(1/t^2)$;(ii)在指數增長步長下為$O(e^{-ct})$。據我們所知,這是首次在RL背景下描述NAG的收斂速率。值得注意的是,我們的分析基於一個有趣的發現:無論參數初始化如何,APG都會在有限的迭代內進入一個局部近似凹的區域,在這個區域內,APG可以顯著受益於動量。
通過在Atari 2600基準測試上的數值驗證和實驗,我們確認APG在固定步長下表現出$\tilde{O}(1/t^2)$的收斂速率,在指數增長步長下表現出線性收斂速率,顯著改善了PG的收斂性。
Various acceleration approaches for Policy Gradient (PG) have been analyzed within the realm of Reinforcement Learning (RL). However, the theoretical understanding of the widely used momentum-based acceleration method on PG remains largely open. In response to this gap, we adapt the celebrated Nesterov's accelerated gradient (NAG) method to policy optimization in RL, termed Accelerated Policy Gradient (APG). To demonstrate the potential of APG in achieving fast convergence, we formally prove that with the true gradient and under the softmax policy parametrization, APG converges to an optimal policy at rates: (i) $\tilde{O}(1/t^2)$ with nearly constant step sizes; (ii) $O(e^{-ct})$ with time-varying step sizes. To the best of our knowledge, this is the first characterization of the convergence rates of NAG in the context of RL. Notably, our analysis relies on one interesting finding: Regardless of the parameter initialization, APG ends up entering a locally nearly-concave regime, where APG can significantly benefit from the momentum, within finite iterations.
Through numerical validation and experiments on the Atari 2600 benchmarks, we confirm that APG exhibits a $\tilde{O}(1/t^2)$ rate with nearly constant step sizes and a linear convergence rate with time-varying step sizes, significantly improving convergence over the standard PG.

所屬典藏

智能系統研究所
顯示完整詮釋資料 統計資料

引用此條目

陳彥儒 (2024). 加速策略梯度:關於強化學習中Nesterov動量的收斂速度. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/2035

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/2035