mlsanityData to 13 Oct 2026

FoldGPT: Simple and Effective Large Language Model Compression Scheme

arXiv 2407.00928 ↗First posted 1 Jul 2024cs.LG cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

The demand for deploying large language models(LLMs) on mobile devices continues to increase, driven by escalating data security concerns and cloud costs. However, network bandwidth and memory limitations pose challenges for deploying billion-level models on mobile devices. In this study, we investigate the outputs of different layers across various scales of LLMs and found that the outputs of most layers exhibit significant similarity. Moreover, this similarity becomes more pronounced as the model size increases, indicating substantial redundancy in the depth direction of the LLMs. Based on this observation, we propose an efficient model volume compression strategy, termed FoldGPT, which combines block removal and block parameter sharing.This strategy consists of three parts: (1) Based on the learnable gating parameters, we determine the block importance ranking while modeling the coupling effect between blocks. Then we delete some redundant layers based on the given removal rate. (2) For the retained blocks, we apply a specially designed group parameter sharing strategy, where blocks within the same group share identical weights, significantly compressing the number of parameters and slightly reducing latency overhead. (3) After sharing these Blocks, we "cure" the mismatch caused by sparsity with a minor amount of fine-tuning and introduce a tail-layer distillation strategy to improve the performance. Experiments demonstrate that FoldGPT outperforms previous state-of-the-art(SOTA) methods in efficient model compression, demonstrating the feasibility of achieving model lightweighting through straightforward block removal and parameter sharing.

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

Builds on

34 of 46 references.

References · 34

  1. 2020Language Models are Few-Shot Learnerscited by 32,320
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,231
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,072
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,180
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,876
  6. 2020Scaling Laws for Neural Language Modelscited by 6,494
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,798
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,281
  9. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,053
  10. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,500
  11. 2016Pointer Sentinel Mixture Modelscited by 3,047
  12. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,843
22 more
  1. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,163
  2. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,978
  3. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,884
  4. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,435
  5. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,157
  6. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,103
  7. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 896
  8. 2017Crowdsourcing Multiple Choice Science Questionscited by 751
  9. 2024TinyLlama: An Open-Source Small Language Modelcited by 611
  10. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 504
  11. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 480
  12. 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 381
  13. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 375
  14. 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 305
  15. 2024MobileLLM: Optimizing Sub-billion Parameter Language Models for On-Device Use Casescited by 217
  16. 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Servingcited by 204
  17. 2019Structured Pruning of Large Language Modelscited by 201
  18. 2024LaCo: Large Language Model Pruning via Layer Collapsecited by 125
  19. 2017Soft Weight-Sharing for Neural Network Compressioncited by 99
  20. 2024Understanding LLMs: A Comprehensive Overview from Training to Inferencecited by 58
  21. 2022Understanding AdamW through Proximal Methods and Scale-Freenesscited by 46
  22. 2021GDP: Stabilized Neural Network Pruning via Gates with Differentiable Polarizationcited by 29

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2024: 4; 2025: 3; 2026: 2.

9 papers.