Manuscript Offprint

arXiv:2609.00066

OCGQuant: Outlier-Companion Grouping for NVFP4 Quantization

Yishan Yao, Binjun Li, Hanling Yi, Pengyu Li, Xiaoqing Liu, Zihan Yang, Xiaotian Yu, Zhiwen Yu

Abstract

NVFP4 is an efficient microscaling format for low-bit inference, but activation outliers can still degrade quantization accuracy within NVFP4 blocks. Within each quantization block, large activations can dominate the block scale, increasing the quantization error of the remaining values sharing the same scale. Existing post-training quantization (PTQ) methods mitigate outlier errors through strategies such as mixed precision, rotation, or residual compensation, but these approaches are either not specifically tailored to NVFP4 or introduce additional computation. In this work, we revisit NVFP4 from a channel-grouping perspective and define the reducible error incurred by remaining block values under the scale set by the block maximum as Collateral Quantization Error. Based on this insight, we propose OCGQuant, a post-training quantization method centered on Outlier-Companion Grouping (OCG), which adaptively pairs outlier channels with low-magnitude companion channels to improve NVFP4 activation block composition. Experiments on Llama3 and Qwen3 show that OCGQuant achieves the lowest WikiText-2 perplexity and highest average downstream accuracy among evaluated PTQ methods, while maintaining prefill speedup close to RTN and matching its peak decoding memory. Code is available at https://github.com/Eshamont/OCGQuant.

1 Introduction

Large language models (LLMs) are increasingly expensive to deploy. Post-training quantization (PTQ) alleviates this cost without requiring full retraining, and low-bit weight-activation quantization is particularly attractive for improving end-to-end inference efficiency. Recent hardware-supported microscaling formats, such as MXFP4 (Rouhani

Figure

Figure 1: Illustration of Outlier-Companion Grouping (OCG). OCG calibrates activation channels by RMS and pairs outlier channels with low-magnitude companion channels to improve activation block composition.

et al., 2023) and NVFP4 (Abecassis et al., 2025; Chmiel et al., 2025), further advance this direction by combining low-bit floating-point representation with fine-grained local scaling.

NVFP4 is a representative format for native FP4 inference on recent NVIDIA GPUs. It stores tensor elements in FP4-E2M1, assigns an FP8-E4M3 scale to every contiguous 16-element block, and applies a tensor-wise FP32 scale to extend the dynamic range. Unlike uniform INT4 quantization, FP4-E2M1 uses a non-uniform floating-point grid, where rounding behavior is not governed by a single fixed quantization step. At the same time, NVFP4 applies scaling at very fine granularity, with each scale shared by only 16 contiguous elements. These properties fundamentally distinguish NVFP4 from uniform integer quantization and conventional coarse-grained group quantization, requiring PTQ methods to account for its format-specific scaling and rounding rules.

Activation outliers remain a major challenge in low-bit LLM quantization and have motivated extensive prior work. The severity of outliers

†^{\dagger} Corresponding authors: hanling.cuhk@gmail.com, zh-wyu@scut.edu.cn.

in LLMs is visualized in Appendix B. Mixed-precision methods such as LLM.int8() (Dettmers et al., 2022) and Atom (Zhao et al., 2024) handle activation outliers through higher-precision paths. QuaRot (Ashkboos et al., 2024) employs Hadamard rotations to suppress activation outliers. However, these approaches are primarily designed for integer quantization and may not be well suited for direct transfer to NVFP4. Among NVFP4-oriented methods, ARCQuant (Meng et al., 2026) uses augmented residual channels to compensate for quantization errors from activation outliers, but incurs additional computation. In contrast, we revisit the native grouping mechanism of NVFP4 itself. Since each contiguous 16-element group along the channel dimension shares one FP8 scale, the channel order directly determines the composition of each quantization block, thereby affecting its quantization error. This observation motivates a block-composition perspective: can we improve NVFP4 quantization by channel reordering to construct better groups for outlier-dominated blocks?

Motivated by this question, we propose OCGQuant, an NVFP4 post-training quantization method centered on Outlier-Companion Grouping (OCG). Within each NVFP4 block, the largest activation determines the shared FP8 scale and is typically mapped to a high FP4 level after scaling. We refer to the reducible error incurred by the remaining values under this scale as Collateral Quantization Error, which tends to be more pronounced in outlier-dominated blocks. As illustrated in Figure 1, OCG reduces the error by pairing outlier channels with low-magnitude companion channels. Since these companions are near zero and FP4-E2M1 provides a relatively dense set of representable levels in the low-magnitude region, they tend to incur lower collateral error under the enlarged scale. To preserve the linear transformation, the same permutation is applied to the weights, with offline GPTQ compensating for weight-side quantization error in the reordered space. As shown in Figure 2, OCGQuant effectively reduces the quantization error of linear outputs across layers.

Our contributions are summarized as follows:

  • We revisit NVFP4 quantization from a block-composition perspective and introduce Collateral Quantization Error to characterize the reducible error incurred by other block values under a scale set by the block maximum, particularly when the block contains outliers.

  • We propose OCGQuant, centered on Outlier-Companion Grouping (OCG), which adaptively pairs outlier channels with low-magnitude companion channels to improve native NVFP4 activation block composition.

  • Experiments show that OCGQuant achieves the lowest WikiText-2 perplexity among evaluated PTQ methods, notably approaching FP16 on Qwen3-1.7B, while improving downstream accuracy, achieving up to 2.29×2.29 \times prefill speedup, and matching RTN in peak decoding memory.

References (30)