Dynamic Range Preservation for Ultra Low Precision Training

32 concepts21 papers1 proposal

In the push for computational efficiency, deep learning has moved toward increasingly narrow numerical formats, shifting from 32-bit floating point (FP32) to 16-bit (FP16, BF16) and now 8-bit (FP8) or even 4-bit representations. However, reducing bit-width introduces a fundamental tension: as we discard bits, we lose the ability to represent both very large and very small numbers simultaneously.

When a network's activations or gradients exceed these narrow boundaries, the model suffers from numerical collapse. A shared insight across recent research is that maintaining dynamic range is more critical than maintaining mantissa precision. By prioritizing the exponent—the part of the number that determines its scale—researchers have unlocked stable training and inference at precisions once thought impossible.

The Variance Retention Principle

The primary reason low-precision training fails is not just "noise," but the systematic collapse of signal variance. Standard weight initialization schemes rely on the assumption that variance remains stable across layers to ensure gradients neither vanish nor explode. Sakr et al. established a theoretical framework showing that low-precision accumulators can violate these constraints by "swamping" small updates, effectively rounding them to zero. They argue that by maintaining a specific Variance Retention Ratio, hardware can use 12-16 bit accumulators instead of 32-bit ones without losing accuracy.

This focus on range over precision is echoed in scientific computing. When searching for exotic pulsars, White et al. found that the Bfloat16 format—which matches the 8-bit exponent of FP32 but slashes the mantissa—is far more effective than formats with more precision but less range. Similarly, Tagliavini et al. demonstrated that "transprecision" platforms can achieve significant energy savings by matching the exponent width of high-precision formats to avoid the overflow errors that typically plague standard half-precision.

Managing Outliers with Shared Exponents

Large Language Models (LLMs) present a unique challenge: their activations often contain extreme outliers that dwarf the rest of the data. In standard Block Floating Point (BFP) formats, a single large outlier forces a large shared exponent for the entire block, which effectively zeroes out all smaller, more nuanced values.

To solve this, Zou et al. proposed Bi-Exponent (BiE), which uses two shared exponents per block—one dedicated to standard values and one for outliers. This allows the format to capture the full dynamic range without sacrificing the precision of the majority of the data. Taking a different approach to the same problem, Li et al. introduced Extendable Exponent Sharing (EES), which "steals" the least significant bits of the mantissa to store extra exponent information when needed, preventing value clipping without increasing the total storage footprint.

Architectural Guardrails for Stability

Beyond changing the numerical format itself, researchers have found that the architecture must be adapted to stay within the "sweet spot" of low-precision hardware.

  1. Normalization and Scaling: To prevent overflow in FP16 training, Zhou et al. introduced Sandwich LayerNorm in the CogView model, scaling attention scores by their maximum values to ensure activations remain representable. Similarly, Abbasi Koohpayegani and Pirsiavash replaced the exponential-heavy Softmax with $\ell_1$-normalization, which naturally keeps scores in a stable numerical range.
  2. Mathematical Equivalence: Fishman et al. discovered that long-duration FP8 training triggers instabilities in the SwiGLU activation function. They resolved this with Smooth-SwiGLU, which rescales internal activation branches to prevent them from exceeding the 8-bit range, while maintaining the exact mathematical function of the original layer.
  3. Accumulator Constraints: Even when inputs are low-precision, the intermediate sums in matrix multiplication can overflow. Zhang et al. showed that by mathematically constraining quantization scales, one can ensure that the product of scaling factors never forces the sum to exceed the limits of 16-bit accumulators.

The Path to Unit Variance

The most recent evolution in this field is the move toward Unit Scaling. If a network is designed such that every activation and gradient naturally has a variance of one, the need for complex, dynamic scaling disappears.

Blake et al. and the authors of µnit Scaling argue that this "unit-variance" principle is the key to scaling FP8 training to models with billions of parameters. By ensuring that tensor values naturally stay within the narrow representable range of 8-bit formats, these frameworks allow for stable training without the overhead of tracking dynamic ranges at runtime.

For specialized applications like TinyML or quantum simulation, where values might fall toward the "underflow floor," researchers apply similar logic in reverse. Trapp et al. use $n^{th}$-root transformations to compress the dynamic range of probabilities, while Ootomo et al. use real-time exponent analysis to shift small probability amplitudes into the optimal range of the hardware. In both cases, the goal is the same: ensuring the data fits the window the hardware can see.

Key Foundational Work

Accumulation Bit-Width Scaling For Ultra-Low Precision Training Of Deep Networks (2019) — contributed 3 concept elements to this direction.
A Transprecision Floating-Point Platform for Ultra-Low Power Computing (2017) — contributed 2 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_dynamic_range_prioritization_5a19ee63,
  title = {dynamic range prioritization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/dynamic-range-prioritization/rdr_5a19ee6326b84068889e969be85ca029},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_dynamic_range_prioritization_5a19ee63_v1,
  title = {dynamic range prioritization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/dynamic-range-prioritization/rdr_5a19ee6326b84068889e969be85ca029/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake