mlsanityData to 7 Oct 2026

Toeplitz Neural Network for Sequence Modeling

arXiv 2305.04749 ↗First posted 8 May 2023cs.CL cs.CVcited by 43

Not on the map. Why?

Abstract (arXiv)

Sequence modeling has important applications in natural language processing and computer vision. Recently, the transformer-based models have shown strong performance on various sequence modeling tasks, which rely on attention to capture pairwise token relations, and position embedding to inject positional information. While showing good performance, the transformer models are inefficient to scale to long input sequences, mainly due to the quadratic space-time complexity of attention. To overcome this inefficiency, we propose to model sequences with a relative position encoded Toeplitz matrix and use a Toeplitz matrix-vector production trick to reduce the space-time complexity of the sequence modeling to log linear. A lightweight sub-network called relative position encoder is proposed to generate relative position coefficients with a fixed budget of parameters, enabling the proposed Toeplitz neural network to deal with varying sequence lengths. In addition, despite being trained on 512-token sequences, our model can extrapolate input sequence length up to 14K tokens in inference with consistent performance. Extensive experiments on autoregressive and bidirectional language modeling, image modeling, and the challenging Long-Range Arena benchmark show that our method achieves better performance than its competitors in most downstream tasks while being significantly faster. The code is available at https://github.com/OpenNLPLab/Tnn.

Key facts. Cited by 43 papers in the map (data through 7 Oct 2026). Builds on 27 of its 36 references that are in the map. First posted on arXiv 8 May 2023.

Builds on

27 of 36 references.

References · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  7. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  8. 2016Pointer Sentinel Mixture Modelscited by 2,992
  9. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  11. 2020GLU Variants Improve Transformercited by 1,724
  12. 2020Rethinking Attention with Performerscited by 1,584
15 more
  1. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  2. 2018Self-Attention with Relative Position Representationscited by 1,112
  3. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  4. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  5. 2021MetaFormer Is Actually What You Need for Visioncited by 523
  6. 2021Pay Attention to MLPscited by 367
  7. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  8. 2021FNet: Mixing Tokens with Fourier Transformscited by 343
  9. 2022Long Range Language Modeling via Gated State Spacescited by 265
  10. 2021Global Filter Networks for Image Classificationcited by 257
  11. 2022cosFormer: Rethinking Softmax in Attentioncited by 212
  12. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 204
  13. 2022Transformer Quality in Linear Timecited by 189
  14. 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
  15. 2021Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr"om Methodcited by 61

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 9; 2024: 21; 2025: 8; 2026: 5.

43 papers.

Sort:

By area:

  1. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  2. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  3. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
  4. 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
  5. 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 97
  6. 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 66
  7. 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
  8. 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 63
  9. 2024fKAN: Fractional Kolmogorov-Arnold Networks with trainable Jacobi basis functionscited by 60
  10. 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
  11. 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 43
  12. 2025Log-Linear Attentioncited by 39
31 more
  1. 2023TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormercited by 34
  2. 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformerscited by 32
  3. 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31
  4. 2024MetaLA: Unified Optimal Linear Approximation to Softmax Attention Mapcited by 20
  5. 2023Linearized Relative Positional Encodingcited by 17
  6. 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlapcited by 17
  7. 2024Scaling Laws for Linear Complexity Language Modelscited by 15
  8. 2024MMR-Mamba: Multi-Modal MRI Reconstruction with Mamba and Spatial-Frequency Information Fusioncited by 15
  9. 2024What Can We Learn from State Space Models for Machine Learning on Graphs?cited by 13
  10. 2023Linear Log-Normal Attention with Unbiased Concentrationcited by 11
  11. 2023On the Long Range Abilities of Transformerscited by 10
  12. 2024You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNetcited by 9
  13. 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mambacited by 9
  14. 2023Exploring Transformer Extrapolationcited by 8
  15. 2024Linear Attention Sequence Parallelismcited by 8
  16. 2023Accelerating Toeplitz Neural Network with Constant-time Inference Complexitycited by 6
  17. 2024Unlocking the Secrets of Linear Complexity Sequence Model from A Unified Perspectivecited by 6
  18. 2024SMR: State Memory Replay for Long Sequence Modelingcited by 6
  19. 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysiscited by 5
  20. 2025Linear Attention for Efficient Bidirectional Sequence Modelingcited by 4
  21. 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformerscited by 4
  22. 2024Exploring Real&Synthetic Dataset and Linear Attention in Image Restorationcited by 3
  23. 2026HAMSA: Scanning-Free Vision State Space Models via SpectralPulseNetcited by 3
  24. 2025MS-SSM: A Multi-Scale State Space Model for Efficient Sequence Modelingcited by 2
  25. 2025Don't Pay Attentioncited by 1
  26. 2025Elucidating the Design Space of Decay in Linear Attentioncited by 1
  27. 2026ToTMNet: FFT-Accelerated Toeplitz Temporal Mixing Network for Lightweight Remote Photoplethysmographycited by 1
  28. 2026Free Energy Mixercited by 1
  29. 2023SKI to go Faster: Accelerating Toeplitz Neural Networks via Asymmetric Kernelscited by 0
  30. 2025Context-Driven Performance Modeling for Causal Inference Operators on Neural Processing Unitscited by 0
  31. 2026Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformerscited by 0