NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SliderQuant: Accurate Post-Training Quantization for LLMs

Shigeng Wang, Chao Li, Yangyuxuan Kang, Jiawei Fan, Zhonghong Ou, Anbang Yao

Introduction

Deploying Large Language Models (LLMs) is a massive engineering challenge due to their memory and compute requirements. Post-Training Quantization (PTQ) is the standard "quick fix"—it compresses models from high-precision (FP16) to low-precision (e.g., 4-bit) using just a few calibration samples, avoiding the massive cost of retraining.

SliderQuant is a new PTQ framework that abandons the "one-size-fits-all" approach to LLM compression. By using adaptive sliding windows that give extra attention to the highly sensitive first and last layers of a model, it achieves state-of-the-art accuracy in challenging low-bit settings (like 4-bit weight-activation) without adding any computational overhead during inference.

The "Sandwich" Effect: What Problem Does This Paper Address?

Most current PTQ methods treat every layer in the transformer stack equally. The authors discovered that this is a mistake. Through empirical testing, they found a "sandwich" effect: the shallow (early) and deep (late) layers of an LLM are significantly more sensitive to quantization than the intermediate layers.

Perplexity across layer indices showing the "sandwich" effect of quantization sensitivity.

Specifically, the very first and very last layers are the most fragile. They are responsible for basic feature extraction and final abstraction; if they are corrupted, the rest of the model struggles to compensate. When you treat these critical layers the same as the "easier" middle layers, quantization errors accumulate rapidly, leading to a sharp drop in model performance, especially at low bit-widths.

Methods: The SliderQuant Framework

To handle varying layer sensitivity, the authors introduce SliderQuant, which consists of two main components:

The SliderQuant framework illustrating progressively expanded, fixed-size, and progressively contracted sliding windows.
  1. Inter-Layer Sliding Quantization: Instead of quantizing layers one by one in isolation, SliderQuant uses overlapping sliding windows to create a "synergy path" where layers are quantized with awareness of their neighbors.
  2. Progressively Expanded Sliding Window (PESW): For early layers, the window starts at the first layer and grows, keeping the first layer involved in every step to anchor the process.
  3. Fixed-Size Sliding Window (FSSW): Used for the less-sensitive middle layers.
  4. Progressively Contracted Sliding Window (PCSW): For the final layers, the window shrinks toward the last layer, ensuring the final output features are preserved.
  5. Intra-Layer Sliding Quantization: Within each window, the quantization happens incrementally. For example, it might quantize half of the weight/activation matrices first, then the full set, building a local synergy that further suppresses error.

To handle outliers (extreme values that ruin quantization), SliderQuant incorporates Channel Scaling (CS) and Low-Rank Adaptation (LoRA). Crucially, these learnable parameters are "absorbed" into the weights after the quantization process is finished, meaning the final model runs just as fast as any other quantized model.

Key Results and Insights

The researchers evaluated SliderQuant across an exhaustive list of models (Llama 1/2/3, Qwen 2.5/3, Qwen-MoE, DeepSeek-R1 distilled) and benchmarks (WikiText2, C4, PIQA, ARC, MMLU, MATH-500, HumanEval+, etc.).

  • Overlapping Synergy: Sequential quantization usually suffers from "error drift." By using overlapping windows, SliderQuant ensures that the quantization of Layer $N$ is optimized to work well with the already-quantized Layer $N-1$.
  • W4A4 (4-bit Weight & Activation): On Llama2-7B, SliderQuant achieved a perplexity of 8.34 on WikiText2, compared to 12.73 for the baseline and 14.26 for OmniQuant.
  • Extreme Compression (W2A16): Even at 2-bit weights, SliderQuant maintained much higher accuracy than competitors, showing its robustness.
  • Reasoning Resilience: The method is particularly effective for "Reasoning" models like DeepSeek-R1. On the 14B distilled model, SliderQuant maintained a 77.77% average score across math/code tasks in 4-bit, nearly matching the FP16 performance of 78.82%.
  • Efficiency: While the quantization process takes more time than simple methods (roughly 6-11 GPU hours for a 7B-14B model), it results in a standard quantized format that requires zero extra cost at inference time.

Limitations and Future Work

  • Quantization Overhead: The "Inter-S" and "Intra-S" strategies require more memory and time during the calibration phase compared to simpler layer-wise methods. The authors proposed a "SliderQuant-Fast" version to mitigate this, but there is still a trade-off between calibration time and final accuracy.
  • Hyperparameter Tuning: The optimal window sizes ($L_s, L_d$) and sliding ratios ($\gamma$) can vary between model families. While the authors provide robust defaults, peak performance might require per-model tuning.
  • Hardware Kernels: The paper focuses on the algorithmic framework. Future work could involve developing specialized CUDA kernels to further accelerate the specific "sliding" patterns used during the optimization phase.

Summary updated

BibTeX
@inproceedings{wang2026sliderquant,
  author = {Shigeng Wang and Chao Li and Yangyuxuan Kang and Jiawei Fan and Zhonghong Ou and Anbang Yao},
  title = {{SliderQuant: Accurate Post-Training Quantization for LLMs}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=YNqZqw4fLT},
}
Figure