TL;DR
This paper identifies a key layer in large language models where massive activations first appear, and proposes a method to reduce their rigidity, improving model performance and understanding attention sinks.
Contribution
The paper introduces the Massive Emergence Layer (ME Layer) as the origin of massive activations and proposes a simple method to mitigate their effects, enhancing LLM capabilities.
Findings
Massive activations consistently emerge at the ME Layer across model families.
Reducing activation rigidity improves performance on instruction following and math reasoning tasks.
The method mitigates attention sinks by weakening their influence at the hidden state level.
Abstract
We investigate the origins of massive activations in large language models (LLMs) and identify a specific layer named the \textbf{Massive Emergence Layer (ME Layer)}, that is consistently observed across model families, where massive activations first emerge and subsequently propagate to deeper layers through residual connections. We show that, within the ME Layer both the RMSNorm and the FFN parameters jointly contribute to the emergence of massive activations. Once formed, the massive activation token representation remains largely invariant across layers, reducing the diversity of hidden representations passed to the attention module. Motivated by this limitation, we propose a simple and effective method to reduce the rigidity of the massive activation token. Our approach consistently improves LLM performance across multiple tasks, including instruction following and math reasoning,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
