[Paper Review] Regularization Matters in Policy Optimization
This paper presents the first comprehensive empirical study on conventional regularization techniques—such as L2, L1, dropout, and batch normalization—in policy optimization for continuous control tasks. It finds that L2 regularization on the policy network significantly improves performance, especially on harder tasks, often outperforming entropy regularization, and that regularizing only the policy network is most effective.
Deep Reinforcement Learning (Deep RL) has been receiving increasingly more attention thanks to its encouraging performance on a variety of control tasks. Yet, conventional regularization techniques in training neural networks (e.g., $L_2$ regularization, dropout) have been largely ignored in RL methods, possibly because agents are typically trained and evaluated in the same environment, and because the deep RL community focuses more on high-level algorithm designs. In this work, we present the first comprehensive study of regularization techniques with multiple policy optimization algorithms on continuous control tasks. Interestingly, we find conventional regularization techniques on the policy networks can often bring large improvement, especially on harder tasks. Our findings are shown to be robust against training hyperparameter variations. We also compare these techniques with the more widely used entropy regularization. In addition, we study regularizing different components and find that only regularizing the policy network is typically the best. We further analyze why regularization may help generalization in RL from four perspectives - sample complexity, reward distribution, weight norm, and noise robustness. We hope our study provides guidance for future practices in regularizing policy optimization algorithms. Our code is available at https://github.com/xuanlinli17/iclr2021_rlreg .
Motivation & Objective
- To investigate the effectiveness of conventional deep learning regularization techniques (e.g., L2, dropout) in deep reinforcement learning policy optimization.
- To compare these techniques with the widely used entropy regularization in policy gradient methods.
- To determine whether regularization improves performance when training and evaluation environments are identical, challenging the assumption that generalization is not needed.
- To identify which components of the policy network (policy vs. value networks) should be regularized for optimal performance.
- To analyze the underlying reasons why regularization improves generalization in RL from sample complexity, return distribution, weight norm, and noise robustness perspectives.
Proposed method
- Empirically evaluate L2, L1, dropout, weight clipping, and batch normalization on four policy optimization algorithms: SAC, PPO, TRPO, and A2C.
- Apply regularization to different components (policy network, value network, or both) and compare performance across multiple continuous control environments from the MuJoCo benchmark.
- Use random hyperparameter search across multiple settings to assess robustness of findings.
- Compare regularization techniques against baseline (no regularization) and entropy regularization.
- Conduct ablation studies to isolate the effect of regularization on policy vs. value networks.
- Analyze the impact of regularization on training dynamics, weight norms, and robustness to noise using theoretical and empirical analysis.
Experimental results
Research questions
- RQ1Do conventional regularization techniques like L2 and dropout improve performance in policy optimization for continuous control tasks when training and evaluation environments are identical?
- RQ2How does the performance of conventional regularization compare to entropy regularization across different policy optimization algorithms?
- RQ3Which network component (policy or value network) benefits most from regularization in policy optimization?
- RQ4Does the effectiveness of regularization vary with task difficulty or hyperparameter settings?
- RQ5What are the underlying mechanisms through which regularization improves generalization in deep reinforcement learning?
Key findings
- L2 regularization on the policy network consistently improves performance across all evaluated algorithms and environments, with statistically significant gains, especially on harder tasks.
- L2 regularization often outperforms entropy regularization, with improvements observed in both mean return and sample efficiency.
- Dropout and batch normalization only improve performance on off-policy algorithms (e.g., SAC, PPO), and batch normalization often harms performance on on-policy algorithms.
- Regularizing the value network provides no benefit and can degrade performance, indicating that only the policy network should be regularized.
- The effectiveness of regularization is robust across a wide range of hyperparameter settings and network architectures.
- Combining L2 regularization with entropy regularization yields marginal or no additional gains, suggesting that L2 alone is sufficient for performance improvement.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.