[Paper Review] Playing Atari with Six Neurons
This paper proposes a novel method that decouples feature extraction from policy learning in deep reinforcement learning, using two new algorithms—Increasing Dictionary Vector Quantization (IDVQ) and Direct Residuals Sparse Coding (DRSC)—to generate compact, information-rich representations from raw Atari game frames. A tiny neural network with only 6–18 neurons achieves state-of-the-art performance on multiple Atari games, using two orders of magnitude fewer parameters than standard deep reinforcement learning approaches.
Deep reinforcement learning, applied to vision-based problems like Atari games, maps pixels directly to actions; internally, the deep neural network bears the responsibility of both extracting useful information and making decisions based on it. By separating the image processing from decision-making, one could better understand the complexity of each task, as well as potentially find smaller policy representations that are easier for humans to understand and may generalize better. To this end, we propose a new method for learning policies and compact state representations separately but simultaneously for policy approximation in reinforcement learning. State representations are generated by an encoder based on two novel algorithms: Increasing Dictionary Vector Quantization makes the encoder capable of growing its dictionary size over time, to address new observations as they appear in an open-ended online-learning context; Direct Residuals Sparse Coding encodes observations by disregarding reconstruction error minimization, and aiming instead for highest information inclusion. The encoder autonomously selects observations online to train on, in order to maximize code sparsity. As the dictionary size increases, the encoder produces increasingly larger inputs for the neural network: this is addressed by a variation of the Exponential Natural Evolution Strategies algorithm which adapts its probability distribution dimensionality along the run. We test our system on a selection of Atari games using tiny neural networks of only 6 to 18 neurons (depending on the game's controls). These are still capable of achieving results comparable---and occasionally superior---to state-of-the-art techniques which use two orders of magnitude more neurons.
Motivation & Objective
- To investigate whether policy learning in Atari games can be achieved with extremely small neural networks by decoupling feature extraction from decision-making.
- To address the limitation of end-to-end deep reinforcement learning, where feature extraction and policy learning are conflated in a single high-capacity network.
- To develop a method that enables online, open-ended learning of compact, sparse representations of visual observations without relying on reconstruction error minimization.
- To demonstrate that small policy networks can achieve competitive performance when paired with an efficient, adaptive feature encoder.
- To challenge the prevailing orthodoxy that complex, end-to-end deep networks are necessary for vision-based reinforcement learning tasks.
Proposed method
- Introduces Increasing Dictionary Vector Quantization (IDVQ), an online algorithm that grows a dictionary of centroids in the observation space to encode novel visual features as they emerge during environment interaction.
- Employs Direct Residuals Sparse Coding (DRSC), which encodes observations by maximizing information inclusion rather than minimizing reconstruction error, producing a binary code indicating which centroids contain relevant information.
- Uses the evolving dictionary size to dynamically increase the input dimensionality of the policy network, which is handled by a specialized variant of Exponential Natural Evolution Strategies that adapts its multivariate Gaussian distribution’s dimensionality over time.
- Trains the encoder autonomously by selecting relevant observations from the agent’s interaction with the environment, ensuring continual adaptation to new visual patterns.
- Employs a single-layer neural network policy with only 6–18 neurons, trained via neuroevolution to map compact codes to actions.
- Maintains a balance between code sparsity and information completeness by constructing new centroids as residuals from the current encoding, ignoring reconstruction artifacts.
Experimental results
Research questions
- RQ1Can a policy network with only 6–18 neurons achieve competitive performance on Atari games when paired with an efficient, separate feature encoder?
- RQ2Is it possible to learn compact, informative visual representations without minimizing reconstruction error, and does this lead to better policy performance?
- RQ3Can an online, open-ended feature learning system adapt to increasingly complex visual observations during reinforcement learning without prior knowledge of the environment?
- RQ4Does decoupling feature learning from policy learning enable smaller, more interpretable, and potentially more generalizable policies compared to end-to-end deep learning?
- RQ5To what extent can a minimal neural network policy generalize across diverse Atari games when provided with high-quality, sparse, and information-rich representations?
Key findings
- The proposed method achieves state-of-the-art performance on multiple Atari games using only 6 to 18 neurons in the policy network—two orders of magnitude fewer than standard deep reinforcement learning baselines.
- The system outperforms or matches the performance of larger networks on challenging games such as Qbert, which requires strategic planning and precise timing.
- The use of DRSC and IDVQ enables effective feature extraction without reconstruction error minimization, demonstrating that information completeness is more critical than perfect reconstruction for policy learning.
- The encoder autonomously selects and learns from novel observations during training, enabling adaptation to new visual patterns in an open-ended, online manner.
- The Exponential Natural Evolution Strategy variant successfully manages increasing input dimensionality by adapting its distribution’s dimensionality over time, enabling stable training of the evolving policy.
- The method achieves competitive results on common hardware, without requiring large-scale server farms, and the source code is publicly available for reproducibility.
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.