potentialpaper

Attention Sinks in Transformer-based Language Models: Emergence Mechanisms and Benign Effects

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:58 UTC · 26e04f744dc3 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "WdMtlG7LnC"
- }
- ],
- "title": "Attention Sinks in Transformer-based Language Models: Emergence Mechanisms and Benign Effects",
- "authors": [],
- "abstract": "Attention sinks, in which large language models (LLMs) disproportionately attend to specific tokens such as the initial token or weak semantic tokens like punctuation and function words, have become an important focus in understanding Transformer mechanisms.\nThis phenomenon has been shown to affect model performance and efficiency, motivating methods that either mitigate or leverage it to improve architectures.\nHowever, its theoretical underpinnings remain insufficiently understood, particularly how these patterns emerge spontaneously during training.\nIn this work, we address this gap by theoretically analyzing a two-block Transformer trained on synthetic text datasets.\nWe show that causal masking causes parameters associated with the first token to accumulate disproportionate gradients, driving the formation of a first-token attention sink, while high-frequency semantic tokens receive significantly larger gradients than other tokens and consequently absorb most of the attention.\nWe further show that these attention sinks are compatible with the Transformer's predictive capacity, even when attention is heavily concentrated on a few tokens.\nOverall, this work provides a training dynamics explanation for the emergence of attention sinks, offering insights that inform the design of new algorithms and architectures.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "90790627-ae52-4ca0-8ac6-27a9a4ceada6"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Attention Sinks in Transformer-based Language Models: Emergence Mechanisms and Benign Effects",
+ "authors": [],
+ "abstract": "Attention sinks, in which large language models (LLMs) disproportionately attend to specific tokens such as the initial token or weak semantic tokens like punctuation and function words, have become an important focus in understanding Transformer mechanisms.\nThis phenomenon has been shown to affect model performance and efficiency, motivating methods that either mitigate or leverage it to improve architectures.\nHowever, its theoretical underpinnings remain insufficiently understood, particularly how these patterns emerge spontaneously during training.\nIn this work, we address this gap by theoretically analyzing a two-block Transformer trained on synthetic text datasets.\nWe show that causal masking causes parameters associated with the first token to accumulate disproportionate gradients, driving the formation of a first-token attention sink, while high-frequency semantic tokens receive significantly larger gradients than other tokens and consequently absorb most of the attention.\nWe further show that these attention sinks are compatible with the Transformer's predictive capacity, even when attention is heavily concentrated on a few tokens.\nOverall, this work provides a training dynamics explanation for the emergence of attention sinks, offering insights that inform the design of new algorithms and architectures.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}