potentialpaper

Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:00 UTC · 35811edf6cd3 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "tQCJ61l3Kq"
- }
- ],
- "title": "Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions",
- "authors": [],
- "abstract": "Sparse attention patterns are prevalent in trained transformers, yet the mechanisms that favor their emergence during training remain poorly understood. In this work, we investigate the role of softmax in shaping these patterns by studying the gradient flow dynamics of an attention head trained to produce a fixed bias vector for all inputs, a task\nthat dense and sparse attention solve equally well. Leveraging symmetries of this\ntask, we show that the dynamics of the head simplify to a *value--softmax*\nmodel $V\\sigma(a)$, where $V$ and $a$ are a learnable value matrix and attention\nvector. We prove that gradient flow on this model drives the attention scores\ntoward low entropy: under logistic loss they converge to a one-hot vector, and under\nsquare loss we obtain quantitative polarization bounds.\nFinally, we use experiments in trained transformers to examine how the choice of attention nonlinearity affects the influence of individual tokens and sparse attention patterns.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "769e00aa-c373-4023-968f-deae1d49fb16"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions",
+ "authors": [],
+ "abstract": "Sparse attention patterns are prevalent in trained transformers, yet the mechanisms that favor their emergence during training remain poorly understood. In this work, we investigate the role of softmax in shaping these patterns by studying the gradient flow dynamics of an attention head trained to produce a fixed bias vector for all inputs, a task\nthat dense and sparse attention solve equally well. Leveraging symmetries of this\ntask, we show that the dynamics of the head simplify to a *value--softmax*\nmodel $V\\sigma(a)$, where $V$ and $a$ are a learnable value matrix and attention\nvector. We prove that gradient flow on this model drives the attention scores\ntoward low entropy: under logistic loss they converge to a one-hot vector, and under\nsquare loss we obtain quantitative polarization bounds.\nFinally, we use experiments in trained transformers to examine how the choice of attention nonlinearity affects the influence of individual tokens and sparse attention patterns.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}