mlsanityData to 7 Oct 2026

SLiM: One-shot Quantization and Sparsity with Low-rank Approximation for LLM Weight Compression

arXiv 2410.09615 ↗First posted 12 Oct 2024cs.LG cs.AI cs.PFcited by 12

Not on the map. Why?

Abstract (arXiv)

Conventional model compression techniques for LLMs address high memory consumption and slow inference challenges but typically require computationally expensive retraining to preserve accuracy. In contrast, one-shot compression methods eliminate retraining cost, but struggle to achieve accuracy comparable to dense models. This paper presents SLIM, a new one-shot compression framework that holistically integrates hardware-friendly quantization, sparsity, and low-rank approximation into a unified process. First, we formulate the quantization process using a probabilistic approach (SLIM-Quant) that enables us to apply uniform quantization. Then, we use an existing one-shot pruning method to apply semi-structured sparsity on top of the quantized weights. Finally, to compensate for the introduced aggregated quantization and sparsity error, we use a novel saliency function with unique invertible and additive features that enables us to mathematically compute the value of low-rank adapters. SLIM improves model accuracy by up to 5.66% (LLaMA-2-7B) for 2:4 sparsity with 4-bit weight quantization, outperforming prior methods. Models compressed with SLIM achieve up to 4.3x and 3.8x on Nvidia RTX3060 and A100 GPUs, respectively. Additionally, they achieve up to 0.23x end-to-end memory reduction in comparison to their dense counterparts. We also propose an optional PEFT recipe that further improves accuracy by up to 1.66% (LLaMA-2-13B) compared to SLIM without fine-tuning.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 44 of its 61 references that are in the map. First posted on arXiv 12 Oct 2024.

Builds on

44 of 61 references.

References · 44

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  7. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  8. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  9. 2016Pointer Sentinel Mixture Modelscited by 2,992
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  11. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  12. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
32 more
  1. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  2. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  3. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  4. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  5. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
  6. 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
  7. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
  8. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
  9. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
  10. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
  11. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
  12. 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 598
  13. 2021A White Paper on Neural Network Quantizationcited by 453
  14. 2023OmniQuant: Omnidirectionally Calibrated Quantization for Large Language Modelscited by 403
  15. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
  16. 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 317
  17. 2022FP8 Formats for Deep Learningcited by 187
  18. 2023LoSparse: Structured Compression of Large Language Models based on Low-Rank and Sparse Approximationcited by 103
  19. 2023LQ-LoRA: Low-rank Plus Quantized Matrix Decomposition for Efficient Language Model Finetuningcited by 92
  20. 2024AffineQuant: Affine Transformation Quantization for Large Language Modelscited by 64
  21. 2024Compressing Large Language Models using Low Rank and Low Precision Decompositioncited by 58
  22. 2018Value-aware Quantization for Training and Inference of Neural Networkscited by 49
  23. 2024MaskLLM: Learnable Semi-Structured Sparsity for Large Language Modelscited by 49
  24. 2024RoSA: Accurate Parameter-Efficient Fine-Tuning via Robust Adaptationcited by 48
  25. 2024LQER: Low-Rank Quantization Error Reconstruction for LLMscited by 39
  26. 2023STEP: Learning N:M Structured Sparsity Masks from Scratch with Preconditioncited by 25
  27. 2024QERA: an Analytical Framework for Quantization Error Reconstructioncited by 21
  28. 2024OATS: Outlier-Aware Pruning Through Sparse and Low Rank Decompositioncited by 19
  29. 2024SLoPe: Double-Pruned Sparse Plus Lazy Low-Rank Adapter Pretraining of LLMscited by 18
  30. 2024Progressive Gradient Flow for Robust N:M Sparsity Training in Transformerscited by 17
  31. 2024Effective Interplay between Sparsity and Quantization: From Theory to Practicecited by 16
  32. 2023MKOR: Momentum-Enabled Kronecker-Factor-Based Optimizer Using Rank-1 Updatescited by 7

Built on by

Cited by year (2026 to 7 Oct)

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

12 papers.