The State of Sparse Training in Deep Reinforcement Learning

Laura Graesser, Utku Evci, Erich Elsen, Pablo Samuel Castro

Abstract

Deep Reinforcement Learning (DRL) has achieved significant milestones in complex decision-making tasks, yet it remains notoriously resource-intensive. While sparse training has revolutionized efficiency in Computer Vision, its efficacy in the high-variance, non-stationary environments of DRL has remained largely unexplored. This paper provides a systematic investigation into sparse training regimes across diverse DRL algorithms and benchmarks. Our findings demonstrate that sparse models are not only viable but often superior to their dense counterparts, maintaining peak performance with 80–90% fewer parameters and exhibiting enhanced robustness to observational noise.

Introduction

Traditionally, Deep Reinforcement Learning (DRL) has operated under the assumption that "more is better," relying on over-parameterized dense networks to master tasks ranging from Atari games to continuous control in MuJoCo. However, this reliance on dense architectures creates significant barriers to deployment, particularly in latency-constrained or edge-computing environments.

In contrast, the Computer Vision (CV) community has successfully utilized sparse training to reduce memory and computational footprints. This paper addresses a critical research gap: Do the established benefits of sparsity—specifically the observation that sparse models can outperform dense ones for a fixed parameter budget—transfer to the unique challenges of Reinforcement Learning?

Methodology

The authors conducted a massive systematic investigation, benchmarking four distinct sparse training regimes against three foundational DRL algorithms: DQN, SAC, and PPO.

Sparse Training Regimes

  1. Pruning: A technique where training begins with a dense network, and weights are gradually removed. This serves as a performance "upper bound," though it still incurs the full cost of initial dense training.
  2. Static Sparsity: Training a network with a fixed, random sparse structure from the outset, offering maximum efficiency from day one.
  3. Sparse Evolutionary Training (SET): A dynamic approach that periodically drops the weakest weights and grows new connections at random, allowing the topology to evolve during training.
  4. Rigged Lottery (RigL): A sophisticated dynamic method that utilizes gradient information to determine where to grow new connections, widely considered the gold standard in CV.

To ensure a fair comparison, the researchers introduced a "parameter-equivalent" dense baseline, comparing sparse networks against smaller dense networks with the same number of active parameters.

Experimental Setup and Benchmarks

The study evaluated these methods across a broad spectrum of environments to ensure generalizability:

  • Classic Control: CartPole, Acrobot, and MountainCar.
  • Atari (ALE): 15 games (e.g., MsPacman, Pong, Qbert) utilizing both standard CNN and ResNet architectures.
  • MuJoCo: 5 continuous control environments, including high-dimensional tasks like Humanoid and Ant.

Key Insights

1. The "Free Lunch" of Sparsity

In nearly every benchmarked environment, sparse networks outperformed dense networks of the same parameter count. The researchers found that agents could maintain peak performance at 90% sparsity in complex environments like MsPacman and Humanoid. In many cases, Dynamic Sparse Training (DST) actually exceeded the performance of the standard dense baselines established in existing literature.

2. Architectural Asymmetry: The Critic’s Role

In actor-critic frameworks like SAC, the study revealed a crucial architectural insight: the Critic (responsible for value estimation) requires more "brain power" than the Actor (responsible for action selection). The authors found that allocating a larger portion of the parameter budget to the Critic yields significantly better results, suggesting that value approximation is a more complex function to learn than policy optimization in these tasks.

3. The Gradient Signal-to-Noise Ratio (SNR) Problem

Surprisingly, RigL—which typically dominates sparse training in ImageNet—did not show a clear advantage in DRL. The authors identified that DRL gradients possess a very low Signal-to-Noise Ratio (SNR), particularly during the early stages of training. This noise makes it difficult for gradient-based growth mechanisms to accurately identify where to form new connections, explaining why simpler evolutionary methods like SET remain competitive.

4. Enhanced Robustness

One of the most striking findings was that sparse models are significantly more robust to observational noise. When subjected to pixel corruption or static, sparse agents maintained their performance levels far better than their dense counterparts, suggesting that sparsity may act as a form of regularization that prevents overfitting to environmental noise.

Limitations and Future Directions

Despite the promising results, several challenges remain for the widespread adoption of sparsity in DRL:

  • Hardware Optimization: Current GPUs are heavily optimized for dense matrix operations. While sparse networks require fewer floating-point operations (FLOPs), they do not yet consistently translate to faster "wall-clock" training times on standard hardware.
  • The RigL Mystery: Further research is required to refine gradient-based growth for the low-SNR environments of RL.
  • Offline RL: This study focused exclusively on online RL. The dynamics of sparsity in offline RL—where agents learn from fixed datasets—remains an open question.

Conclusion

This systematic dive establishes that sparsity should be considered a first-class citizen in the DRL toolkit. By demonstrating that sparse models can match or exceed dense performance with a fraction of the parameters, this work paves the way for more efficient, robust, and deployable reinforcement learning agents.

Summary updated

BibTeX
@inproceedings{graesser2022state,
  author = {Laura Graesser and Utku Evci and Erich Elsen and Pablo Samuel Castro},
  title = {{The State of Sparse Training in Deep Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=oVT60jrXXII},
}
Figure