[Paper Review] Learning sparse representations in reinforcement learning
This paper proposes using k-Winners-Take-All (kWTA) mechanisms in artificial neural networks to learn sparse, distributed internal representations in reinforcement learning, significantly improving performance on classic control tasks—Puddle-world, Mountain-car, and Acrobot—where standard TD learning with backpropagation fails. The method leverages lateral inhibition to balance generalization and pattern separation, reducing catastrophic interference and enabling successful learning in previously intractable environments.
Reinforcement learning (RL) algorithms allow artificial agents to improve their selection of actions to increase rewarding experiences in their environments. Temporal Difference (TD) Learning -- a model-free RL method -- is a leading account of the midbrain dopamine system and the basal ganglia in reinforcement learning. These algorithms typically learn a mapping from the agent's current sensed state to a selected action (known as a policy function) via learning a value function (expected future rewards). TD Learning methods have been very successful on a broad range of control tasks, but learning can become intractably slow as the state space of the environment grows. This has motivated methods that learn internal representations of the agent's state, effectively reducing the size of the state space and restructuring state representations in order to support generalization. However, TD Learning coupled with an artificial neural network, as a function approximator, has been shown to fail to learn some fairly simple control tasks, challenging this explanation of reward-based learning. We hypothesize that such failures do not arise in the brain because of the ubiquitous presence of lateral inhibition in the cortex, producing sparse distributed internal representations that support the learning of expected future reward. The sparse conjunctive representations can avoid catastrophic interference while still supporting generalization. We provide support for this conjecture through computational simulations, demonstrating the benefits of learned sparse representations for three problematic classic control tasks: Puddle-world, Mountain-car, and Acrobot.
Motivation & Objective
- To address the failure of temporal difference (TD) learning with neural network function approximators on simple control tasks like Puddle-world, Mountain-car, and Acrobot.
- To investigate whether sparse, conjunctive neural representations—inspired by cortical lateral inhibition—can prevent catastrophic interference and improve learning stability.
- To test the hypothesis that the brain avoids TD learning failures not through algorithmic changes, but via sparse coding enabled by lateral inhibition.
- To evaluate whether k-Winners-Take-All (kWTA) mechanisms in neural networks can produce sparse representations that support robust value function approximation in model-free RL.
- To demonstrate that sparse representations enable successful learning in tasks where standard backpropagation-based networks fail, even with simple architectures.
Proposed method
- The authors implement a state-action value function approximator using a feedforward neural network with a k-Winners-Take-All (kWTA) mechanism in its hidden layer to enforce sparsity.
- The kWTA mechanism selects exactly k active neurons per input, promoting sparse, distributed representations through lateral inhibition, mimicking cortical microcircuit dynamics.
- The network is trained using the SARSA algorithm with experience replay and target networks to stabilize learning, while the value function is approximated via the neural network's output.
- The method is evaluated on three classic control tasks: Puddle-world, Mountain-car, and Acrobot, using identical hyperparameters across network variants.
- Performance is compared across three network types: linear (no hidden layer), standard backpropagation (regular), and kWTA-based networks, with training and testing phases separated.
- During testing, weights are frozen and no exploration is allowed, measuring generalization via average TD error and number of steps to reach the goal.
Experimental results
Research questions
- RQ1Can sparse distributed representations, enforced via k-Winners-Take-All (kWTA), resolve the failure of TD learning with neural networks on simple control tasks?
- RQ2Does lateral inhibition in neural circuits—modeled via kWTA—enable better generalization while minimizing catastrophic interference in value function approximation?
- RQ3Do sparse representations improve learning stability and convergence in model-free reinforcement learning, particularly in environments with discontinuous value functions?
- RQ4Can the kWTA mechanism explain why biological systems (e.g., midbrain dopamine system) succeed at RL tasks where artificial networks fail?
- RQ5Is the performance gap between standard backpropagation networks and kWTA networks due to improved pattern separation or enhanced generalization?
Key findings
- The kWTA-based network successfully learned the optimal policy in the Acrobot control task, while both the linear and regular backpropagation networks failed to converge to optimal performance.
- In the Puddle-world task, the kWTA network achieved significantly lower average TD error and fewer steps to goal compared to the regular network, which exhibited high instability and poor convergence.
- For the Mountain-car task, the kWTA network demonstrated faster convergence and lower TD error, with consistent performance across training runs, unlike the regular network which often failed to learn.
- Testing results showed that only the kWTA network maintained low TD error and minimal steps to goal after training, indicating robust generalization and stable value function approximation.
- The regular backpropagation network showed high variance in performance, frequent divergence, and poor generalization, especially in tasks with non-linear value function structures.
- The results support the hypothesis that sparse representations, enforced via lateral inhibition, are essential for stable and effective TD learning in high-dimensional, non-linear environments.
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.