PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learning

Hojoon Lee, Hanseul Cho, Hyunseung Kim, Daehoon Gwak, Joonkee Kim, Jaegul Choo, Se-Young Yun, Chulhee Yun

TL;DR

Reinforcement Learning (RL) agents often lose their ability to learn from new data after intensive training on early experiences—a phenomenon called "loss of plasticity." This paper introduces PLASTIC, an algorithm that preserves learning capacity by combining loss-landscape smoothing (via SAM and LayerNorm) with improved gradient propagation (via CReLU and periodic resets). By addressing both input and label plasticity, PLASTIC achieves state-of-the-art sample efficiency on Atari and DeepMind Control benchmarks.

What Problem Does This Paper Address?

In theory, off-policy RL algorithms (like Rainbow or SAC) should be highly sample-efficient because they can update their models multiple times for every single interaction with the environment (utilizing a high "replay ratio"). However, in practice, increasing the replay ratio often leads to a severe loss of plasticity.

When a model overfits to its early, limited experiences, it becomes "stiff." It can no longer adapt when it encounters new states or when its understanding of "good" versus "bad" actions needs to evolve. The authors identify two distinct flavors of this problem:

  1. Input Plasticity: The ability of the network to adapt to new, unseen input data distributions.
  2. Label Plasticity: The ability to adapt to changing target values (e.g., realizing an action previously thought to be highly rewarding is actually suboptimal).

Methods

The authors propose the PLASTIC algorithm. Rather than a brand-new architecture, PLASTIC is a harmonious combination of four specific techniques designed to target the two types of plasticity:

  • To improve Input Plasticity (Smoothing the Loss Landscape):
  • Layer Normalization (LN): Applied after convolutional layers to stabilize activations.
  • Sharpness-Aware Minimization (SAM): An optimizer that seeks out "flat" minima where the loss doesn't change drastically with small weight perturbations, rather than just looking for the lowest absolute loss.
  • To improve Label Plasticity (Refining Gradient Propagation):
  • Concatenated ReLU (CReLU): An activation function that preserves both positive and negative features, effectively doubling the number of active units and preventing "dead neurons."
  • Periodic Reset: Every few thousand updates, the parameters of the "head" (the final layers) are reinitialized to their starting distribution to shake the model out of local minima.

They also introduce PLASTIC†, a lightweight version that uses only LN and a "Shrink & Perturb" reset mechanism, designed for maximum computational efficiency.

Datasets

The researchers evaluated their approach across three distinct settings:

  1. Synthetic Experiments: Using CIFAR-10 to isolate input versus label plasticity by artificially shifting data chunks and shuffling labels.
  2. Atari-100k: A standard benchmark of 26 games where the agent is limited to only 100,000 environment interactions (an extremely data-constrained scenario).
  3. DeepMind Control Suite (DMC) Medium: 11 continuous control tasks (like "Cheetah Run" or "Walker Walk") trained for 2 million steps.

Key Insights and Ideas

Performance of individual components vs. PLASTIC on synthetic and RL benchmarks.
  • The Plasticity Split: Through synthetic tests, the authors discovered a clear division of labor. Techniques that smooth the loss landscape (SAM/LN) are great for handling input shifts but do little for label shifts. Conversely, maintaining gradient flow (CReLU/Reset) is the key to handling evolving labels.
  • Synergy is Key: The critical insight is that RL requires both. Because an RL agent is constantly exploring new states (input shift) and updating its Q-values (label shift), you cannot solve the plasticity problem by only addressing one side. PLASTIC combines these methods to achieve superior performance across the board.
  • Scaling the Replay Ratio: Most RL agents' performance plateaus or even crashes if updated too many times per step. PLASTIC is remarkably robust; its performance continues to improve as the replay ratio increases from 2 to 8, effectively breaking the traditional replay ratio barrier.

Key Results

Pareto frontier of performance (IQM) vs. computational cost (GPU Hours).
  • Atari-100k: PLASTIC achieved an Interquartile Mean (IQM) score of 0.421, significantly outperforming the base DrQ agent (0.258) and individual components like SAM or Reset alone.
  • DMC-Medium: PLASTIC reached an IQM of 565, compared to 213 for the baseline.
  • Efficiency: The simplified PLASTIC† version achieved competitive results with a fraction of the computational cost, establishing a new Pareto frontier for performance versus GPU hours. For example, on Atari, PLASTIC† (Replay Ratio = 8) achieved an IQM of 0.583 in just 1.9 GPU hours, while other state-of-the-art methods took 5-10 hours for similar or lower scores.

Limitations and Future Work

  • Environment Complexity: While highly successful on Atari and DMC, the authors note that more "non-stationary" environments (where the rules or goals change mid-stream, like MetaWorld or Procgen) would provide a more rigorous test for plasticity.
  • Underlying Mechanics: The paper identifies that these techniques work, but the authors acknowledge that the nuanced attributes of plasticity—exactly why neurons die or why the landscape becomes jagged in RL specifically—warrant deeper theoretical investigation.
  • Implementation Overhead: While the architectural changes are minimal, the addition of SAM requires an auxiliary gradient computation, which increases the time per training update.

Summary updated

BibTeX
@inproceedings{lee2023plastic,
  author = {Hojoon Lee and Hanseul Cho and Hyunseung Kim and Daehoon Gwak and Joonkee Kim and Jaegul Choo and Se-Young Yun and Chulhee Yun},
  title = {{PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=c5WOU7p4ES},
}
Figure