Hardware Acceleration of State Space Model-based Generative AI at the Edge

Robin Geens , Marian Verhelst Hardware-efficient AI and ML

In a transformer, attention compares every token with every other token, so its cost grows quadratically with the number of tokens. State-space models (SSMs) such as Mamba replace attention with the token-by-token update of a fixed-size hidden state, so their cost grows only linearly. We design edge accelerators for SSMs and optimize these accelerators at the level of the dataflow.

Research goal: Autonomous cars, robots and drones have to interpret high-resolution images and long sensor recordings on the device itself. Our goal is edge hardware that runs SSMs efficiently on such inputs, including megapixel images of about 65,000 tokens.

Gap in the SotA: Edge accelerators are designed for large matrix multiplications, whereas the state update of an SSM performs few computations per byte and is therefore limited by the on-chip memory bandwidth. Moreover, the 24 operands of a Mamba block differ in their access patterns, which a conventional memory system serves only with bank conflicts or large crossbars. So far, no fabricated SSM accelerator processes megapixel images.

Recent results:

An accelerator chip for SSMs. We optimized the chip's dataflow, which determines the order of the operations and where their results are stored. This dataflow keeps the state update from being limited by the on-chip memory bandwidth. Moreover, the chip's memory system serves the access pattern of every operand. We built the chip with SNAX, our group's open-source platform for multi-accelerator compute clusters. Besides megapixel image segmentation, the chip is flexible enough to cover a wide range of Mamba-based applications, from image and video classification to EEG analysis.

Fine-grained fusion for SSM accelerators (PACT 2025). We extended Stream, our group's open-source framework for exploring multi-core accelerators, to model the fine-grained fusion of SSM operations. Fusion keeps intermediate results on chip and speeds up SSM inference by up to 4.8× over unfused execution. Moreover, a fusion-aware accelerator would reach 1.78× the performance of the state-of-the-art MARCA accelerator in the same area.

The Hyperscale Lottery (ITEM workshop at ECML-PKDD 2026). With colleagues at Stanford University, we showed that newer versions of Mamba are optimized for data-center GPUs, which process large batches of requests at once. On edge devices, which usually process one input at a time, a 15M-parameter Mamba-3 model therefore has an estimated 48% higher latency than Mamba-2. We argue for applying optimizations for large batches at deployment time instead of building them into the model.

Get in touch
Robin Geens
Phd student
Marian Verhelst
Academic staff

Publications about this research topic

Robin Geens, Arne Symons, Marian Verhelst, "Fine-Grained Fusion: The Missing Piece in Area-Efficient State Space Model Acceleration," International Conference on Parallel Architectures and Compilation Techniques (PACT), 2025. arXiv:2504.17333

Robin Geens, Jonas De Schouwer, Marian Verhelst, Thierry Tambe, "The Hyperscale Lottery: How State-Space Models Have Sacrificed Edge Efficiency," ITEM Workshop at ECML-PKDD, 2026. arXiv:2604.07935

Other research topics in Hardware-efficient AI and ML

Adaptive hardware for embodied AI
Hardware-efficient AI and ML
Robin Geens, Chao Fang, and Jonas Crols | Marian Verhelst
Vertically-Integrated Logic Fabrics for Future 3D Computing Platforms
Hardware-efficient AI and ML
Jannes Willemen | Marian Verhelst
A Mix-Signal Ising Accelerator for Real-World Applications
Mixed-signal circuits and data converters, Hardware-efficient AI and ML
Jiacong Sun, Toon Bettens, Sofie De Weer, Axel Theunis, and Andreas Pedersen | Wim Dehaene and Marian Verhelst
Precision-Scalable Microscaling Hardware for Continual Learning at the Edge
Hardware-efficient AI and ML
Stef Cuyckens | Marian Verhelst
XDMA: A Distributed DMA for Flexible and Efficient Data Movement in Heterogeneous Multi-Accelerator SoCs
Hardware-efficient AI and ML
Yunhao Deng and Fanchen Kong | Marian Verhelst
Hardware for low- and variable-precision Large Language Models
Hardware-efficient AI and ML
Robin Geens and Chao Fang | Marian Verhelst
Carbon-aware Design Space Exploration for AI Accelerators
Hardware-efficient AI and ML
Jiacong Sun | Georges Gielen and Marian Verhelst
Decoupled Control Flow and Memory Orchestration in the Vortex GPGPU
Hardware-efficient AI and ML
Giuseppe Sarda | Marian Verhelst
A Scalable Heterogenous Multi-accelerator Platform for AI and ML
Hardware-efficient AI and ML
Ryan Antonio | Marian Verhelst
Scalable large array nanopore readouts for proteomics and next-generation sequencing
Analog and power management circuits, Hardware-efficient AI and ML, Biomedical circuits and sensor interfaces
Sander Crols | Filip Tavernier and Marian Verhelst
Multi-core architecture exploration for layer-fused deep learning acceleration
Hardware-efficient AI and ML
Arne Symons | Marian Verhelst
High-throughput high-efficiency SRAM for neural networks
Ultra-low power digital SoCs and memories, Hardware-efficient AI and ML
Wim Dehaene and Marian Verhelst

Want to work with us?

Get in touch or discover the way we can collaborate.