mlsanityData to 14 Oct 2026

Block Format Error Bounds and Optimal Block Size Selection

arXiv 2210.05470 ↗First posted 11 Oct 2022cs.LG cs.AR cs.NAcited by 2

Not on the map. Why?

Abstract (arXiv)

The amounts of data that need to be transmitted, processed, and stored by the modern deep neural networks have reached truly enormous volumes in the last few years calling for the invention of new paradigms both in hardware and software development. One of the most promising and rapidly advancing frontiers here is the creation of new numerical formats. In this work we focus on the family of block floating point numerical formats due to their combination of wide dynamic range, numerical accuracy, and efficient hardware implementation of inner products using simple integer arithmetic. These formats are characterized by a block of mantissas with a shared scale factor. The basic Block Floating Point (BFP) format quantizes the block scales into the nearest powers of two on the right. Its simple modification - Scaled BFP (SBFP) - stores the same scales in full precision and thus allows higher accuracy. In this paper, we study the statistical behavior of both these formats rigorously. We develop asymptotic bounds on the inner product error in SBFP- and BFP-quantized normally distributed vectors. Next, we refine those asymptotic results to finite dimensional settings and derive high-dimensional tight bounds for the same errors. Based on the obtained results we introduce a performance measure assessing accuracy of any block format. This measure allows us to determine the optimal parameters, such as the block size, yielding highest accuracy. In particular, we show that if the precision of the BFP format is fixed at 4 bits, the optimal block size becomes 64. All theoretical derivations are supported by numerical experiments and studies on the weights of publicly available pretrained neural networks.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 13 of its 25 references that are in the map. First posted on arXiv 11 Oct 2022.

Builds on

13 of 25 references.

References · 13

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2017Mixed Precision Trainingcited by 1,156
  4. 2021A Survey of Transformerscited by 401
  5. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  6. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
  7. 2019Q8BERT: Quantized 8Bit BERTcited by 300
  8. 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 148
  9. 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
  10. 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 106
  11. 2021VS-Quant: Per-vector Scaled Quantization for Accurate Low-Precision Neural Network Inferencecited by 64
  12. 2019Benchmarking TPU, GPU, and CPU Platforms for Deep Learningcited by 52
1 more
  1. 2019TRADI: Tracking deep neural network weight distributions for uncertainty estimationcited by 39

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2021FAST: DNN Training Under Variable Precision Block Floating Point with Stochastic Rounding
  2. 2024BitQ: Tailoring Block Floating Point Precision for Improved DNN Efficiency on Resource-Constrained Devices
  3. 2022Accuracy Booster: Enabling 4-bit Fixed-point Arithmetic for DNN Training
  4. 2025BBAL: A Bidirectional Block Floating Point-Based Quantisation Accelerator for Large Language Models
  5. 2025Four Over Six: More Accurate NVFP4 Quantization with Adaptive Block Scaling
  6. 2023With Shared Microexponents, A Little Shifting Goes a Long Way
  7. 2025Scaling Laws for Floating Point Quantization Training
  8. 2023Shedding the Bits: Pushing the Boundaries of Quantization with Minifloats on FPGAs