arXiv:2608.25188v1 cs.LG

LLM 양자화를 위한 변환: 위대한 역전과 포맷 공동 설계

Transforms for LLM Quantization: The Great Inversion and Format Co-Design

Ehsan Jokar

제출 2026-08-25

한국어 초록

경쟁력 있는 4비트 LLM 연구 파이프라인 대부분은 이제 같은 방식으로 시작한다. 선형의 함수 보존(function-preserving) 변환(회전, 스케일링, 치환, 비직교 affine)을 적용해 이상치(outlier) 질량이 그룹 스케일에 대해 더 유리하게 놓이도록 한 뒤, 그제서야 반올림한다. 그러나 이 변환 단계만을 다룬 서베이는 우리가 알기로 없으며, 관련 문헌은 조용히 더 오래된 이론을 재유도하고 있다. 우리는 이를 관통하는 원리인 위대한 역전(Great Inversion)을 식별하고 형식화한다. 할당-유연(allocation-flexible) 코딩은 에너지 집중(energy concentration)을 보상하는 반면, 배포된 행렬 명령이 수행하는 그룹 공유 스케일(grouped shared-scale) 양자화는 그룹 내 평탄화(within-group flattening)를 보상한다. 고전 변환 코딩(1963: decorrelate, 비트 할당, 양자화)은 고정 총 전송률에서 좌표마다 서로 다른 비트를 쓴다. 고속률(high rate) 가우스 소스에서는 Karhunen-Loeve 변환의 집중이 왜곡을 최소화한다. 반면 배포된 피연산자 타일은 그룹당 하나의 절대 최대(absolute-maximum) 스케일과 모든 좌표에 동일한 비트를 갖고, 비트 할당은 없다. 균일 격자(uniform grid)에서 이 목적은 Hadamard 비상관(incoherence)으로 접근되는 평탄화를 보상한다. 우리는 그룹 내 majorization 하에서의 대립을 증명한다. 두 처방은 서로 반대 방향을 가리키며 각각 자기 목적에 대한 증명으로 뒷받침되고, 일반적인 스펙트럼에 대해서는 최적성 보장이 전이되지 않는다. 두 번째 축은 숫자 포맷이다. 비균일 FP4 격자는 평탄화의 이득을 줄이고, MXFP4의 2의 거듭제곱(power-of-two) 블록 스케일은 여전히 그 블록에 한정된 회전을 보상하며, NVFP4의 가수(mantissa) carry 스케일은 그 끌림을 대체로 제거하므로 목표 극(target pole)은 할당 체제와 포맷에 공동으로 의존한다. 2026년 6월 cutoff까지 200편을 서베이하고, 구조·데이터 인식(data-awareness)·탐색 대 구축(searched-versus-constructed)·런타임 비용 기준으로 43가지 변환 방법을 분류하며, 보고된 경우 GPTQ 반올림과의 결합 방식을 기록하고, 배포 체제(deployment regime)별 1순위 가이드를 정리한 뒤, 드러난 미해결 문제로 마친다.

원문 초록

Most competitive 4-bit LLM research pipelines now open the same way: apply a linear, function-preserving transform (rotation, scaling, permutation, non-orthogonal affine) so the outlier mass sits more favorably against the group scales, and only then round. Yet we are aware of no survey dedicated to this transform stage, and its literature is quietly re-deriving an older theory. We identify and formalize the principle that organizes it, the Great Inversion: allocation-flexible coding rewards energy concentration, whereas the grouped shared-scale quantization a deployed matrix instruction performs rewards within-group flattening. Classical transform coding (1963: decorrelate, allocate bits, quantize) spends different bits per coordinate at a fixed total rate; for a Gaussian source at high rate the Karhunen-Loeve transform's concentration minimizes distortion. A deployed operand tile instead carries one absolute-maximum scale per group and equal bits everywhere, with no allocation; on a uniform grid that objective rewards flattening, approached by Hadamard incoherence. We prove that opposition under within-group majorization: the prescriptions point in opposite directions, each backed by a proof against its own objective, and for a generic spectrum no optimality guarantee transfers. A second axis is the number format: the non-uniform FP4 grid makes flattening buy less, MXFP4's power-of-two block scale still rewards a rotation confined to that block, and NVFP4's mantissa-carrying scale largely removes that pull, so the target pole depends jointly on allocation regime and format. We survey 200 works to a June 2026 cutoff; classify 43 transform methods by structure, data-awareness, searched-versus-constructed, and runtime cost; record, where reported, how they compose with GPTQ rounding; distill a first-choice guide by deployment regime; and close with the open problems it exposes.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2608.25188v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.