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

Mohammad Mozaffari, Amir Yazdanbakhsh, M. Dehnavi
2/12/2026

No official code found. Best implementation: Paramathic/slim (37 stars, MIT, last commit 2025-11-28).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Paramathic/slimCommunity100%
MIT

SLiM: One-shot Quantized Sparse Plus Low-rank Approximation of LLMs (ICML 2025)

375Shell, PythonOct 4, 202410 months agoMIT

Similar Papers

Cite this paper

@article{mozaffari2026slim,
  title  = {SLiM: One-shot Quantization and Sparsity with Low-rank Approximation for LLM Weight Compression},
  author = {Mohammad Mozaffari and Amir Yazdanbakhsh and M. Dehnavi},
  year   = {2026},
  eprint = {2410.09615},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.09615},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.09615.svg)](https://codeofpaper.com/paper/2410.09615)

Discussion