Continual Transformers: Redundancy-Free Attention for Online Inference
Not on the map. Why?
Abstract (arXiv)
Transformers in their common form are inherently limited to operate on whole token sequences rather than on one token at a time. Consequently, their use during online inference on time-series data entails considerable redundancy due to the overlap in successive token sequences. In this work, we propose novel formulations of the Scaled Dot-Product Attention, which enable Transformers to perform efficient online token-by-token inference on a continual input stream. Importantly, our modifications are purely to the order of computations, while the outputs and learned weights are identical to those of the original Transformer Encoder. We validate our Continual Transformer Encoder with experiments on the THUMOS14, TVSeries and GTZAN datasets with remarkable results: Our Continual one- and two-block architectures reduce the floating point operations per prediction by up to 63x and 2.6x, respectively, while retaining predictive performance.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 54 of its 68 references that are in the map. First posted on arXiv 17 Jan 2022.
Builds on
54 of 68 references.
References · 54
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2017Quo Vadis, Action Recognition? A New Model and the Kinetics Datasetcited by 3,259
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Reformer: The Efficient Transformercited by 1,658
38 more
- 2021ViViT: A Video Vision Transformercited by 1,610
- 2020Rethinking Attention with Performerscited by 1,584
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2018Spatial Temporal Graph Convolutional Networks for Skeleton-Based Action Recognitioncited by 1,199
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2020Efficient Transformers: A Surveycited by 784
- 2018Image Transformercited by 770
- 2016CNN Architectures for Large-Scale Audio Classificationcited by 701
- 2021AST: Audio Spectrogram Transformercited by 634
- 2018Universal Transformerscited by 613
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
- 2017Temporal Segment Networks for Action Recognition in Videoscited by 279
- 2018Long-Term Feature Banks for Detailed Video Understandingcited by 239
- 2016The THUMOS Challenge on Action Recognition for Videos "in the Wild"cited by 213
- 2018Music Transformercited by 207
- 2017R-C3D: Region Convolutional 3D Network for Temporal Activity Detectioncited by 161
- 2017CDC: Convolutional-De-Convolutional Networks for Precise Temporal Action Localization in Untrimmed Videoscited by 112
- 2021Learning to Iteratively Solve Routing Problems with Dual-Aspect Collaborative Transformercited by 108
- 2021Long Short-Term Transformer for Online Action Detectioncited by 87
- 2016Long-term Temporal Convolutions for Action Recognitioncited by 84
- 2021OadTR: Online Action Detection with Transformerscited by 83
- 2018Temporal Recurrent Networks for Online Action Detectioncited by 79
- 2017RED: Reinforced Encoder-Decoder Networks for Action Anticipationcited by 77
- 2016Online Action Detectioncited by 68
- 2020Rethinking CNN Models for Audio Classificationcited by 48
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
- 2016Automatic tagging using deep convolutional neural networkscited by 39
- 2019Learning to Discriminate Information for Online Action Detectioncited by 37
- 2021SHAPE: Shifted Absolute Position Embedding for Transformerscited by 37
- 2021Augmenting Convolutional networks with attention-based aggregationcited by 29
- 2021Multi-Exit Vision Transformer for Dynamic Inferencecited by 28
- 2021Single-Layer Vision Transformers for More Accurate Early Exits with Less Overheadcited by 26
- 2020Privileged Knowledge Distillation for Online Action Detectioncited by 18
- 2021Temporally smooth online action detection using cycle-consistent future anticipationcited by 13
- 2017Raw Waveform-based Audio Classification Using Sample-level CNN Architecturescited by 12
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2022: 5; 2023: 1; 2024: 1; 2025: 4; 2026: 1.
12 papers.
- 2022Structured Pruning Adapterscited by 12
- 2025Learning Streaming Video Representation via Multitask Trainingcited by 10
- 2022Efficient High-Resolution Deep Learning: A Surveycited by 9
- 2022Continual Spatio-Temporal Graph Convolutional Networkscited by 8
- 2022Continual Inference: A Library for Efficient Online Inference with Deep Neural Networks in PyTorchcited by 8
- 2022Effective Audio Classification Network Based on Paired Inverse Pyramid Structure and Dense MLP Blockcited by 3
- 2024Continual Low-Rank Scaled Dot-product Attentioncited by 2
- 2025LOBERT: Generative AI Foundation Model for Limit Order Book Messagescited by 2
- 2025Online hand gesture recognition using Continual Graph Transformerscited by 1
- 2023Efficient Online Processing with Deep Neural Networkscited by 0
- 2025DeepCoT: Deep Continual Transformers for Real-Time Inference on Data Streamscited by 0
- 2026Explicit Dropout: Deterministic Regularization for Transformer Architecturescited by 0
- 2026Explicit Dropout: Deterministic Regularization for Transformer Architectures22 Apr 2026
- 2025DeepCoT: Deep Continual Transformers for Real-Time Inference on Data Streams21 Nov 2025
- 2025LOBERT: Generative AI Foundation Model for Limit Order Book Messages16 Nov 2025
- 2025Learning Streaming Video Representation via Multitask Training28 Apr 2025
- 2025Online hand gesture recognition using Continual Graph Transformers20 Feb 2025
- 2024Continual Low-Rank Scaled Dot-product Attention4 Dec 2024
- 2023Efficient Online Processing with Deep Neural Networks23 Jun 2023
- 2022Structured Pruning Adapters17 Nov 2022
- 2022Effective Audio Classification Network Based on Paired Inverse Pyramid Structure and Dense MLP Block5 Nov 2022
- 2022Efficient High-Resolution Deep Learning: A Survey26 Jul 2022
- 2022Continual Inference: A Library for Efficient Online Inference with Deep Neural Networks in PyTorch7 Apr 2022
- 2022Continual Spatio-Temporal Graph Convolutional Networks21 Mar 2022