Blurry Window Attention
Researchers have introduced Blurry Window Attention (BLA), a new linear attention model designed to address the computational bottlenecks Transformer language models face when processing long sequences, according to a paper published on arXiv [1]. The Softmax Attention operation central to Transformer models suffers from quadratic complexity relative to sequence length and a continuously growing state size in the form of a KV cache, which becomes a bottleneck in long-context scenarios [1]. To overcome this, alternative architectures with linear complexity and a finite state size have been developed, including State-Space Models (SSMs), Linear Attention (LA), and Attention with Bounded-memory Control (ABC) [1]. While these linear models achieve language perplexity scores similar to Transformers, they have lagged behind on tasks requiring the retrieval or recall of specific information [1]. BLA is a novel ABC method inspired by SSMs [1]. It operates by storing a frequency window, from which a blurry KV history is reconstructed through interpolation using Dirichlet kernels [1]. The architecture can be understood as a generalization of Sliding Window Attention (SWA) depending on the Dirichlet kernel resolution, or as a special case of Gated Slot Attention (GSA) where the decay factor is implemented with Dirichlet kernels [1]. On the Multi-Query Associate Recall (MQAR) synthetic task, the state efficiency of BLA proved to be 8× better than SWA and competitive with popular linear attention models [1]. In the RegBench synthetic task, BLA and SWA were the only models among the tested linear architectures that improved their performance as the state size grew [1]. The paper details both the theory and an efficient implementation of the approach [1].
research-paper
Background sources we checked (9)
- arxiv.org ↗ The Softmax Attention operation in Transformer language models has a quadratic complexity in the sequence length and a growing state size in the form of KV cache, which becomes a bottleneck in long context scenarios. To overcome this limitation, alternative architectures with lin…
- en.wikipedia.org ↗ TV Girl is an American indie pop band from San Diego, California, consisting of lead vocalist Brad Petering, drummer Jason Wyman, and keyboardist Wyatt Harmon. The band released three EPs with one being made in 2010, one in 2011, and another in 2013 (TV Girl EP, Benny and the Jet…
- en.wikipedia.org ↗ Elemental: Fallen Enchantress is a turn-based strategy video game developed and published by Stardock for Microsoft Windows in 2012. The game is set in a fantasy world where players take control of a sovereign, a powerful leader, tasked with rebuilding a shattered kingdom while n…
- en.wikipedia.org ↗ Boulevard Montmartre, Mardi Gras (Paris, 1897) by Camille Pissarro currently resides in the permanent exhibition at the Armand Hammer Museum in Los Angeles, California. This work is part of a series of fourteen paintings depicting different times of the day and seasons of the Bou…
- arxiv.org ↗ CatalyzeX Code Finder for Papers (What is CatalyzeX?) [...] DagsHub Toggle [...] DagsHub (What is DagsHub?)…
- arxiv.org ↗ CatalyzeX Code Finder for Papers (What is CatalyzeX?) [...] DagsHub Toggle [...] DagsHub (What is DagsHub?)…
- arxiv.org ↗ CatalyzeX Code Finder for Papers (What is CatalyzeX?) [...] DagsHub Toggle [...] DagsHub (What is DagsHub?)…
- en.wikipedia.org ↗ Sustainable Development Goals (abbr. SDGs) were adopted in 2015 by all United Nations (UN) members for the 2030 Agenda for Sustainable Development. The aim of the 17 global goals is "peace and prosperity for people and the planet", tackling climate change, and working to preserv…
- en.wikipedia.org ↗ In molecular biology, a transcription factor (TF) (or sequence-specific DNA-binding factor) is a protein that controls the rate of transcription of genetic information from DNA to messenger RNA, by binding to DNA sequences. Specificity can be due to sequence motifs, or epigenetic…
Sources
- export.arxiv.org — Blurry Window Attention ↗