LGCLJun 8, 2021

Staircase Attention for Recurrent Processing of Sequences

arXiv:2106.04279v114 citations
Originality Incremental advance
AI Analysis

This work addresses the problem of sequence tracking for AI researchers, offering a novel method that enhances performance in language tasks, though it is incremental as it builds on existing attention mechanisms.

The authors tackled the limitation of Transformers in tracking tasks by introducing staircase attention, a recurrent processing method that improves modeling power and achieves significant perplexity gains on language modeling and dialogue tasks.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes