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