While deep networks in supervised learning benefit from implicit regularization that simplifies solutions, this same effect in value-based Reinforcement Learning (RL) causes "feature co-adaptation." In this scenario, consecutive states become indistinguishable to the network, leading to instability and "unlearning." To combat this, researchers introduce DR3, a simple explicit regularizer that penalizes feature similarity between consecutive state-action pairs, significantly boosting the stability and performance of offline RL algorithms.
The Problem: Implicit Regularization in TD-Learning
In supervised learning, overparameterized models generalize surprisingly well because the optimization process (Stochastic Gradient Descent) naturally steers the model toward simpler, parsimonious solutions—a phenomenon known as implicit regularization.
However, deep RL—especially in the offline setting where agents learn from a static dataset—frequently suffers from a bizarre pathology: performance often degrades with more training. Previous research noted that this "unlearning" correlates with "rank collapse," where the network's feature representations lose dimensionality and capacity.
Is the implicit regularization of Temporal Difference (TD) learning actually harmful? The authors hypothesize that the bootstrapping nature of TD-learning causes the features of a state-action pair $(s, a)$ and its successor $(s', a')$ to "co-adapt" or alias, becoming nearly identical.
Unlike supervised learning or on-policy methods like SARSA, Q-learning (DQN) backs up unseen, out-of-sample actions. This uniquely drives up the dot-product similarity of features over time. When features $\phi(s, a)$ and $\phi(s', a')$ become too similar, the network struggles to represent the Bellman backup accurately (the reward and discount factor between them).
Eventually, this unchecked increase in feature similarity correlates strongly with divergent, incorrect Q-values, destroying the agent's performance and leading to the unlearning phenomenon.
The Solution: DR3 (Dot Product Regularization)
The paper approaches the problem through both theoretical derivation and empirical validation:
- Theoretical Characterization: Building on recent work in supervised learning theory, the authors derive the form of the implicit regularizer for TD-learning. They find that unlike supervised learning (which simply minimizes gradient norms), TD-learning includes a term that effectively maximizes the dot product between the features of consecutive state-action pairs.
- Explicit Regularization: To counteract this harmful implicit effect, they propose DR3 (Dot Product Regularization for RL via Bootstrapping). DR3 simply adds a penalty to the loss function that minimizes the dot product of features at consecutive steps: $$\mathcal{R}_{exp}(\theta) = \sum_{i \in \mathcal{D}} \phi(s_i, a_i)^\top \phi(s'_i, a'_i)$$
- Plug-and-Play Integration: This regularizer is easy to implement. The authors test it by adding it to existing state-of-the-art offline RL algorithms like Conservative Q-Learning (CQL) and Random Ensemble Mixture (REM).
Key Results and Insights
The authors evaluated DR3 across a diverse set of challenging benchmarks, including 17 Atari 2600 games, D4RL continuous control domains (like AntMaze and Franka Kitchen), and image-based robotic manipulation tasks (COG dataset).
- Massive Stability Gains: One of the biggest hurdles in offline RL is knowing when to stop training before "unlearning" occurs. DR3 makes training significantly more monotonic. On Atari games, DR3 led to 160% stability gains for REM and 25% gains for CQL, effectively preventing the performance dip seen in long-duration training.
- State-of-the-Art Performance: DR3 provided a ~60% improvement on the hardest D4RL tasks compared to base offline RL methods. In robotic manipulation, adding DR3 resulted in higher average and final success rates across multiple multi-stage task variants.
- Preventing Rank Collapse: While previous work focused on explicitly fixing the rank of the feature matrix, DR3 suggests that rank collapse is merely a symptom of feature co-adaptation. By penalizing the dot product, DR3 naturally maintains high-rank, high-capacity representations throughout training.
Limitations and Future Work
While highly effective, DR3 introduces a new hyperparameter coefficient ($c_0$) that requires tuning, and its optimal value can vary across domains. Additionally, computing per-example gradient dot products for the full network is computationally prohibitive, so the authors rely on a "last-layer" approximation to maintain efficiency.
Finally, the paper focuses almost exclusively on the offline setting. Exploring whether DR3 provides similar benefits in online RL—where data distributions are non-stationary—remains a promising next step for the field.
Summary updated