Network Sparsity Unlocks the Scaling Potential of Deep Reinforcement Learning

Guozheng Ma, Lu Li, Zilin Wang, Li Shen, Pierre-Luc Bacon, Dacheng Tao

Scaling laws have become the "holy grail" of modern AI. In supervised learning, the recipe is simple: add more parameters, more data, and more compute, and the model gets better. However, Deep Reinforcement Learning (DRL) has long been the rebellious child of this family. In DRL, scaling up a model often leads to a "scaling wall" where performance doesn't just plateau—it collapses.

A new paper, "Network Sparsity Unlocks the Scaling Potential of Deep Reinforcement Learning," suggests that the problem isn't the size of the models, but their density. By simply pruning a large portion of the network before training even begins, the authors show that we can finally make DRL scale like its supervised cousins.

TL;DR

While large dense networks in Reinforcement Learning often suffer from optimization pathologies that cause performance to collapse, introducing static network sparsity via one-shot random pruning at initialization allows these models to scale effectively. Sparse models maintain higher representational capacity and resist plasticity loss, outperforming dense counterparts by up to 40% in complex control tasks.

The Problem: The DRL Scaling Wall

In fields like Computer Vision or Natural Language Processing, we expect a 100M parameter model to outperform a 10M parameter one. In DRL, the opposite often happens. This is due to several optimization pathologies unique to the RL paradigm:

  • Plasticity Loss: The network loses its ability to adapt to new data over time.
  • Dormant Neurons: Large portions of the network stop firing entirely, effectively becoming dead weight.
  • Capacity Collapse: As the model grows, its "Stable Rank" (a measure of representational diversity) actually decreases.
  • Gradient Interference: Updates from different data points conflict with each other, slowing down or ruining the learning process.

Previously, researchers tried to fix this with "Resets" (periodically re-initializing parts of the network), but this is computationally expensive and disrupts training stability.

The Solution: Static Network Sparsity

The authors propose a surprisingly simple solution: Static Network Sparsity.

  1. One-Shot Random Pruning: Before training starts, they randomly remove a predetermined percentage of weights (often 60% to 90%).
  2. Static Topology: Unlike dynamic sparsity methods that change which neurons are connected during training, these connections remain fixed.
  3. Erdős-Rényi (ER) Initialization: Instead of pruning every layer equally, they use the ER kernel, which allocates more parameters to smaller layers and fewer to larger ones—a technique proven to work well in supervised sparse training.
  4. SimBa Baseline: They apply this to the state-of-the-art SimBa architecture, which already uses modern tricks like Layer Normalization and Residual Connections, proving that sparsity provides benefits even on top of the best current designs.

Key Insights and Mechanisms

Why does removing weights make the network better?

  • Sparsity as a Regularizer: Sparsity acts as an implicit regularizer that prevents unbounded parameter growth, a common cause of instability in DRL.
  • Maintaining Representational Rank: Using a metric called Srank, the authors found that while large dense models suffer from capacity collapse (their effective rank drops), sparse models maintain a high rank, meaning they use their remaining parameters much more effectively.
  • Killing Dormancy: Sparse networks have significantly fewer dormant neurons. By forcing the network to work with fewer connections, the remaining neurons are more likely to stay active and contribute to learning.
  • Orthogonal Gradients: Sparsity naturally promotes gradient orthogonality. This means that updates for one state are less likely to interfere with or undo the learning from a different state.

Key Results: Breaking the Wall

Performance of dense vs. sparse networks across model sizes
  • Breaking the Scaling Wall: On the hardest DeepMind Control (DMC) tasks (like Humanoid Walk/Run), dense models hit a performance ceiling at around 17M parameters. As seen in the figure above, sparse models continued to improve as model size increased, achieving up to 40% higher returns.
  • Parameter Efficiency: A large sparse network often outperformed a dense network that had the same number of active parameters, proving that the sparse structure itself is beneficial, not just the parameter count.
  • Generalization: The benefits held true across Visual RL (image-based tasks using DrQ-v2) and Streaming RL (learning without a large replay buffer). In Atari-100k, sparse models generally yielded better performance than their dense counterparts when scaled.
  • No Resets Needed: Sparse models achieved superior results without needing the Reset operations that are typically required to keep large DRL models from stagnating.

Limitations and Future Work

  • Hardware Acceleration: While the models are mathematically sparse, standard GPUs are optimized for dense matrix multiplication. To see actual wall-clock speedups, specialized sparse kernels or hardware would be required.
  • Low-Data Regimes: In the Atari-100k experiments, the benefits of scaling were less consistent. The authors suggest that the benefits of sparsity might be more pronounced when the agent has more time to interact with the environment.
  • Optimal Sparsity Ratios: The sweet spot for sparsity seems to vary by task and model size. Future work could investigate automated ways to find the optimal sparsity level for a given architecture.

By showing that "less is more," this paper provides a clear path forward for researchers looking to build the Foundation Models of Reinforcement Learning.

Summary updated

BibTeX
@inproceedings{ma2025network,
  author = {Guozheng Ma and Lu Li and Zilin Wang and Li Shen and Pierre-Luc Bacon and Dacheng Tao},
  title = {{Network Sparsity Unlocks the Scaling Potential of Deep Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=mIomqOskaa},
}
Figure