arXiv Machine Learning

Pay Attention to Attention Distribution: A New Local Lipschitz Bound for Transformers

arXiv:2507. 07814v2 Announce Type: replace Abstract: We introduce a novel upper bound on the local Lipschitz constant of the dot-product self-attention block showing its dependence on the attention map distributions.

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.

arXiv Machine Learning
Oct 9

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. 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.

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