Papers
Topics
Authors
Recent
Search
2000 character limit reached

Posit: A Real-Number Format Alternative

Updated 11 July 2026
  • Posit is a parameterized real-number format defined as P(n,es) with a variable-length regime, offering tapered precision near unity.
  • It is applied in DNN, HPC, and computer vision, with studies highlighting reduced error rates and improved performance over IEEE 754.
  • Empirical results reveal advantages in normalized workloads, though limitations exist in representing large consecutive integers exactly.

Posit is a parameterized real-number format studied as an alternative to IEEE 754 floating-point arithmetic in DNNs, HPC, computer vision, and processor design. It is commonly described through the tuple P(n,es)P(n,es), where nn is the total bit width and eses is the exponent-size parameter; unlike IEEE formats, posit uses a variable-length regime field and therefore exhibits tapered precision, with comparatively dense representation near unity and a wide dynamic range at a fixed word size. Across the literature summarized here, posit is evaluated not only as a numerical format but also as a hardware design problem involving decode/encode cost, exact or quire-based accumulation, SIMD datapaths, ISA integration, and bounded or approximate variants intended to control implementation overheads (Lu et al., 2019, Tiwari et al., 2019, Ciocirlan et al., 2021).

1. Representation, value function, and field structure

A posit value is typically written as

x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},

with sign ss, regime value kk, exponent ee, and fraction ff. The regime is run-length encoded and determines a variable shift in scale; one formulation gives

k={(# leading 1s)1,for a 1-regime (# leading 0s),for a 0-regimek= \begin{cases} (\#\text{ leading 1s})-1, & \text{for a 1-regime} \ -(\#\text{ leading 0s}), & \text{for a 0-regime} \end{cases}

so the positions of exponent and fraction bits are data-dependent rather than fixed in advance (Lu et al., 2019, Montero et al., 2019).

This variable-length regime is the central distinction from IEEE 754 binary formats, whose sign, exponent, and significand fields occupy fixed positions. Several hardware papers emphasize that posit implementations commonly treat only zero and NaR (“Not a Real”) as exceptional states, eliminating IEEE-style subnormals and multiple NaN categories; comparison and classification logic can therefore be simplified in some implementations, and some RISC-V posit cores exploit ordering properties of posit encodings to reuse integer comparison structures (Saxena et al., 2021, Tiwari et al., 2019, Mallasén et al., 2021).

The immediate numerical consequence of the regime mechanism is tapered precision. Posit devotes more representational density to values near $1$ and correspondingly fewer fraction bits to extreme magnitudes. This behavior is repeatedly described as advantageous for normalized workloads whose values cluster around zero or one, including image and DNN tensors, but it also implies that posit’s accuracy is intentionally nonuniform across the number line (Saxena et al., 2021, Nakasato et al., 2024).

2. Accuracy profile, robustness, and formal limitations

Empirical studies consistently report accuracy gains for posit in domains whose working sets lie near the format’s high-resolution region. In Lucas–Kanade optical flow, SoftPosit yielded average error an order of magnitude lower than SoftFloat, and for 16-bit arithmetic the posit(16,2) configuration achieved lower synthetic-image max and RMS error than float16; the same study further observed that posit normalization should place data near the region of highest precision, explicitly noting a favorable range for posit(16,2) when pixel values are scaled to nn0–nn1 (Saxena et al., 2021). In spectral analysis, 32-bit posit achieved about nn2 better accuracy than IEEE 754 32-bit float in FFT/IFFT round-trip tests, and a dense linear-algebra accelerator study reported that Posit(32,2) is approximately nn3–nn4 decimal digits more accurate than standard 32-bit format when the norm of matrix elements is close to nn5 (Deshmukh et al., 2024, Nakasato et al., 2024).

HPC kernels show a similar but workload-dependent pattern. The Posit NPB study found nn6 to nn7 decimal digits of precision improvement over IEEE 754 float across CG, MG, LU, BT, and FT, while a Rocket-Chip study reported that 32-bit posit passes the NPB Block Tridiagonal validation with an order-of-magnitude tighter nn8 threshold than FP32 (Chien et al., 2019, Ciocirlan et al., 2021).

Posit has also been examined as an error-resilient representation. Exhaustive fault-injection experiments on 32-bit formats found that in more than nn9 of cases posit is less impacted by faults than IEEE 754, that posit generated NaR in only eses0 of cases versus more than eses1 NaN for IEEE 754, and that under injected faults the accuracy drop in tested ML applications was eses2–eses3 for posit versus eses4–eses5 for IEEE 754 (Alouani et al., 2021).

These results do not imply uniform superiority. Multiple studies state explicitly that posit’s advantage is strongest in the “golden zone” near normalized magnitudes, and can vanish or reverse when inputs are far from unity (Nakasato et al., 2024, Deshmukh et al., 2024). A separate formal analysis of integer representation shows another limitation: for an eses6-bit posit, the largest exactly consecutive integer is

eses7

which yields eses8 for posit16, approximately eses9 for posit32, and approximately x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},0 for posit64; the paper concludes that posits are generally less effective than IEEE 754 in exact integer representation and are not a direct replacement when large consecutive integer ranges are semantically important (Hunhold, 2024).

3. Deep neural network training and inference

Posit entered DNN research first through low-precision inference and then through full training. “Deep Positron” introduced an FPGA soft core for exact multiply-and-accumulate across fixed-point, floating-point, and posit formats, and reported that 8-bit posit gave better accuracy than 8-bit fixed or floating-point on the Wisconsin Breast Cancer, Iris, and Mushroom datasets, with accuracy comparable to 32-bit floating-point on a Xilinx Virtex-7 device (Carmichael et al., 2018). A separate study on template-based posit multiplication showed that 8-bit posit inference on MNIST can match or slightly exceed 32-bit float accuracy, but that CIFAR-10 suffers a substantial drop at the same width, indicating that short posits do not generalize uniformly across dataset difficulty (Montero et al., 2019).

Full DNN training with posit required additional methodology. The ImageNet training study introduced warm-up training in FP32 for x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},1–x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},2 epochs, layer-wise scaling factors

x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},3

with x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},4, and data-type-specific configurations: weights and activations in x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},5, gradients and errors in x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},6. Using this strategy, ResNet-18 on ImageNet reached x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},7 top-1 accuracy against a x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},8 FP32 baseline, which the paper characterizes as the first successful ImageNet-scale training in 16-bit posit with no accuracy loss (Lu et al., 2019).

Later processor-level studies reinforced the view that 16-bit posit is often the most practical DNN operating point. POSAR, a parameterizable posit arithmetic unit in a RISC-V Rocket Chip, reported that posit(16,2) achieved the same x=(1)s×useedk×2e×(1+f),useed=22es,x = (-1)^s \times useed^k \times 2^e \times (1+f), \qquad useed = 2^{2^{es}},9 Top-1 accuracy as FP32 on a CIFAR-10 CNN while delivering an ss0 speedup; the same work states that 8-bit posit is not suitable as a general FP32 replacement for classic ML kernels, although a hybrid mode using posit(8,1) for storage and posit(16,2) for

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Posit.