Toeplitz Neural Network for Sequence Modeling
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
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020GLU Variants Improve Transformercited by 1,724
- 2020Rethinking Attention with Performerscited by 1,584
15 more
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2021MetaFormer Is Actually What You Need for Visioncited by 523
- 2021Pay Attention to MLPscited by 367
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2021FNet: Mixing Tokens with Fourier Transformscited by 343
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2021Global Filter Networks for Image Classificationcited by 257
- 2022cosFormer: Rethinking Softmax in Attentioncited by 212
- 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 204
- 2022Transformer Quality in Linear Timecited by 189
- 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
- 2021Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr"om Methodcited by 61
Built on by
Citing papers per year: 2023: 9; 2024: 21; 2025: 8; 2026: 5.
43 papers.
Sort:
By area:
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 97
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 66
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 63
- 2024fKAN: Fractional Kolmogorov-Arnold Networks with trainable Jacobi basis functionscited by 60
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 43
- 2025Log-Linear Attentioncited by 39
31 more
- 2023TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormercited by 34
- 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformerscited by 32
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31
- 2024MetaLA: Unified Optimal Linear Approximation to Softmax Attention Mapcited by 20
- 2023Linearized Relative Positional Encodingcited by 17
- 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlapcited by 17
- 2024Scaling Laws for Linear Complexity Language Modelscited by 15
- 2024MMR-Mamba: Multi-Modal MRI Reconstruction with Mamba and Spatial-Frequency Information Fusioncited by 15
- 2024What Can We Learn from State Space Models for Machine Learning on Graphs?cited by 13
- 2023Linear Log-Normal Attention with Unbiased Concentrationcited by 11
- 2023On the Long Range Abilities of Transformerscited by 10
- 2024You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNetcited by 9
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mambacited by 9
- 2023Exploring Transformer Extrapolationcited by 8
- 2024Linear Attention Sequence Parallelismcited by 8
- 2023Accelerating Toeplitz Neural Network with Constant-time Inference Complexitycited by 6
- 2024Unlocking the Secrets of Linear Complexity Sequence Model from A Unified Perspectivecited by 6
- 2024SMR: State Memory Replay for Long Sequence Modelingcited by 6
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysiscited by 5
- 2025Linear Attention for Efficient Bidirectional Sequence Modelingcited by 4
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformerscited by 4
- 2024Exploring Real&Synthetic Dataset and Linear Attention in Image Restorationcited by 3
- 2026HAMSA: Scanning-Free Vision State Space Models via SpectralPulseNetcited by 3
- 2025MS-SSM: A Multi-Scale State Space Model for Efficient Sequence Modelingcited by 2
- 2025Don't Pay Attentioncited by 1
- 2025Elucidating the Design Space of Decay in Linear Attentioncited by 1
- 2026ToTMNet: FFT-Accelerated Toeplitz Temporal Mixing Network for Lightweight Remote Photoplethysmographycited by 1
- 2026Free Energy Mixercited by 1
- 2023SKI to go Faster: Accelerating Toeplitz Neural Networks via Asymmetric Kernelscited by 0
- 2025Context-Driven Performance Modeling for Causal Inference Operators on Neural Processing Unitscited by 0
- 2026Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformerscited by 0
- 2026Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformers8 Jun 2026
- 2026HAMSA: Scanning-Free Vision State Space Models via SpectralPulseNet16 Apr 2026
- 2026Free Energy Mixer6 Feb 2026
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformers5 Feb 2026
- 2026ToTMNet: FFT-Accelerated Toeplitz Temporal Mixing Network for Lightweight Remote Photoplethysmography7 Jan 2026
- 2025MS-SSM: A Multi-Scale State Space Model for Efficient Sequence Modeling29 Dec 2025
- 2025Context-Driven Performance Modeling for Causal Inference Operators on Neural Processing Units29 Sep 2025
- 2025Elucidating the Design Space of Decay in Linear Attention5 Sep 2025
- 2025Don't Pay Attention12 Jun 2025
- 2025Log-Linear Attention5 Jun 2025
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba22 Mar 2025
- 2025Linear Attention for Efficient Bidirectional Sequence Modeling22 Feb 2025
31 more
- 2025Test-time regression: a unifying framework for designing sequence models with associative memory21 Jan 2025
- 2024Exploring Real&Synthetic Dataset and Linear Attention in Image Restoration5 Dec 2024
- 2024MetaLA: Unified Optimal Linear Approximation to Softmax Attention Map16 Nov 2024
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Models19 Aug 2024
- 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers13 Jul 2024
- 2024MMR-Mamba: Multi-Modal MRI Reconstruction with Mamba and Spatial-Frequency Information Fusion27 Jun 2024
- 2024Scaling Laws for Linear Complexity Language Models24 Jun 2024
- 2024fKAN: Fractional Kolmogorov-Arnold Networks with trainable Jacobi basis functions11 Jun 2024
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Length10 Jun 2024
- 2024What Can We Learn from State Space Models for Machine Learning on Graphs?9 Jun 2024
- 2024You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNet31 May 2024
- 2024SMR: State Memory Replay for Long Sequence Modeling27 May 2024
- 2024Unlocking the Secrets of Linear Complexity Sequence Model from A Unified Perspective27 May 2024
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attention27 May 2024
- 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformers8 May 2024
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr 2024
- 2024HGRN2: Gated Linear RNNs with State Expansion11 Apr 2024
- 2024Linear Attention Sequence Parallelism3 Apr 2024
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysis26 Mar 2024
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architectures4 Mar 2024
- 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlap29 Jan 2024
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models9 Jan 2024
- 2023Gated Linear Attention Transformers with Hardware-Efficient Training11 Dec 2023
- 2023On the Long Range Abilities of Transformers28 Nov 2023
- 2023Linear Log-Normal Attention with Unbiased Concentration22 Nov 2023
- 2023Accelerating Toeplitz Neural Network with Constant-time Inference Complexity15 Nov 2023
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modeling8 Nov 2023
- 2023TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormer27 Jul 2023
- 2023Exploring Transformer Extrapolation19 Jul 2023
- 2023Linearized Relative Positional Encoding18 Jul 2023
- 2023SKI to go Faster: Accelerating Toeplitz Neural Networks via Asymmetric Kernels15 May 2023
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 66
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 43
- 2024MMR-Mamba: Multi-Modal MRI Reconstruction with Mamba and Spatial-Frequency Information Fusioncited by 15
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mambacited by 9
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysiscited by 5
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba22 Mar 2025
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Models19 Aug 2024
- 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers13 Jul 2024
- 2024MMR-Mamba: Multi-Modal MRI Reconstruction with Mamba and Spatial-Frequency Information Fusion27 Jun 2024
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr 2024
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysis26 Mar 2024
- 2023Gated Linear Attention Transformers with Hardware-Efficient Training11 Dec 2023
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 97
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 63
- 2024fKAN: Fractional Kolmogorov-Arnold Networks with trainable Jacobi basis functionscited by 60
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2025Log-Linear Attentioncited by 39
- 2023TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormercited by 34
- 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformerscited by 32
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31
- 2024MetaLA: Unified Optimal Linear Approximation to Softmax Attention Mapcited by 20
12 most cited of 36 All 36 (JSON)
- 2026Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformers8 Jun 2026
- 2026HAMSA: Scanning-Free Vision State Space Models via SpectralPulseNet16 Apr 2026
- 2026Free Energy Mixer6 Feb 2026
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformers5 Feb 2026
- 2026ToTMNet: FFT-Accelerated Toeplitz Temporal Mixing Network for Lightweight Remote Photoplethysmography7 Jan 2026
- 2025MS-SSM: A Multi-Scale State Space Model for Efficient Sequence Modeling29 Dec 2025
- 2025Context-Driven Performance Modeling for Causal Inference Operators on Neural Processing Units29 Sep 2025
- 2025Elucidating the Design Space of Decay in Linear Attention5 Sep 2025
- 2025Don't Pay Attention12 Jun 2025
- 2025Log-Linear Attention5 Jun 2025
- 2025Linear Attention for Efficient Bidirectional Sequence Modeling22 Feb 2025
- 2025Test-time regression: a unifying framework for designing sequence models with associative memory21 Jan 2025
12 newest of 36 All 36 (JSON)