← Latest papers
⚡ electrical engineering

Improving Performance of Spike-based Deep Q-Learning using Ternary Neurons

This paper proposes a Deep Asymmetric Ternary Spiking Q-Network (DATSQN) that utilizes a novel ternary spiking neuron model to mitigate gradient estimation bias, thereby overcoming the performance degradation of existing ternary models and outperforming binary baselines in deep Q-learning tasks across seven Atari games.

Original authors: Aref Ghoreishee, Abhishek Mishra, John Walsh, Anup Das, Nagarajan Kandasamy

Published 2026-08-13
📖 6 min read🧠 Deep dive

Original authors: Aref Ghoreishee, Abhishek Mishra, John Walsh, Anup Das, Nagarajan Kandasamy

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot to play video games. To make decisions, the robot needs a brain, and in the world of artificial intelligence, we often build these brains using "neural networks." These networks are inspired by the human brain, where tiny units called neurons pass signals to each other. In traditional computer brains, these signals are like smooth, continuous waves of electricity. But in a special kind of brain called a "Spiking Neural Network" (SNN), the neurons communicate using tiny, sharp bursts of electricity called "spikes," much like how real biological neurons fire. This method is incredibly energy-efficient, making it perfect for mobile robots or devices that can't carry heavy batteries.

However, there's a catch. Most of these efficient spiking brains only have two states: they either fire a spike (1) or they stay silent (0). It's like a light switch that can only be on or off. This limits how much information the robot can hold in its head at once. Recently, scientists tried to upgrade these switches to "ternary" neurons, which have three states: fire positively (+1), stay silent (0), or fire negatively (-1). You might think adding a "negative" switch would make the robot smarter, but surprisingly, when they tried this in a video game setting, the robots actually got worse at playing. This paper dives into that mystery, asking why having more options made the robot dumber, and how they fixed it to make the robot a gaming champion again.


The Mystery of the Dumber Robot

The researchers, a team from Drexel University, set out to test these new "ternary" neurons in a deep learning system designed to play Atari video games (the classic arcade games like Breakout and Space Invaders). They had a hunch that the problem wasn't the extra state itself, but how the neurons were learning.

Think of training a robot like teaching a dog tricks. You give the dog a command, it tries, and you give it a treat (a reward) or a "no" (a penalty). In the world of AI, this "treat" is calculated by looking at the difference between what the robot expected and what actually happened. This difference is called the "gradient," and it tells the robot how to adjust its brain to do better next time.

The team discovered that the standard ternary neurons were like a teacher who only cared about the direction of the mistake, not the size of it. If the robot made a mistake, the ternary neuron could only say, "You went the wrong way!" (+1 or -1), but it completely ignored the question of "How much did you mess up?" (the activity). In the early stages of learning a video game, the robot is often guessing wildly, so the "direction" of the error is confusing and random. Because the standard ternary neurons were so focused on direction, they got lost in the noise and stopped learning entirely. It was as if the robot was trying to navigate a foggy maze while only listening to a compass that spun randomly; it just stood still.

The Asymmetric Fix

To solve this, the authors proposed a new design called the Deep Asymmetric Ternary Spiking Q-Network (DATSQN). They realized that nature had the answer all along. In the human brain, not all neurons are created equal. About 80% of our neurons are "excitatory" (they push the brain to act), and only about 20% are "inhibitory" (they tell the brain to stop). The old ternary models treated these two types as perfect mirror images of each other, which is biologically unrealistic.

The team's new model broke this symmetry. They created a neuron where the "positive" (excitatory) and "negative" (inhibitory) thresholds were different. One way to visualize this is to imagine a door with two different locks. The old model had two identical locks; if you pushed too hard on either side, the door opened the same way. The new model has a heavy, hard-to-open lock on the "stop" side and an easy-to-open lock on the "go" side. This asymmetry meant that even when the robot was confused about the direction of its mistake, the neuron could still send a clear signal about how much it should be active. It kept the "volume knob" working even when the "direction arrow" was spinning.

The Results: From Stalled to Superstar

The team tested this new brain in seven different Atari games, pitting it against the old binary (on/off) robots and the standard ternary robots. They made the task harder by forcing the robots to make decisions faster (using a shorter simulation time window of 20 steps instead of 40), which usually makes learning much more difficult.

The results were striking. The standard ternary robots (DTSQN) performed terribly, scoring much lower than the basic binary robots. They were indeed stuck in the learning fog. However, the new asymmetric robots (DATSQN) didn't just catch up; they soared. In six out of the seven games, the new model beat the binary baseline, achieving a 30% improvement in the average game score. For example, in Beam Rider, the new robot scored 4,000 points compared to the binary robot's 2,069. In Breakout, it scored 252 points versus 207.

The researchers also checked the "heartbeat" of the training process. They found that the new model's learning signals remained strong and stable, avoiding the "vanishing gradient" problem where the robot forgets how to learn. They also observed that the neurons in their new model naturally evolved to be mostly excitatory, just like in a real human brain, with positive spikes outnumbering negative ones by a ratio of at least 60%.

What This Means

This paper suggests that simply adding more states to a neuron isn't enough; you have to design how those states learn. By mimicking the natural imbalance of excitatory and inhibitory neurons in the human brain, the team created a spiking network that is not only more energy-efficient but also smarter at learning complex tasks. While the study was conducted in simulations of video games, the findings suggest that this "asymmetric" approach could be the key to building better, more efficient AI brains for robots and other devices in the future. The authors note that while their model works great in these games, it's still a suggestion for how to build better systems, and it will be interesting to see if this approach helps in other areas like vision or language processing.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →