Manuscript Offprint

arXiv:2610.30480

FIGFLEX: A Mixed-Precision FP-INT GEMM Accelerator Co-Designed with Low-Bit LLM Quantization

Faraz Tahmasebi, Haocheng Xu, Andrew Trauger, Yomal Perera, Zhenyu Tang, Nael Chowdhury, Sitao Huang

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

Faraz Tahmasebi, Haocheng Xu, Andrew Trauger, Yomal Perera, Zhenyu Tang, Nael Chowdhury, and Sitao Huang

University of California, Irvine, Irvine, CA, USA

{tahmasef, haochx5, atrauger, yperera, zhenyut3, naelc, sitaoh}@uci.edu

Abstract—Weight-only quantization keeps LLM activations in floating point and stores weights as low-bit integers, turning the dominant workload into floating-point-integer (FP-INT) general matrix multiplication. Recent quantizers reach a 2–3-bit average with mixed precision, but hardware has not kept pace: GPUs dequantize weights to FP16 before the tensor-core multiply-accumulate, and bit-parallel FP-INT accelerators run at a single weight precision, so fewer bits save memory but not computation.

In this paper, we present FIGFLEX, an algorithm–hardware co-designed mixed-precision accelerator whose bit-parallel datapath scales throughput as precision falls. FIGFLEX contributes (1) a shift-add, radix-4 reformulation of FP-INT multiplication that fuses the multiply-accumulate into a unified, precision-flexible partial-product reduction and roughly halves the partial products, together with a novel INT3 optimization that reclaims the idle datapath radix-4 leaves at that precision; and (2) a mixed-precision quantizer that assigns each channel group its bit-width according to the error GPTQ cannot compensate, with a per-input-channel column scaling whose power-of-two normalization keeps the scaled activations out of the FP16 subnormal range, so that the quantized model maps directly onto FIGFLEX's datapath with the same accuracy as on a GPU. On LLaMA-2-7B, FIGFLEX attains 5.85 and 8.77 WikiText-2 perplexity at 3- and 2-bit average precision, lower than GPTQ, AWQ, SliM-LLM, AMQ, and QuIP# (without fine-tuning), while delivering 1.56× and 1.42× higher whole-chip throughput per area on the linear GEMMs of a 3-bit mixed-precision model than AxCore [60] and FIGLUT [40], respectively.

I. Introduction

Large language models (LLMs) have become foundational to modern natural language processing, and their capability scales with size: state-of-the-art models hold tens to hundreds of billions of parameters, and a 175B-parameter model alone occupies roughly 350 GB in FP16, which is far beyond the memory of a single accelerator [40, 58, 60]. In inference, the linear layers of the transformer dominate both the parameter count and the runtime, and their core operation is general matrix multiplication (GEMM). Executed in floating point (FP16/BF16), these GEMMs are both memory- and compute-bound and are the primary obstacle to efficient LLM serving.

Weight-only quantization has become the accuracy-preserving standard for compressing LLMs. Because weights vastly outweigh activations in memory while activations carry accuracy-critical outliers, compressing weights to low-bit integers and keeping activations in floating point preserves quality better than quantizing both [10, 32]. This turns the dominant workload into a floating-point-integer (FP-INT) GEMM between FP16 activations and low-bit integer weights.

While INT4 is now an established quality-preserving precision [10, 32, 35], the frontier has moved lower. Uniform methods push weights to 2–3 bits with incoherence processing and lattice codebooks [5, 9, 53], and mixed-precision methods go further, spending 4 bits only on the small fraction of salient weight groups and 1–2 bits elsewhere to reach a low average precision at little quality cost [19, 30]. Mixed precision in particular produces a per-group bit budget: the number of bits each weight group actually needs, which varies across the model. This heterogeneity should translate not only into a cheaper memory footprint—which efficient low-bit weight-storage kernels already realize [11, 17, 41, 42]—but also into cheaper computation, turning that compression into a real speedup of the linear GEMMs that dominate LLM runtime.

On the compute side, however, that budget goes unspent. General-purpose GPUs have no native FP16×INT datapath, so they dequantize the weights back to FP16 before the multiply-accumulate and run it on floating-point units [10, 32]; fewer bits therefore cut memory and bandwidth but not computation. State-of-the-art dedicated FP-INT accelerators remove this dequantization by pre-aligning activations into integer mantissas [24], but their efficiency is realized for a fixed precision. FIGNA [20] commits to a single bit-width (INT4) and is inefficient below it or for mixed precision. AxCore [60] fixes the weight quantization to the FP4 format across its E/M variants, and approximates the multiplier with a logarithmic-domain addition and an error-compensation term, while keeping the accumulation in floating point—a far larger unit than integer accumulation. For both, a weight in fewer bits costs the same to compute, so lowering the weight bit-width does not raise throughput. Bit-serial architectures have tried to resolve this inefficiency [2, 21, 24], and FIGLUT [40] is the state of the art among them: it supports mixed precision on a single substrate. It splits each weight into binary planes and reads a look-up table of pre-summed activations selected by the weight pattern. However, its work grows with the weight bit-width and the table must precompute every signed combination of its μ\mu grouped activations (exponential in μ\mu), requiring a large, many-ported flip-flop LUT.

In this paper, we present FIGFLEX, an algorithm–hardware co-designed accelerator whose bit-parallel datapath raises throughput as precision falls. Contributions are summarized as:

  • We identify and quantify the gap left by fixed-precision, bit-parallel FP-INT accelerators: their compute cost does not fall as weight bit-width falls, so they cannot exploit the mixed precision that low-bit LLMs now rely on.

  • We design a bit-parallel, precision-flexible FP-INT processing element built on a radix-4 weight recoding. A dedicated INT3 optimization fuses the two high bits of a weight pair into one shared lane, recovering the throughput a naive radix-4 wastes on odd precision. The element adds no error of its own (the radix-4 recoding is an exact regrouping and the integer accumulation is exact) with exponent alignment, multiple generation, and normalization hoisted to a shared array edge.

  • We co-design a mixed-precision quantizer with a dequantization-free epilogue. It assigns each channel group a unique bit-width based on the error that GPTQ's compensation leaves behind, rather than by a salience score computed before quantization, and it normalizes each input channel with a column scale that is rescaled by a power of two ( 2s2^{s}) so that the scaled activations never fall into FP16 subnormal range the hardware flushes. The quantizer maps directly onto the hardware's precision scaling.

On a 3-bit mixed-precision model, FIGFLEX delivers 1.56×1.56\times and 1.42×1.42\times the whole-chip throughput per area of AxCore [60], the state-of-the-art approximate FP-INT engine, and FIGLUT [40], the state-of-the-art precision-scalable one: unlike AxCore, its throughput follows the weight bit-width, and unlike FIGLUT, it does so bit-parallel. The radix-4 recoding is exact, and with the shared-exponent alignment of the RTL the quantized models reach the same perplexity on FIGFLEX as on a GPU. On LLaMA-2-7B, FIGFLEX attains 5.85 and 8.77 WikiText-2 perplexity at 3- and 2-bit average precision, lower than state-of-the-art low-bit post-training methods (GPTQ [10], AWQ [32], AMQ [30], SliM-LLM [19], and QuIP# [53] without fine-tuning); QuIP#, whose weights an FP-INT array cannot consume directly, keeps an edge in C4 perplexity and zero-shot accuracy at 2 bits.

References (59)