Hybrid Temporal-8-Bit Spike Coding for Spiking Neural Network Surrogate Training
Luu Trong Nhan, Luu Trung Duong, Pham Ngoc Nam, Truong Cong Thang
TL;DR
The paper addresses the performance gap of spiking neural networks on vision tasks by introducing a hybrid temporal-8-bit spike coding method that combines time-to-first-spike encoding with bit-plane decompositions of input images for surrogate-gradient training. It details bit-plane extraction, TTFS timing, and concatenation into a single spike chain, and validates the approach across grayscale and color datasets, multiple SNN architectures, and optimization algorithms. The empirical results show consistent improvements over TTFS and prior hybrid methods, with notable gains on RGB datasets and robustness across architectures, indicating strong potential for efficient, scalable SNNs in vision tasks. The work also provides open-source code to facilitate adoption and replication in the community.
Abstract
Spiking neural networks (SNNs) have emerged as a promising direction in both computational neuroscience and artificial intelligence, offering advantages such as strong biological plausibility and low energy consumption on neuromorphic hardware. Despite these benefits, SNNs still face challenges in achieving state-of-the-art performance on vision tasks. Recent work has shown that hybrid rate-temporal coding strategies (particularly those incorporating bit-plane representations of images into traditional rate coding schemes) can significantly improve performance when trained with surrogate backpropagation. Motivated by these findings, this study proposes a hybrid temporal-bit spike coding method that integrates bit-plane decompositions with temporal coding principles. Through extensive experiments across multiple computer vision benchmarks, we demonstrate that blending bit-plane information with temporal coding yields competitive, and in some cases improved, performance compared to established spike-coding techniques. To the best of our knowledge, this is the first work to introduce a hybrid temporal-bit coding scheme specifically designed for surrogate gradient training of SNNs.
