arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.01913cs.LG
收藏

在非平稳性中排名和梯度的丧失:用于缓解强化学习中塑性丧失的样本权重衰减

The Rank and Gradient Lost in Non-stationarity: Sample Weight Decay for Mitigating Plasticity Loss in Reinforcement Learning

School of Computer Software, Tianjin University(天津大学计算机软件学院);International Joint Institute of Tianjin University, Fuzhou(天津大学福州国际联合学院);The Hong Kong University of Science and Technology(香港科技大学)

Zihao Wu, Hongyao Tang, Yi Ma, Jiashun Liu, Yan Zheng, Jianye Hao

AI总结:

本文从网络优化的理论视角研究了非平稳性导致的塑性丧失问题,通过分析数据分布和目标非平稳性,提出样本权重衰减方法以缓解梯度衰减,提升强化学习性能。

摘要:

深度强化学习(RL)由于非平稳性本质而严重遭受塑性丧失,这会损害其适应新数据和持续学习的能力。不幸的是,我们对塑性丧失的产生、消散和溶解机制的理解仍局限于经验发现,理论研究不足。为解决这一差距,我们从网络优化的理论视角研究塑性丧失问题。通过正式表征在线RL过程中的两个关键因素:数据分布的非平稳性和由bootstrap引起的目标非平稳性,我们的理论将塑性丧失归因于两个机制:神经切线核(NTK)Gram矩阵的排名崩溃和梯度幅度的Θ(1/k)衰减。第一个机制呼应了先前经验发现的理论视角,并揭示了现有方法(如网络重置、神经元回收和噪声注入)的效果。在此背景下,我们主要关注第二个机制,并旨在通过解决梯度衰减问题来缓解塑性丧失,这与现有方法是正交的。我们提出样本权重衰减——一种轻量级方法以恢复梯度幅度,作为基于经验重放的深度RL方法中缓解塑性丧失的一般解决方案。在实验中,我们评估了\methodName在TD3、\myadded{Double DQN}和SAC上的有效性,使用SimBa架构在MuJoCo、\myadded{ALE}和DeepMind Control Suite任务中。结果表明,\methodName有效缓解了塑性丧失,并在各种深度RL算法配置、网络架构和环境设置中一致提升了学习性能,在具有挑战性的DMC Humanoid任务中实现了SOTA性能。

英文摘要:

Deep reinforcement learning (RL) suffers from plasticity loss severely due to the nature of non-stationarity, which impairs the ability to adapt to new data and learn continually. Unfortunately, our understanding of how plasticity loss arises, dissipates, and can be dissolved remains limited to empirical findings, leaving the theoretical end underexplored.To address this gap, we study the plasticity loss problem from the theoretical perspective of network optimization. By formally characterizing the two culprit factors in online RL process: the non-stationarity of data distributions and the non-stationarity of targets induced by bootstrapping, our theory attributes the loss of plasticity to two mechanisms: the rank collapse of the Neural Tangent Kernel (NTK) Gram matrix and the $Θ(\frac{1}{k})$ decay of gradient magnitude. The first mechanism echoes prior empirical findings from the theoretical perspective and sheds light on the effects of existing methods, e.g., network reset, neuron recycle, and noise injection. Against this backdrop, we focus primarily on the second mechanism and aim to alleviate plasticity loss by addressing the gradient attenuation issue, which is orthogonal to existing methods. We propose Sample Weight Decay -- a lightweight method to restore gradient magnitude, as a general remedy to plasticity loss for deep RL methods based on experience replay. In experiments, we evaluate the efficacy of \methodName upon TD3, \myadded{Double DQN} and SAC with SimBa architecture in MuJoCo, \myadded{ALE} and DeepMind Control Suite tasks. The results demonstrate that \methodName effectively alleviates plasticity loss and consistently improves learning performance across various configurations of deep RL algorithms, UTD, network architectures, and environments, achieving SOTA performance on challenging DMC Humanoid tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑