Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Súkeník, Peter, Amado, Cristina López, Lampert, Christoph H., Mondelli, Marco
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910203261222912
author Súkeník, Peter
Amado, Cristina López
Lampert, Christoph H.
Mondelli, Marco
author_facet Súkeník, Peter
Amado, Cristina López
Lampert, Christoph H.
Mondelli, Marco
contents This paper studies the role of sinks and diagonal patterns as attention switch and anti-oversmoothing mechanisms. We analyze geometric conditions under which sinks can be represented, showing a necessary alignment between the embedding of the sink and all other embeddings. Next, we refine the current understanding of the role of sinks in oversmoothing prevention: we specify the conditions under which dense attention provably smooths more than sparse attention, and empirically verify that such conditions are often satisfied in practice. We further prove an equivalence between sinks and hard attention switch, in which the output of the attention is identically 0. Finally, we relax the hard attention switch by allowing token self-communication: we provide a quantitative comparison of the costs of representing sinks vs.\ diagonal patterns, showing why sinks are favored in pretrained transformers. The introduction and analysis of diagonal patterns and the generalization of the attention switch close the gap between what oversmoothing prevention requires and what sinks provide, while also establishing when and why attention layers act like MLPs if token communication is not necessary.
format Preprint
id arxiv_https___arxiv_org_abs_2605_08453
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention
Súkeník, Peter
Amado, Cristina López
Lampert, Christoph H.
Mondelli, Marco
Machine Learning
Artificial Intelligence
This paper studies the role of sinks and diagonal patterns as attention switch and anti-oversmoothing mechanisms. We analyze geometric conditions under which sinks can be represented, showing a necessary alignment between the embedding of the sink and all other embeddings. Next, we refine the current understanding of the role of sinks in oversmoothing prevention: we specify the conditions under which dense attention provably smooths more than sparse attention, and empirically verify that such conditions are often satisfied in practice. We further prove an equivalence between sinks and hard attention switch, in which the output of the attention is identically 0. Finally, we relax the hard attention switch by allowing token self-communication: we provide a quantitative comparison of the costs of representing sinks vs.\ diagonal patterns, showing why sinks are favored in pretrained transformers. The introduction and analysis of diagonal patterns and the generalization of the attention switch close the gap between what oversmoothing prevention requires and what sinks provide, while also establishing when and why attention layers act like MLPs if token communication is not necessary.
title Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2605.08453