Abstract
Deep reinforcement learning requires a heavy price in terms of sample efficiency and overparameterization in the neural networks used for function approximation. In this work, we use tensor factorization in order to learn more compact representation for reinforcement learning policies. We show empirically that in the low-data regime, it is possible to learn online policies with 2 to 10 times less total coefficients, with little to no loss of performance. We also leverage progress in second order optimization, and use the theory of wavelet scattering to further reduce the number of learned coefficients, by foregoing learning the topmost convolutional layer filters altogether. We evaluate our results on the Atari suite against recent baseline algorithms that represent the state-of-the-art in data efficiency, and get comparable results with an order of magnitude gain in weight parsimony.
Introduction
Deep reinforcement learning (RL) models are notoriously data-hungry, historically requiring hundreds of millions of frames to learn to play Atari games. Recent algorithmic advances, such as the "Data-efficient Rainbow" baseline, have significantly improved sample efficiency, reducing training requirements to just a few hours of gameplay. However, these models remain heavily overparameterized, relying on millions of learned weights. Drawing inspiration from biological brains—which possess innate, pre-wired structures for sensory processing—this research investigates whether RL agents can be both sample-efficient and weight-efficient.
Methods
The proposed architecture builds upon the Data-efficient Rainbow algorithm, introducing modifications to enforce parameter parsimony:
- Tensor Regression Layers (TRL): Standard fully-connected linear layers are replaced with TRLs. Using Tucker decomposition, TRLs learn a low-rank approximation of weights, enabling compact policy representation and significantly reducing parameter counts.
- Wavelet Scattering: To mimic the fixed, Gabor-like filters in the visual cortex, the first learned convolutional layer is replaced with a wavelet scattering transform. This frozen, non-linear feature extractor eliminates the need to learn weights for early visual processing.
- Second-Order Optimization (K-FAC): To address the training difficulties inherent in highly compressed networks, the Adam optimizer is replaced with Kronecker-factored approximate curvature (K-FAC). This second-order method approximates the natural gradient to accelerate convergence.
Results and Discussion
The models were evaluated on 26 Atari 2600 games in a low-data regime (100,000 environment steps). The results demonstrate that parsimony does not necessarily preclude performance.
As shown in the performance table above, using Tensor Regression Layers alone allows an agent with 2.5x fewer parameters to achieve 96% of the baseline Data-efficient Rainbow's average score. Even at 10x compression, the agent maintains 71% of baseline performance. Interestingly, the mathematical approximation error in tensor factorization appears to promote exploration, acting similarly to NoisyNets but without the parameter overhead.
Optimization plays a critical role in maintaining performance under compression. When combining a 5x compressed TRL network with the K-FAC optimizer, the agent outperforms the baseline, reaching 109% of the average score. While Wavelet Scattering further reduces parameters, it leads to a drop in average performance to 56%, though it remains highly effective in specific titles like Demon Attack.
Conclusion
This work demonstrates that RL policies can be significantly compressed using low-rank tensor factorizations and biologically-inspired priors with minimal performance loss. While high compression can introduce training instability, second-order optimizers like K-FAC effectively mitigate these challenges. Future research will explore more advanced scattering architectures and weight sparsity to further enhance parameter efficiency.
Summary updated