Multi-head self-attention dynamics with identity value matrices need not converge

Self-attention dynamics model the layers of a transformer as a system of interacting particles, the tokens. Each attention head adds to every token a weighted average of the tokens, transformed by a value matrix, with softmax weights that an attention matrix determines. For one head with the identity as value matrix and a positive definite attention matrix, Geshkovski, Letrouit, Polyanskiy, and Rigollet proved that every rescaled token converges, and posed proofs of clustering, or of the convergence of the attention weights, for several heads as an open problem. We give a negative answer when every value matrix is the identity and every attention matrix is symmetric positive definite. For two heads with explicit integer attention matrices, four dimensions, and five tokens, one rescaled token and two attention weights do not converge, for a set of initial tokens with nonempty interior. They fail to converge in the differential equation and, for every step size, in the discrete-time scheme in which the problem was posed. In the hardmax model of Alcalde, Fantuzzi, and Zuazua, whose one-head theorem gives the convergence of every token, the same two heads leave one rescaled token without a limit. In the limit of zero temperature, the coordinates of the non-convergent token relative to the other four follow, formally, the mean of the two population states in the best-response dynamics of a game between two populations, one for each head. This game has no potential, and a planar reduction of its dynamics has a periodic orbit.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24653052
Primary Topic
Neural Networks and Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Multi-head self-attention dynamics with identity value matrices need not converge

Sungwoo Kang
1 links
Zenodo (CERN European Organization for Nuclear Research)
Neural Networks and Applications
preprint

Multi-head self-attention dynamics with identity value matrices need not converge

Sungwoo Kang
preprint en

Abstract

Self-attention dynamics model the layers of a transformer as a system of interacting particles, the tokens. Each attention head adds to every token a weighted average of the tokens, transformed by a value matrix, with softmax weights that an attention matrix determines. For one head with the identity as value matrix and a positive definite attention matrix, Geshkovski, Letrouit, Polyanskiy, and Rigollet proved that every rescaled token converges, and posed proofs of clustering, or of the convergence of the attention weights, for several heads as an open problem. We give a negative answer when every value matrix is the identity and every attention matrix is symmetric positive definite. For two heads with explicit integer attention matrices, four dimensions, and five tokens, one rescaled token and two attention weights do not converge, for a set of initial tokens with nonempty interior. They fail to converge in the differential equation and, for every step size, in the discrete-time scheme in which the problem was posed. In the hardmax model of Alcalde, Fantuzzi, and Zuazua, whose one-head theorem gives the convergence of every token, the same two heads leave one rescaled token without a limit. In the limit of zero temperature, the coordinates of the non-convergent token relative to the other four follow, formally, the mean of the two population states in the best-response dynamics of a game between two populations, one for each head. This game has no potential, and a planar reduction of its dynamics has a periodic orbit.

Zenodo (CERN European Organization for Nuclear Research)
Neural Networks and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon