Deployment Pipeline from Rockpool to Xylo for Edge Computing

Peng Zhou, Peng Zhou 0017, Dylan R. MuirarXiv 2024 · DOI

Introduction

Deploying neural networks onto custom Application-Specific Integrated Circuit (ASIC) hardware is a significant hurdle in neuromorphic engineering. While high-level frameworks like PyTorch facilitate model design, translating these into the rigid, low-level operations required by specialized hardware often creates a "valley of death" characterized by manual engineering. This paper introduces a streamlined deployment pipeline bridging the gap between high-level Spiking Neural Network (SNN) design in the Rockpool framework and low-level execution on the Xylo neuromorphic chip.

For edge computing, SNNs offer superior power efficiency by processing data only when "spikes" occur. However, aligning dynamic Python models with physical chips—which have strict limits on neuron counts, bit-depths, and connectivity—remains challenging. This work provides an extensible pipeline that automates this translation, ensuring a "bit-precise" transition from code to silicon.

The Deployment Pipeline

The authors detail a multi-stage pipeline designed to move a model from a research environment to the Xylo chip:

The multi-stage deployment pipeline from high-level Rockpool design to Xylo hardware execution.

The process begins with Model Construction, where users build networks in Rockpool using standard modules such as Leaky Integrate-and-Fire (LIF) neurons and Linear layers. This is followed by Graph Extraction, converting the dynamic Python model into a static computational graph blueprint. The Hardware Mapping stage uses the x.mapper() function to assign physical resources on the Xylo chip.

To accommodate fixed-point logic, the pipeline performs Quantization, offering both Global and Channel-specific methods. Finally, Validation via Simulation ensures the model is run through XyloSim, a bit-precise simulator that mimics the hardware's exact logic before physical deployment.

Hardware-Software Co-design

The pipeline supports complex architectures, including residual connections and recurrent weights, which are essential for capturing temporal dynamics in edge AI tasks.

A residual spiking neural network architecture supported by the pipeline, featuring LIF neurons and recurrent weights.

A critical component of this co-design is the bit-precise simulator. By ensuring XyloSim behaves identically to the hardware, developers can debug temporal dynamics without requiring physical chip access at every stage. The authors demonstrated "perfect fidelity," where membrane potentials and synaptic currents recorded from the Xylo Hardware Development Kit (HDK) were indistinguishable from simulation results.

Results and Discussion

The pipeline successfully manages Xylo’s hardware constraints, supporting up to 1000 hidden LIF neurons, 8-bit weight depth, and 16-bit state depth. This event-driven architecture enables the ultra-low-power consumption required for wearables and remote sensors.

While the pipeline ensures accuracy, recording every internal state for debugging introduces overhead that can reduce execution speed. Future work will explore multi-chip deployments to scale beyond current neuron limits and validate the pipeline on diverse real-world tasks such as keyword spotting and gesture recognition.

Summary updated

Abstract

Deploying Spiking Neural Networks (SNNs) on the Xylo neuromorphic chip via the Rockpool framework represents a significant advancement in achieving ultra-low-power consumption and high computational efficiency for edge applications. This paper details a novel deployment pipeline, emphasizing the integration of Rockpool's capabilities with Xylo's architecture, and evaluates the system's performance in terms of energy efficiency and accuracy. The unique advantages of the Xylo chip, including its digital spiking architecture and event-driven processing model, are highlighted to demonstrate its suitability for real-time, power-sensitive applications.
BibTeX
@misc{zhou2024deployment,
  author = {Peng Zhou and Peng Zhou and Dylan R. Muir},
  title = {{Deployment Pipeline from Rockpool to Xylo for Edge Computing}},
  year = {2024},
  eprint = {2412.11047},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.11047},
}
Figure