{"query":{"q":"attention","scope":"all","sort":"relevance","page":1,"pageSize":2},"total":null,"page":1,"pageSize":2,"hasMore":true,"hits":[{"arxivId":"2611.20403","title":"Attention Sinks as Spectral Spikes: A Mechanism Analysis of Gated Attention","authors":["Seojin Kim","Yehjin Shin","Noseong Park"],"abstract":"Transformer attention exhibits attention sinks, where a small subset of source tokens absorbs disproportionate attention mass across layers. Recent work shows that post-SDPA output gating strongly reduces attention-sink behavior, while separate studies link attention sinks to gradient sinks and massive activations through backward training dynamics. Yet how the same gate affects forward sink structure, backward gradient concentration, and training-time representation signatures remains unclear. We address this gap by formulating attention sinks as sink-induced low-rank modes in token-space covariance, with directions aligned to high-mass attention columns. Under this view, post-SDPA gating acts as a mode-dependent contraction: it attenuates sink-induced spectral energy in the forward pass and locally reduces value-path gradients routed through sink columns in the backward pass. Empirically, random-matrix diagnostics show that gating reduces outlier mass, weakens sink-subspace alignment, and increases effective rank, while backward analyses show active-gate attenuation of first-token value gradients. Training-time diagnostics further show that gating suppresses the co-emergence of attention concentration, value-gradient amplification, and representation dominance.","categories":["cs.LG","cs.AI"],"primaryCategory":"cs.LG","publishedAt":"2026-11-16T00:00:00.000Z","updatedAt":"2026-11-17T00:00:00.000Z","score":223.70967721939087,"citationCount":null,"qualitySignals":{"stage":"abstract","summary":"The paper models attention sinks as low-rank spectral modes and argues that post-SDPA output gating contracts these modes, reducing forward spectral outliers, sink-subspace alignment, value-path gradient concentration, and related training-time representation signatures. The abstract indicates empirical diagnostics supporting these claims, but does not specify datasets, model configurations, quantitative results, or comparisons sufficient to assess reproducibility or evidence strength fully.","percentile":81,"cohortSize":2640,"metrics":{"impact":7,"significance":7,"rigor":6.5,"novelty":7.5,"clarity":7,"difficulty":8,"surprisingness":6.5,"translationalPotential":6.5,"generalisability":5.5,"interdisciplinarity":6.5,"refutationValue":7,"foundationality":7}},"links":{"paper":"https://arcxiv.org/abs/2611.20403","markdown":"https://arcxiv.org/abs/2611.20403/markdown","arxivAbs":"https://arxiv.org/abs/2611.20403","arxivPdf":"https://arxiv.org/pdf/2611.20403"}},{"arxivId":"2507.07247","title":"Attentions Under the Microscope: A Comparative Study of Resource Utilization for Variants of Self-Attention","authors":["Zhengyu Tian","Anantha Padmanaban Krishna Kumar","Hemant Krishnakumar","Reza Rawassizadeh"],"abstract":"As large language models (LLMs) and visual language models (VLMs) grow in scale and application, attention mechanisms have become a central computational bottleneck due to their high memory and time complexity. While many efficient attention variants have been proposed, there remains a lack of rigorous evaluation on their actual energy usage and hardware resource demands during training. In this work, we benchmark eight attention mechanisms in training GPT-2 architecture, measuring key metrics including training time, GPU memory usage, FLOPS, CPU usage, and power consumption. Our results reveal that attention mechanisms with optimized kernel implementations, including Flash Attention, Locality-Sensitive Hashing (LSH) Attention, and Multi-Head Latent Attention (MLA), achieve the best energy efficiency. We further show that lower GPU power alone does not guarantee reduced energy use, as training time plays an equally important role. Our study highlights the importance of energy-aware benchmarking in attention design and provides a practical insight for selecting resource-efficient mechanisms. All our codes are available at GitHub.","categories":["cs.LG","cs.AI","cs.NE"],"primaryCategory":"cs.LG","publishedAt":"2026-07-19T00:00:00.000Z","updatedAt":"2026-07-21T00:00:00.000Z","score":223.70967721939087,"citationCount":null,"qualitySignals":null,"links":{"paper":"https://arcxiv.org/abs/2507.07247","markdown":"https://arcxiv.org/abs/2507.07247/markdown","arxivAbs":"https://arxiv.org/abs/2507.07247","arxivPdf":"https://arxiv.org/pdf/2507.07247"}}],"elapsedMs":4674}