Abstract
Deep Reinforcement Learning (RL) agents have achieved remarkable success in complex environments, yet they remain notoriously sensitive to input noise and occlusions. This study investigates whether converting pre-trained ReLU-based agents into Spiking Neural Networks (SNNs) can mitigate this brittleness. By utilizing discrete, binary spike events rather than continuous activations, the researchers demonstrate that SNNs can act as natural filters for noise. The results show that converted SNN policies maintain human-level performance on Atari games while exhibiting significantly greater robustness to environmental perturbations compared to their traditional deep learning counterparts.
Introduction
Deep Reinforcement Learning has famously surpassed human performance in domains ranging from Atari games to Go. However, these models are often "brittle." Because they rely on high-precision continuous activations, even minor changes to the input—such as a few pixels of noise or a small occlusion—can cause performance to collapse. This sensitivity presents a major hurdle for deploying RL in real-world robotics or edge computing, where sensors are rarely perfect.
Biological systems, by contrast, are incredibly noisy yet remarkably stable. This paper looks to the brain’s communication method—spikes—to bridge this gap. Spiking Neural Networks (SNNs) use discrete, binary events rather than continuous values. The goal is to determine if the inherent "bottleneck" of a spike can act as a natural filter against noise and whether standard RL policies can be effectively represented in a spiking format.
Methods
Rather than training SNNs from scratch—a task complicated by the non-differentiable nature of spikes—the authors employ a conversion approach:
- Training: A standard Deep Q-Network (DQN) is trained using ReLU nonlinearities on the Atari game Breakout.
- Weight Transfer: The learned weights are transplanted into an SNN architecture with an identical structure.
- Neuron Modeling: The study experiments with several spiking neuron models, including Integrate-and-Fire (IF), Leaky Integrate-and-Fire (LIF), and a Stochastic LIF model that incorporates "escape noise" into the firing probability.
- Optimization: To prevent the network from going "silent" due to sparse activity, Particle Swarm Optimization (PSO) is used to find ideal scaling factors for weights in each layer, ensuring the SNN firing rate accurately reflects the original Q-values.
Experimental Setup
The primary testbed for this research is the Arcade Learning Environment (ALE), specifically the game Atari Breakout.
Agents receive 80x80 pixel frames as input. The authors compared two preprocessing methods: Binary (black and white difference frames) and Grayscale (weighted sums of the last four frames to capture motion direction). To test robustness, the researchers introduced horizontal "occlusion bars" that moved across the screen, obscuring critical game elements like the paddle or bricks.
Key Insights and Results
The Spike as a Filter
The most profound insight is that the binary nature of a spike acts as a "microscopic bottleneck." Because a neuron only fires if its input exceeds a threshold, low-level noise or sub-threshold perturbations are ignored and do not propagate through the network. Furthermore, the authors found that Stochastic LIF neurons created a "smoother" performance landscape, making the network less sensitive to exact weight scaling.
Performance and Robustness
- Performance Parity: In many scenarios, converted SNNs outperformed the original ReLU networks. For instance, using grayscale inputs, the ReLU network scored 9.32 ± 0.63, while the SNN with LIF neurons achieved 10.05 ± 0.68.
- Superior Robustness: When subjected to the 3-pixel thick horizontal occlusion bar, the ReLU network’s performance dropped drastically. In contrast, the SNN maintained a much higher average reward across almost all occlusion positions, demonstrating its resilience to visual interference.
- Policy Representation: This work proves that SNNs can represent the complex, fine-grained policies required for RL, where the network must distinguish between very similar action values to make optimal decisions.
Conclusion and Future Work
While SNNs show significant promise for robustness, they currently face computational overhead on traditional hardware. Simulating SNNs over many time steps (500 in this study) per game frame is slower than standard NN inference.
The true potential of this work lies in neuromorphic hardware (such as Intel’s Loihi), designed to run spiking neurons natively with extreme energy efficiency. Future research will focus on more rigorous adversarial attacks and exploring direct training in the spiking domain using biologically inspired rules like Spike-Timing-Dependent Plasticity (STDP).
Summary updated