Softmax Attention on Gaussian Mixtures: Linear When It Can, Selective When It Must

Simon Gabet, Etienne Boursier, Claire Boyer
10/8/2026
stat.MLcs.LG

No confident code implementation found for this paper.

Abstract

Softmax attention, at the heart of Transformers, has demonstrated remarkable capabilities. Yet its underlying mechanisms remain only partially understood.

Show full abstract

Recent theoretical work studies Gaussian prompts, where the infinite-prompt limit reduces softmax attention to a linear map, but also removes the query-dependent selection that distinguishes it from linear attention. This work studies the infinite-prompt limit of softmax attention on Gaussian mixtures, which retain the tractability of Gaussian data while introducing latent structure, multimodality, and nonlinear dependencies. We show that softmax attention can represent and learn, via gradient-based methods, optimal solutions to a range of statistical tasks, including supervised classification and denoising. Our results highlight two complementary capabilities of softmax attention: it can recover linear tasks as effectively as its simpler linear counterpart, while also exploiting query-dependent context selection to solve nonlinear tasks beyond the reach of linear attention.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gabet2026softmax,
  title  = {Softmax Attention on Gaussian Mixtures: Linear When It Can, Selective When It Must},
  author = {Simon Gabet and Etienne Boursier and Claire Boyer},
  year   = {2026},
  eprint = {2610.11798},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.11798v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.11798.svg)](https://codeofpaper.com/paper/2610.11798)

Discussion