LMUFormer: Low Complexity Yet Powerful Spiking Model With Legendre Memory Units
Not on the map. Why?
Abstract (arXiv)
Transformer models have demonstrated high accuracy in numerous applications but have high complexity and lack sequential processing capability making them ill-suited for many streaming applications at the edge where devices are heavily resource-constrained. Thus motivated, many researchers have proposed reformulating the transformer models as RNN modules which modify the self-attention computation with explicit states. However, these approaches often incur significant performance degradation. The ultimate goal is to develop a model that has the following properties: parallel training, streaming and low-cost inference, and SOTA performance. In this paper, we propose a new direction to achieve this goal. We show how architectural modifications to a recurrent model can help push its performance toward Transformer models while retaining its sequential processing capability. Specifically, inspired by the recent success of Legendre Memory Units (LMU) in sequence learning tasks, we propose LMUFormer, which augments the LMU with convolutional patch embedding and convolutional channel mixer. Moreover, we present a spiking version of this architecture, which introduces the benefit of states within the patch embedding and channel mixer modules while simultaneously reducing the computing complexity. We evaluated our architectures on multiple sequence datasets. In comparison to SOTA transformer-based models within the ANN domain on the SCv2 dataset, our LMUFormer demonstrates comparable performance while necessitating a remarkable 53 times reduction in parameters and a substantial 65 times decrement in FLOPs. Additionally, owing to our model's proficiency in real-time data processing, we can achieve a 32.03% reduction in sequence length, all while incurring an inconsequential decline in performance. Our code is publicly available at https://github.com/zeyuliu1037/LMUFormer.git.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 37 of its 49 references that are in the map. First posted on arXiv 20 Jan 2024.
Builds on
37 of 49 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
25 more
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 741
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2021AST: Audio Spectrogram Transformercited by 634
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2017Spatio-Temporal Backpropagation for Training High-performance Spiking Neural Networkscited by 399
- 2021Early Convolutions Help Transformers See Bettercited by 395
- 2021Deep Residual Learning in Spiking Neural Networkscited by 326
- 2022Spikformer: When Spiking Neural Network Meets Transformercited by 263
- 2018Direct Training for Spiking Neural Networks: Faster, Larger, Bettercited by 222
- 2016Training Deep Spiking Neural Networks using Backpropagationcited by 203
- 2019Spiking-YOLO: Spiking Neural Network for Energy-Efficient Object Detectioncited by 174
- 2023Spike-driven Transformercited by 141
- 2015A Simple Way to Initialize Recurrent Networks of Rectified Linear Unitscited by 130
- 2019Enabling Spike-based Backpropagation for Training Deep Neural Network Architecturescited by 119
- 2022Training High-Performance Low-Latency Spiking Neural Networks by Differentiation on Spike Representationcited by 89
- 2021Keyword Transformer: A Self-Attention Model for Keyword Spottingcited by 59
- 2018A neural attention model for speech command recognitioncited by 44
- 2021Learning Efficient Representations for Keyword Spotting with Triplet Losscited by 24
- 2021Parallelizing Legendre Memory Unit Trainingcited by 22
- 2022Spiking Neural Networks for Frame-based and Event-based Single Object Localizationcited by 18
- 2020Long Short-Term Memory Spiking Networks and Their Applicationscited by 16
Built on by
Citing papers per year: 2024: 3; 2025: 5; 2026: 3.
11 papers.
- 2024SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Modelscited by 19
- 2024SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learningcited by 9
- 2025Scaling Up Resonate-and-Fire Networks for Fast Deep Learningcited by 4
- 2025Edge Intelligence with Spiking Neural Networkscited by 2
- 2025Dendritic Resonate-and-Fire Neuron for Effective and Efficient Long Sequence Modelingcited by 2
- 2025SpikCommander: A High-performance Spiking Transformer with Multi-view Learning for Efficient Speech Command Recognitioncited by 2
- 2024Numerical Analysis of HiPPO-LegS ODE for Deep State Space Modelscited by 1
- 2025FLAMES: A Hybrid Spiking-State Space Model for Adaptive Memory Retention in Event-Based Learningcited by 1
- 2026Towards Green Wearable Computing: A Physics-Aware Spiking Neural Network for Energy-Efficient IMU-based Human Activity Recognitioncited by 0
- 2026LongSpike: Fractional Order Spiking State Space Models for Efficient Long Sequence Learningcited by 0
- 2026Latency and accuracy tradeoffs in Spiking Neural Networkscited by 0
- 2026Latency and accuracy tradeoffs in Spiking Neural Networks28 Sep 2026
- 2026LongSpike: Fractional Order Spiking State Space Models for Efficient Long Sequence Learning11 Jun 2026
- 2026Towards Green Wearable Computing: A Physics-Aware Spiking Neural Network for Energy-Efficient IMU-based Human Activity Recognition12 Apr 2026
- 2025SpikCommander: A High-performance Spiking Transformer with Multi-view Learning for Efficient Speech Command Recognition11 Nov 2025
- 2025Dendritic Resonate-and-Fire Neuron for Effective and Efficient Long Sequence Modeling21 Sep 2025
- 2025Edge Intelligence with Spiking Neural Networks18 Jul 2025
- 2025FLAMES: A Hybrid Spiking-State Space Model for Adaptive Memory Retention in Event-Based Learning2 Apr 2025
- 2025Scaling Up Resonate-and-Fire Networks for Fast Deep Learning1 Apr 2025
- 2024Numerical Analysis of HiPPO-LegS ODE for Deep State Space Models11 Dec 2024
- 2024SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learning7 Oct 2024
- 2024SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Models27 Aug 2024