liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Multistability of Self-Attention Dynamics in Transformers
Linköping University, Department of Electrical Engineering, Automatic Control. Linköping University, Faculty of Science & Engineering.ORCID iD: 0000-0003-4142-6502
2026 (English)In: IEEE Transactions on Automatic Control, ISSN 0018-9286, E-ISSN 1558-2523, Vol. 71, no 10, p. 6582-6595Article in journal (Refereed) Published
Abstract [en]

In machine learning, a self-attention dynamics is a continuous-time multiagent-like model of the attention mechanisms of transformers. In this article, we show that such dynamics is related to a multiagent version of the Oja flow, a dynamical system that computes the principal eigenvector of a matrix corresponding for transformers to the value matrix. We classify the equilibria of the "single-head" self-attention system into four classes: consensus, bipartite consensus, clustering, and polygonal equilibria. Multiple asymptotically stable equilibria from the first three classes often coexist in the self-attention dynamics. Interestingly, equilibria from the first two classes are always aligned with the eigenvectors of the value matrix, often but not exclusively with the principal eigenvector.

Place, publisher, year, edition, pages
IEEE-INST ELECTRICAL ELECTRONICS ENGINEERS INC , 2026. Vol. 71, no 10, p. 6582-6595
Keywords [en]
Circuits; Feedback; Electronic mail; Complex networks; Message systems; Electronic components; Switches; Machine learning; Artificial intelligence; Feedforward neural networks; Consensus; multiagent systems; nonlinear dynamical systems; pretrained transformer; self-attention in machine learning
National Category
Other Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
URN: urn:nbn:se:liu:diva-228484DOI: 10.1109/TAC.2026.3687461ISI: 001893034200035Scopus ID: 2-s2.0-105037186347OAI: oai:DiVA.org:liu-228484DiVA, id: diva2:2109739
Note

Funding Agencies|Swedish Research Council [2024-04772]; ELLIIT framework program at Linkoeping University [2024-04772]

Available from: 2026-10-12 Created: 2026-10-12 Last updated: 2026-10-29

Open Access in DiVA

fulltext(1571 kB)29 downloads
File information
File name FULLTEXT01.pdfFile size 1571 kBChecksum SHA-512
4fa50b86c318ed4305d12939e8c6e7ca9f6fcf00ee469945588dee354770b12abffcf2dea83ad26016f617552a0411ce1cd91443da03d1f29d8053e427b0f1d7
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Search in DiVA

By author/editor
Altafini, Claudio
By organisation
Automatic ControlFaculty of Science & Engineering
In the same journal
IEEE Transactions on Automatic Control
Other Electrical Engineering, Electronic Engineering, Information Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 29 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 330 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf