ChordMixer: A Scalable Neural Attention Model for Sequences with Different Lengths
Not on the map. Why?
Abstract (arXiv)
Sequential data naturally have different lengths in many domains, with some very long sequences. As an important modeling tool, neural attention should capture long-range interaction in such sequences. However, most existing neural attention models admit only short sequences, or they have to employ chunking or padding to enforce a constant input length. Here we propose a simple neural network building block called ChordMixer which can model the attention for long sequences with variable lengths. Each ChordMixer block consists of a position-wise rotation layer without learnable parameters and an element-wise MLP layer. Repeatedly applying such blocks forms an effective network backbone that mixes the input signals towards the learning targets. We have tested ChordMixer on the synthetic adding problem, long document classification, and DNA sequence-based taxonomy classification. The experiment results show that our method substantially outperforms other neural attention models.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 23 of its 35 references that are in the map. First posted on arXiv 12 Jun 2022.
Builds on
23 of 35 references.
References · 23
- 2017Attention Is All You Needcited by 60,361
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2020Rethinking Attention with Performerscited by 1,601
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2020Efficient Transformers: A Surveycited by 790
11 more
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2021MetaFormer Is Actually What You Need for Visioncited by 524
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2021Random Feature Attentioncited by 354
- 2017The Reversible Residual Network: Backpropagation Without Storing Activationscited by 217
- 2022cosFormer: Rethinking Softmax in Attentioncited by 213
- 2016Temporal Convolutional Networks: A Unified Approach to Action Segmentationcited by 199
- 2021Luna: Linear Unified Nested Attentioncited by 96
- 2017Learning to Compose Task-Specific Tree Structurescited by 48
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Paddingcited by 17
- 2022Paramixer: Parameterizing Mixing Links in Sparse Factors Works Better than Dot-Product Self-Attentioncited by 6
Built on by
Citing papers per year: 2023: 4; 2024: 3; 2025: 2.
9 papers.
- 2023Dodo: Dynamic Contextual Compression for Decoder-only LMscited by 23
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalabilitycited by 5
- 2023Spherical and Hyperbolic Toric Topology-Based Codes On Graph Embedding for Ising MRF Models: Classical and Quantum Topology Machine Learningcited by 1
- 2024Self-Distillation Improves DNA Sequence Inferencecited by 1
- 2023SKI to go Faster: Accelerating Toeplitz Neural Networks via Asymmetric Kernelscited by 0
- 2024Topology-Aware Exploration of Energy-Based Models Equilibrium: Toric QC-LDPC Codes and Hyperbolic MET QC-LDPC Codescited by 0
- 2024CAST: Clustering Self-Attention using Surrogate Tokens for Efficient Transformerscited by 0
- 2025IDRIFTNET: Physics-Driven Spatiotemporal Deep Learning for Iceberg Drift Forecastingcited by 0
- 2025SAC-MIL: Spatial-Aware Correlated Multiple Instance Learning for Histopathology Whole Slide Image Classificationcited by 0
- 2025SAC-MIL: Spatial-Aware Correlated Multiple Instance Learning for Histopathology Whole Slide Image Classification4 Sep 2025
- 2025IDRIFTNET: Physics-Driven Spatiotemporal Deep Learning for Iceberg Drift Forecasting18 Jun 2025
- 2024Self-Distillation Improves DNA Sequence Inference14 May 2024
- 2024CAST: Clustering Self-Attention using Surrogate Tokens for Efficient Transformers6 Feb 2024
- 2024Topology-Aware Exploration of Energy-Based Models Equilibrium: Toric QC-LDPC Codes and Hyperbolic MET QC-LDPC Codes26 Jan 2024
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability8 Nov 2023
- 2023Dodo: Dynamic Contextual Compression for Decoder-only LMs3 Oct 2023
- 2023Spherical and Hyperbolic Toric Topology-Based Codes On Graph Embedding for Ising MRF Models: Classical and Quantum Topology Machine Learning28 Jul 2023
- 2023SKI to go Faster: Accelerating Toeplitz Neural Networks via Asymmetric Kernels15 May 2023