Manuscript Offprint

arXiv:2609.04724

FlexPosit: Tunable Fractional Precision for LLM Inference Accelerators

Yimin Gao, Liangtao Dai, Jun Yin, Xinfei Guo, Mircea Stan

Yimin Gao

University of Virginia

Charlottesville, USA

yg9bq@virginia.edu

Liangtao Dai

University of Virginia

Charlottesville, USA

kvf4sf@virginia.edu

Jun Yin

University of Virginia

Charlottesville, USA

htf6ry@virginia.edu

Xinfei Guo

Shanghai Jiao Tong University

Shanghai, China

xinfei.guo@sjtu.edu.cn

Mircea Stan

University of Virginia

Charlottesville, USA

mircea@virginia.edu

Abstract—Large language models (LLMs) offer remarkable capabilities but impose prohibitive compute and energy costs. Quantization plays an essential role in practical inference deployment by helping govern the trade-offs between accuracy and hardware efficiency across the granularity and bit-width (precision) dimensions. Finer granularity (e.g., group-wise) has good accuracy but incurs large scaling and control overhead, while coarser granularity (e.g., channel-wise) has lower overhead but leads to losses in accuracy at lower precision. In terms of bit-width, modern mixed-precision quantization methods expose rich accuracy-efficiency trade-offs at the algorithmic level; however, existing LLM accelerators are limited to discrete precision modes. For aggressive low-bit regimes, the optimal precision under a fixed resource budget often lies between discrete levels—a fractional design space that existing hardware cannot exploit.

FlexPosit bridges these gaps through co-design of Posit-based quantization and a precision-tunable bit-serial architecture that transforms precision into a tunable fractional design knob for jointly optimizing accuracy, throughput, and energy. Algorithmically, FlexPosit employs distribution-aware quantization with hardware-aligned, sensitivity-guided mixed-precision allocation, leveraging the Posit format's tapered precision to achieve group-wise-like accuracy with channel-wise-like regularity. Architecturally, FlexPosit is a unified bit-serial systolic array with lightweight per-column decoders, unified Processing Elements (PEs), and a global precision controller, enabling tunable fractional precision while preserving fully regular systolic dataflow. Evaluated across diverse LLMs, FlexPosit achieves near-FP16 accuracy with sub-5-bit fractional weights. Compared with state-of-the-art quantized LLM accelerators, it achieves up to 1.8×1.8\times higher throughput and 1.2×1.2\times lower energy over BitMoD (group-wise quantization) and 1.5×1.5\times higher throughput and 2.0×2.0\times lower energy over OliVe (channel-wise quantization), establishing a new Pareto frontier for precision-tunable LLM acceleration.

Index Terms—Group-wise/channel-wise quantization, Mixed-precision quantization, Precision-tunable accelerators, Posit arithmetic, LLM inference

I. INTRODUCTION

The rapid advances of transformer-based large language models (LLMs) [1] have energized modern computing and artificial intelligence (AI). However, their rapidly growing computation and communication demands make large-scale inference increasingly costly and place substantial pressure on cloud infrastructure. Edge deployment is a complementary approach that reduces reliance on centralized servers while enabling low latency, stronger privacy, lower power, and offline functionality. However, edge platforms face limits on memory, storage, and compute resources [2] which demand aggressive model compression and accelerator co-design to jointly optimize accuracy and efficiency under tight cost and energy budgets.

Quantization has become one of the primary techniques for efficient LLM inference, reducing memory footprint and computation cost through low-bit representations [3]. Quantization-aware training (QAT) achieves high accuracy via retraining but is impractical for billion-parameter models. Recent work trains models in lower precision from scratch [4], [5], but still incurs the cost of full model training. These training-time costs make post-training quantization (PTQ) the practical choice for large LLMs [6]–[17]. Among these, weight-only quantization is particularly attractive as weights dominate memory and compute in edge inference and can be quantized offline, while activations are sequence-dependent and more sensitive to quantization [7], [8], [10].

LLMs pose unique challenges for low-bit quantization, as their heavy-tailed and highly heterogeneous weight distributions make it difficult to maintain accuracy [18]. Outlier-aware quantization methods mitigate this through explicit outlier separation during quantization, but they introduce irregular data layouts which result in high hardware overhead [16], [17]. Unified quantization avoids such irregularity [19] but exacerbates the fundamental trade-offs between accuracy and hardware efficiency along two quantization dimensions: granularity and bit-width. Finer granularity (e.g., group-wise, which shares a scale factor within a small group of weights) achieves higher accuracy by capturing local weight variation but incurs heavy per-scale control overhead and increased hardware complexity [11], [14], while coarser granularity (e.g., channel-wise, with one scale factor for each channel) preserves a regular dataflow but suffers some accuracy loss at low precision, since uniformly spaced data types cannot represent the wide dynamic range of LLM weights [12], [13]. This tension motivates adopting a distribution-aware numeric format whose precision profile naturally aligns with heavy-tailed weight distributions, recovering accuracy without sacrificing hardware regularity.

Along the bit-width dimension, mixed-precision quantization (MPQ) effectively balances accuracy and efficiency by assigning different bit-widths to different model regions [20], [21], with layer-wise precision assignment efficiently supported in CNN and DNN accelerators [22]–[24]. However, recent LLM-oriented MPQ methods [25]–[27] adopt group-wise mixed-precision to capture intra-layer heterogeneity. While algorithmically effective, such fine-grained precision heterogeneity is not naturally aligned with parallel accelerators that rely on uniform tiling and synchronized execution [28].

From a hardware perspective, while tunable precision has been studied in CNN and DNN accelerators, it remains less explored in LLM-oriented designs. Early accelerators [29]–[31] employed fixed-precision datapaths with little opportunity to trade precision for efficiency. Bit-serial and composable architectures [22]–[24] further demonstrated precision-tunable execution by varying serial depth or composing datapaths, yet their precision control remained limited to per-layer granularity and conventional integer data types, unable to capture the intra-layer weight heterogeneity of recent transformer models. Recent LLM accelerators [11]–[14] provide greater representational accuracy by using fixed custom or mixed numeric formats, yet their precision remains limited to a small set of discrete modes. At the aggressive low-bit regimes demanded by edge deployment, the optimal operating point often lies between such discrete levels, yet the fine-grained precision trade-offs that MPQ can exploit algorithmically are not matched by existing hardware, leaving this fractional design space largely unexplored.

FlexPosit bridges these bottlenecks through a precision-tunable bit-serial accelerator co-designed with a Posit-based mixed-precision quantization framework. Posit's tapered precision enables a distribution-aware numerical foundation for channel-wise quantization, while a hardware-aligned, sensitivity-guided MPQ scheme allocates precision efficiently within a fixed bit budget. The unified bit-serial FlexPosit array can tune weight precision fractionally from 4 to 8 bits while preserving fully regular systolic dataflow through lightweight global precision control. The key insight of this work is to treat precision as a tunable fractional hardware knob for balancing accuracy, throughput, and energy efficiency under resource-constrained edge inference.

The main contributions of this work are:

  1. Fractional precision tuning. FlexPosit, to our knowledge, is the first LLM inference accelerator to achieve hardware-level fractional precision tuning within a unified bit-serial systolic array. This tunability is realized through a weighted combination of discrete bit-widths at channel-window granularity, decoupling precision from datapath width via a global precision control unit (GPCU) that synchronizes all PEs to ad-

Figure

Fig. 1: Per-group vs. per-channel quantized weight streaming in a systolic array. (a) Group-wise quantization produces misaligned weight groups in memory and therefore requires a rescale unit in every PE. (b) Channel-wise quantization assigns one scale per channel, yielding column-aligned weight streams and requiring only one rescale unit per column.

just bit-serial depth dynamically, enabling fine-grained accuracy–efficiency trade-offs without structural reconfiguration.

  1. Distribution-aware Posit quantization. A Posit-based weight representation aligns tapered precision with heavy-tailed LLM weights, maintaining low-bit accuracy while preserving channel-wise hardware efficiency. We further introduce SerialPosit, a streaming-friendly Posit format that reformulates conventional Posit using sign-magnitude encoding, enabling efficient decoding at any supported precision on a unified bit-serial datapath.

  2. Systolic-aligned mixed-precision allocation. A sensitivity-guided scheduler ranks channel windows by quantization impact and allocates precision budget to the most sensitive regions at a granularity aligned to the systolic array's column structure, exploiting the bit-serial hardware's temporal precision control to maximize accuracy under a given precision budget.

  3. Comprehensive evaluation. Across quantized LLMs, FlexPosit sustains near-FP16 accuracy with sub-5-bit weights, outperforming state-of-the-art BitMod (group-wise) by up to 1.8×1.8\times higher throughput and 1.2×1.2\times lower energy, and OliVe (channel-wise) by 1.5×1.5\times higher throughput and 2.0×2.0\times lower energy, establishing a new Pareto frontier for precision-tunable LLM acceleration.

References (52)