Manuscript Offprint

arXiv:2611.04323

FP4Quant: Efficient 4-Bit Communication Compression for Model-Parallel LLM Training

Man Liu, Xingchen Liu, Hairui Zhao, Guangming Tan, Dingwen Tao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Man Liu¹[0009-0006-7390-0220], Xingchen Liu²[0009-0006-9410-5365], Hairui Zhao²[0009-0008-7081-5172], Guangming Tan²[0000-0002-6361-5948], and Dingwen Tao²[0000-0001-5422-4497]

¹ University of Chinese Academy of Sciences, Beijing, China ² Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China liuman24@mails.ucas.ac.cn, liuxingchen232@mails.ucas.ac.cn, zhaohairui@ict.ac.cn, tgm@ict.ac.cn, taodingwen@ict.ac.cn

Abstract. The rapid scaling of large language models (LLMs) has made communication overhead a critical bottleneck in distributed model-parallel training. Although existing low-precision compression methods can effectively reduce communication costs, further reducing the communication footprint to ultra-low-bit formats such as FP4 introduces new challenges, including limited numerical range, sub-byte storage overhead, and increased computational cost from fine-grained quantization. In this paper, we present FP4Quant, a micro-grouped FP4 compression framework for efficient model-parallel LLM training. FP4Quant integrates a micro-grouped dual-scale FP4 quantization mechanism to preserve local tensor distribution characteristics, a warp-cooperative FP4 packing scheme to enable efficient sub-byte data representation, and a hybrid two-level FWHT pipeline to mitigate quantization errors with GPU-aware execution optimization. Experiments on NVIDIA H100 GPUs with Qwen-7B demonstrate up to 1.56× end-to-end throughput improvement over BF16, revealing a trade-off between throughput and model quality.

Keywords: FP4 Quantization · Communication Compression · Distributed Training · Large Language Models.

1 Introduction

In recent years, large language models (LLMs) have advanced rapidly, with parameter scales growing exponentially to reach the trillion-parameter regime [5, 8, 12]. Training such models requires hundreds to thousands of GPUs, making model parallelism (MP) essential for efficiently distributing computational workloads across devices, typically through tensor parallelism (TP) and pipeline parallelism (PP) [20, 17]. As model sizes continue to increase, communication overhead, particularly AllReduce operations in TP, has increasingly become a critical performance bottleneck in distributed LLM training [22, 20, 23, 13].

M. Liu et al.

To mitigate communication bottlenecks, a variety of optimization approaches have been proposed and actively explored in recent years. For DP, gradient compression techniques, including quantization [15, 3, 4, 27], sparsification [2, 26], and local accumulation [24], have been extensively studied to reduce communication costs. For TP, frameworks such as TACO [19] demonstrate that adaptive FP8-based compression can significantly reduce communication overhead while maintaining near-lossless training accuracy. More broadly, FP8-based methods (e.g., FP8-LM [21] and COAT [29]) improve training efficiency by extending low-precision representations to gradients, optimizer states, and activations.

However, the limited compression ratio of FP8 is often insufficient to fully alleviate communication bottlenecks at scale, motivating more aggressive low-bit approaches in distributed settings. While 4-bit quantization offers the potential for substantially higher compression, it introduces fundamental challenges beyond simple precision scaling [9, 10]. Recent efforts have explored FP4 techniques for model computation [6, 7, 1] and low-bit communication in distributed training [15, 11]. Yet, these methods primarily target computation, DP or PP, leaving TP communication under extreme low-bit constraints largely unexplored.

Despite its potential to reduce communication overhead, directly applying coarse-grained 4-bit quantization to model-parallel communication faces three key challenges. First, FP4's narrow dynamic range causes long-tail values to overflow and near-zero values to round to zero, distorting gradient directions and destabilizing early-stage training [28, 19]. Second, sub-byte storage requires packing two 4-bit values per byte, while naive packing incurs additional data movement and bit-manipulation overhead, limiting communication efficiency [16]. Third, reducing 4-bit quantization error requires fine-grained quantization, but finer granularity increases scaling-factor computation, potentially making quantization itself a system bottleneck [30]. To address these challenges, we propose FP4Quant, a micro-grouped FP4 compression framework that jointly optimizes representation fidelity and GPU execution efficiency for scalable LLM distributed training. The key contributions are summarized as follows:

(1) We propose a micro-grouped dual-scale FP4 quantization mechanism to preserve local tensor distributions under ultra-low-bit compression. Micro-grouping captures local variations, while dual-scale adaptive scaling and max-absolute scaling better match the FP4 dynamic range and reduce overflow.

(2) We introduce a hybrid two-level FWHT pipeline to support fine-grained FP4 compression with limited computational overhead. Intra-warp butterfly operations are efficiently implemented using register-level shuffles, while cross-warp transformations are executed using shared memory, reducing transformation overhead and enabling efficient execution on modern GPUs.

(3) We further develop a warp-cooperative FP4 packing scheme for efficient sub-byte FP4 storage. The kernel exploits warp-level primitives to exchange quantized values and performs nibble-level packing directly in registers, reducing intermediate memory operations and enabling aligned byte-wise storage.

(4) Experiments on NVIDIA H100 clusters show that FP4Quant improves end-to-end training throughput by up to 1.56×1.56\times compared to BF16, while main-

Figure

Fig. 1. Example distributed training configuration with model parallelism, with 4 tensor-parallel groups, and 2 pipeline stages.

training comparable convergence performance on Qwen models. FP4Quant provides an efficient and scalable solution for ultra-low-bit communication in model-parallel LLM training under practical TP and PP configurations.

References (30)