NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FAST: DNN Training Under Variable Precision Block Floating Point with Stochastic Rounding

Sai Qian Zhang, Bradley McDanel, H. T. Kung

TL;DR

FAST (Fast First, Accurate Second Training) is a novel system that accelerates Deep Neural Network (DNN) training by 2–6$\times$ using variable-precision Block Floating Point (BFP) arithmetic. By starting training with low-precision operations and adaptively increasing bit-width as the model converges, FAST achieves significant speedups and energy savings on specialized hardware while maintaining the accuracy of full-precision models.

What Problem Does This Paper Address?

Training modern DNNs is incredibly resource-intensive, often requiring weeks of computation on power-hungry hardware. While researchers have tried using lower-precision formats like 16-bit floating point (FP16) or 8-bit integers (INT8) to speed things up, both have drawbacks. Standard floating-point formats require expensive "mantissa alignment" for every single addition, bloating hardware size. Fixed-point (integer) formats are efficient but lack the dynamic range necessary to represent the wide-ranging gradient values essential for stable training.

The authors address this by leveraging Block Floating Point (BFP). BFP groups numbers together to share a single exponent, providing the dynamic range of floating point with the computational efficiency of fixed point. However, previous BFP implementations used a static precision that was often higher than necessary for much of the training process.

Methods

The FAST system introduces three core innovations:

  1. Variable Precision Strategy: The authors observe that DNNs are remarkably tolerant of noise in early training stages and in earlier layers of the network. FAST exploits this by starting training with very low precision (e.g., 2-bit mantissas) and incrementally increasing it to 4-bit mantissas as training progresses and for deeper layers.
  2. Stochastic Rounding (SR): When working with extremely low precision, small gradient updates often get rounded to zero, causing training to stall. FAST uses stochastic rounding—where values are rounded up or down probabilistically based on their fractional part—to ensure these small updates are preserved in expectation.
  3. Modular Hardware (fMAC): To support variable precision efficiently, the authors designed a custom FAST Multiplier-Accumulator (fMAC). It processes mantissas in 2-bit "chunks." If a layer requires 4-bit precision, the hardware simply runs two passes. This allows a single, small hardware unit to support multiple precision levels flexibly.
Overview of the FAST system and its adaptive precision strategy across layers and iterations.

Datasets

The authors validated FAST across several diverse tasks and architectures:

  • Image Classification: ResNet-18, ResNet-50, MobileNet-v2, and VGG-16 trained on the ImageNet dataset.
  • Machine Translation: A 12-layer Transformer model trained on the IWSLT14 German-English benchmark.
  • Object Detection: YOLOv2 trained on the PASCAL VOC2012 dataset.

Key Insights and Ideas

  • The "Fast First, Accurate Second" Philosophy: Precision is a resource that should be spent wisely. By using an adaptive threshold ($\epsilon$) that decreases over time and layer depth, FAST ensures high precision is only used when and where it actually improves the model's convergence.
  • BFP as the "Goldilocks" Format: BFP is uniquely suited for DNN training. Because alignment only happens once per group (rather than per multiplication), it significantly reduces the hardware area compared to standard floating point.
  • Stochastic Rounding is Non-Negotiable: The paper provides a theoretical analysis (Theorem 1) showing that SR is critical for maintaining the same total weight increments as full-precision training, especially when mantissa bits are scarce.
Comparison of different number formats, showing how BFP fits between fixed and floating point.

Key Results

  • Speedup: FAST achieved a 2–6$\times$ speedup in training time compared to prior work using mixed-precision or static BFP systems.
  • Accuracy: Despite the aggressive quantization, FAST maintained near-baseline accuracy. For example, ResNet-18 on ImageNet achieved 68.52% accuracy, nearly identical to the 68.60% achieved by standard FP32 training.
  • Energy Efficiency: The specialized fMAC units are significantly more efficient. The normalized energy cost for training ResNet-18 was roughly 8.6$\times$ lower than FP32 and significantly lower than even optimized formats like bfloat16.
  • Hardware Footprint: The fMAC design is roughly 10$\times$ smaller in area than a standard FP16 MAC, allowing more compute units to be packed onto a single chip.

Limitations and Future Work

While the results on single-chip platforms are impressive, the authors note that modern DNN training is often distributed across many chips. Future work is needed to study how the FAST adaptive precision strategy scales in multi-chip, distributed environments where communication overhead becomes a major bottleneck. Additionally, the current study primarily toggles between 2-bit and 4-bit mantissas; exploring a wider range of bit-widths or different group sizes ($g$) could yield further optimizations.

Summary updated

BibTeX
@inproceedings{zhang2022fast,
  author = {Sai Qian Zhang and Bradley McDanel and H. T. Kung},
  title = {{FAST: DNN Training Under Variable Precision Block Floating Point with Stochastic Rounding}},
  booktitle = {HPCA},
  year = {2022},
  doi = {10.1109/hpca53966.2022.00067},
}
Figure