Staircase Attention for Recurrent Processing of Sequences
Not on the map. Why?
Abstract (arXiv)
Attention mechanisms have become a standard tool for sequence modeling tasks, in particular by stacking self-attention layers over the entire input sequence as in the Transformer architecture. In this work we introduce a novel attention procedure called staircase attention that, unlike self-attention, operates across the sequence (in time) recurrently processing the input by adding another step of processing. A step in the staircase comprises of backward tokens (encoding the sequence so far seen) and forward tokens (ingesting a new part of the sequence), or an extreme Ladder version with a forward step of zero that simply repeats the Transformer on each step of the ladder, sharing the weights. We thus describe a family of such models that can trade off performance and compute, by either increasing the amount of recurrence through time, the amount of sequential processing via recurrence in depth, or both. Staircase attention is shown to be able to solve tasks that involve tracking that conventional Transformers cannot, due to this recurrence. Further, it is shown to provide improved modeling power for the same size model (number of parameters) compared to self-attentive Transformers on large language modeling and dialogue tasks, yielding significant perplexity gains.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 29 of its 39 references that are in the map. First posted on arXiv 8 Jun 2021.
Builds on
29 of 39 references.
References · 29
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
17 more
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
- 2018Universal Transformerscited by 613
- 2020Recipes for building an open-domain chatbotcited by 593
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 315
- 2020The Pushshift Reddit Datasetcited by 289
- 2019Poly-encoders: Transformer Architectures and Pre-training Strategies for Fast and Accurate Multi-sentence Scoringcited by 164
- 2019Adaptive Attention Span in Transformerscited by 148
- 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
- 2018Training Millions of Personalized Dialogue Agentscited by 126
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 108
- 2018The Best of Both Worlds: Combining Recent Advances in Neural Machine Translationcited by 101
- 2019Improving Transformer Models by Reordering their Sublayerscited by 52
- 2019The Dialogue Dodecathlon: Open-Domain Knowledge and Image Grounded Conversational Agentscited by 45
- 2018Learning Semantic Textual Similarity from Conversationscited by 41
- 2019Modeling Recurrence for Transformercited by 26
Built on by
Citing papers per year: 2022: 3; 2023: 3; 2024: 2; 2025: 1; 2026: 4.
13 papers.
Sort:
By area:
- 2022Exploring Length Generalization in Large Language Modelscited by 204
- 2022Recurrent Memory Transformercited by 197
- 2022Block-Recurrent Transformerscited by 107
- 2023Learning to Reason and Memorize with Self-Notescited by 30
- 2024TransformerFAM: Feedback attention is working memorycited by 21
- 2023Grounded Image Text Matching with Mismatched Relation Reasoningcited by 8
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalabilitycited by 5
- 2024Investigating Recurrent Transformers with Dynamic Haltcited by 5
- 2026The Recurrent Transformer: Greater Effective Depth and Efficient Decodingcited by 5
- 2025StagFormer: Time Staggering Transformer Decoding for RunningLayers In Parallelcited by 2
- 2026Turbo Connection: Reasoning as Information Flow from Higher to Lower Layerscited by 1
- 2026WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixingcited by 0
- 2026Beyond Episodic AI: Cognitive Field Networks for Biologically Inspired Persistent Cognition15 Sep 2026
- 2026WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixing19 Aug 2026
- 2026The Recurrent Transformer: Greater Effective Depth and Efficient Decoding23 Apr 2026
- 2026Turbo Connection: Reasoning as Information Flow from Higher to Lower Layers20 Feb 2026
- 2025StagFormer: Time Staggering Transformer Decoding for RunningLayers In Parallel26 Jan 2025
- 2024TransformerFAM: Feedback attention is working memory14 Apr 2024
- 2024Investigating Recurrent Transformers with Dynamic Halt1 Feb 2024
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability8 Nov 2023
- 2023Grounded Image Text Matching with Mismatched Relation Reasoning2 Aug 2023
- 2023Learning to Reason and Memorize with Self-Notes1 May 2023
- 2022Recurrent Memory Transformer14 Jul 2022
- 2022Exploring Length Generalization in Large Language Models11 Jul 2022
1 more
- 2022Block-Recurrent Transformers11 Mar 2022
- 2022Exploring Length Generalization in Large Language Modelscited by 204
- 2022Recurrent Memory Transformercited by 197
- 2022Block-Recurrent Transformerscited by 107
- 2024TransformerFAM: Feedback attention is working memorycited by 21
- 2023Grounded Image Text Matching with Mismatched Relation Reasoningcited by 8
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalabilitycited by 5
- 2024Investigating Recurrent Transformers with Dynamic Haltcited by 5
- 2026The Recurrent Transformer: Greater Effective Depth and Efficient Decodingcited by 5
- 2025StagFormer: Time Staggering Transformer Decoding for RunningLayers In Parallelcited by 2
- 2026WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixingcited by 0
- 2026Beyond Episodic AI: Cognitive Field Networks for Biologically Inspired Persistent Cognitioncited by 0
- 2026Beyond Episodic AI: Cognitive Field Networks for Biologically Inspired Persistent Cognition15 Sep 2026
- 2026WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixing19 Aug 2026
- 2026The Recurrent Transformer: Greater Effective Depth and Efficient Decoding23 Apr 2026
- 2025StagFormer: Time Staggering Transformer Decoding for RunningLayers In Parallel26 Jan 2025
- 2024TransformerFAM: Feedback attention is working memory14 Apr 2024
- 2024Investigating Recurrent Transformers with Dynamic Halt1 Feb 2024
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability8 Nov 2023
- 2023Grounded Image Text Matching with Mismatched Relation Reasoning2 Aug 2023
- 2022Recurrent Memory Transformer14 Jul 2022
- 2022Exploring Length Generalization in Large Language Models11 Jul 2022
- 2022Block-Recurrent Transformers11 Mar 2022