Skip to main content
QUICK REVIEW

[논문 리뷰] SliderQuant: Accurate Post-Training Quantization for LLMs

Shigeng Wang, Chao Li|arXiv (Cornell University)|2026. 03. 26.
Multimodal Machine Learning ApplicationsComputer Science인용 수 0
한 줄 요약

SliderQuant는 적응형 슬라이딩 양자화 프레임워크를 도입하여 LLM 계층(얕은, 중간, 깊은)을 차등 양자화하고, 저비트 폭에서의 포스트 트레이닝 양자화를 개선하며, 다양한 모델과 작업에서 가중치-전용 및 가중치-활성화 양자화에 대해 기존 PTQ 방법들을 능가합니다.

ABSTRACT

In this paper, we address post-training quantization (PTQ) for large language models (LLMs) from an overlooked perspective: given a pre-trained high-precision LLM, the predominant sequential quantization framework treats different layers equally, but this may be not optimal in challenging bit-width settings. We empirically study the quantization impact of different layers on model accuracy, and observe that: (1) shallow/deep layers are usually more sensitive to quantization than intermediate layers; (2) among shallow/deep layers, the most sensitive one is the first/last layer, which exhibits significantly larger quantization error than others. These empirical observations imply that the quantization design for different layers of LLMs is required on multiple levels instead of a single level shared to all layers. Motivated by this, we propose a new PTQ framework termed Sliding-layer Quantization (SliderQuant) that relies on a simple adaptive sliding quantization concept facilitated by few learnable parameters. The base component of SliderQuant is called inter-layer sliding quantization, which incorporates three types of novel sliding window designs tailored for addressing the varying quantization sensitivity of shallow, intermediate and deep layers. The other component is called intra-layer sliding quantization that leverages an incremental strategy to quantize each window. As a result, SliderQuant has a strong ability to reduce quantization errors across layers. Extensive experiments on basic language generation, zero-shot commonsense reasoning and challenging math and code tasks with various LLMs, including Llama/Llama2/Llama3/Qwen2.5 model families, DeepSeek-R1 distilled models and large MoE models, show that our method outperforms existing PTQ methods (including the latest PTQ methods using rotation transformations) for both weight-only quantization and weight-activation quantization.

연구 동기 및 목표

  • 심하게 양자화되는 설정(예: 4비트)에서 LLM에 대한 계층 인식 PTQ의 필요성을 제시한다.
  • 얕은 계층, 중간 계층, 깊은 계층에 걸친 양자화에 대한 계층 민감성을 경험적으로 특성화한다.
  • 레이어 간 및 레이어 내 슬라이딩 구성요소를 갖춘 SliderQuant를 제안하여 계층 간 양자화 오차를 줄인다.
  • 모델 계열(Llama, Qwen), 크기 및 작업(생성, 상식, 수학/코드)에 걸쳐 광범위한 효과를 입증한다.
  • 가중치-전용 및 가중치-활성화 PTQ와의 호환성, 회전 변환을 포함한 변형도 보여준다.

제안 방법

  • 고정 크기 슬라이딩 PTQ의 일반화로서 적응형 슬라이딩 양자화를 도입한다.
  • 레이어 간 슬라이딩 양자화를 세 가지 창 디자인으로 개발한다: 점진적으로 확장되는(shallow), 고정 크기(intermediate), 점진적으로 축소되는(deep).
  • 창 내부에서 점진적 확장을 이용해 창 안의 모든 계층을 점진적으로 양자화하는 레이어 내 슬라이딩 양자화를 구현한다.
  • 학습 가능한 매개변수(channel-wise scale alpha, 저랭크 보정 A,B)와 균일 양자화를 사용하여 F(W,X)와 F(What,X) 간의 평균 제곱 오차를 최소화한다.
  • CS(채널 스케일링)와 LoRA에서 영감을 얻은 보정들을 결합하여 양자화 전의 W와 X를 세밀하게 얻는다(식 2).
  • SliderQuant와 회전 기반 추론 시 개선을 제공하는 비용이 더 높은 변형 SliderQuant+를 제공한다.

실험 결과

연구 질문

  • RQ1현대 LLM의 서로 다른 계층이 양자화에 대해 뚜렷한 민감도를 보이며, 계층 인식 PTQ 설계를 필요로 하는가?
  • RQ2적응형 슬라이딩 창이 고정 크기 슬라이딩이나 계층별 방법보다 계층 간 양자화 오차를 더 효과적으로 줄일 수 있는가?
  • RQ3다양한 모델과 작업에서 가중치-전용 및 가중치-활성화 양자화에 대해 SliderQuant의 성능은 어떠한가?
  • RQ4복잡한 아키텍처(MoE)와 사고 과정(chain-of-thought)을 가진 증류 모델에서도 SliderQuant가 효과적인가?

주요 결과

  • SliderQuant는 RTN, GPTQ, OmniQuant, CBQ 등과 비교하여 여러 모델과 비트 폭(W4A4 포함)에서 일관되게 perplexity를 감소시킨다(WikiText2, C4).
  • 상식 QA 벤치마크에서 SliderQuant는 다른 PTQ 방법보다 평균 정확도를 향상시킨다(예: Qwen2.5-14B 및 Llama2-13B에서).
  • 회전 변환이 있는 SliderQuant+는 추가 추론 시간 비용이 있는 방법들 중 여러 모델과 벤치마크에서 최고 성능을 달성한다.
  • 이 방법은 MoE 아키텍처(Qwen3-30B-A3B)와 DeepSeek-R1 증류 모델에도 일반화되며, 저비트 양자화에서도 강력한 성능을 유지한다.
  • 작업 전반에 걸쳐 SliderQuant는 가중치 전용 및 가중치-활성화 양자화 모두에서 견고한 이득을 보이며, 흔히 회전 보강 기본값을 능가한다.
  • 프레임워크는 추가 추론 시간 비용이 있거나 없거나에서도 경쟁력을 유지하며, 대형 LLM에 대한 광범위한 적용성과 확장성을 입증한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.