TL;DR
This paper presents the first systematic investigation into sparse training for Deep Reinforcement Learning (DRL), demonstrating that sparse networks consistently outperform dense networks of the same parameter count. The authors show that DRL agents can maintain peak performance even with 80-90% fewer parameters, though they identify unique challenges—like low gradient signal-to-noise ratios—that prevent some popular computer vision techniques from reaching their full potential in the RL domain.
What Problem Does This Paper Address?
Deep Reinforcement Learning has achieved remarkable feats, from mastering Atari to controlling fusion plasma. However, these successes come with a massive computational price tag. While the computer vision (CV) community has embraced sparse neural networks to reduce memory and latency, DRL research has largely ignored architecture in favor of algorithmic tweaks.
There has been a lingering assumption in the field that DRL requires massive over-parameterization to learn effectively. This paper challenges that notion, asking: Can we train sparse DRL agents from scratch? Do the "sparse is better" lessons from CV actually transfer to the non-stationary, high-variance world of Reinforcement Learning?
Methods
The authors benchmark four primary sparse training strategies across three major DRL algorithms: DQN (value-based), SAC, and PPO (actor-critic).
- Pruning: A "dense-to-sparse" baseline where a full network is gradually thinned out during training based on weight magnitude.
- Static: A baseline where the network is randomly sparsified at initialization and the structure remains fixed.
- Sparse Evolutionary Training (SET): Starts sparse; periodically drops the smallest weights and replaces them with new random connections.
- Rigged Lottery (RigL): Similar to SET, but instead of random new connections, it uses gradient information to "rig" the lottery and activate the most promising new connections.
To ensure a fair fight, they compare these against "parameter-equivalent" dense baselines—standard dense networks scaled down to match the parameter count of the sparse models.
Datasets
The study covers a broad spectrum of environments to ensure robust conclusions:
- Classic Control: CartPole, Acrobot, and MountainCar.
- Atari Suite: 15 games (including Pong, MsPacman, and Qbert) representing discrete control.
- MuJoCo Suite: 5 environments (HalfCheetah, Hopper, Walker2d, Ant, and Humanoid) representing complex continuous control.
Key Insights and Ideas
- Sparse > Dense: Across almost all environments, a sparse network with $N$ parameters outperforms a dense network with the same $N$ parameters. This confirms that the efficiency gains seen in CV are indeed applicable to DRL.
- The SNR Bottleneck: Surprisingly, RigL (which dominates in CV) doesn't significantly outperform the simpler SET in DRL. The authors found that DRL gradients have a very low Signal-to-Noise Ratio (SNR). Because RigL relies on these noisy gradients to grow new connections, it often receives "misleading signals," limiting its effectiveness.
- The Critic is King: In actor-critic setups (SAC/PPO), the distribution of parameters matters immensely. The authors discovered that the critic network (which estimates value) is much harder to compress than the actor (which chooses actions). Allocating the "lion's share" of parameters to the critic is essential for performance.
- ERK Distribution: Using the Erdos Renyi Kernel (ERK) sparsity distribution—which keeps input and output layers denser while sparsifying the middle—significantly outperforms uniform sparsity.
Key Results
- 90% Sparsity Sweet Spot: Agents can be trained with 80-90% fewer parameters with little to no loss in performance compared to full-sized dense models. In some cases, like the Humanoid environment, sparse models actually achieved higher rewards than their dense counterparts.
- Robustness to Noise: In a surprising twist, sparse networks trained with RigL proved to be more robust to observational noise (e.g., pixel-level Gaussian noise) than dense networks, especially in low-parameter regimes.
- Performance Gains: As shown in the IQM (Interquartile Mean) plots, dynamic sparse training methods (SET, RigL) and Pruning consistently match or exceed the "Dense: 100%" baseline while using only a fraction of the parameters.
Limitations and Future Work
The primary limitation identified is the gradient noise inherent in DRL, which hampers sophisticated dynamic sparse training algorithms like RigL. The authors suggest that finding ways to stabilize these gradient signals could unlock even greater efficiency.
Additionally, while the paper proves sparse networks are trainable, current hardware (like standard GPUs) is optimized for dense matrix multiplication. Future work is needed to translate these parameter savings into actual wall-clock speedups and energy savings on specialized sparse-aware hardware. Finally, the authors note that the optimal actor-critic parameter ratio is environment-dependent, suggesting that automated ways to balance these budgets could be a fruitful research path.
Summary updated