Sparsity-Driven Plasticity in Multi-Task Reinforcement Learning

Aleksandar Todorov, Juan Cardenas-Cartagena, Rafael F. Cunha, Marco Zullich, Matthia Sabatelli

Abstract

Plasticity loss, a diminishing capacity to adapt as training progresses, is a critical challenge in deep reinforcement learning. We examine this issue in multi-task reinforcement learning (MTRL), where higher representational flexibility is crucial for managing diverse and potentially conflicting task demands. We systematically explore how sparsification methods, particularly Gradual Magnitude Pruning (GMP) and Sparse Evolutionary Training (SET), enhance plasticity and consequently improve performance in MTRL agents. We evaluate these approaches across distinct MTRL architectures (shared backbone, Mixture of Experts, Mixture of Orthogonal Experts) on standardized MTRL benchmarks, comparing against dense baselines, and a comprehensive range of alternative plasticity-inducing or regularization methods. Our results demonstrate that both GMP and SET effectively mitigate key indicators of plasticity degradation, such as neuron dormancy and representational collapse. These plasticity improvements often correlate with enhanced multi-task performance, with sparse agents frequently outperforming dense counterparts and achieving competitive results against explicit plasticity interventions. Our findings offer insights into the interplay between plasticity, network sparsity, and MTRL designs, highlighting dynamic sparsification as a robust but context-sensitive tool for developing more adaptable MTRL systems.

Introduction: The Challenge of Plasticity Loss

Deep Reinforcement Learning (DRL) agents frequently encounter plasticity loss, a phenomenon where the network's ability to learn and adapt diminishes over time. In Multi-Task Reinforcement Learning (MTRL), this problem is exacerbated as a single model must navigate diverse and often conflicting objectives. As training progresses, networks often succumb to optimization pathologies: neurons become dormant (ceasing to respond to inputs), or internal representations collapse, becoming redundant and less expressive. While overparameterization is typically viewed as a benefit, in MTRL it can lead to inefficient capacity utilization and a "stiff" network incapable of integrating new information.

Methods: Preserving Plasticity through Sparsification

This research investigates whether dynamic sparsification—the intentional removal and potential regrowth of neural connections—can preserve plasticity. Two primary methods are evaluated:

  1. Gradual Magnitude Pruning (GMP): Starting with a dense network, connections with the smallest weights are gradually removed until a target sparsity (e.g., 95%) is achieved.
  2. Sparse Evolutionary Training (SET): The network maintains a fixed sparsity level from initialization but employs "dynamic rewiring." Periodically, the weakest connections are pruned and replaced by new, random connections, allowing the network topology to evolve.

These methods are compared against dense baselines and specialized plasticity-restoring interventions like ReDo (dormant neuron reset) and Reset (layer reinitialization) across three MTRL architectures: a shared backbone (MTPPO), Mixture of Experts (MoE), and Mixture of Orthogonal Experts (MOORE).

Experimental Results

The study utilizes the MiniGrid (MT3, MT5, MT7) grid-world suite and the MetaWorld (MT10) robotic manipulation benchmark.

Performance Gains and Pathologies

Sparse agents consistently outperformed dense baselines across the MiniGrid benchmarks. As shown in the performance summary, GMP and SET often achieved the highest Interquantile Mean (IQM) scores, particularly in the more complex MT5 and MT7 environments.

Table 1: Performance comparison (IQM) across MiniGrid benchmarks (MT3, MT5, MT7) for different agent treatments and architectures.

Mechanistically, sparsification directly addresses the root causes of plasticity loss. Analysis of the optimization landscape reveals that SET is exceptionally effective at maintaining near-zero neuron dormancy. Furthermore, sparse models exhibit a lower and more stable Fisher Information Matrix (FIM) trace, suggesting they converge to "flatter" minima which are associated with better generalization and easier adaptation.

Figure 1: Analysis of optimization pathologies across architectures. Sparsification methods (GMP, SET) generally reduce neuron dormancy and maintain effective rank compared to dense baselines.

Architectural and Structural Nuances

The benefits of sparsity are context-dependent. While significant improvements were seen in MTPPO and MoE architectures, the impact on the MOORE architecture was more nuanced. This suggests that MOORE’s inherent orthogonality provides some baseline protection against plasticity loss.

In continuous control tasks (MetaWorld MT10), an actor-critic asymmetry was observed. Pruning only the Actor while maintaining a dense Critic yielded the best results (81% success rate vs. 73% for dense). The Actor is more susceptible to dormancy; keeping it sparse maintains its adaptability without compromising the representational power required by the Critic.

Conclusion

Dynamic sparsification serves as a robust "set-and-forget" alternative to complex resetting schedules. By preventing representational collapse and neuron dormancy, GMP and SET allow MTRL agents to maintain high plasticity throughout training. While current hardware limitations (GPU optimization for dense matrices) and hyperparameter sensitivity remain challenges, the structural benefits of sparsity offer a promising path toward more adaptable and efficient multi-task systems.

Summary updated

BibTeX
@article{todorov2025sparsity,
  author = {Aleksandar Todorov and Juan Cardenas-Cartagena and Rafael F. Cunha and Marco Zullich and Matthia Sabatelli},
  title = {{Sparsity-Driven Plasticity in Multi-Task Reinforcement Learning}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=9L4Z23EfE9},
}
Figure