Skip to main content
QUICK REVIEW

[论文解读] Temporal Difference Learning with Compressed Updates: Error-Feedback meets Reinforcement Learning

Aritra Mitra, George J. Pappas|arXiv (Cornell University)|Jan 3, 2023
Distributed Control Multi-Agent SystemsComputer Science被引用 3
一句话总结

本文提出了一种带有误差反馈的压缩时序差分(TD)学习算法,用于实现通信高效的强化学习。通过引入一种新颖的李雅普诺夫函数来分析记忆变量,该研究在一般压缩算子下建立了非渐近收敛保证——其鲁棒性与SGD相当——在多智能体设置中实现了线性加速,且每个智能体每步仅需通信Õ(1)比特。

ABSTRACT

In large-scale distributed machine learning, recent works have studied the effects of compressing gradients in stochastic optimization to alleviate the communication bottleneck. These works have collectively revealed that stochastic gradient descent (SGD) is robust to structured perturbations such as quantization, sparsification, and delays. Perhaps surprisingly, despite the surge of interest in multi-agent reinforcement learning, almost nothing is known about the analogous question: Are common reinforcement learning (RL) algorithms also robust to similar perturbations? We investigate this question by studying a variant of the classical temporal difference (TD) learning algorithm with a perturbed update direction, where a general compression operator is used to model the perturbation. Our work makes three important technical contributions. First, we prove that compressed TD algorithms, coupled with an error-feedback mechanism used widely in optimization, exhibit the same non-asymptotic theoretical guarantees as their SGD counterparts. Second, we show that our analysis framework extends seamlessly to nonlinear stochastic approximation schemes that subsume Q-learning. Third, we prove that for multi-agent TD learning, one can achieve linear convergence speedups with respect to the number of agents while communicating just $ ilde{O}(1)$ bits per iteration. Notably, these are the first finite-time results in RL that account for general compression operators and error-feedback in tandem with linear function approximation and Markovian sampling. Our proofs hinge on the construction of novel Lyapunov functions that capture the dynamics of a memory variable introduced by error-feedback.

研究动机与目标

  • 探究时序差分学习是否如随机梯度下降一样,对压缩等结构化扰动具有鲁棒性,特别是在大规模强化学习中。
  • 通过在马尔可夫采样和线性函数逼近下分析带有误差反馈的压缩TD学习,弥合通信高效强化学习理论理解的空白。
  • 将理论保证从优化问题扩展至强化学习中的非线性随机逼近和多智能体设置。
  • 设计一种用于多智能体和联邦强化学习的通信高效框架,其中智能体交换压缩更新,同时保持收敛性。
  • 为使用一般压缩算子和误差补偿的压缩TD学习建立有限时间收敛结果。

提出的方法

  • 提出一种新颖的李雅普诺夫函数,用于捕捉误差反馈记忆变量的动力学,以分析收敛性。
  • 提出EF-TD,一种应用于TD(0)的压缩TD算法,对TD更新方向应用一般压缩算子(如符号、Top-k),同时保持对过去误差的记忆。
  • 使用记忆变量存储并校正压缩引起的误差,确保在存在有偏压缩的情况下仍能收敛。
  • 应用递归分析框架以控制李雅普诺夫函数的漂移,从而实现非渐近收敛界。
  • 通过平衡步长、压缩偏差和记忆衰减率,推导出误差动力学的压缩不等式。
  • 通过在智能体间平均记忆变量,将分析扩展至多智能体设置,并证明收敛速度随智能体数量线性加速,且每智能体通信量极低。
Figure 1: A geometric interpretation of the operator $\mathcal{Q}_{\delta}(\cdot)$ in Algorithm 1 . A larger $\delta$ induces more distortion.
Figure 1: A geometric interpretation of the operator $\mathcal{Q}_{\delta}(\cdot)$ in Algorithm 1 . A larger $\delta$ induces more distortion.

实验结果

研究问题

  • RQ1在一般压缩算子下,带有压缩更新的时序差分学习能否维持与随机梯度下降相似的收敛保证?
  • RQ2在马尔可夫采样和线性函数逼近下,误差反馈如何影响压缩TD学习的收敛性?
  • RQ3压缩对多智能体TD学习收敛速度有何影响?是否可将通信量减少至每智能体每步Õ(1)比特?
  • RQ4压缩SGD的理论框架能否被适配至强化学习中的非线性随机逼近算法?
  • RQ5记忆变量在稳定带有偏压缩的压缩TD算法收敛性中起什么作用?

主要发现

  • 所提出的EF-TD算法在常数步长下实现线性收敛至最优值函数的邻域,收敛速率与类似压缩条件下的SGD相当。
  • 在多智能体TD学习中,该算法在收敛速度上实现与智能体数量成线性加速的关系,同时每智能体每时间步仅通信Õ(1)比特。
  • 分析建立了非渐近收敛界,其依赖于压缩偏差、步长和记忆衰减率,且显式依赖于混合时间(1−γ)−1。
  • 误差反馈机制确保了压缩误差的累积效应得到控制,即使在如符号和Top-k等有偏压缩算子下也能实现收敛。
  • 收敛速率被定量界定为O(‖θ₀−θ*‖²δ/(1−γ)²)exp(−ω(1−γ)²T/(C′δ)) + Õ(σ²/(ω(1−γ)²MT)) + Õ(σ²δ²/(ω²(1−γ)⁴T²)),显示出指数衰减和与M的线性缩放关系。
  • 该框架具有足够的通用性,可覆盖具有马尔可夫噪声的非线性随机逼近,并首次为带有误差反馈和一般压缩算子的压缩TD学习提供了有限时间分析。
Figure 2: Plots of the mean-squared error $E_{t}=\|\theta_{T}-\theta^{*}\|^{2}_{2}$ for vanilla TD (0) without compression, and SignTD (0) with ( EF-SignTD ) and without ( SignTD ) error-feedback. ( Left ) Discount factor $\gamma=0.5$ . ( Right ) Discount factor $\gamma=0.9$ .
Figure 2: Plots of the mean-squared error $E_{t}=\|\theta_{T}-\theta^{*}\|^{2}_{2}$ for vanilla TD (0) without compression, and SignTD (0) with ( EF-SignTD ) and without ( SignTD ) error-feedback. ( Left ) Discount factor $\gamma=0.5$ . ( Right ) Discount factor $\gamma=0.9$ .

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。