Linear Attention Recall Capacity Underestimated: Training Strategy Can Narrow the Gap with Softmax

Linear attention's recall shortcoming stems from insufficient training incentives, not architectural capacity defects.
This study investigates why linear attention lags behind Softmax attention in associative recall. Through natural language evaluation, synthetic recall tasks, and training interventions, it finds that linear attention's state size and the number of recallable items follow similar scaling laws, and a single-layer model at sufficient scale can retrieve thousands of associations, indicating its memory capacity is not lacking. Yet under standard training, linear models struggle to spontaneously learn in-context copying while Softmax models acquire it naturally, exposing a mismatch between inductive bias and training objectives. Using in-context sentence repetition and context-sensitive loss reweighting, researchers narrowed the long-distance recall gap to the Softmax baseline without changing architecture, token budget, or optimization steps, at the cost of a slight decline in general language modeling performance.
Linear attention models perform noticeably worse than Softmax attention on associative recall tasks in language modeling. Does this gap stem from architectural flaws or insufficient training incentives? A study addressing this question offers a new answer: linear attention itself possesses considerable recall capacity, but standard language model training fails to effectively activate it.

Quantifying the Recall Gap: State Size Is the Key Factor
The research team dissected this gap through three paths: natural language evaluation, synthetic recall tasks, and targeted training interventions. In the synthetic setting, they quantified the impact of state size on the number of memorizable/recallable items, and found that the various linear attention architectures tested exhibited similar empirical scaling laws.
A key finding: even a single layer, at sufficient scale, can learn to retrieve thousands of associations across long distances. This indicates that linear attention's memory capacity itself is not lacking—the architecture has the potential to carry large amounts of associative information.
Linear Attention is a class of attention variants that reduces the quadratic complexity of Softmax attention to linear complexity. It typically rewrites attention in the form φ(Q)(φ(K)^T V) via a kernel feature map φ(·), allowing historical information to be recursively accumulated in a fixed-size state matrix (state), so that inference requires only constant-level computation and storage per step. The "state size" here refers to the dimensionality of this recursive state, which determines how much information from historical tokens the model can theoretically compress and retain. Unlike Softmax attention, which retains the full KV cache and can precisely look back at any historical position, linear attention must compress the past into a finite state, so its associative recall capability (i.e., retrieving the corresponding value based on a key in the context) is inherently constrained by state capacity. Understanding this is necessary to determine whether the recall gap comes from a capacity ceiling or from training failing to use the full capacity.
Missing Training Incentives: Linear Models Struggle to Learn In-Context Copying Spontaneously
However, the existence of capacity does not equal the manifestation of ability. The study found that standard language model training cannot reliably teach linear models to copy information from context, whereas Softmax models under equivalent conditions naturally acquire this ability.
This points to a core contradiction: there may be a mismatch between linear attention's inductive bias and conventional language model training objectives. The model is not "unable to remember"; rather, the training process does not provide sufficient incentive for it to "remember."
Inductive bias refers to the preference of the model architecture itself for certain types of solutions or patterns. Because Softmax attention can directly perform normalized weighting over any historical position, it naturally tends to learn "content-addressed" copying behavior; whereas linear attention's recursive state update is a smoother, more compressive aggregation method, and its parameterization does not naturally lead to precise key-value retrieval. When the training objective is merely ordinary next-token prediction, gradient signals rarely specifically reward the behavior of "precisely copying from context," so the model may converge to suboptimal solutions that rely on local statistics or parametric memory. In-context copying is precisely the probe task for testing this: it requires the model to reproduce entities that appeared in the context verbatim, and is a direct manifestation of associative recall capability. This mismatch between inductive bias and training objectives explains why capacity exists but is not activated.
Two Training Interventions: Sentence Repetition and Loss Reweighting
Based on the above judgment, the researchers attempted to strengthen recall supervision during training, specifically adopting two methods:
- In-context sentence repetition: increasing the model's exposure to in-context copying by repeatedly presenting sentences in the training data.
- Context-sensitive loss reweighting: assigning higher weights to loss terms related to in-context recall.
Both methods improved performance on recall-intensive benchmarks and, without changing the architecture, token budget, or number of optimization steps, narrowed the long-distance associative recall gap to the Softmax baseline level. The cost was a slight decline in general language modeling performance.
Loss reweighting is a common technique of assigning different weights to the losses of different samples or different tokens during training, thereby changing the direction of optimization. The "context-sensitive loss reweighting" in this paper identifies prediction positions related to in-context recall (for example, tokens that require reliance on preceding entities to be correctly predicted) and multiplies their loss by a higher coefficient, making gradients more concentrated on driving the model to learn retrieval and copying. The accompanying in-context sentence repetition increases exposure from the data side: by repeatedly presenting a sentence within the same context, the model has more opportunities to observe the pattern that "the same information needs to be retrieved again." The two apply incentives from the data distribution and the optimization objective respectively, and neither changes the model structure or computational budget, thus cleanly validating the hypothesis that "the recall gap stems from insufficient training incentives."
Underestimated Retrieval Capacity and the Value of Training Design
These results indicate that there is a large amount of underutilized retrieval capacity within linear attention models. Through targeted training adjustments, considerable recall capability can be activated without changing the model structure itself.
More broadly, this finding suggests that the efficiency advantage of linear attention and its recall shortcoming are not an irreconcilable trade-off. The real problem is that the architecture's inductive bias and the default requirements of language model training make it difficult for this capability to develop naturally without dedicated incentives. For model designers pursuing long-context efficiency, the fine-grained design of training objectives may be as important as architecture choice.
One-line Summary
Linear attention's recall shortcoming stems from insufficient training incentives, not architectural capacity defects.
Paragraph Summary
This study investigates the root cause of why linear attention lags behind Softmax attention in associative recall. Through three paths—natural language evaluation, synthetic recall tasks, and training interventions—the research finds that linear attention's state size and the number of recallable items follow similar scaling laws, and a single-layer model at sufficient scale can retrieve thousands of associations, indicating that its memory capacity is not lacking. However, under standard language model training, linear models struggle to spontaneously learn to copy information from context, whereas Softmax models naturally acquire this ability, exposing a mismatch between inductive bias and training objectives. The researchers adopted two interventions—in-context sentence repetition and context-sensitive loss reweighting—and without changing the architecture, token budget, or number of optimization steps, narrowed the long-distance recall gap to the Softmax baseline, at the cost of a slight decline in general language modeling performance.
Related articles

Garmin Forerunner 265S Drops to Lowest Price of the Year: A Balanced Choice for Small-Wristed Runners
Garmin Forerunner 265S drops to $300, its lowest price of the year. This small-wrist-friendly running watch features an OLED touchscreen, good battery life, and was called a balanced choice in testing.

Minipg: Packaging PostgreSQL into a Single Executable File
Minipg packages PostgreSQL into a single executable that runs without dependencies. We analyze its technical approach, use cases, and limitations, exploring how single-file databases impact development and deployment.

Will AI End Our Careers?
Hacker News buzzes over 'AI may end our careers.' This article analyzes the real basis of this anxiety, the difference between task replacement and occupational reshaping, and response strategies for tech professionals.