Skip to main content
QUICK REVIEW

[Paper Review] End-to-End DNN Training with Block Floating Point Arithmetic

Mario Drumond, T. Lin|arXiv (Cornell University)|Apr 4, 2018
Parallel Computing and Optimization TechniquesComputer Science7 citations
TL;DR

This paper proposes a hybrid end-to-end deep neural network (DNN) training method that uses block floating-point (BFP) arithmetic for dot product operations and standard floating-point (FP) elsewhere. By allowing dynamic exponent adjustment between BFP conversions, the approach improves arithmetic density and model compactness, achieving performance on par with or better than full-precision FP32 models.

ABSTRACT

DNNs are ubiquitous datacenter workloads, requiring orders of magnitude more computing power from servers than traditional workloads. As such, datacenter operators are forced to adopt domain-specific accelerators that employ half-precision floating-point (FP) numeric representations to improve arithmetic density. Unfortunately, even these representations are not dense enough, and are, therefore, sub-optimal for DNNs. We propose a hybrid approach that employs dense block floating-point (BFP) arithmetic on dot product computations and FP arithmetic elsewhere. While using BFP improves the performance of dot product operations, that compose most of DNN computations, allowing values to freely float between dot product operations leads to a better choice of tensor exponents when converting values to back BFP. We show that models trained with hybrid BFP-FP arithmetic either match or outperform their FP32 counterparts, leading to more compact models and denser arithmetic in computing platforms.

Motivation & Objective

  • To address the growing computational demands of DNNs in datacenters by improving arithmetic density beyond standard half-precision floating-point (FP16).
  • To reduce model size and increase computational efficiency by leveraging block floating-point (BFP) arithmetic in the most computationally intensive operations—dot products.
  • To enable end-to-end DNN training with mixed-precision arithmetic, where BFP is used selectively for dot products and FP elsewhere, maintaining model accuracy.
  • To investigate whether dynamic exponent management between BFP conversions can mitigate precision loss and improve training stability.

Proposed method

  • The method employs block floating-point (BFP) representation for dot product computations, where a shared exponent is applied to a block of values, increasing arithmetic density.
  • It uses standard floating-point (FP) arithmetic for non-dot-product operations to maintain numerical stability and precision where needed.
  • The framework allows values to freely float between dot product operations, enabling optimal exponent selection when converting back to BFP, reducing quantization error.
  • The approach integrates BFP and FP arithmetic seamlessly within the training pipeline, supporting backpropagation and gradient updates.
  • Exponent management is dynamically adjusted during training to preserve numerical range and minimize precision loss across layers.
  • The method is applied end-to-end, allowing full model training with minimal changes to existing deep learning frameworks.

Experimental results

Research questions

  • RQ1Can block floating-point arithmetic improve arithmetic density and model compactness in DNN training without sacrificing model accuracy?
  • RQ2How does dynamic exponent management between BFP conversions affect training stability and convergence in DNNs?
  • RQ3Can a hybrid BFP-FP training strategy achieve performance comparable to or better than full-precision FP32 training?
  • RQ4What is the impact of using BFP only in dot product operations versus full-network BFP conversion?

Key findings

  • Models trained with the hybrid BFP-FP approach match or exceed the performance of their FP32 counterparts, demonstrating that BFP can maintain high accuracy despite reduced precision.
  • The use of dynamic exponent management between dot product operations significantly reduces quantization error and improves numerical stability during training.
  • The hybrid approach results in more compact models due to increased arithmetic density, particularly in the most computationally intensive dot product layers.
  • The method enables denser arithmetic operations in hardware accelerators, improving energy efficiency and throughput in datacenter environments.
  • The approach maintains compatibility with standard deep learning frameworks by applying BFP only to critical operations, minimizing implementation overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.