跳到正文
arXiv (AI + Vision + Imaging)· Tigran Fahradyan, Riccardo Ali, Sergio Calvo-Ordo\~nez, Jos\'e Miguel Hern\'andez-Lobato, Pietro Li\`o, \'Alvaro Arroyo·· 1 天前AI 评分38

从对抗鲁棒性理解大语言模型中大规模激活的重要性

Understanding the Importance of Massive Activations through Adversarial Robustness

AI 导读

研究揭示大规模激活与深度网络延迟鲁棒性中的区域迁移现象相关:在样条理论解释下,大规模激活将表征推离网络非线性边界,降低数据点附近输入输出映射的复杂度。

正文 · 原文

arXiv:2611.32585v1 Announce Type: new Abstract: A common occurrence in Large Language Models (LLMs) is the emergence of so-called massive activations. This phenomenon is well known in the literature and has been connected to attention sinks, representational compression, as well as signal propagation. However, the reasons and consequences for their appearance are not yet well understood. In this paper, we explain the role of massive activations in deep learning by showing that they are connected to the region migration phenomenon in delayed robustness. Under the spline theoretic interpretation of deep networks, we show that massive activations push the representations away from the nonlinearity boundaries of the network, decreasing the complexity of its input-output map around data points. Furthermore, we uncover for the first time that this phenomenon is not unique to transformers and actually appears in a number of common architectures performing simple supervised learning tasks. We validate this connection through extensive experiments on a diverse set of architectures including residual MLP, ResNet18, Vision Transformers and GPT and datasets including MNIST, CIFAR10, Imagenette and Shakespeare Text. We consistently observe that massive activations and region migration co-occur with adversarial robustness. Furthermore, we illustrate that this connection holds in the large-scale pretraining of LLMs by showing that the rise of massive activations in LLMs closely tracks the adversarial accuracy of the model under perturbations of the token embeddings.

来源:arXiv (AI + Vision + Imaging) · arxiv.org