NIR: A Unified Instruction Set for Brain-Inspired Computing

See how the Neuromorphic Intermediate Representation (NIR) enables seamless SNN model deployment across Norse, SynSense Speck, and SpiNNaker2 hardware.

This workshop introduces the Neuromorphic Intermediate Representation (NIR), a crucial open-source standard designed to decouple neuromorphic algorithm development from specific hardware constraints. The session demonstrates how researchers can use NIR to port dynamic, spiking neural network models effortlessly between disparate software frameworks and neuromorphic edge hardware.

Key Takeaways

  • NIR acts as a unified bridge, allowing spiking models trained in PyTorch-based libraries to deploy across diverse hardware backends.
  • Neuromorphic systems rely on continuous-time dynamical graphs, which NIR captures without forcing discrete time-step approximations.
  • Live demonstrations prove that a single model exported from Norse can run efficiently on both the Speck chip and SpiNNaker2.

Workshop Format & Takeaways

The session combined theoretical background on the “hardware lottery” with practical, live-code demonstrations. Presenters walked through training a basic convolutional spiking neural network on Neuromorphic MNIST using Norse, exporting that exact model into the NIR graph format, and deploying it live to two entirely different hardware architectures: the digital asynchronous SynSense Speck chip (using the Synabs library) and the SpiNNaker2 many-core system (using PySpiNNaker2).

What This Means for the Field

The deep learning boom was largely fueled by interoperable frameworks (like ONNX) that allowed developers to train a model in PyTorch and deploy it on almost any accelerator. Neuromorphic computing has historically lacked this, forcing researchers to rewrite models from scratch for every new chip. NIR solves this fundamental ecosystem bottleneck. By providing a unified “instruction set” based on continuous-time dynamical systems, NIR allows the community to share models, benchmark fairly, and finally decouple software innovation from hardware availability.

“It turns out that good research ideas win because they are compatible with what exists in terms of software and hardware. It’s not because the idea is any better than any other idea.”

“We wrote thousands of lines of code so you only have to write one… You take a model, export it to NIR, and if I want to import something in a hardware-facing library, I just go ‘model from near’.”

About the Speakers

Jens E. Pedersen

Jens E. Pedersen

Doctoral student at KTH, modeling neuromorphic systems to solve real-world challenges. Maintainer of Norse, AEStream, Faery, and co-author of NIR.

Bernhard Vogginger

Research associate at TU Dresden, leading SpiNNaker2 software development and co-author of NIR. Interested in radar processing and AI sustainability.
Jason Eshraghian

Jason Eshraghian

Assistant Professor at UC Santa Cruz, leading UCSC Neuromorphic Computing Group. Focuses on brain-inspired circuits for AI & SNNs. Maintainer of snnTorch.

Felix Bauer

Neuromorphic engineer at SynSense, working on algorithms and chips. Co-authored NIR and published on GPU-accelerated SNNs via Sinabs.
Social share preview for NIR: A unified instruction set for brain-inspired computing

Upcoming Workshops

No workshops are currently scheduled. Check back soon for new events!

Are you an expert in a neuromorphic topic? We invite you to share your knowledge with our community.

Inspired? Share your work.

Share your expertise with the community by speaking at a workshop, student talk, or hacking hour. It’s a great way to get feedback and help others learn.

Related Workshops

What's Catching Your Eye? The Visual Attention Mechanism

What's Catching Your Eye? The Visual Attention Mechanism

A bio-inspired visual attention model leverages event cameras and SpiNNaker neuromorphic hardware to give robotic agents low-latency, depth-aware object focus.

Evolutionary Optimization for Neuromorphic Systems

Evolutionary Optimization for Neuromorphic Systems

The EONS framework applies evolutionary algorithms to co-design spiking neural network topologies and parameters for diverse neuromorphic hardware.

Programming Scalable Neuromorphic Algorithms with Fugu

Programming Scalable Neuromorphic Algorithms with Fugu

Discover how the Fugu framework provides a hardware-agnostic intermediate representation for programming scalable, non-deep-learning neuromorphic algorithms.