Skip to main content
QUICK REVIEW

[Paper Review] DPRed: Making Typical Activation and Weight Values Matter In Deep Learning Computing

Alberto Delmás, Sayeh Sharify|arXiv (Cornell University)|Apr 17, 2018
Advanced Neural Network ApplicationsComputer Science48 references5 citations
TL;DR

DPRed proposes dynamic precision reduction for deep neural networks by grouping weights and activations to apply per-group precision, reducing off-chip memory traffic by up to 65% and improving performance and energy efficiency. It enables hardware to adapt precision dynamically per activation group, achieving 1.82x–2.81x speedups in 8-bit networks without requiring network retraining or changes to model architecture.

ABSTRACT

We show that selecting a single data type (precision) for all values in Deep Neural Networks, even if that data type is different per layer, amounts to worst case design. Much shorter data types can be used if we target the common case by adjusting the precision at a much finer granularity. We propose Dynamic Precision Reduction (DPRed), where we group weights and activations and encode them using a precision specific to each group. The per group precisions are selected statically for the weights and dynamically by hardware for the activations. We exploit these precisions to reduce: 1) off-chip storage and off- and on-chip communication, and 2) execution time. DPRed compression reduces off-chip traffic to nearly 35% and 33% on average compared to no compression respectively for 16b and 8b models. This makes it possible to sustain higher performance for a given off-chip memory interface while also boosting energy efficiency. We also demonstrate designs where the time required to process each group of activations and/or weights scales proportionally to the precision they use for convolutional and fully-connected layers. This improves execution time and energy efficiency for both dense and sparse networks. We show the techniques work with 8-bit networks, where 1.82x and 2.81x speedups are achieved for two different hardware variants that take advantage of dynamic precision variability.

Motivation & Objective

  • To address the inefficiency of fixed-precision designs in deep learning accelerators, which overprovision for rare high-magnitude values.
  • To exploit the fact that most activations and weights are near zero, enabling finer-grained precision adaptation than per-layer profiling.
  • To reduce off-chip memory bandwidth and on-chip communication by compressing data using group-specific precisions.
  • To improve execution time and energy efficiency by allowing processing units to scale performance with the precision of each data group.
  • To enable hardware acceleration that adapts to input-dependent activation precision without requiring model retraining or architectural changes.

Proposed method

  • DPRed groups weights and activations into small clusters and assigns each group a precision tailored to its value distribution.
  • For weights, precision is selected statically via profiling and applied during model pre-processing.
  • For activations, precision is dynamically determined at runtime based on the input and selected by hardware.
  • The system uses a compression/decompression block to store and retrieve data using group-specific precisions, reducing off-chip traffic.
  • The DStripes accelerator design integrates DPRed by allowing processing units to scale their operation time proportionally to the precision of each data group.
  • The approach supports both dense and sparse networks and is compatible with existing quantization and pruning techniques.

Experimental results

Research questions

  • RQ1Can dynamic, per-group precision adaptation reduce off-chip memory traffic more effectively than fixed per-layer precision?
  • RQ2How much performance and energy efficiency gain can be achieved by adapting precision at a finer granularity than the layer level?
  • RQ3Can dynamic precision reduction be applied to both weights and activations without requiring model retraining or architectural changes?
  • RQ4What is the impact of input-dependent activation precision on hardware performance and communication efficiency?
  • RQ5How does DPRed compare to existing compression and quantization techniques in terms of bandwidth reduction and speedup?

Key findings

  • DPRed reduces off-chip traffic to 35% and 33% of baseline for 16-bit and 8-bit models, respectively, compared to 50% with fixed per-layer precision.
  • The compression scheme reduces off-chip traffic to 38% of baseline, outperforming fixed-precision approaches.
  • DStripes achieves 1.82x and 2.81x speedups in 8-bit networks across two hardware variants by adapting to dynamic precision per group.
  • The method enables proportional scaling of execution time with precision, improving energy efficiency for both dense and sparse networks.
  • DPRed remains effective even in 8-bit quantized networks, demonstrating its robustness to existing quantization techniques.
  • The approach is orthogonal to pruning and quantization, and can be combined with EIE, TRT, and Bit-Fusion to further enhance performance.

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.