mlsanityData to 7 Oct 2026

LMUFormer: Low Complexity Yet Powerful Spiking Model With Legendre Memory Units

arXiv 2402.04882 ↗First posted 20 Jan 2024cs.NE cs.AI cs.LGcited by 11

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  8. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  9. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  10. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
  11. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  12. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
25 more
  1. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  2. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
  3. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  4. 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 741
  5. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  6. 2021AST: Audio Spectrogram Transformercited by 634
  7. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
  8. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  9. 2017Spatio-Temporal Backpropagation for Training High-performance Spiking Neural Networkscited by 399
  10. 2021Early Convolutions Help Transformers See Bettercited by 395
  11. 2021Deep Residual Learning in Spiking Neural Networkscited by 326
  12. 2022Spikformer: When Spiking Neural Network Meets Transformercited by 263
  13. 2018Direct Training for Spiking Neural Networks: Faster, Larger, Bettercited by 222
  14. 2016Training Deep Spiking Neural Networks using Backpropagationcited by 203
  15. 2019Spiking-YOLO: Spiking Neural Network for Energy-Efficient Object Detectioncited by 174
  16. 2023Spike-driven Transformercited by 141
  17. 2015A Simple Way to Initialize Recurrent Networks of Rectified Linear Unitscited by 130
  18. 2019Enabling Spike-based Backpropagation for Training Deep Neural Network Architecturescited by 119
  19. 2022Training High-Performance Low-Latency Spiking Neural Networks by Differentiation on Spike Representationcited by 89
  20. 2021Keyword Transformer: A Self-Attention Model for Keyword Spottingcited by 59
  21. 2018A neural attention model for speech command recognitioncited by 44
  22. 2021Learning Efficient Representations for Keyword Spotting with Triplet Losscited by 24
  23. 2021Parallelizing Legendre Memory Unit Trainingcited by 22
  24. 2022Spiking Neural Networks for Frame-based and Event-based Single Object Localizationcited by 18
  25. 2020Long Short-Term Memory Spiking Networks and Their Applicationscited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 5; 2026: 3.

11 papers.