[KongchangAI]
ConceptLinear Attention

Linear Attention

A simplified variant of standard Transformer attention that replaces the softmax exponential kernel with a linear kernel. Its forward computation can be expressed in closed form as matrix multiplications, enabling rigorous asymptotic analysis with classical statistical learning tools. It is commonly used to study in-context learning mechanisms.

Core Facts

Timeline (last 90 days)

Nov 25

Linear attention models perform noticeably worse than Softmax attention on associative recall tasks in language modeling.

Unverified50%
Nov 25

Linear attention models contain substantial underutilized retrieval capacity internally, and targeted training adjustments can elicit considerable recall ability without modifying the model structure.

Unverified50%
Nov 25

The cost of the two training interventions is a slight decline in general language modeling performance.

Unverified50%
Nov 25

Without changing the architecture, token budget, or optimization steps, the two training interventions narrow the long-distance associative recall gap to the level of the Softmax baseline.

Unverified50%
Nov 25

Standard language model training cannot reliably teach linear models to copy information from context, whereas Softmax models under equivalent conditions acquire this ability naturally.

Unverified50%
Nov 25

Even with only a single layer, linear attention can learn to retrieve thousands of associations across long distances at sufficient scale.

Unverified50%
Nov 25

In synthetic settings, the various linear attention architectures tested exhibit similar empirical scaling laws regarding the effect of state size on the number of memorizable items that can be recalled.

Unverified50%
Nov 25

The associative recall capability of linear attention is inherently constrained by state capacity, because the past must be compressed into a finite state, whereas Softmax attention retains the full KV cache and can precisely look back at any historical position.

Unverified50%
Nov 23

Self-attention has quadratic complexity, so researchers have proposed a variety of alternatives, including state space models (such as Mamba and S4), long convolutions (such as Hyena), linear attention, and gated recurrent units, among others.

Unverified50%
Nov 20

The KV cache size of global attention layers is proportional to context length, whereas the cache size of bounded-state layers (such as SSMs or linear attention) is relatively fixed.

Unverified50%

31 more timeline events

All Facts (20)

Verified

The computational complexity of the self-attention mechanism grows approximately quadratically with sequence length, with the attention matrix computation being proportional to n² for a sequence of length n.

90%
Verified

The computational complexity of the standard Self-Attention mechanism has a quadratic relationship with sequence length (O(n²)).

90%
Verified

The recursive state-compression structure of linear attention brings constant memory usage and linear time, but all historical information must be squeezed into a fixed-size memory, and interference easily occurs when new information conflicts with old information.

75%
Verified

In linear attention, kernel functions are used to decompose softmax attention into an associable form, reducing inference computational complexity from quadratic in sequence length to linear.

75%
Verified

Linear Attention rewrites the attention computation using associative kernel functions or state recurrence, compressing historical information into a fixed-size state matrix, so that each step only needs to update this state, reducing computational complexity from O(n²) to O(n), with constant-level memory usage.

75%
Verified

Solutions for streaming processing include causal attention masking, chunked attention, and look-ahead buffering

75%
Verified

Self-attention weights are normalized through the Softmax function, and the sum of the weights is always 1.

75%
Verified

State space models (SSMs) such as Mamba abandon the attention mechanism and use recurrent structures to achieve linear time complexity sequence modeling.

65%
Unverified

Gated Linear Attention (GLA) reduces computational complexity from O(N²) to O(N) through a linearized attention mechanism.

60%
Unverified

Qwen3 27B combines three linear attention layers with one full attention layer in a recurrent structure at a ratio of 3:1.

60%
Unverified

Without changing the architecture, token budget, or optimization steps, the two training interventions narrow the long-distance associative recall gap to the level of the Softmax baseline.

50%
Unverified

Standard language model training cannot reliably teach linear models to copy information from context, whereas Softmax models under equivalent conditions acquire this ability naturally.

50%
Unverified

The cost of the two training interventions is a slight decline in general language modeling performance.

50%
Unverified

Linear attention models perform noticeably worse than Softmax attention on associative recall tasks in language modeling.

50%
Unverified

Linear attention models contain substantial underutilized retrieval capacity internally, and targeted training adjustments can elicit considerable recall ability without modifying the model structure.

50%
Unverified

The associative recall capability of linear attention is inherently constrained by state capacity, because the past must be compressed into a finite state, whereas Softmax attention retains the full KV cache and can precisely look back at any historical position.

50%
Unverified

In synthetic settings, the various linear attention architectures tested exhibit similar empirical scaling laws regarding the effect of state size on the number of memorizable items that can be recalled.

50%
Unverified

Even with only a single layer, linear attention can learn to retrieve thousands of associations across long distances at sufficient scale.

50%
Unverified

Self-attention has quadratic complexity, so researchers have proposed a variety of alternatives, including state space models (such as Mamba and S4), long convolutions (such as Hyena), linear attention, and gated recurrent units, among others.

50%
Unverified

The KV cache size of global attention layers is proportional to context length, whereas the cache size of bounded-state layers (such as SSMs or linear attention) is relatively fixed.

50%

Source Articles