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
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Biologically-Inspired Spike Encoding and Optimization for Spiking Neural NetworksarXiv · 2026
- Rethinking the Tradeoff Between Temporal Encoding and Nonlinear Computation in Spiking Language ModelsarXiv · 2026
- Continuous attribution on discrete spikes: revealing the explainability paradox in spiking neural networksNeuromorphic Computing and Engineering · 2026
- C-SOM SNN: A Continuous Self-Organizing Map Spiking Neural Network Based on STDP Unsupervised Learning Encoding with Designed Lateral Inhibition Distribution.Biomimetics (Basel, Switzerland) · 2026
- Mixed-timestep spiking neural networks: a temporal alignment framework for high-efficiency neuromorphic computing.Frontiers in neuroscience · 2026
- Understanding Spike Encoding across IoT Sensing Modalities: An Empirical StudyarXiv · 2026