analiza aiqbench
This research offers a rigorous control-theoretic analysis of Transformer dynamics, demonstrating how feed-forward layers can steer token representations toward consensus independent of attention matrix configurations. By bridging interacting particle systems with deep learning architectures, the study provides theoretical guarantees for convergence that are validated against real-world large language models. Such insights deepen our fundamental understanding of the mechanistic roles within foundational AI models beyond empirical observation.
The Role of Feed-Forward Layers in Transformer Dynamics
arXiv:2609.36230v1 Announce Type: new Abstract: We study the dynamical behavior of tokens in transformers from a control-theoretic perspective. Our model includes the feed-forward layer present after the self-attention mechanism, with the self-attention mechanism interpreted as an interacting particle system and the feed-forward layer as an independent control. Our main theoretical result establishes that the feed-forward network can steer the tokens arbitrarily close to consensus regardless of the key, query, and value matrices. Our result are easily extended to convergence to many clusters and to multi-head attention. We conduct numerical experiments to verify our results, and compare thresholding behavior from our theory to real-world LLMs.
Abstract:We study the dynamical behavior of tokens in transformers from a control-theoretic perspective. Our model includes the feed-forward layer present after the self-attention mechanism, with the self-attention mechanism interpreted as an interacting particle system and the feed-forward layer as an independent control. Our main theoretical result establishes that the feed-forward network can steer the tokens arbitrarily close to consensus regardless of the key, query, and value matrices. Our result are easily extended to convergence to many clusters and to multi-head attention. We conduct numerical experiments to verify our results, and compare thresholding behavior from our theory to real-world LLMs.
Machine Learning (cs.LG); Dynamical Systems (math.DS)
arXiv:2609.36230 [cs.LG]
(or arXiv:2609.36230v1 [cs.LG] for this version)
https://doi.org/10.48550/arXiv.2609.36230 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Text integral sub licența deschisă a publicației · 196 cuvinte
Subiecte conexe

Inside the megakernel serving engine for North Mini Code
Cohere · 8 sept. 2026

Tariffs didn’t bring manufacturing jobs back to the US
The Verge · 27 iul. 2026

Runway’s WorldPrompt and the Engineering of Real-Time Worlds
Latent Space · 25 sept. 2026
Dynamics to decision: A mathematical theory of Lyapunov spectra and decision boundaries in deep classifiers
arXiv · 1 oct. 2026