Distributed representations enable robust multi-timescale symbolic computation in neuromorphic hardware

Madison Cotteret, Hugh Greatorex, Alpha Renner, Junren Chen, Emre Neftci, Huaqiang Wu, Giacomo Indiveri, Martin Ziegler, Elisabetta Chicca

Abstract

This paper presents a robust method for embedding symbolic computation—specifically Finite State Machines (FSMs)—into neuromorphic hardware using Recurrent Spiking Neural Networks (RSNNs). By leveraging the mathematical framework of Vector Symbolic Architectures (VSAs), the authors demonstrate a "one-shot" weight programming scheme that is remarkably resilient to hardware noise and scales efficiently to large state spaces. This approach allows symbolic state machines to run on noisy neuromorphic hardware, such as memristive crossbars and Intel’s Loihi 2, without the need for intensive iterative training or platform-specific fine-tuning.

Introduction

Neuromorphic computing aims to mimic the brain's efficiency, but programming these systems remains a significant challenge. Two major hurdles exist: a timescale mismatch, where biological neurons operate on millisecond timescales while cognitive tasks require stability over seconds or minutes; and hardware non-ideality, where emerging analog technologies like memristors are inherently noisy and imprecise. Traditional gradient-based training often fails when transitioning from clean simulations to physical hardware. Current solutions often rely on "chip-in-the-loop" training, which is computationally expensive and lacks scalability. This work proposes an analytical method to program these networks robustly using high-dimensional distributed representations.

Methodology

The core innovation lies in combining Recurrent Spiking Neural Networks (RSNNs) with Vector Symbolic Architectures (VSAs).

  • Distributed Representations: Instead of a localist approach where one neuron represents one state, states are represented as high-dimensional random vectors (hypervectors). This redundancy provides inherent robustness.
  • Sparse Block Codes (SBC): The network utilizes a specific VSA structure where neurons are organized into blocks, and a local Winner-Take-All (WTA) mechanism ensures only one neuron per block spikes.
  • Weight Construction: Weights are calculated in a single shot. The authors superimpose symmetric weights to create stable "attractor" states and asymmetric weights to facilitate transitions.
  • Input Masking as Unbinding: Transitions are triggered by external inputs that "mask" (inhibit) specific neurons. In VSA terms, this acts as an "unbinding" operation that reveals the next state in the sequence.
  • Bridge States: To ensure stability regardless of input timing, intermediate "bridge" states are used to prevent the network from skipping states or becoming stuck during a transition.
An RSNN performing a walk on a 23-state DFA for modular division. The network remains stable in a state until the input triggers a transition.

Experimental Evaluation

The system was evaluated on algorithmic tasks defined by Deterministic Finite Automata (DFAs):

  • Modular Division: A 23-state DFA that calculates the remainder of a binary number divided by 23 (e.g., inputting "68" in binary and checking if the network ends in state $q_{22}$).
  • Large-Scale Scaling: A 300-state DFA used to test the theoretical capacity limits of the architecture.
  • Counter Logic: Simple 4-state counters used for physical memristive hardware tests.

Results

Hardware Deployment

The system was successfully deployed on a physical 64×64 RRAM (Resistive RAM) crossbar. Despite significant device mismatch and "faulty" rows in the hardware, the RSNN performed correct state transitions. Additionally, the 23-state DFA was implemented on Intel’s Loihi 2 chip using 1024 neurons, functioning perfectly without any parameter fine-tuning.

The closed-loop experimental setup for running the RSNN using the 4K RRAM system, including the RRAM chip, DAC/ADC boards, and FPGA interface.

Robustness and Scaling

  • Noise Tolerance: In simulations, the network maintained accuracy even when weights were stochastically binarized and subjected to high levels of Gaussian noise (standard deviation of 0.5).
  • Timing Independence: The network is not reliant on precise input timing; it remains stable in a state until the input changes and a transition is completed.
  • Quadratic Capacity: For sparse networks, the number of states the network can store scales nearly quadratically ($N^2$) with the number of neurons, a significant improvement over localist models.

Discussion and Future Work

While the architecture demonstrates impressive scaling and robustness, it is currently limited to single-layer attractors. For extremely complex logic, "cross-talk" between many stored patterns could lead to instability. Future work could explore using local Hebbian learning rules to allow the network to learn new transitions online. Furthermore, extending this framework to more complex structures, such as "distributed stack machines," could enable the handling of even more sophisticated cognitive algorithms.

Summary updated

BibTeX
@article{cotteret2025distributed,
  author = {Madison Cotteret and Hugh Greatorex and Alpha Renner and Junren Chen and Emre Neftci and Huaqiang Wu and Giacomo Indiveri and Martin Ziegler and Elisabetta Chicca},
  title = {{Distributed representations enable robust multi-timescale symbolic computation in neuromorphic hardware}},
  journal = {Neuromorph. Comput. Eng.},
  year = {2025},
  doi = {10.1088/2634-4386/ada851},
}
Figure