[Paper Review] Understanding and Preventing Capacity Loss in Reinforcement Learning
This paper identifies 'capacity loss'—a degradation in deep RL agents' ability to learn new value functions over training—as a key cause of poor performance in sparse-reward environments. It proposes Initial Feature Regularization (InFeR), which stabilizes representation learning by regularizing auxiliary outputs toward their initial values, leading to significant performance gains in hard exploration tasks like Montezuma’s Revenge without advanced exploration algorithms.
The reinforcement learning (RL) problem is rife with sources of non-stationarity, making it a notoriously difficult problem domain for the application of neural networks. We identify a mechanism by which non-stationary prediction targets can prevent learning progress in deep RL agents: extit{capacity loss}, whereby networks trained on a sequence of target values lose their ability to quickly update their predictions over time. We demonstrate that capacity loss occurs in a range of RL agents and environments, and is particularly damaging to performance in sparse-reward tasks. We then present a simple regularizer, Initial Feature Regularization (InFeR), that mitigates this phenomenon by regressing a subspace of features towards its value at initialization, leading to significant performance improvements in sparse-reward environments such as Montezuma's Revenge. We conclude that preventing capacity loss is crucial to enable agents to maximally benefit from the learning signals they obtain throughout the entire training trajectory.
Motivation & Objective
- To investigate why deep RL agents fail to learn in sparse-reward environments despite adequate exploration.
- To identify a previously overlooked mechanism—capacity loss—whereby neural networks lose the ability to fit new prediction targets over time.
- To demonstrate that representation collapse, driven by non-stationary targets, impedes learning progress in deep RL.
- To propose and validate a simple, effective regularizer, Initial Feature Regularization (InFeR), that prevents capacity loss.
- To show that improved representation learning can enable strong performance even with naive exploration, challenging the assumption that poor performance is solely due to exploration failure.
Proposed method
- The authors introduce Initial Feature Regularization (InFeR), a regularizer that adds auxiliary outputs to the network, regressing them toward their values at initialization.
- InFeR uses a fixed, small L2 penalty to regularize the network’s feature space, preserving its capacity to represent new functions.
- The method is applied to the penultimate layer of the Q-network, with the auxiliary outputs trained to match the initial network’s output on the same inputs.
- The regularization is computationally lightweight and incurs no additional cost beyond a small, fixed L2 loss term.
- The authors empirically evaluate InFeR across multiple Atari environments, particularly focusing on sparse-reward games such as Montezuma’s Revenge.
- They analyze representation dynamics via linear disentanglement and feature space collapse, measuring how well features distinguish states over training.
Experimental results
Research questions
- RQ1To what extent does capacity loss—defined as the decline in a network’s ability to fit new target functions—occur during deep RL training?
- RQ2Why do deep RL agents fail to learn in sparse-reward environments, and is this failure due to poor exploration or poor representation learning?
- RQ3Does representation collapse, where features inhabit a low-dimensional subspace, correlate with performance degradation in deep RL agents?
- RQ4Can a simple, fixed regularizer like InFeR mitigate capacity loss and improve performance in challenging environments?
- RQ5Is the performance gap between InFeR and baseline agents due to under-parameterization, and can increasing network width reverse this gap?
Key findings
- Capacity loss is a prevalent and damaging phenomenon in deep RL, particularly in sparse-reward environments like Montezuma’s Revenge, where agents often fail to learn despite adequate exploration.
- Representation collapse occurs rapidly in sparse-reward settings, with feature outputs collapsing into a low-dimensional or zero-dimensional subspace, impairing the agent’s ability to distinguish states.
- InFeR significantly improves performance on hard exploration games such as Montezuma’s Revenge, achieving state-of-the-art results without using specialized exploration algorithms.
- The performance gap between InFeR and baseline agents disappears or reverses when the network width is doubled, indicating that the gap is due to under-parameterization, not the regularizer itself.
- The authors find that sufficient representational capacity is a necessary condition for learning progress, and that InFeR preserves this capacity by stabilizing the network’s function-space dynamics.
- InFeR acts as a form of function-space regularization that improves generalization and prevents negative transfer across sequential prediction tasks in non-stationary RL settings.
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.