Two-Clustering Regime of Token Dynamics in Causal Attention
Trinh T. Nguyen, Duy-Tung Pham, Hoang-Son Do, Tan Minh Nguyen, Thieu N. Vo
Abstract
We partially resolve Conjecture 1 of [Karagodin et al., Clustering in Causal Attention Masking (NeurIPS 2024)] and extend it to time-dependent parameter regimes. The conjecture predicts that causal attention dynamics converge to two clusters aligned with the eigenvectors associated with the largest eigenvalue of the value transformation. We prove that this behavior holds when and is generally false when . The resulting two-cluster regime is common in practice and substantially more challenging than the classical single-cluster setting studied previously. A central contribution of our work is the identification of a rigorous dimension reduction phenomenon: despite evolving in a high-dimensional embedding space, token trajectories collapse onto a two-dimensional structure governed by a small number of dominant directions. Building on this insight, we introduce a new analytical framework--instability within the flow--inspired by instability phenomena in physical systems. This framework enables the analysis of steady-regime behavior in non-monotone, non-autonomous attention dynamics. Our theoretical findings are illustrated through simulations and experimental studies using Group Query Attention (GQA) layers.
Create a lesson
Related papers
CausalNTP: A World-Model Recipe for Causal Next-Token Prediction under Noisy Training-data
Shared title terminology · Devansh Arpit
Dynamic Token Merging for Efficient Vision-Language Models
Shared title terminology · Chris Gu, Marco Andono Sie, Nathan Zhou et al.
When Wrong Answers Remain Unsettled: Failure Dynamics in Recurrent Reasoners
Shared title terminology · Jiucheng Zang, Congkai Peng, Yankai Wei
GERF: A Token-Efficient Multimodal Retrieval Framework for Schema-Guided Scientific Information Extraction
Shared title terminology · Yiyu Qian, Xing Wu
BioEmu2: Scalable Emulation of Biomolecular Dynamics
Shared title terminology · Michael Gastegger, Adam E. Foster, José Jiménez-Luna et al.
Average-Depth Variable Execution via Request-Local Token Routing
Shared title terminology · Pengjie Zheng, Mengwei Xie, Huan Yang et al.