Manuscript Offprint

arXiv:2610.32243

BiLoCo: Binary Low-Rank Corrections for Post-Training Quantization

David Jin, Beshr IslamBouli, Tarushii Goel, Han Guo, Yoon Kim

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

Abstract

Post-training quantization (PTQ) to FP4 has emerged as a key technique for reducing large language model inference cost, especially on Blackwell GPUs, which offer native FP4 tensor core support. Direct PTQ to FP4, however, still leaves a noticeable accuracy gap. Recent work on SVDQuant [10] mitigates the errors introduced through FP4 quantization for diffusion models by adding high-precision low-rank corrections obtained via SVD. However, this high-precision low-rank correction requires many bits per rank, and it runs on the same tensor cores as the main FP4 GEMM. We introduce BiLoCo, a low-rank correction method whose left and right factors are stored as binary {±1}\{\pm1\} sign vectors rather than as BF16 numbers. The signed format uses 16×16\times less storage per rank-one component, and since the correction now consists of additions/subtractions, this can be run on CUDA cores concurrently with the FP4 tensor-core GEMM. On 4B–72B LLMs, BiLoCo matches or improves memory-matched SVDQuant for PTQ. We implement BiLoCo on B300 as a fused single kernel, where the FP4 GEMM runs on tensor cores, the bit-packed correction on the CUDA cores of the same launch, and the two are combined in the GEMM epilogue. With batch size 1, the fused kernel is at most 11% slower than the FP4-only GEMM for every rank up to 512. At rank 128, it is at most 20% slower up to batch size 8.

1 Introduction

LLM decode is dominated by weight movement [6, 8, 13]. Post-training quantization (PTQ) to FP4 on Blackwell GPUs can thus improve latency by reducing this traffic and moreover exposing native FP4 tensor-core GEMM. However, direct post-training quantization to FP4 still leaves an accuracy gap. A natural fix is to keep the residual weight matrix in lower bits and add a low-rank higher-precision correction, i.e., factorize the original 16-bit matrix WW as W≈R+VUW \approx R + VU where RR is a 4 bit matrix and VUVU is kept in higher precision. Such a correction approach was investigated for weight-only quantization in LQ-LoRA [9], LoftQ [11], and CALDERA [17]. SVDQuant [10] extends this approach to weight and activation quantization to FP4 with a BF16 rank-32 correction, where the correction absorbs weight outliers that the low-bit residual cannot represent.

The initial SVDQuant work focused on vision diffusion models. However, autoregressive LLM decode regime differs from the diffusion regime in ways that affect correction design. Concretely, with LLM decode shapes, the FP4 GEMM is weight-traffic bound, causing tensor cores to stall on HBM while CUDA cores sit idle. Tensor cores and CUDA cores are separate units that issue instructions independently, and recent attention kernels overlap work on the two [18, 25] (§2.3). A correction that uses CUDA cores rather than tensor cores could therefore run concurrently with the FP4 GEMM instead of competing for the same hardware. SVDQuant, however, computes its BF16

∗^{*}Equal contribution.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: BiLoCo inference for performing y=xR+xVU⊤y = xR + xVU^\top. A native-FP4 residual GEMM on tensor cores runs alongside a signed add/subtract correction on CUDA cores.

correction on tensor cores, the same units that run the FP4 GEMM. The challenge then, is to find a correction format whose arithmetic naturally fits the CUDA-core slot.

Could we use an alternative factorization of the weight matrix to achieve strong error correction while ensuring the correction component can make use of idle CUDA cores during inference? We introduce Binary Low-rank Correction (BiLoCo, Figure 1), where instead of storing BF16 left and right singular vectors, we store the correction factors as {±1}\{\pm1\} sign vectors, together with scalar coefficients. Each rank-one component then reduces to signed accumulation, replacing multiply operations with predicated add/subtract operations on CUDA cores. The representation also changes the storage trade-off: ignoring the per-term scalar coefficient, one binary vector pair costs 16×16 \times fewer bits than a BF16 vector pair, so the same vector-storage budget as a BF16 rank-k branch can store a binary rank-16k branch.

The main algorithmic challenge is that the best sign-vector decomposition is not given by the SVD. Following Riasanovsky and Kazdadi [16], we fit the sign vectors one rank-one component at a time. For each component, we start from random signs, alternate between updating u and v for a few steps, compute the best scale, and subtract the component from the residual. After all components are fit, we re-solve all scales jointly by least squares, which accounts for the overlap between components, and quantize the remaining residual to NVFP4.

We find that across various LLM families, BiLoCo is effective at the same storage budget as the BF16 correction used by SVDQuant. At the same vector-storage budget as a BF16 rank-32 branch, BiLoCo uses rank 512 binary factors and accounts for 47–53% of the Frobenius norm of LLM weight matrices across three model sizes, compared with 26–29% for BF16 rank 32. For perplexity, BiLoCo matches or improves the BF16 rank-32 correction on WikiText-2/C4 perplexity across five models. We implement BiLoCo on Blackwell GPUs as a fused single kernel with the factors bit-packed at runtime: the native FP4 GEMM runs on tensor cores, the binary correction is computed on the CUDA cores of the same launch, and the correction is added inside the GEMM epilogue. For batch-one inference, against the fastest FP4-only kernel we could build at the shape, BiLoCo adds 6–11% latency for ranks 16 to 512. For larger batches, the cost of the binary branch on CUDA cores grows with the batch size, while the FP4 GEMM time, which is dominated by reading the weights, does not change for batch sizes up to 128. The largest batch size at which the overhead stays within 20% therefore decreases with rank: 8 at r=128, 4 at r=256, and 2 at r=512. Our code is publicly available. †^{\dagger}

References (25)