mlsanityData to 7 Oct 2026

Head-wise Shareable Attention for Large Language Models

arXiv 2402.11819 ↗First posted 19 Feb 2024cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) suffer from huge number of parameters, which restricts their deployment on edge devices. Weight sharing is one promising solution that encourages weight reuse, effectively reducing memory usage with less performance drop. However, current weight sharing techniques primarily focus on small-scale models like BERT and employ coarse-grained sharing rules, e.g., layer-wise. This becomes limiting given the prevalence of LLMs and sharing an entire layer or block obviously diminishes the flexibility of weight sharing. In this paper, we present a perspective on head-wise shareable attention for large language models. We further propose two memory-efficient methods that share parameters across attention heads, with a specific focus on LLMs. Both of them use the same dynamic strategy to select the shared weight matrices. The first method directly reuses the pre-trained weights without retraining, denoted as DirectShare. The second method first post-trains with constraint on weight matrix similarity and then shares, denoted as PostShare. Experimental results reveal our head-wise shared models still maintain satisfactory capabilities, demonstrating the feasibility of fine-grained weight sharing applied to LLMs.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 43 of its 63 references that are in the map. First posted on arXiv 19 Feb 2024.

Builds on

43 of 63 references.

References · 43

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  7. 2020Scaling Laws for Neural Language Modelscited by 6,411
  8. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  10. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  11. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  12. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
31 more
  1. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  2. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  3. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  4. 2020Reformer: The Efficient Transformercited by 1,658
  5. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  6. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
  7. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
  8. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 694
  9. 2023Baichuan 2: Open Large-scale Language Modelscited by 664
  10. 2018Universal Transformerscited by 613
  11. 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 359
  12. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  13. 2021DeepViT: Towards Deeper Vision Transformercited by 288
  14. 2020CLUE: A Chinese Language Understanding Evaluation Benchmarkcited by 277
  15. 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
  16. 2024LaCo: Large Language Model Pruning via Layer Collapsecited by 124
  17. 2022MiniViT: Compressing Vision Transformers with Weight Multiplexingcited by 88
  18. 2020OCNLI: Original Chinese Natural Language Inferencecited by 86
  19. 2021Lessons on Parameter Sharing across Layers in Transformerscited by 85
  20. 2022Compression of Generative Pre-trained Language Models via Quantizationcited by 79
  21. 2020Audio ALBERT: A Lite BERT for Self-supervised Learning of Audio Representationcited by 58
  22. 2022CSL: A Large-scale Chinese Scientific Literature Datasetcited by 45
  23. 2021Subformer: Exploring Weight Sharing for Parameter Efficiency in Generative Transformerscited by 42
  24. 2018Recurrent Stacking of Layers for Compact Neural Machine Translation Modelscited by 38
  25. 2019Sharing Attention Weights for Fast Transformercited by 34
  26. 2021Leveraging redundancy in attention with Reuse Transformerscited by 33
  27. 2023AD-KD: Attribution-Driven Knowledge Distillation for Language Model Compressioncited by 26
  28. 2021Rethinking Perturbations in Encoder-Decoders for Fast Trainingcited by 17
  29. 2021LazyFormer: Self Attention with Lazy Updatecited by 16
  30. 2023GKD: A General Knowledge Distillation Framework for Large-scale Pre-trained Language Modelcited by 15
  31. 2023Exploring Attention Map Reuse for Efficient Transformer Neural Networkscited by 3

Built on by

Cited by year

Citing papers per year: 2024: 3; 2025: 1.

4 papers.