Beyond the Hamming Cliff: Compact Spatial Encodings Preserving Semantic Distance in Spiking Neural Networks
Sergio Davies, Muhammad Aitsam, Morgan-Tyler Stone, Alessandro Di Nuovo, Liangxiu Han
Abstract
By pre-processing input signals with Gray, Thermometer, Johnson and hybrid encodings before passing them to spiking neural networks running on SpiNNaker hardware, Davies et al.(2025) address the semantic-spatial disparity that causes the ``Hamming cliff'' in standard binary representations. Continuous semantic patterns are presented as a set of simultaneous spikes at the input layer, preserving ultra-low latency processing. Training the network on multiple continuous values under each scheme, and measuring accuracy, required homeostatic scaling and false-positive rates, shows that removing the cliff is necessary but not sufficient: Gray encoding removes it yet retains little global distance structure, whereas Thermometer and Johnson preserve semantic distance at a code width that grows with the value range. The proposed hybrid encodings contain all three as limiting cases of a single parameter, recovering most of that structure at a fraction of the width. The homeostatic factor is shown to set a radius of tolerance around each trained pattern, so that the choice of encoding alone decides which values the network treats as similar.
Create a lesson
Related papers
Controllable Stochastic Quantization Encoding for Adversarially Robust Spiking Neural Networks
Shared title terminology · Yujia Liu, Peiyu Liu, Yajing Zheng et al.
Spiking Neural Networks Incrementally Track Firing-Rate Networks
Shared title terminology · Hyunseok Oh, Youngki Lee
Understanding Spike Encoding across IoT Sensing Modalities: An Empirical Study
Shared title terminology · Yuxuan Hou, Di Yu, Linshan Jiang et al.
Neural Activity Synchronization-Based Fast Local Learnable Spiking Neural Network Architecture
Shared title terminology · Pranith Dutta, Sk Wasim Rajjak, Siddhanta Ray et al.
Bridging Spiking and Continuous Dynamics in Spiking Neural Networks: A Muscle-Inspired Model
Shared title terminology · Maryam Soltani, Philip N. Garner
GC-LIF: Spiking Group-Equivariant Neural Network With Group-Coupled Membrane Dynamics
Shared title terminology · Nhan Trong Luu, Duong Trung Luu, Thang Cong Truong