mlsanityData to 14 Oct 2026

SNN-MLIR: An MLIR Dialect for Compiling Neuromorphic SNNs from NIR to Bare-Metal C

arXiv 2606.09213 ↗First posted 8 Jun 2026cs.PL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Spiking neural networks (SNNs) are increasingly trained in a wide range of frameworks (SnnTorch, Lava, Norse, and others) each with its own model format. The Neuromorphic Intermediate Representation (NIR) addresses this fragmentation by providing a common, framework-independent format for exchanging trained SNN models. NIR solves the exchange problem, but it stops there. It provides a description of a network, not a path to running one. Each backend is still left to implement deployment on its own, with no shared, transformable compiler representation in between. This paper presents snn-mlir, an outof-tree MLIR dialect for SNNs together with a NIR-MLIR-C compilation bridge. The dialect provides a small set of typepolymorphic operations that work identically on floating-point (f32/f64) and quantized data, so a single intermediate representation serves both simulation and hardware-oriented deployment. A Python front end reads any NIR file and emits dialect IR, automatically inserting rescaling operations to keep quantization scales consistent across layers. A reference lowering pass converts the dialect to standard linalg and arith operations, from which the toolchain produces self-contained, dependency free C11 code that compiles and runs on any C-capable CPU or embedded target. We evaluate numerical fidelity against reference outputs, portability across CPU targets, and the cost of quantization. The current scope is feedforward, fully-connected networks with a CPU backend. snn-mlir is released as open source under the Apache-2.0 license with LLVM-exception and it is already available on Github.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 3 of its 10 references that are in the map. First posted on arXiv 8 Jun 2026.

Builds on

3 of 10 references.

References · 3

  1. 2021Training Spiking Neural Networks Using Lessons From Deep Learningcited by 259
  2. 2023Neuromorphic Intermediate Representation: A Unified Instruction Set for Interoperable Brain-Inspired Computingcited by 22
  3. 2020Nengo and low-power AI hardware for robust, embedded neuroroboticscited by 15

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025SpikeFit: Towards Optimal Deployment of Spiking Networks on Neuromorphic Hardware
  2. 2025A PyTorch-Compatible Spike Encoding Framework for Energy-Efficient Neuromorphic Applications
  3. 2023Is Conventional SNN Really Efficient? A Perspective from Network Quantization
  4. 2026Kirin: Improving ANN efficiency with SNN Hybridization
  5. 2024Sorbet: A Neuromorphic Hardware-Compatible Transformer-Based Spiking Language Model
  6. 2026NEXUS: Bit-Exact ANN-to-SNN Equivalence via Neuromorphic Gate Circuits with Surrogate-Free Training
  7. 2023Gradient-descent hardware-aware training and deployment for mixed-signal Neuromorphic processors
  8. 2023When Bio-Inspired Computing meets Deep Learning: Low-Latency, Accurate, & Energy-Efficient Spiking Neural Networks from Artificial Neural Networks