cs.NEOct 15, 2026

Beyond the Hamming Cliff: Compact Spatial Encodings Preserving Semantic Distance in Spiking Neural Networks

Authors: Sergio Davies, Muhammad Aitsam, Morgan-Tyler Stone, Alessandro Di Nuovo, Liangxiu Han

Organizations: Department of Computing and Mathematics, Manchester Metropolitan University, John Dalton Building, Oxford Road, Manchester, M15 6BH, United Kingdom · Centre of Excellence in Artificial Intelligence and Robotics, Sheffield Hallam University, Howard Street, Sheffield, S1 1WB, United Kingdom · Università degli Studi di Catania, Viale Andrea Doria 6, Catania, 95100, Italy

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.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Adaptive Speech-to-Spike Encoding for Spiking Neural Networks

    Jun 17, 2026Taharim Rahman Anon, Jakaria Islam EmonKeyword SpottingSpeech Processing

  2. Quantization of Spiking Neural Networks Beyond Accuracy

    Apr 15, 2026Evan Gibson Smith, Jacob Whitehill, Fatemeh GanjiNeural Network QuantizationSpiking Neural Networks

  3. Hybrid ANN-SNN Pipeline with Local Plasticity

    Jun 18, 2026Denis Larionov, Khairutin Shtanchaev, Mikhail Kiselev +2Spiking Neural NetworksImage Classification