Gradient Flow Structure and Quantitative Dynamics of Multi-Head Self-Attention

Ayan Pendharkar · 2026

Read Gradient Flow Structure and Quantitative Dynamics of Multi-Head Self-Attention by Ayan Pendharkar (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-04279.txt.

Description

Ayan Pendharkar develops a theory of how tokens move and cluster inside multi-head self-attention, the core mechanism of transformer models. A single attention head can be viewed as a flow that pulls tokens together, but several heads interfere with each other in ways that break simple arguments.

Pendharkar defines a combined energy for the multi-head case and shows when it grows steadily along the flow. He identifies extra radial terms as the key obstacle, gives a condition that restores the steady behaviour, and checks that it survives when heads are only roughly separate. A simplified setting yields an exact threshold for clustering.

Catalog record

CREATORAyan Pendharkar
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE58 KB
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.04279

Browse the full library · About the Tower of Babel