mlsanityData to 7 Oct 2026

Staircase Attention for Recurrent Processing of Sequences

arXiv 2106.04279 ↗First posted 8 Jun 2021cs.LG cs.CLcited by 13

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  5. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  8. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  9. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  10. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  11. 2020Reformer: The Efficient Transformercited by 1,658
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
17 more
  1. 2018Self-Attention with Relative Position Representationscited by 1,112
  2. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
  3. 2018Universal Transformerscited by 613
  4. 2020Recipes for building an open-domain chatbotcited by 593
  5. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  6. 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 315
  7. 2020The Pushshift Reddit Datasetcited by 289
  8. 2019Poly-encoders: Transformer Architectures and Pre-training Strategies for Fast and Accurate Multi-sentence Scoringcited by 164
  9. 2019Adaptive Attention Span in Transformerscited by 148
  10. 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
  11. 2018Training Millions of Personalized Dialogue Agentscited by 126
  12. 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 108
  13. 2018The Best of Both Worlds: Combining Recent Advances in Neural Machine Translationcited by 101
  14. 2019Improving Transformer Models by Reordering their Sublayerscited by 52
  15. 2019The Dialogue Dodecathlon: Open-Domain Knowledge and Image Grounded Conversational Agentscited by 45
  16. 2018Learning Semantic Textual Similarity from Conversationscited by 41
  17. 2019Modeling Recurrence for Transformercited by 26

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 3; 2023: 3; 2024: 2; 2025: 1; 2026: 4.

13 papers.

Sort:

By area: