TL;DR
ARCQuant is a post-training quantization (PTQ) framework designed to maximize the efficiency of Large Language Model (LLM) inference using the fine-grained 4-bit NVFP4 format. By augmenting the activation matrix with quantized residual channels, it achieves W4A8-level accuracy while maintaining a strictly uniform 4-bit data path, delivering up to a 3× speedup over FP16 on modern GPUs.
What Problem Does This Paper Address?
To run massive Large Language Models efficiently, engineers often quantize both weights and activations to 4 bits (W4A4). Recently, hardware architectures like NVIDIA Blackwell introduced native support for fine-grained microscaling formats, such as NVFP4. This format groups numbers into small blocks (size 16) to isolate extreme activation outliers and prevent them from ruining the dynamic range of the entire tensor.
However, existing PTQ strategies fail to exploit this structure effectively:
- Global rotation methods (like Hadamard transforms) spread outlier magnitudes across all dimensions, which inadvertently inflates the local dynamic range of previously well-behaved blocks and destroys the benefits of fine-grained isolation.
- Mixed-precision methods keep sensitive outlier channels in higher precision (e.g., 8-bit or 16-bit), but modern Tensor Cores require uniform data paths and group sizes. Mixing granularities breaks hardware uniformity and severely degrades inference throughput.
ARCQuant addresses this dilemma: how to mitigate 4-bit quantization errors from activation outliers without breaking block isolation or compromising hardware uniformity.
Methods
Instead of keeping outliers in a separate high-precision data type, ARCQuant introduces the Augmented Residual Channels (ARC) strategy.
Standard GEMM: [ Quantized Matrix X ] × [ Quantized Weights W ]
↓
ARCQuant GEMM: [ Quantized X | Quantized Residuals Ro ] × [ Quantized W | Outlier Weights Wo ]
- Adaptive Outlier Identification: Using offline calibration data, the framework identifies the top-$S$ channels that exhibit severe quantization errors due to the narrow dynamic range of the 4-bit format.
- Matrix Augmentation: For these outlier channels, ARCQuant computes the quantization residuals (the error left over after 4-bit quantization) and appends them directly to the activation matrix in the exact same low-precision NVFP4 format. The corresponding outlier weights are duplicated and appended to the weight matrix.
- Unified GEMM Execution: This maps the entire error compensation process into the extended reduction dimension of a single matrix multiplication (transforming the dimension from $K_{in}$ to $K_{in} + S$). Because the data format remains completely uniform, the model can run on standard, highly optimized GEMM kernels (like CUTLASS) without modifying the hardware's inner loops.
- Fused Quantization Kernel: To eliminate the runtime overhead of dynamically calculating residuals, the authors designed a custom CUDA kernel that fuses channel reordering, RMSNorm, primary quantization, and residual quantization into a single operation.
Datasets
The authors evaluated ARCQuant across several open-source model families (Llama 3.1 and Qwen2.5) using standard benchmarks:
- Calibration: WikiText2 (128 samples, sequence length 2048). Robustness was also validated using C4 and HumanEval calibration sets.
- Language Modeling & Perplexity: WikiText2.
- Common Sense Reasoning: ARC-Challenge, HellaSwag, Lambada, PIQA, Winogrande, and MMLU.
- Domain-Specific Tasks: HumanEval and MBPP (code generation); GSM8K and CMATH (mathematical reasoning).
Key Insights and Ideas
- Trading Dimensions for Precision: Rather than mixing data types—which stalls hardware pipelines—ARCQuant cleverly trades a tiny increase in matrix dimension ($K_{in} + S$) to achieve the fidelity of a higher-precision format.
- Rotations Hurt Block-Scaled Formats: A key "aha" moment is that global rotation techniques (popular in integer quantization) are actively counterproductive for block-scaled formats like NVFP4 because they disrupt local block statistics.
- Dual-Stage Error Bounds: The authors mathematically prove that a two-stage NVFP4 quantization process on outliers yields a worst-case error bound comparable to standard single-stage 8-bit formats (like MXFP8), theoretically bridging the precision gap between W4A4 and W4A8.
Key Results
ARCQuant demonstrates near-lossless compression accuracy while unlocking massive hardware speedups.
- Accuracy: On Qwen2.5-7B, ARCQuant reduces perplexity by 1.68 points compared to the mixed-precision baseline Atom, matching or exceeding the higher-precision W4A8 RTN baseline. On larger models like Qwen2.5-32B, it achieves near-lossless performance relative to the FP16 baseline.
- Speedup: When deployed on NVIDIA RTX 5090 and RTX PRO 6000 GPUs, ARCQuant achieves up to a 3.5× speedup over FP16 for Llama 3.1-8B prefill. The residual channel overhead is marginal, adding only 3%–9% latency compared to uncompensated (and less accurate) NVFP4.
- vLLM Integration: Integrated into the vLLM engine, ARCQuant achieves a 1.96× to 2.08× decoding speedup over FP16, outperforming standard FP8 references.
Limitations and Future Work
- Weight Quantization: The current framework focuses primarily on activation outliers and uses standard Round-to-Nearest (RTN) for weights. Integrating advanced weight quantization algorithms (like GPTQ or AWQ) could further improve fidelity.
- Hardware Dependency: ARCQuant is co-designed with modern architectures to leverage unified-precision Tensor Core instructions. On legacy architectures lacking native block-scaled acceleration, the method serves as a simulation rather than an immediate deployment solution.
- Static Calibration: The channel reordering indices and outlier count $S$ are determined offline. While robust across text domains, this static approach assumes that the outlier distribution remains stable during inference and may face limitations with extreme out-of-distribution inputs.
Summary updated