The Utility of Sparse Representations for Control in Reinforcement Learning

Vincent Liu, Raksha Kumaraswamy, Lei Le, Martha White

Abstract

Standard neural networks often struggle in incremental reinforcement learning due to catastrophic interference, where updates in one state inadvertently overwrite knowledge of others. This paper investigates the use of sparse representations to mitigate this issue. By enforcing sparsity in hidden layers using distributional regularizers, the proposed Sparse Representation Neural Network (SR-NN) creates localized features that stabilize the bootstrapping process. Experimental results across classic control tasks demonstrate that SR-NN significantly outperforms dense networks and matches the performance of hand-crafted features like tile coding.

Introduction

In Reinforcement Learning (RL), agents typically learn "online" or incrementally, updating their value estimates as they interact with the environment. While deep neural networks are powerful, they suffer from catastrophic interference: because their representations are "dense" (many neurons fire for every input), a weight update intended to improve the estimate for one state often changes the estimates for many unrelated states.

This is particularly deadly in RL because of bootstrapping—the practice of using the network's own current estimates as targets for future learning. If an update in one part of the state space causes instability in another part, the agent ends up chasing a moving target, leading to poor performance or total divergence. The authors aim to bridge the gap between flexible neural networks and traditional "local" features, such as tile coding, that are known for their stability.

Sparse Representation Neural Networks (SR-NN)

The authors introduce the Sparse Representation Neural Network (SR-NN). The core innovation is the use of Distributional Regularizers to force the network to learn sparse, localized features.

The SR-NN architecture utilizes distributional regularizers to enforce a sparse representation in the hidden layers, leading to localized feature activation.

Instead of using standard weight decay ($L_1$ or $L_2$ regularization), the authors penalize the activations of the neurons. They use a Kullback-Leibler (KL) divergence to encourage the distribution of neuron activations to match a sparse target, such as an exponential distribution. To provide more flexibility, they propose a "Set KL" regularizer that only penalizes a neuron if its average activation exceeds a certain threshold. If it is already sparser than the target, the penalty is zero.

The architecture utilizes Rectified Linear Units (ReLU) because they can output a true zero. When paired with an exponential target distribution, the network naturally learns to "turn off" most neurons for any given input, mimicking the behavior of hand-crafted features like radial basis functions.

Experimental Results

The researchers evaluated their approach on four classic RL benchmark domains: Mountain Car, Puddle World, Acrobot, and Catcher. These domains were chosen because they are well-understood, yet difficult for standard neural networks to solve in a purely incremental setting without techniques like experience replay.

Performance Comparison

SR-NN consistently outperformed vanilla neural networks across all domains. In the "Catcher" domain, vanilla NNs failed to learn anything, while SR-NN achieved near-optimal performance, matching hand-crafted tile coding.

Cumulative reward per episode across four benchmark domains, comparing SR-NN against standard neural networks (NN) and tile coding (TC).

Quantitative analysis in Puddle World showed that the "activation overlap" (how many neurons two different states share) was reduced from 54.0 for a standard NN to 8.8 for SR-NN. This drop explains why interference was significantly lower.

Failure of Standard Regularization

The authors found that $L_1, L_2$, and Dropout do not consistently produce the kind of locality needed for stable RL control. In some cases, $L_1$ and $L_2$ actually made the representations denser in terms of the area of the state space they covered. The "Set KL" approach proved much more effective and robust than standard KL regularizers.

Conclusion and Future Work

Sparse representations provide a critical mechanism for stabilizing the bootstrapping process in incremental reinforcement learning. By creating localized features, SR-NN reduces interference and allows neural networks to match the performance of hand-crafted features. While these results are promising on low-dimensional benchmarks, future work is needed to determine how effectively these distributional regularizers scale to high-dimensional inputs, such as raw pixels in complex visual environments.

Summary updated

BibTeX
@inproceedings{liu2019utility,
  author = {Vincent Liu and Raksha Kumaraswamy and Lei Le and Martha White},
  title = {{The Utility of Sparse Representations for Control in Reinforcement Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33014384},
}
Figure