Abstract
Standard neural networks often struggle with incremental reinforcement learning (RL) due to catastrophic interference, where updates to one state inadvertently degrade value estimates for others. This paper explores the use of sparse representations to mitigate this issue. We introduce the Sparse Representation Neural Network (SR-NN), which employs distributional regularizers to enforce sparsity in the final hidden layer. Our results across four classic control benchmarks demonstrate that SR-NN achieves stable learning and performance comparable to hand-crafted features, significantly outperforming vanilla dense networks and standard regularization techniques.
Introduction: The Challenge of Interference in RL
In Reinforcement Learning, agents typically learn through "bootstrapping"—updating current state-value estimates based on estimates of subsequent states. This process is inherently sensitive. A primary obstacle identified in this work is catastrophic interference. In conventional "dense" neural networks, a weight update intended for one part of the state space often affects a broad range of other states. This lack of locality causes new learning to overwrite previous knowledge, leading to unstable value estimates and failure to converge on optimal policies.
While sparse features like Tile Coding have historically provided a solution, they do not scale well to high-dimensional inputs. This paper investigates how stable, sparse representations can be learned automatically within a neural network architecture.
Methods: Sparse Representation Neural Networks (SR-NN)
The authors propose the Sparse Representation Neural Network (SR-NN). The architecture focuses on forcing the last hidden layer to maintain a sparse activation pattern, ensuring that only a small subset of neurons is active for any given input.
Distributional Regularization and Set KL
To achieve sparsity, the authors utilize two key techniques:
- Exponential Target Distribution: For ReLU-based networks, hidden units are encouraged to follow an exponential distribution, which naturally pushes most activations toward zero.
- Set KL (SKL) Regularizer: Unlike standard KL-divergence, which forces neurons to a specific average activation, the proposed Set KL only penalizes neurons that exceed a maximum activity threshold. This prevents "dead" neurons and allows for more flexible, task-relevant sparsity.
The training involves a two-stage process: first, the network learns sparse features from a batch of data using a Mean Squared Temporal Difference Error (MSTDE) objective. Subsequently, these features are fixed, and a Sarsa(0) agent learns the control policy incrementally.
Key Results and Performance
The SR-NN was evaluated on four classic benchmarks: Mountain Car, Puddle World, Acrobot, and Catcher. These domains test the ability of a representation to handle non-linear control and incremental updates.
As shown in the performance curves, vanilla NNs often fail to learn effective policies, particularly in the "Catcher" task. In contrast, SR-NN demonstrates robust learning curves similar to those of hand-crafted Tile Coding (TC).
The Importance of Locality
The core advantage of SR-NN is "locality." By ensuring that only a few neurons fire for a specific state, updates are effectively "quarantined." In Puddle World, the activation overlap (the number of shared active neurons between different states) was significantly lower for SR-NN (8.8) compared to vanilla NNs (54.0). This reduced overlap directly translates to less interference and more stable bootstrapping.
Conclusion
This research highlights that sparsity is not just a regularization technique but a fundamental requirement for stable incremental learning in RL. By enforcing locality through distributional regularizers like Set KL, SR-NN overcomes the catastrophic interference that plagues dense networks. Future work will focus on end-to-end incremental learning of both representations and policies, as well as scaling these methods to high-dimensional visual inputs.
Summary updated