mlsanityData to 14 Oct 2026

Ghost in the Kernel: In-Context Learning with Efficient Transformers via Domain Generalization

arXiv 2607.00479 ↗First posted 1 Jul 2026cs.LG stat.MLcited by 1

Not on the map. Why?

Abstract (arXiv)

Transformer-based large models have demonstrated remarkable generalization abilities across different tasks by leveraging a context-aware attention module for in-context learning. With richer context, transformers adapt more effectively to the current use case without any parameter updates. However, the quadratic computational and memory complexity with respect to context length significantly slows data processing in softmax transformers. Linear transformers were proposed to address this issue by reducing the complexity to linear dependence on context length, but the design and understanding of the feature mapping in linear attention, from a theoretical viewpoint, remain unclear. In this paper, we investigate the approximation and generalization abilities of linear transformers under a two-staged sampling process from domain generalization. We show that linear transformers perform in-context learning as learning a mapping from context distributions to response functions. A dimension-independent convergence rate is obtained for our generalization analysis, which also exhibits the tradeoff between the regularities of data distributions and latent features. Guided by our theoretical framework, we propose a new perspective on activation and loss design for linearizing pretrained softmax large language models.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 6 of its 56 references that are in the map. First posted on arXiv 1 Jul 2026.

Builds on

6 of 56 references.

References · 6

  1. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  2. 2020GLU Variants Improve Transformercited by 1,804
  3. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  4. 2017Searching for Activation Functionscited by 169
  5. 2025Understanding In-Context Learning on Structured Manifolds: Bridging Attention to Kernel Methodscited by 15
  6. 2024Optimal Convergence Rates for Neural Operatorscited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.