TCNCA: Temporal Convolution Network with Chunked Attention for Scalable Sequence Processing
Not on the map. Why?
Abstract (arXiv)
MEGA is a recent transformer-based architecture, which utilizes a linear recurrent operator whose parallel computation, based on the FFT, scales as O(LlogL), with L being the sequence length. We build upon their approach by replacing the linear recurrence with a special temporal convolutional network which permits larger receptive field size with shallower networks, and reduces the computational complexity to O(L). The resulting model is called TCNCA, a Temporal Convolutional Network with Chunked Attention. We evaluate TCNCA on EnWik8 language modeling, long-range-arena (LRA) sequence classification, as well as a synthetic reasoning benchmark associative recall. On EnWik8, TCNCA outperforms MEGA, reaching a lower loss with 1.37×/1.24× faster forward/backward pass during training. The dilated convolutions used in TCNCA are consistently and significantly faster operations than the FFT-based parallelized recurrence in GPUs, making them a scalable candidate for handling very large sequence lengths: they are up to 7.07×/2.86× faster in the forward/backward pass for sequences up to 131k. Further on LRA, TCNCA achieves, on average, 1.28× speed-up during inference with similar accuracy to what MEGA achieves. On associative recall, we find that even a simplified version of TCNCA, without excessive multiplicative and additive interactions, remains superior or competitive to MEGA on a range of sequence lengths and vocabulary sizes.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 32 of its 38 references that are in the map. First posted on arXiv 9 Dec 2023.
Builds on
32 of 38 references.
References · 32
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,722
- 2018An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modelingcited by 1,476
- 2022In-context Learning and Induction Headscited by 964
- 2020Efficient Transformers: A Surveycited by 790
20 more
- 2022Simplified State Space Layers for Sequence Modelingcited by 788
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2022Mega: Moving Average Equipped Gated Attentioncited by 179
- 2015Training Very Deep Networkscited by 173
- 2016Using Fast Weights to Attend to the Recent Pastcited by 170
- 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 127
- 2020Transformers for Modeling Physical Systemscited by 106
- 2022What Makes Convolutional Models Great on Long Sequence Modeling?cited by 87
- 2016Neural Machine Translation in Linear Timecited by 66
- 2020EEG-TCNet: An Accurate Temporal Convolutional Network for Embedded Motor-Imagery Brain-Machine Interfacescited by 63
- 2023Simple Hardware-Efficient Long Convolutions for Sequence Modelingcited by 62
- 2021Parallelizing Legendre Memory Unit Trainingcited by 23
- 2022Classification of Long Sequential Data using Circular Dilated Convolutional Neural Networkscited by 13
- 2020Temporal Convolutional Attention-based Network For Sequence Modelingcited by 8
Built on by
Not cited yet.