arXiv Machine Learning By Simon Gabet (LMO), Etienne Boursier (LMO, CELESTE), Claire Boyer (LMO, IUF)

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

Read the original on arXiv Machine Learning →

Softmax attention, central to Transformers, has been examined in the context of Gaussian mixtures to explore its behavior in the infinite-prompt limit. The study demonstrates that, unlike the purely linear mapping observed with single Gaussian prompts, softmax attention on Gaussian mixtures can both recover linear tasks and exploit query-dependent selection to solve nonlinear problems such as supervised classification and denoising. The work shows that softmax attention retains tractability while gaining the ability to learn optimal solutions via gradient-based methods.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

Hugging Face Trending Papers
Oct 8

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

Softmax attention, central to Transformers, has been examined in the context of Gaussian mixtures to explore its behavior in the infinite-prompt limit. While pure Gaussian prompts reduce softmax attention to a linear map, Gaussian mixtures preserve latent structure, multimodality, and nonlinear dependencies. The study demonstrates that softmax attention can learn optimal solutions for tasks such as supervised classification and denoising, recovering linear performance while also leveraging query-dependent selection to tackle nonlinear problems beyond linear attention.