SpecMamba: Accelerating Mamba Inference on FPGA with Speculative Decoding
On the map: Efficient LLM inference and serving → Speculative decoding
Abstract (arXiv)
The growing demand for efficient long-sequence modeling on edge devices has propelled widespread adoption of State Space Models (SSMs) like Mamba, due to their superior computational efficiency and scalability. As its autoregressive generation process remains memory-bound, speculative decoding has been proposed that incorporates draft model generation and target model verification. However, directly applying speculative decoding to SSMs faces three key challenges: (1) hidden state backtracking difficulties, (2) tree-based parallel verification incompatibility, and (3) hardware workload mismatch. To address these challenges, we propose SpecMamba, the first FPGA-based accelerator for Mamba with speculative decoding, which features system, algorithm, and hardware co-design. At the system level, we present a memory-aware hybrid backtracking strategy to coordinate both models. At the algorithm level, we propose first-in-first-out (FIFO)-based tree verification with tiling to minimize memory access. At the hardware level, we customize a dataflow that computes linear layers in parallel and SSM layers in series to enable maximal overlapping. Implemented on AMD FPGA platforms (VHK158 and VCK190), SpecMamba achieves a 2.27x speedup over GPU baselines and a 2.85x improvement compared to prior FPGA solutions, while demonstrating 5.41x and 1.26x higher energy efficiency, respectively.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 36 of its 39 references that are in the map. First posted on arXiv 24 Sep 2025.
Builds on
36 of 39 references.
Closest ancestors · 8
Same direction, newest first
- 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test3 Mar
- 2024OPT-Tree: Speculative Decoding with Adaptive Draft Tree Structure25 Jun
- 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees24 Jun
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty26 Jan
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads19 Jan
- 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verification16 May
- 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov
Other references · 28
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
- 2024VMamba: Visual State Space Modelcited by 969
- 2024SegMamba: Long-range Sequential Modeling Mamba For 3D Medical Image Segmentationcited by 266
- 2024PointMamba: A Simple State Space Model for Point Cloud Analysiscited by 167
16 more
- 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognitioncited by 141
- 2024Mamba-UNet: UNet-Like Pure Visual Mamba for Medical Image Segmentationcited by 133
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 122
- 2024Cobra: Extending Mamba to Multi-Modal Large Language Model for Efficient Inferencecited by 97
- 2024Sigma: Siamese Mamba Network for Multi-Modal Semantic Segmentationcited by 71
- 2024Fusion-Mamba for Cross-modality Object Detectioncited by 67
- 2024Point Cloud Mamba: Point Cloud Learning via State Space Modelcited by 66
- 2024FlightLLM: Efficient Large Language Model Inference with a Complete Mapping Flow on FPGAscited by 64
- 2024Vivim: a Video Vision Mamba for Medical Video Segmentationcited by 52
- 2024EdgeLLM: A Highly Efficient CPU-FPGA Heterogeneous Edge Accelerator for Large Language Modelscited by 21
- 2024MARCA: Mamba Accelerator with ReConfigurable Architecturecited by 13
- 2025LightMamba: Efficient Mamba Acceleration on FPGA with Quantization and Hardware Co-designcited by 11
- 2024MambaMorph: a Mamba-based Framework for Medical MR-CT Deformable Registrationcited by 10
- 20243DMambaComplete: Exploring Structured State Space Model for Point Cloud Completioncited by 8
- 2025Pushing up to the Limit of Memory Bandwidth and Capacity Utilization for Efficient LLM Decoding on Embedded FPGAcited by 7
- 2025MEADOW: Memory-efficient Dataflow and Data Packing for Low Power Edge LLMscited by 4
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026A Persistent-State Dataflow Accelerator for Memory-Bound Linear Attention Decode on FPGAcited by 3
- 2026ViM-Q: Scalable Algorithm-Hardware Co-Design for Vision Mamba Model Inference on FPGAcited by 0
- 2026HYDRA: A Heterogeneous Chiplet DSE Framework for Serving Dynamic Hybrid LLM Workloadscited by 0
- 2026LumoTree: Path-Parallel Speculative Verification for Hybrid Language Modelscited by 0
- 2026SPECTRA: Adaptive Execution of Speculative Decoding on a Runtime-Reconfigurable Tiled Architecturecited by 0
- 2026SPECTRA: Adaptive Execution of Speculative Decoding on a Runtime-Reconfigurable Tiled Architecture21 Sep 2026
- 2026LumoTree: Path-Parallel Speculative Verification for Hybrid Language Models20 Sep 2026
- 2026HYDRA: A Heterogeneous Chiplet DSE Framework for Serving Dynamic Hybrid LLM Workloads19 Aug 2026
- 2026ViM-Q: Scalable Algorithm-Hardware Co-Design for Vision Mamba Model Inference on FPGA3 May 2026
- 2026A Persistent-State Dataflow Accelerator for Memory-Bound Linear Attention Decode on FPGA6 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025FastMamba: A High-Speed and Efficient Mamba Accelerator on FPGA with Accurate Quantization
- 2025STree: Speculative Tree Decoding for Hybrid State-Space Models
- 2026LowRank-SSM: Hardware-Software Co-Design for Rank-Reduced Mamba Acceleration on FPGA ↗
- 2025Mamba Drafters for Speculative Decoding
- 2026Compiler-Assisted Speculative Sampling for Accelerated LLM Inference on Heterogeneous Edge Devices
- 2025Characterizing the Behavior of Training Mamba-based State Space Models on GPUs
- 2026Density Field State Space Models: 1-Bit Distillation, Efficient Inference, and Knowledge Organization in Mamba-2
- 2025COBRA: Catastrophic Bit-flip Reliability Analysis of State-Space Models