Implicit Under-Parameterization Inhibits Data-Efficient Deep Reinforcement Learning

Aviral Kumar, Rishabh Agarwal, Dibya Ghosh, Sergey Levine

In the world of deep learning, we usually assume that more training on more data with bigger models leads to better results. However, Deep Reinforcement Learning (RL) has a notorious reputation for being unstable and sample-inefficient. A fascinating paper by Kumar et al. identifies a hidden culprit behind this behavior: Implicit Under-Parameterization.

The Core Phenomenon: Rank Collapse

Deep RL algorithms often use bootstrapping—updating a current value estimate based on a previous estimate (the "target network"). While this is a cornerstone of RL, the authors discover that it introduces a pathological interaction with gradient descent.

Over successive iterations of bootstrapping, value-based deep RL methods (like DQN) suffer from "rank collapse." The neural network's internal features lose expressivity, effectively turning high-capacity networks into under-parameterized ones.

Illustration of rank collapse during iterative TD error minimization.

As the rank drops, the network's internal representations become "aliased." Distinct state-action pairs start looking identical to the network, making it mathematically impossible for the final layer to distinguish between states that require different actions.

The "Data-Efficiency" Trap

The researchers characterize this loss of expressivity by tracking the effective rank ($srank$) of the feature matrix $\Phi$ (the output of the penultimate layer) across various RL benchmarks, including Atari, MuJoCo, and Gridworld.

This reveals a specific paradox in "data-efficient" RL. When practitioners try to squeeze more performance out of limited data by performing more gradient updates per environment step, performance often plateaus or even crashes.

Empirical evidence showing that higher gradient steps per environment step (n) accelerates rank collapse and degrades performance.

The authors show that increasing the rate of data re-use directly accelerates rank collapse. This explains why simply training longer on the same data often fails in RL; it is not merely overfitting or distribution shift, but a fundamental collapse of the network's feature space.

Theoretical Underpinnings

Why does this happen? The paper provides two mathematical frameworks to explain the collapse:

  1. Kernel Regression: Bootstrapping acts like an implicit regularizer that increases the sparsity of singular values over iterations.
  2. Deep Linear Networks: The dynamics of gradient descent dictate that larger singular values grow exponentially faster than smaller ones. In a bootstrapping loop, this "rich get richer" effect compounds, leading to a collapse where only a few directions in the feature space remain active.

Crucially, the authors show that if you regress directly to the true optimal values ($Q^*$) using supervised learning, rank collapse does not occur. It is specifically the iterative nature of fitting to one's own previous (and potentially low-rank) estimates that causes the downward spiral.

The Fix: A Rank-Promoting Penalty

To mitigate this issue, the authors propose a simple rank-promoting regularizer:

$$L_p(\Phi) = \sigma_{max}^2(\Phi) - \sigma_{min}^2(\Phi)$$

By minimizing the gap between the largest and smallest singular values, they force the network to maintain a more diverse set of features.

Key Results: * Ubiquitous Collapse: In standard Atari games, a 512-dimensional feature layer often collapsed to an effective rank of only 20–100. * Performance Boost: Adding the rank-promoting penalty to DQN resulted in a 74.5% median improvement across 16 Atari games in an offline setting. * State-of-the-Art Improvement: Even when added to CQL (Conservative Q-Learning), a highly robust offline RL algorithm, the penalty provided a 14.1% median improvement, demonstrating that even advanced methods suffer from this underlying optimization flaw.

Future Directions

While the proposed penalty is effective, the authors acknowledge it is a "symptom-based" fix. It treats the rank collapse but doesn't fundamentally change the underlying interaction between bootstrapping and gradient descent.

Future work may look into developing auxiliary tasks (like self-supervised reconstruction) that naturally maintain feature diversity, or creating optimizers explicitly designed to handle non-stationary targets without inducing rank collapse.

Summary updated

BibTeX
@inproceedings{kumar2021implicit,
  author = {Aviral Kumar and Rishabh Agarwal and Dibya Ghosh and Sergey Levine},
  title = {{Implicit Under-Parameterization Inhibits Data-Efficient Deep Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=O9bnihsFfXU},
}
Figure