ChordMixer: A Scalable Neural Attention Model for Sequences with Different Length
Ruslan Khalitov, Tong Yu, Lei Cheng, Zhirong Yang
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 47d78e8c-9d98-4e34-930a-9ac6333a2e17Cited by top-tier papers1
Ask how each one uses itRelated papers
- Paramixer: Parameterizing Mixing Links in Sparse Factors Works Better than Dot-Product Self-AttentionTong Yu, Ruslan Khalitov, Lei Cheng, Zhirong YangCVPR 2022 · 11 citations
- Residual Shuffle-Exchange Networks for Fast Processing of Long SequencesAndis Draguns, Emils Ozolins, Agris Sostaks, Matiss Apinis et al.AAAI 2021 · 10 citations
- Non-stationary Time-aware Kernelized Attention for Temporal Event PredictionYu Ma, Zhining Liu, Chenyi Zhuang, Yize Tan et al.KDD 2022 · 4 citations
- Introducing Spectral Attention for Long-Range Dependency in Time Series ForecastingBong Gyun Kang, Dongjun Lee, HyunGi Kim, Dohyun Chung et al.NeurIPS 2024 · 11 citations
- RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence ModelingXiuying Wei, Anunay Yadav, Razvan Pascanu, Caglar GulcehreNeurIPS 2025 · 3 citations
