더 낮은 재구성 손실이 오히려 해가 될 때: 저비트 LLM 양자화를 위한 분포 강건 정제
When Lower Reconstruction Loss Hurts: Distributionally Robust Refinement for Low-Bit LLM Quantization
한국어 초록
가중치 전용(weight-only) 사후 학습 양자화(PTQ)는 낮은 정밀도에서 모델 품질을 보존하기 위해 재구성 손실(reconstruction loss) 최소화에 크게 의존합니다. 본 논문에서는 이러한 손실을 최소화하여 선택된 가중치가 새로운 태스크에서 반드시 더 나은 모델 성능을 내는 것은 아님을 보입니다. 실제로 재구성 손실이 더 낮아짐에도 동일한 캘리브레이션 데이터에서 모델 성능이 저하될 수 있음을 발견했습니다. 추가 분석에 따르면, 입력 활성화(activation)의 분포가 변할 때 캘리브레이션 데이터에서 재구성 손실이 더 낮은 가중치가 다른 가중치보다 더 높은 손실을 가질 수 있음을 보여줍니다. 이러한 관찰과 분석에 기반하여, 본 논문에서는 제약된 입력 활성화 분포 집합에 대해 최악의 경우(worst-case) 재구성 손실을 최소화하는 사후 정제(post-hoc refinement) 프로세스인 분포 강건 양자화(Distributionally Robust Quantization, DRQ)를 제안합니다. DRQ는 양자화 파라미터와 추론 연산자를 변경하지 않고 유지하면서, 기존 양자화 그리드 내에서 양자화된 가중치를 나타내는 정수 코드를 정제합니다. 광범위한 실험을 통해 DRQ가 AWQ, GPTQ, ParoQuant를 포함한 6가지 대표적인 PTQ 기법으로 양자화된 모델을 개선하며, 밀집(dense) 및 전문가 혼합(MoE) 대규모 언어 모델 모두에서 성능 향상을 가져옴을 보입니다. 이러한 결과는 DRQ가 가중치 전용 PTQ를 위한 범용 사후 정제 프레임워크로서, 추론 오버헤드를 추가하지 않고도 더 우수한 다운스트림 성능을 달성함을 입증합니다.
원문 초록
Weight-only post-training quantization (PTQ) relies heavily on reconstruction loss minimization to preserve model quality at low precision. We show that the weights favored by minimizing this loss need not yield better model performance on new tasks. In fact, we find that lower reconstruction loss can even degrade model performance on the same calibration data. Our analysis further shows that weights with lower reconstruction loss on calibration data can have higher loss than other weights when the distribution of input activations changes. Motivated by these observations and our analysis, we propose Distributionally Robust Quantization (DRQ), a post-hoc refinement process that minimizes worst-case reconstruction loss over a constrained set of input activation distributions. DRQ refines the integer codes representing quantized weights within the existing quantization grid, keeping quantization parameters and inference operators unchanged. Extensive experiments show that DRQ improves models quantized by six representative PTQ methods, including AWQ, GPTQ, and ParoQuant, and delivers gains across both dense and mixture-of-experts large language models. These results establish DRQ as a general post-hoc refinement framework for weight-only PTQ, achieving better downstream performance without adding inference overhead.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.