arXiv:2610.08231v2 cs.AI

OSFP4: NVFP4 양자화를 위한 대각 스무딩(Diagonal Smoothing)과 블록 스케일(Block Scales)의 공동 최적화

OSFP4: Joint Optimization of Diagonal Smoothing and Block Scales for NVFP4 Quantization

Neriah Ben David, Ori Meir, Or Ordentlich

제출 2026-10-06

한국어 초록

NVFP4는 대규모 언어 모델(LLM) 추론에 매력적인 데이터 타입으로, 압축된 저장 공간과 네이티브 텐서 코어(tensor-core) 가속을 제공합니다. 그러나 NVFP4를 사용하여 정확도를 유지하려면 신중한 양자화가 필요합니다. 본 연구에서는 NVFP4를 위한 최적화된 스무딩 및 스케일링(Optimized Smoothing and Scaling for NVFP4, OSFP4)이라는 새로운 양자화 기법을 개발합니다. 각 선형 프로젝션(linear projection)에 대해, 사용되는 라운딩 절차(최근접 라운딩(round-to-nearest) 또는 GPTQ 방식의 순차적 간섭 제거(successive interference cancellation))를 고려하여 NVFP4 하에서 행렬곱 양자화 오차의 제곱을 최소화하도록 항목이 최적화된 대각 스무딩 행렬(diagonal smoothing matrix)을 사용합니다. 이를 위해서는 스무딩 항목뿐만 아니라 블록 스케일(block scales)에 대한 공동 최적화를 수행해야 하며, 이는 고정된 결정론적(deterministic) 양자화기 대신 곱셈적 디더(multiplicative-dither) FP4 양자화기를 분석함으로써 용이해집니다. 실험 결과, OSFP4는 해당 양자화 설정에서 평가된 경쟁 기법들 중 가장 높은 평균 정확도를 달성하면서도, 측정된 워크로드에서 벤더(vendor) NVFP4 프리필(prefill) 처리량의 약 94-97%를 유지하는 것으로 나타났습니다. 코드는 https://github.com/neriahbd/OSFP4 에서 확인할 수 있습니다.

원문 초록

NVFP4 is an attractive datatype for large language model (LLM) inference, offering compact storage and native tensor-core acceleration. However, preserving accuracy using NVFP4 requires careful quantization. In this work we develop a novel quantization scheme called Optimized Smoothing and Scaling for NVFP4 (OSFP4). For each linear projection it uses a diagonal smoothing matrix whose entries are optimized to minimize the squared matrix-product quantization error under NVFP4, taking into account the rounding procedure that is used (either round-to-nearest, or GPTQ-style successive interference cancellation). This requires performing joint optimization on the smoothing entries as well as the block scales, which is facilitated by analyzing a multiplicative-dither FP4 quantizer instead of the fixed deterministic one. Experiments show that OSFP4 achieves the highest average accuracy among the evaluated competitors in the corresponding quantization settings, while retaining approximately 94-97\% of vendor NVFP4 prefill throughput on the measured workloads. Our code is available in https://github.com/neriahbd/OSFP4

제출 이력

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

  1. arXiv:2610.08231v2제출 시각 미확인
  2. arXiv:2610.08231v1

함께 살펴볼 논문

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

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

토론

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