SliM-LLM: Salience-Driven Mixed-Precision Quantization for Large Language Models

Wei Huang, Haotong Qin, Yangdong Liu, Yawei Li, Xianglong Liu, Luca Benini, Michele Magno, Xiaojuan Qi · DOI

Abstract

Large Language Models (LLMs) face significant deployment challenges due to their massive parameter counts. While Post-Training Quantization (PTQ) offers a solution, ultra-low bit-widths (≤ 3-bit) typically lead to severe performance degradation. SliM-LLM addresses this by introducing a hardware-friendly, structured mixed-precision framework. By identifying that weight salience clusters within specific channels, SliM-LLM adaptively allocates bits at a group level, protecting critical weights while maintaining high inference speeds. Experimental results show up to a 48% improvement in perplexity over existing methods on LLaMA models at 2-bit precision.

Introduction

The rapid scaling of LLMs to hundreds of billions of parameters has made deployment on consumer-grade hardware increasingly difficult. Post-Training Quantization (PTQ) is the primary technique used to compress these models. However, existing PTQ methods face a "performance wall" at ultra-low bit-widths. Uniform quantization methods are hardware-efficient but suffer from high accuracy loss. Conversely, unstructured mixed-precision methods maintain accuracy by preserving important weights at higher precision but are "hardware-unfriendly," requiring complex indexing that slows down inference.

SliM-LLM bridges this gap with a structured mixed-precision framework. It leverages the observation that "salient" weights—those most critical to model performance—are not randomly distributed but tend to cluster in specific channels. This allows for a group-wise approach that is both accurate and computationally efficient.

Methodology

The SliM-LLM framework consists of two main components designed to optimize weight representation without the overhead of unstructured methods.

The SliM-LLM framework: Salience-Determined Bit Allocation (SBA) and Salience-Weighted Quantizer Calibration (SQC).

Salience-Determined Bit Allocation (SBA)

SBA operates at a group level (e.g., blocks of 128 weights) rather than individual weights. It ranks these groups based on their average salience and adaptively assigns bit-widths. For a target average of 2 bits, SBA might assign 3 bits to highly salient groups and 1 bit to less critical ones. This "bit-stealing" mechanism ensures the most vital internal representations are protected within a fixed bit budget. Crucially, SBA uses Kullback-Leibler (KL) divergence to optimize allocation, which preserves the model's information entropy better than standard Mean Squared Error (MSE).

Salience-Weighted Quantizer Calibration (SQC)

To further refine precision within groups, SQC introduces a calibration parameter (τ). This parameter adjusts the quantizer's range to prioritize "locally salient" weights. By reducing error where it matters most, SQC improves accuracy without requiring additional metadata for inference.

The authors also developed SliM-LLM+, which integrates gradient-based optimization to further fine-tune quantized weights, pushing the boundaries of 3-bit performance.

Experimental Results

SliM-LLM was evaluated across various models, including LLaMA (v1-v3), OPT, Gemma2, and Mixtral, using standard benchmarks like WikiText2 and C4.

Comparison of SliM-LLM against state-of-the-art methods on LLaMA models and classification of PTQ methods.

Accuracy and Efficiency

On the LLaMA-7B model at 2-bit precision, SliM-LLM achieved a 48% reduction in perplexity compared to state-of-the-art gradient-free methods. This significant gain allows 2-bit models to remain coherent where previous methods often failed. Furthermore, a 2-bit LLaMA-7B model requires nearly 6x less memory than its FP16 counterpart.

Hardware Performance

A key advantage of SliM-LLM is its deployment friendliness. In GPU benchmarks, it achieved an inference speed of 61.2 tokens/s on a 2-bit LLaMA-7B. This demonstrates that structured mixed-precision can maintain the high throughput necessary for real-time applications, unlike unstructured approaches.

Robustness Across Modalities

The framework's robustness was also tested on the LLaVA-Next vision-language model. While competing 2-bit methods produced incoherent "N/A" outputs, SliM-LLM successfully generated reasonable textual responses, highlighting its effectiveness in multi-modal contexts.

Conclusion and Future Work

SliM-LLM demonstrates that structured mixed-precision is a viable path for ultra-low bit-width quantization. By focusing on channel-wise salience, it achieves a superior balance between accuracy and hardware efficiency.

However, challenges remain. Current GPU kernels for 1-bit operations are not fully optimized, meaning the computational speedup for 1-bit groups does not yet match the storage savings. Future work will focus on further optimizing CUDA kernels to close the speed gap with uniform quantization and exploring even more extreme compression levels below 2 bits.

Summary updated

BibTeX
@inproceedings{huang2025slim,
  author = {Wei Huang and Haotong Qin and Yangdong Liu and Yawei Li and Xianglong Liu and Luca Benini and Michele Magno and Xiaojuan Qi},
  title = {{SliM-LLM: Salience-Driven Mixed-Precision Quantization for Large Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=PO9bBEPNWy},
}
Figure