Skip to main content
QUICK REVIEW

[Paper Review] Reduced-Precision Strategies for Bounded Memory in Deep Neural Nets

Patrick Judd, Jorge Albericio|arXiv (Cornell University)|Nov 17, 2015
Advanced Neural Network ApplicationsComputer Science23 references84 citations
TL;DR

This paper proposes a per-layer reduced-precision strategy for Convolutional Neural Networks (CNNs) that dynamically assigns different bit widths to each layer, significantly reducing memory footprint while maintaining classification accuracy within 1% of full-precision models. By analyzing five CNN architectures, the authors demonstrate that mixed-precision configurations can reduce data storage by up to 92% and average 74% across networks, with minimal accuracy loss and substantial gains in memory efficiency and performance.

ABSTRACT

This work investigates how using reduced precision data in Convolutional Neural Networks (CNNs) affects network accuracy during classification. More specifically, this study considers networks where each layer may use different precision data. Our key result is the observation that the tolerance of CNNs to reduced precision data not only varies across networks, a well established observation, but also within networks. Tuning precision per layer is appealing as it could enable energy and performance improvements. In this paper we study how error tolerance across layers varies and propose a method for finding a low precision configuration for a network while maintaining high accuracy. A diverse set of CNNs is analyzed showing that compared to a conventional implementation using a 32-bit floating-point representation for all layers, and with less than 1% loss in relative accuracy, the data footprint required by these networks can be reduced by an average of 74% and up to 92%.

Motivation & Objective

  • To investigate how precision requirements vary not only across different CNN architectures but also within individual networks at the layer level.
  • To develop a method for selecting optimal mixed-precision configurations per layer that maintain high classification accuracy while minimizing memory footprint.
  • To evaluate the impact of per-layer precision assignment on memory traffic and data bandwidth in deep learning inference.
  • To demonstrate that dynamic precision assignment across layers can significantly outperform uniform low-precision strategies in memory efficiency and performance.
  • To provide a foundation for future hardware and software co-design of low-precision deep learning accelerators.

Proposed method

  • The authors use the Caffe deep learning framework to train and evaluate five well-known CNNs: LeNet, ConvNet, AlexNet, NiN, and GoogLeNet.
  • They analyze per-layer error tolerance by systematically reducing the bit width of weights and activations in isolation, measuring accuracy degradation across different precision levels.
  • A mixed-precision configuration is determined by optimizing for minimal memory traffic while constraining accuracy loss to within 1% of the 32-bit floating-point baseline.
  • The method uses fixed-point representations with separate integer and fractional bits, and evaluates trade-offs between precision and memory bandwidth across layers.
  • Traffic reduction is quantified as a ratio relative to a 32-bit baseline, with results reported for error tolerances of 1%, 2%, 5%, and 10%.
  • The approach is validated across diverse network architectures, showing that precision needs vary significantly both between and within networks.

Experimental results

Research questions

  • RQ1How does the tolerance of CNNs to reduced precision vary across different layers within the same network?
  • RQ2Can per-layer precision assignment achieve greater memory savings than uniform low-precision representations while maintaining high accuracy?
  • RQ3What is the optimal mixed-precision configuration for a given CNN that minimizes memory footprint with minimal accuracy loss?
  • RQ4How does the required precision vary across different CNN architectures, and does this trend correlate with network complexity?
  • RQ5What is the maximum achievable memory reduction for intermediate activations when using layer-specific precision, under a 1% accuracy tolerance?

Key findings

  • The average memory footprint of intermediate activations across five CNNs can be reduced by 74% when using mixed-precision configurations with less than 1% accuracy loss compared to 32-bit floating-point.
  • In the best-case scenario, some layers require only 2 bits of precision while maintaining accuracy, demonstrating extreme variability in per-layer precision needs.
  • The maximum memory reduction achieved is 92% for certain networks, with the worst-case reduction still reaching 74% under 1% accuracy tolerance.
  • Compared to a 16-bit fixed-point baseline, the proposed method achieves 51% memory reduction on average, highlighting the advantage of per-layer optimization.
  • The method identifies that newer, more complex networks generally require higher precision, indicating a trend of increasing precision demands with architectural complexity.
  • Traffic reduction is most effective when precision is tuned per layer, with the optimal configuration reducing data traffic by up to 76% over the 1%-10% error tolerance range.

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.