Skip to main content
QUICK REVIEW

[Paper Review] Per-Tensor Fixed-Point Quantization of the Back-Propagation Algorithm

Charbel Sakr, Naresh R. Shanbhag|arXiv (Cornell University)|Dec 31, 2018
Tensor decomposition and applicationsMathematics34 references9 citations
TL;DR

This paper proposes a systematic, analytically derived methodology for per-tensor fixed-point quantization of all components in the back-propagation algorithm—weights, activations, gradients, and weight accumulators—enabling full fixed-point training of deep neural networks. It achieves near-minimum precision per layer while maintaining full-precision training accuracy within 0.56% across CIFAR-10, CIFAR-100, and SVHN benchmarks, reducing computational, representational, and communication costs by up to 8×, 6×, and 4× respectively.

ABSTRACT

The high computational and parameter complexity of neural networks makes their training very slow and difficult to deploy on energy and storage-constrained computing systems. Many network complexity reduction techniques have been proposed including fixed-point implementation. However, a systematic approach for designing full fixed-point training and inference of deep neural networks remains elusive. We describe a precision assignment methodology for neural network training in which all network parameters, i.e., activations and weights in the feedforward path, gradients and weight accumulators in the feedback path, are assigned close to minimal precision. The precision assignment is derived analytically and enables tracking the convergence behavior of the full precision training, known to converge a priori. Thus, our work leads to a systematic methodology of determining suitable precision for fixed-point training. The near optimality (minimality) of the resulting precision assignment is validated empirically for four networks on the CIFAR-10, CIFAR-100, and SVHN datasets. The complexity reduction arising from our approach is compared with other fixed-point neural network designs.

Motivation & Objective

  • To close the gap in true fixed-point training of deep neural networks by enabling all network components—weights, activations, gradients, and accumulators—to be quantized in fixed-point arithmetic.
  • To address the challenges of quantization noise, dynamic range uncertainty, interdependent precision trade-offs, and training instability in fixed-point back-propagation.
  • To develop an analytically grounded precision assignment strategy that guarantees statistical similarity to full-precision training.
  • To demonstrate that full fixed-point training is feasible and efficient, even when dynamic ranges of gradients are unknown a priori.
  • To validate the near-optimality of the assigned precision by comparing it to theoretical minimums and existing fixed-point designs.

Proposed method

  • The method derives per-layer precision requirements analytically using statistical properties of network tensors, including spatial variance of gradients and singular values of square-Jacobians.
  • It employs a precision dynamic range (PDR) model to estimate the required number of bits for each tensor type based on quantization error bounds.
  • The approach uses a baseline full-precision network to inform dynamic range and error characteristics, enabling precision assignment without retraining.
  • It computes quantization step sizes based on the maximum singular values of Jacobian matrices and gradient tensor variances to control quantization noise.
  • The method assigns separate bit-widths to each tensor type (weights, activations, weight gradients, activation gradients, weight accumulators) per layer.
  • It validates the precision assignment via empirical evaluation on CIFAR-10, CIFAR-100, and SVHN, ensuring convergence and accuracy fidelity.

Experimental results

Research questions

  • RQ1Can all components of the back-propagation algorithm—weights, activations, gradients, and accumulators—be quantized in fixed-point arithmetic without sacrificing training convergence or accuracy?
  • RQ2What is the minimal per-layer bit-width required for each tensor type to maintain statistical similarity with full-precision training?
  • RQ3How do precision requirements vary across layers in different network architectures, particularly in residual networks?
  • RQ4Can the method achieve near-minimum precision while maintaining training stability and accuracy, even when dynamic ranges of gradients are unknown?
  • RQ5How does the proposed fixed-point training compare in efficiency and accuracy to existing fixed-point and quantized training approaches?

Key findings

  • The proposed method achieves full fixed-point training with less than 0.56% accuracy loss compared to full-precision training across all tested benchmarks (CIFAR-10, CIFAR-100, SVHN).
  • The precision assignment is within 1 bit per tensor of the theoretical minimum, demonstrating near-optimality in bit allocation.
  • Weight precision decreases from input to output layers, while activation gradient and weight accumulator precision increase toward deeper layers.
  • Residual networks exhibit uniform precision requirements across layers, suggesting architectural invariance in quantization sensitivity.
  • The method reduces computational cost by up to 8×, representational cost by up to 6×, and communication cost by up to 4× compared to full-precision training and prior fixed-point designs.

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.