mlsanityData to 14 Oct 2026

In-Context Learning in Linear vs. Quadratic Attention Models: An Empirical Study on Regression Tasks

arXiv 2602.17171 ↗First posted 19 Feb 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Recent work has demonstrated that transformers and linear attention models can perform in-context learning (ICL) on simple function classes, such as linear regression. In this paper, we empirically study how these two attention mechanisms differ in their ICL behavior on the canonical linear-regression task of Garg et al. We evaluate learning quality (MSE), convergence, and generalization behavior of each architecture. We also analyze how increasing model depth affects ICL performance. Our results illustrate both the similarities and limitations of linear attention relative to quadratic attention in this setting.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 4 of its 5 references that are in the map. First posted on arXiv 19 Feb 2026.

Builds on

4 of 5 references.

References · 4

  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  2. 2022Transformers learn in-context by gradient descentcited by 732
  3. 2023Trained Transformers Learn Linear Models In-Contextcited by 337
  4. 2025Strategy Coopetition Explains the Emergence and Transience of In-Context Learningcited by 17

Built on by

Not cited yet.