Everything in its right place: attention is a radio head
Abstract
Attention, the core of language models, is a digital calculation over tokens: an exponential selects them, a division normalizes and a positional code sets the order. We show that attention can instead emerge from the synchronization of a receiver with its context tokens. Each past token is an oscillator whose state carries its content and whose frequency drifts with its age. The present token selects them by content, aligning an antenna with its query, and by position, setting the frequency of a receiver with its dial. Solving Kuramoto's problem for this receiver yields an attention layer in closed form with two phases: above a critical coupling set by the context, the receiver locks and its weights normalize; below it, it stays silent and its weights sum to less than one. Trained networks use both phases to select, abstain and count, fail where the theory predicts and keep reading far beyond the training length. Each part of attention finds its place in one device, a radio head: it tunes in to what to hear and when, and stays silent when nothing relevant is on air.
Create a lesson
Metadata
- Categories
- physics.soc-ph, cond-mat.dis-nn, cs.AI, cs.LG, nlin.AO
- Comments
- 6 pages, 3 figures. Supplemental Material included (10 pages). Code: https://github.com/mystic-blue/radiohead
Recent in the same category
Airport-level runway-incursion rates normalized by movements: hierarchical shrinkage estimates, ranking uncertainty and severity for FAA-towered airports, FY2008-FY2024
Recent in the same categoryphysics.soc-phDenys Kolomiiets
Origins of City Reputation: Measuring Trust and Bias in Online Reviews Using Agentic AI and NLP
Recent in the same categoryphysics.soc-phRafiazka Hilman, Júlia Koltai
Friendship paradoxes in networks
Recent in the same categoryphysics.soc-phEun Lee, Hang-Hyun Jo
Rethinking Discovery Research with AI: The promise of transdisciplinarity and the danger of reductionism
Recent in the same categoryphysics.soc-phIulia Georgescu, Venkatesh Narayanamurti
Political Orientation and Participation in Prediction Markets: Large Stakes Converge, Small Stakes Diverge
Recent in the same categoryphysics.soc-phAli Hosseinzadeh, Ali Hosseiny, Reza Jafari
Hyperbolic network embedding via dimensional annealing and Barnes--Hut approximation
Recent in the same categoryphysics.soc-phBukyoung Jhun, Gangmin Son, Hoyun Choi et al.