Abstract
In deep reinforcement learning (RL), agents often experience a "loss of plasticity"—a diminishing capacity to learn from new data as training progresses. This phenomenon makes it difficult to distinguish between failures in exploration and failures in the underlying neural network's ability to adapt. This paper introduces plasticity injection, a surgical intervention that restores an agent's learning capacity without altering its current behavior or increasing the number of trainable parameters. By adding a fresh, randomly initialized component and subtracting its initial state to maintain a zero-bias start, plasticity injection serves as both a powerful diagnostic tool and a practical method for training large-scale RL agents more efficiently.
Introduction
While biological brains naturally lose plasticity with age, artificial neural networks in RL settings should theoretically remain adaptable. However, empirical evidence suggests that as agents train, their weights can become saturated or "stale," leading to a performance plateau. A significant challenge in RL research is identifying the root cause of these plateaus: is the agent failing to see new, informative states (an exploration problem), or is the network simply unable to integrate new information (a plasticity problem)? Previous attempts to address this, such as layer resets, often lead to catastrophic forgetting or abrupt policy shifts, making them unsuitable for isolating the cause of stagnation.
Methodology: The Plasticity Injection Mechanism
The authors propose a minimalistic architectural modification termed Plasticity Injection. The process follows a specific sequence to ensure the agent's policy remains stable at the moment of intervention:
- Freezing the Base: Given an agent with a network $h_\theta(x)$, the existing parameters $\theta$ are frozen.
- The Injection: Two new sets of parameters, $\theta'_1$ (trainable) and $\theta'_2$ (frozen), are introduced. Both are initialized identically.
- The Residual Formula: The network's output is redefined as: $$Output = h_\theta(x) + [h_{\theta'_1}(x) - h_{\theta'_2}(x)]$$
Because $\theta'_1$ and $\theta'_2$ are identical at the start, the bracketed term is zero, ensuring the agent’s predictions and behavior are initially unaffected. As training resumes, only $\theta'_1$ is updated. This approach preserves the number of trainable parameters, ensuring that any subsequent performance gains are due to restored plasticity rather than simply increasing model capacity. Typically, this injection is applied to the network "head" (the final layers) while sharing the earlier encoder layers.
Experimental Evaluation
The primary evaluation was conducted on the Atari 57 benchmark via the Arcade Learning Environment, a standard for testing the generality of RL algorithms. Additionally, a didactic supervised learning task based on the Up n Down Atari environment was used to isolate and illustrate the core mechanics of plasticity loss.
Diagnostic Utility
Plasticity injection functions as a "counterfactual" diagnostic test. In the game Phoenix, applying the injection allowed the agent to escape a performance plateau, confirming that the bottleneck was indeed a loss of plasticity. Conversely, in the game Assault, the injection failed to improve performance. This indicated that the plateau in Assault was caused by environmental exploration issues—specifically, game mechanics changes that required actions the agent had not yet attempted—rather than a failure of the network to learn.
Efficiency and "Reincarnation"
The method enables a "dynamic growth" strategy. Instead of training a large, computationally expensive network from the start, researchers can begin with a smaller, faster network and inject capacity later. This "reincarnation" approach achieved the same final performance as large networks trained from scratch but significantly reduced wall-clock training time.
Key Results
- Aggregate Performance: Plasticity injection improved aggregate scores across the Atari 57 suite by 20% compared to other dynamic methods like "Shrink-and-Perturb" or standard layer resets.
- Computational Savings: When comparing a large network trained from scratch against a small network receiving an injection at 50 million frames, the injection method saved approximately 20 hours of wall-clock time on an NVIDIA A100 GPU.
- Robustness: The intervention proved most effective in high-stress learning scenarios, such as those with high replay ratios or high learning rates, which are known to accelerate plasticity loss.
Discussion and Limitations
While plasticity injection is a robust tool for identifying and fixing learning stagnation, it does not yet solve the underlying theoretical mystery of why neural networks lose plasticity. Furthermore, while the number of trainable parameters remains constant, the total parameter count increases because the original frozen weights must be kept in memory, increasing the memory footprint and FLOPs per forward pass.
Future research directions include applying this method to more modern architectures like Transformers or ResNets and developing "adaptive criteria" that allow agents to autonomously detect plasticity loss and trigger injections without human intervention.
Summary updated