Bridging Exploration and Loss of Plasticity in On-Policy Reinforcement Learning
Authors: Andrea Vasco Grieco, Evelyn D'Elia, Edoardo Caldarelli, Raffaello Camoriano
Organizations: DAUIN, Politecnico di Torino, 10129 Turin, Italy · SAIL Research Unit, Istituto Italiano di Tecnologia, 16163 Genoa, Italy · Rehab Technologies Lab, Istituto Italiano di Tecnologia, 16163 Genoa, Italy
Deep reinforcement learning (RL) algorithms have been observed to lose the ability to adaptively learn from new data, a phenomenon termed Loss of Plasticity (LoP). While many metrics have been shown to correlate with it, the causal mechanisms and the geometric conditions from which it can arise have not been clearly identified. We analyze LoP in Proximal Policy Optimization with isotropic Gaussian policies, the state-of-the-art formulation for many continuous action spaces in RL. We report multiple metrics which characterize the effect that the policy standard deviation σ has on LoP, and we also suggest related explanations for the effectiveness of widely adopted LoP mitigation techniques. We observe a significant effect of σ on the extent of LoP, and accompany this with both theoretical and experimental supporting arguments. Our experimental validation consists of LoP benchmark evaluations against standard baselines as well as real-world policy deployment on a 7-DoF robotic arm.
Figures & tables
Figure 1: Results of fitting α1 and α2 for the gradient norm and Hessian sharpness.
Figure 2: Empirical measurements of κ~θ and K~θ , smoothed over a window of 30 iterations.
Figure 3: (a): Reward results in Slippery Ant and (b): evolution of logσ across the different methods. Reward collapse is associated with σ ’s collapse and the studied techniques strongly affect its evolution.
Figure 4: Training progress in Slippery Ant. (a): Reward of Standard PPO and Standard PPO with adaptive learning rate. (b): Reward of Standard PPO with the same evolution of σ as Tuned Adam + L2.
Figure 5: Reward of final deterministic policies for L2, CBP, and Standard PPO with matched σ (100 seeds).
Figure 6: Deterministic policies rewards curve trained in Isaac-Reach-Franka-v0 with the base joint locked.
Figure 7: Qualitative deployment on the real Franka Emika Robot of a policy trained on the base task Isaac-Reach-Franka-v0 . The red and green dots indicate the target and current position, respectively.
Figure 8: Reward ree achieved in the real world deployment of the joint-locking task.
Method
Mean ree
Std
p -value
Sig.
Reset
0.0449
0.0178
–
–
α=0.01
-0.0086
0.0301
<10−16
α=0.001
-0.0118
0.0309
<10−16
α=0
-0.0130
0.0309
<10−17
Table 1: Welch t -tests in the locked-joint task comparing each method against initial σ reset approach.
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Hyperparameter
Value
Actor network shape
111→256→256→8
Critic network shape
111→256→256→1
Optimizer
Adam
Initial policy standard deviation
1.0
Activation function
ReLU
Discount factor γ
0.99
Appendix
Table 2: PPO training hyperparameters for Slippery Ant.
Hyperparameter
Value
Actor network shape
32→64→64→7
Critic network shape
32→64→64→1
Optimizer
Adam
Initial policy standard deviation
1.0
Activation function
ELU
Discount factor γ
0.99
Appendix
Table 3: PPO training hyperparameters for Isaac-Reach-Franka-v0 .
Description
Variable
Possible Values
Target x position
pee,x∗ [m]
(0.35,0.65)
Target y position
pee,y∗ [m]
(−0.20,0.20)
Target z position
pee,z∗ [m]
(0.15,0.50)
Target roll angle
Roll [rad]
0
Target pitch angle
Pitch [rad]
π
Target yaw angle
Yaw [rad]
(−π,π)
Appendix
Table 4: Uniform sampling ranges for the target end-effector pose.
Indices
Dimensions
Description
1-7
7
Arm joint positions
8-9
2
Gripper finger positions
10-16
7
Arm joint velocities
17-18
2
Gripper finger velocities
19-25
7
End-effector target pose (Cartesian coordinates and quaternion)
25-32
7
Previous action
Appendix
Table 5: Observation space used in Isaac-Reach-Franka-v0
Figure 9: Evolution of the gradient norm and Hessian sharpness in Isaac-Reach-Franka-v0 , when periodically resetting σ . Results are obtained over 10 seeds, and the plots are smoothed with a window of 30 iterations.
Cycle
Mean R2
Mean log R2
α1
exp(β1)
1
0.8497
0.8937
1.3182
0.5110
2
0.8003
0.6805
1.2057
0.7018
3
0.7788
0.5993
1.2045
0.7555
4
0.7806
0.6129
1.2200
0.7782
5
0.7728
0.6149
1.2447
0.8177
6
0.7779
0.5986
1.2428
0.8758
Appendix
Table 6: Cycle-wise fitting results for the mean gradient norm. The intervals in the Total row indicate one standard deviation.
Cycle
Mean R2
Mean log R2
α2
exp(β2)
1
0.8250
0.9337
2.5289
2.8127
2
0.8345
0.9051
2.1686
7.9413
3
0.8285
0.8647
2.1581
9.9758
4
0.8183
0.8668
2.1580
11.6019
5
0.7937
0.8669
2.1825
13.3129
6
0.7861
0.8587
2.1730
15.5046
Appendix
Table 7: Cycle-wise fitting results for the Hessian top eigenvalue. The intervals in the Total row indicate one standard deviation.
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 Θ(k1) 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.
Zihao Wu, Hongyao Tang, Yi Ma +3
School of Computer Software, Tianjin University · International Joint Institute of Tianjin University, Fuzhou · The Hong Kong University of Science and Technology
This paper investigates the fundamental mechanisms driving plasticity loss in deep reinforcement learning (RL), a critical challenge where neural networks lose their ability to adapt to non-stationary environments. While existing research often relies on descriptive metrics like dormant neurons or effective rank, these summaries fail to explain the underlying optimization dynamics. We propose the Optimization-Centric Plasticity (OCP) hypothesis, which posits that plasticity loss arises because optimal points from previous tasks become poor local optima for new tasks, trapping parameters during task transitions and hindering subsequent learning. We theoretically establish the equivalence between neuron dormancy and zero-gradient states, demonstrating that the absence of gradient signals is the primary driver of dormancy. Our experiments reveal that plasticity loss is highly task-specific; notably, networks with high dormancy rates in one task can achieve performance parity with randomly initialized networks when switched to a significantly different task, suggesting that the network's capacity remains intact but is inhibited by the specific optimization landscape. Furthermore, our hypothesis elucidates why parameter constraints mitigate plasticity loss by preventing deep entrenchment in local optima. Validated across diverse non-stationary scenarios, our findings provide a rigorous optimization-based framework for understanding and restoring network plasticity in complex RL domains.
Zhiqiang He
The University of Electro-Communications, Tokyo, Japan
In deep reinforcement learning (DRL), an agent is trained from a stream of experience. In a continual learning setting, such agents can suffer from plasticity loss: their ability to learn new skills from new experiences diminishes over training. Recently, Mixture-of-Experts (MoE) networks have been reported to enable scaling laws and facilitate the learning of diverse skills. However, in continual reinforcement learning settings, their performance can degenerate as learning proceeds, indicating a loss of plasticity. To address this, building on Neural Tangent Kernel (NTK) theory, we formalize the plasticity loss in MoE policies as a loss of spectral plasticity. We then derive a tractable proxy for spectral plasticity, one expressible in terms of individual expert feature matrices. Leveraging this proxy, we introduce SPHERE, a practical Parseval penalty tailored for MoE-based policies that alleviates the loss of spectral plasticity. On MetaWorld and HumanoidBench, SPHERE improves average success under continual RL by 133% and 50% over an unregularized MoE baseline, while maintaining higher spectral plasticity throughout training.
Lirui Luo, Guoxi Zhang, Hongming Xu +2
State Key Lab of General AI, School of Intelligence Science and Technology, Peking University · State Key Laboratory of General Artificial Intelligence, BIGAI · Institute for Artificial Intelligence, Peking University