Motivated in part by their relevance for low-precision training and quantization, massive activations in large language models (LLMs) have recently emerged as a topic of interest. However, existing analyses are limited in scope, and generalizability across architectures is unclear. This paper helps address some of these gaps by conducting an analysis of massive activations across a broad range of LLMs, including both GLU-based and non-GLU-based architectures. Our findings challenge several prior assumptions, most importantly: (1) not all massive activations are detrimental, i.e. suppressing them does not lead to an explosion of perplexity or a collapse in downstream task performance; (2) proposed mitigation strategies such as Attention KV bias are model-specific and ineffective in certain cases. We consequently investigate novel hybrid mitigation strategies; in particular pairing Target Variance Rescaling (TVR) with Attention KV bias or Dynamic Tanh (DyT) successfully balances the mitigation of massive activations with preserved downstream model performance in the scenarios we investigated. Our code is available at: https://github.com/bluorion-com/refine_massive_activations.
Unraveling Babel: Exploring Multilingual Activation Patterns of LLMs and Their Applications
Liangzhu Laboratory, Zhejiang University(浙江大学良渚实验室);AI Research Center, WeDoctor Cloud(微医云AI研究中心);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);School of Public Health, Zhejiang University(浙江大学公共卫生学院)
Controlling Large Language Models Through Concept Activation Vectors
Key Lab of Intelligent Information Processing of Chinese Academy of Sciences(中国科学院智能信息处理重点实验室);Key Lab of AI Safety of Chinese Academy of Sciences(中国科学院人工智能安全重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院)
Finedeep: Mitigating Sparse Activation in Dense LLMs via Multi-Layer Fine-Grained Experts
College of Intelligence and Computing, Tianjin University(天津大学智能与计算学部);Chinese Academy of Sciences(中国科学院);Kuaishou Technology(快手科技);Tsinghua University(清华大学)
Enhancing Cross-task Transfer of Large Language Models via Activation Steering
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学耿丽人工智能学院);Department of Computer Science, National University of Singapore(新加坡国立大学计算机科学系);Ant Group(蚂蚁集团)
LLMs Silently Correct African American English: Auditing and Mitigating Dialect Bias via Activation Steering
York University(约克大学);Vector Institute(向量研究所);Connected Minds(连接思维公司);Emory University(埃默里大学);Wilfrid Laurier University(威尔弗里德·劳里埃大学);University of Toronto(多伦多大学);University of Guelph(圭尔夫大学);Monark Health(莫纳克健康公司);CIFAR Solution Network(加拿大高级研究院解决方案网络)
LF-Steering: Latent Feature Activation Steering for Enhancing Semantic Consistency in Large Language Models
College of Intelligence and Computing, Tianjin University(天津大学智能与计算学部);IT Innovation and Research Center, Huawei Technologies(华为技术有限公司 IT 创新研究中心);Informatics, University of Edinburgh(爱丁堡大学信息学院)
Activation-Space Personality Steering: Hybrid Layer Selection for Stable Trait Control in LLMs
Network Analysis and Social Influence Modelling (NASIM) Lab(网络分析与社会影响建模实验室);School of Physics Maths and Computing, The University of Western Australia(西澳大学物理数学与计算学院);School of Psychological Science, The University of Western Australia(西澳大学心理学科学学院);School of Computing, Macquarie University(麦考瑞大学计算机学院)
DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs
Institute of Automation, CAS(中国科学院自动化研究所);City University of Hong Kong(香港城市大学);Tsinghua University(清华大学);Zhejiang University(浙江大学);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)