[Paper Review] DR3: Value-Based Deep Reinforcement Learning Requires Explicit Regularization
This paper identifies that implicit regularization in stochastic gradient descent (SGD) harms value-based deep reinforcement learning (RL) in offline settings by inducing feature co-adaptation and representation aliasing. To counteract this, the authors propose DR3, a simple explicit regularizer that penalizes similarity between features of consecutive state-action pairs, significantly improving performance and stability across Atari, D4RL, and robotic manipulation benchmarks.
Despite overparameterization, deep networks trained via supervised learning are easy to optimize and exhibit excellent generalization. One hypothesis to explain this is that overparameterized deep networks enjoy the benefits of implicit regularization induced by stochastic gradient descent, which favors parsimonious solutions that generalize well on test inputs. It is reasonable to surmise that deep reinforcement learning (RL) methods could also benefit from this effect. In this paper, we discuss how the implicit regularization effect of SGD seen in supervised learning could in fact be harmful in the offline deep RL setting, leading to poor generalization and degenerate feature representations. Our theoretical analysis shows that when existing models of implicit regularization are applied to temporal difference learning, the resulting derived regularizer favors degenerate solutions with excessive "aliasing", in stark contrast to the supervised learning case. We back up these findings empirically, showing that feature representations learned by a deep network value function trained via bootstrapping can indeed become degenerate, aliasing the representations for state-action pairs that appear on either side of the Bellman backup. To address this issue, we derive the form of this implicit regularizer and, inspired by this derivation, propose a simple and effective explicit regularizer, called DR3, that counteracts the undesirable effects of this implicit regularizer. When combined with existing offline RL methods, DR3 substantially improves performance and stability, alleviating unlearning in Atari 2600 games, D4RL domains and robotic manipulation from images.
Motivation & Objective
- To investigate why value-based deep RL methods degrade during training in offline settings despite overparameterization.
- To analyze the implicit regularization effect of SGD in temporal difference learning and its detrimental impact on feature representations.
- To identify feature co-adaptation and representation aliasing as key causes of performance degradation in offline deep RL.
- To develop a practical, theoretically grounded regularizer that mitigates these issues without altering the underlying RL algorithm.
- To empirically validate that DR3 improves performance and stability across diverse offline RL benchmarks.
Proposed method
- Theoretical analysis derives the implicit regularizer induced by SGD in TD learning, showing it favors degenerate solutions with high feature similarity across Bellman backups.
- Empirical analysis demonstrates that feature co-adaptation—measured by dot product similarity between consecutive state-action features—correlates with performance degradation.
- DR3 is designed as a tractable, explicit regularizer that penalizes high dot-product similarity between features of temporally adjacent state-action pairs.
- The regularizer is applied during training by minimizing the cosine similarity of features from consecutive transitions in a bootstrapping update.
- DR3 is compatible with existing offline RL algorithms such as CQL, REM, and BRAC, and can be easily integrated without architectural changes.
- Experiments evaluate DR3 on Atari 2600 games, D4RL environments, and image-based robotic manipulation tasks using standard offline RL benchmarks.
Experimental results
Research questions
- RQ1Does implicit regularization in SGD, beneficial in supervised learning, also benefit value-based deep RL in offline settings?
- RQ2What is the form of the implicit regularizer that arises during TD learning with deep networks?
- RQ3How does this implicit regularizer lead to degenerate feature representations and performance degradation?
- RQ4Can explicit regularization counteract the negative effects of this implicit regularizer?
- RQ5Does DR3 improve performance and stability across diverse offline RL benchmarks?
Key findings
- DR3 achieves a 60% performance improvement on the most challenging D4RL tasks compared to baseline offline RL methods.
- On 17 Atari 2600 games, DR3 provides a 160% stability gain for REM and a 25% stability gain for CQL, measured by average performance across training iterations.
- Feature dot product similarity decreases significantly with DR3, indicating reduced co-adaptation, and stabilizes at low values across training.
- DR3 prevents rank collapse in feature representations, a known pathology in offline RL that correlates with performance degradation.
- The method improves performance on image-based robotic manipulation tasks, demonstrating generalization beyond pixel-based environments.
- Even when Q-values are not overestimated, prolonged training without DR3 leads to performance degradation due to increasing feature co-adaptation.
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.