Skip to content
AI.info

Research

ARCQuant: Boosting NVFP4 Quantization with Augmented Residual Channels for LLMs

Overview Research area: Efficient LLM inference — post-training quantization (PTQ) and low-precision numerical formats for hardware accelerators. Technical level: Intermediate. Familiarity with quanti

arXiv
2601.07475
Published
2026-01-12
Authors
Haoqian Meng, Yilun Luo, Yafei Zhao, Wenyuan Liu, Peng Zhang, Xindian Ma

AI summary

Overview

Research area: Efficient LLM inference — post-training quantization (PTQ) and low-precision numerical formats for hardware accelerators.

Technical level: Intermediate. Familiarity with quantization basics (scaling factors, block/group sizes, W4A4 vs W4A8 notation) is helpful, but the core idea is described in accessible terms.

Scope: ARCQuant is a post-training quantization framework that makes 4-bit weight / 4-bit activation (W4A4) inference practical on NVIDIA Blackwell's NVFP4 format by folding activation error compensation into extra matrix reduction channels.

What This Paper Is About

LLMs are bottlenecked by memory bandwidth and compute latency, and the most aggressive fix — quantizing both weights and activations to 4 bits — usually damages accuracy badly because a few activation channels carry extremely large outlier values. Existing remedies fail specifically on NVFP4: rotation methods (like Hadamard transforms) smear outliers across blocks and destroy NVFP4's fine-grained 16-element block isolation, while mixed-precision methods break hardware uniformity, forcing slow, non-Tensor-Core data paths. ARCQuant's goal is to recover W4A8-level accuracy while staying in a strictly uniform W4A4 NVFP4 format that runs on standard optimized GEMM kernels.

Key Contributions

  1. Augmented Residual Channels (ARC): The first PTQ framework tailored to NVFP4 that avoids mixed-precision hardware constraints. Outlier activation channels are identified, their quantization residuals are computed and quantized at the same 4-bit precision, and both are concatenated onto the reduction dimension (K) of a single matrix multiplication.
  2. Theoretical error-bound analysis: The authors prove that two stacked NVFP4 stages have a worst-case error bound comparable to a single MXFP8 stage, because the 4-bit precision limit squared equals the 8-bit precision limit (ε₄² = ε₈). Concretely, the NVFP4 alignment overhead is bounded by 1.125² ≈ 1.266, versus 2 for MXFP8.
  3. Fused CUDA kernel and interleaved layout: A single kernel handles channel reordering, RMSNorm, primary quantization, and residual quantization, writing output in an "Interleaved Channel Layout" so that memory writes stay coalesced and the downstream computation remains an unmodified CUTLASS GEMM.
  4. Broad empirical validation: State-of-the-art results across LLaMA 3.1 (8B, 70B), Qwen2.5 (7B, 32B), Qwen2.5-Coder-7B-Instruct, Qwen2.5-Math-7B-Instruct, and the Mixtral 8x7B MoE model, plus deployment on RTX 5090 and RTX PRO 6000 GPUs and integration into vLLM.

Main Findings

  • W4A4 accuracy rivals W4A8: On Llama 3.1-8B, ARCQuant reaches WikiText2 perplexity 6.87 and MMLU 62.61, beating the W4A8 + RTN reference (7.07, 61.08) and clearly outperforming Atom (7.52, 59.27), FlatQuant (6.95, 61.33), and MicroMix (7.35, 60.17).
  • Large gains on Qwen2.5-7B: ARCQuant reduces perplexity by 1.68 points relative to Atom (7.28 vs 8.96) and achieves the best average zero-shot accuracy (70.28) among W4A4 baselines.
  • Near-lossless at scale: On Qwen2.5-32B, ARCQuant scores 5.38 perplexity and 82.61 MMLU versus the FP16 baseline's 5.02 and 83.26 — matching full precision within a negligible margin.
  • Rotations actively hurt NVFP4: QuaRot (Hadamard transform) performs worse than plain RTN on Llama 3.1-8B (PPL 6.99 vs 6.95), confirming the authors' claim that global transforms inflate local dynamic ranges inside fine-grained blocks. SmoothQuant yields only marginal gains.
  • Outlier compensation is a cheap intervention: In a Qwen2.5-7B prefill breakdown, the whole dual-stage mechanism adds only 4.9% total latency, and the fused quantization kernel itself is a small fraction of that.
  • Substantial speedups: Prefill gains over FP16 reach 2.0–2.5× on RTX PRO 6000 (Qwen2.5-7B) and up to 3.5× on RTX 5090 (Llama 3.1-8B), with memory dropping 1.5–2.8×. Against uncompensated NVFP4, latency rises only 3–9%.
  • Decoding throughput improves too: Integrated into vLLM on Qwen2.5-7B, ARCQuant achieves 1.96× decoding speedup over FP16 at sequence length 1024 and 2.08× at 2048, also comfortably beating an FP8 reference.
  • The method generalizes beyond NVFP4: On Llama 3.1-8B it also improves INT4 (PPL 8.84 → 7.95, +2.12% average zero-shot) and MXFP4 (PPL 7.86 → 7.50) over RTN baselines.
  • Robust to calibration choice: Swapping calibration data between WikiText2, C4, and HumanEval changes perplexity by less than 0.03 and zero-shot accuracy by less than 0.03%, and text-calibrated models transfer cleanly to coding and math tasks (over 99% of FP16 accuracy retained).
  • Outlier count S is small and layer-adaptive: Because only top-magnitude channels above a threshold τ = 2⁻³M require compensation, S stays modest (≤512 in the typical operating range), keeping GEMM overhead roughly linear and cheap.

Methodology in Plain English

The core insight is that the problem is not the magnitude of outliers but the precision with which they are represented. Rather than reshaping the whole activation distribution (which damages good blocks) or upgrading some channels to a higher-precision format (which breaks the hardware's requirement that all operands share a granularity), the authors keep everything in NVFP4 and simply compute twice on the problematic channels.

The pipeline works like this:

  1. Offline calibration on 128 WikiText2 samples of length 2048 identifies which channels are outliers. Channels are sorted by absolute maximum, and the threshold τ = 2⁻³M is chosen based on the 3-bit exponent gap between the reference E5M2 format and the target E2M1 format.
  2. At runtime, a fused kernel reorders channels, applies RMSNorm, performs the standard block-wise NVFP4 quantization, then isolates the S outlier channels, computes their residual (original value minus dequantized value), and quantizes that residual also in NVFP4.
  3. The primary quantized activations and the quantized residuals are concatenated into an augmented activation matrix, and the weight matrix is pre-processed offline to match (outlier weight columns are duplicated into a mirrored block).
  4. The computation becomes a mathematically equivalent GEMM over an extended reduction dimension K_in + S. Because accumulation is linear, the residual correction terms simply add into the same high-precision output accumulator as the main terms — no separate kernel, no format mismatch.

The remaining engineering challenge is memory layout: a naive concatenation would cause strided global memory accesses. The authors solve this with an Interleaved Channel Layout, in which a 16-channel primary block is physically followed by its corresponding 16-channel residual block, letting the fused kernel do a single continuous coalesced write.

Why This Matters

Impact on research: ARCQuant challenges a common assumption in the quantization literature — that high-magnitude outliers must be handled either by redistributing them (rotations, smoothing) or by upgrading their precision. It shows a third path: keep the format uniform and spend extra reduction dimensions instead of extra bits. The theoretical result (ε₄² = ε₈, giving a dual-stage NVFP4 bound tighter than MXFP8's) provides a principled reason why this works, and should transfer to other block-scaled formats.

Real-world applications:

  • On-device and edge LLM serving, where W4A4 compression cuts memory footprint by 1.5–2.8× and makes models like Qwen2.5-7B fit and run comfortably within consumer GPU budgets.
  • High-throughput cloud inference, demonstrated directly through vLLM integration with roughly 2× decoding throughput gains.
  • Code assistants — Qwen2.5-Coder-7B retains over 99% of FP16 accuracy on HumanEval and MBPP, and actually exceeds FP16 pass@1 on HumanEval (86.0 vs 84.1).
  • Mathematical reasoning services — Qwen2.5-Math-7B-Instruct keeps over 99% of FP16 accuracy on GSM8K and CMATH.
  • Latency-sensitive long-context applications, since the speedups hold across sequence lengths of 512 to 2048 tokens and both prefill and decode phases.

Industry relevance: The method is explicitly co-designed with NVIDIA Blackwell's NVFP4 Tensor Core instructions and requires no kernel modifications to the GEMM itself — only a fused pre-processing kernel. That makes it unusually deployable for an academic quantization method, and the working vLLM integration signals production readiness for serving stacks.

Future Directions

  1. Combining with advanced weight quantization: The current framework uses plain Round-To-Nearest for weights. Pairing the activation-side residual mechanism with GPTQ, AWQ, or similar Hessian-based weight compensation could push toward sub-4-bit weight compression.
  2. Extending to sub-4-bit formats: The authors explicitly flag extending the "trade minimal compute dimensions for higher fidelity" principle to formats below 4 bits, where the precision gap grows and the number of augmentation stages may need to increase.
  3. Reducing hardware dependence: ARCQuant's throughput benefits require native NVFP4 block-scaled Tensor Core support. Porting the idea to other vendors' microscaling hardware, or to legacy GPUs as an emulation path, is an open engineering question.
  4. Making outlier selection dynamic: The reordering indices and outlier count S are fixed offline from calibration data. A runtime-adaptive selection could handle extreme out-of-distribution inputs better, at the cost of the permutation search latency the authors currently avoid. Persistence of outlier-channel structure across distributions is an assumption worth testing more aggressively.
  5. Scaling to architectures beyond dense and MoE transformers: Mixtral 8x7B is validated, but other architectures (state-space models, hybrid attention stacks) remain unexplored.

Target Audience

This paper is most valuable to systems and inference-efficiency engineers building LLM serving stacks on Blackwell-class hardware, and to quantization researchers interested in how block-scaled formats behave differently from INT4. It is also relevant to compiler and kernel developers working on fusing quantization with normalization, and to practitioners who need to deploy 7B–70B models under tight memory or latency budgets. Readers without prior exposure to microscaling formats will benefit from Appendix A, which tabulates the specifications of MXFP8, MXFP6, MXFP4, and NVFP4 side by side.

Authors’ abstract

The emergence of fine-grained numerical formats like NVFP4 presents new opportunities for efficient Large Language Model (LLM) inference. However, it is difficult to adapt existing Post-Training Quantization (PTQ) strategies to these formats: rotation-based methods compromise fine-grained block isolation; smoothing techniques struggle with significant 4-bit quantization errors; and mixed-precision approaches often conflict with hardware constraints on unified-precision computation. To address these challenges, we propose ARCQuant, a framework that boosts NVFP4 performance via Augmented Residual Channels. Distinct from methods that compromise block isolation or hardware uniformity, ARCQuant maintains a strictly unified NVFP4 format by augmenting the activation matrix with quantized residual channels. This design integrates the error compensation process directly into the matrix reduction dimension, enabling the use of standard, highly optimized GEMM kernels with minimal overhead. Theoretical analysis confirms that the worst-case error bound of our dual-stage NVFP4 quantization is comparable to that of standard 8-bit formats such as MXFP8. Extensive experiments on LLaMA and Qwen models demonstrate that ARCQuant achieves state-of-the-art accuracy, comparable to full-precision baselines in perplexity and downstream tasks. Furthermore, deployment on RTX 5090 and RTX PRO 6000 GPUs confirms practical benefits, achieving up to 3x speedup over FP16. Our code is available at https://github.com/actypedef/ARCQuant.

Read the original paper