mlsanityData to 14 Oct 2026

House of Cards: Massive Weights in LLMs

arXiv 2410.01866 ↗First posted 2 Oct 2024cs.LG cs.AI cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Massive activations, which manifest in specific feature dimensions of hidden states, introduce a significant bias in large language models (LLMs), leading to an overemphasis on the corresponding token. In this paper, we identify that massive activations originate not from the hidden state but from the intermediate state of a feed-forward network module in an early layer. Expanding on the previous observation that massive activations occur only in specific feature dimensions, we dive deep into the weights that cause massive activations. Specifically, we define top-k massive weights as the weights that contribute to the dimensions with the top-k magnitudes in the intermediate state. When these massive weights are set to zero, the functionality of LLMs is entirely disrupted. However, when all weights except for massive weights are set to zero, it results in a relatively minor performance drop, even though a much larger number of weights are set to zero. This implies that during the pre-training process, learning is dominantly focused on massive weights. Building on this observation, we propose a simple plug-and-play method called MacDrop (massive weights curriculum dropout), to rely less on massive weights during parameter-efficient fine-tuning. This method applies dropout to the pre-trained massive weights, starting with a high dropout probability and gradually decreasing it as fine-tuning progresses. Through various experiments, including zero-shot downstream tasks, long-context tasks, and ablation studies, we demonstrate that textttMacDrop generally improves performance and strengthens robustness.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 46 of its 52 references that are in the map. First posted on arXiv 2 Oct 2024.

Builds on

46 of 52 references.

References · 46

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2024The Llama 3 Herd of Modelscited by 14,715
  6. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  8. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  9. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  10. 2016Layer Normalizationcited by 5,669
  11. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  12. 2020Longformer: The Long-Document Transformercited by 3,413
34 more
  1. 2023Mistral 7Bcited by 3,164
  2. 2016Pointer Sentinel Mixture Modelscited by 3,096
  3. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  4. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  5. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  7. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  8. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  9. 2024Mixtral of Expertscited by 1,823
  10. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  11. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  12. 2023BloombergGPT: A Large Language Model for Financecited by 939
  13. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
  14. 2023Vision Transformers Need Registerscited by 871
  15. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  16. 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 812
  17. 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 758
  18. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  19. 2023Instruction Tuning with GPT-4cited by 686
  20. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
  21. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 474
  22. 2024Prometheus 2: An Open Source Language Model Specialized in Evaluating Other Language Modelscited by 446
  23. 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 372
  24. 2024BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domainscited by 301
  25. 2024Massive Activations in Large Language Modelscited by 294
  26. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 269
  27. 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 182
  28. 2024Orca-Math: Unlocking the potential of SLMs in Grade School Mathcited by 151
  29. 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Taskscited by 96
  30. 2023Deep Model Fusion: A Surveycited by 91
  31. 2024Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibrationcited by 74
  32. 2023SlimPajama-DC: Understanding Data Combinations for LLM Trainingcited by 72
  33. 2024Prefixing Attention Sinks can Mitigate Activation Outliers for Large Language Model Quantizationcited by 33
  34. 2024Deciphering the Impact of Pretraining Data on Large Language Models through Machine Unlearningcited by 15

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 6.

9 papers.