Skip to main content
QUICK REVIEW

[Paper Review] Tartan: Accelerating Fully-Connected and Convolutional Layers in Deep Learning Networks by Exploiting Numerical Precision Variability

Alberto Delmás, Sayeh Sharify|arXiv (Cornell University)|Jul 27, 2017
Advanced Neural Network ApplicationsComputer Science22 references16 citations
TL;DR

Tartan (TRT) is a hardware accelerator that accelerates fully-connected and convolutional layers in deep neural networks by dynamically adjusting numerical precision per layer, using hybrid bit-serial/bit-parallel processing units. It achieves up to 1.90× faster inference and 1.17× better energy efficiency than a state-of-the-art bit-parallel accelerator, with further gains when trading 1% accuracy for performance.

ABSTRACT

Tartan (TRT), a hardware accelerator for inference with Deep Neural Networks (DNNs), is presented and evaluated on Convolutional Neural Networks. TRT exploits the variable per layer precision requirements of DNNs to deliver execution time that is proportional to the precision p in bits used per layer for convolutional and fully-connected layers. Prior art has demonstrated an accelerator with the same execution performance only for convolutional layers. Experiments on image classification CNNs show that on average across all networks studied, TRT outperforms a state-of-the-art bit-parallel accelerator by 1:90x without any loss in accuracy while it is 1:17x more energy efficient. TRT requires no network retraining while it enables trading off accuracy for additional improvements in execution performance and energy efficiency. For example, if a 1% relative loss in accuracy is acceptable, TRT is on average 2:04x faster and 1:25x more energy efficient than a conventional bit-parallel accelerator. A Tartan configuration that processes 2-bits at time, requires less area than the 1-bit configuration, improves efficiency to 1:24x over the bit-parallel baseline while being 73% faster for convolutional layers and 60% faster for fully-connected layers is also presented.

Motivation & Objective

  • Address the performance and energy efficiency limitations of existing DNN accelerators that use fixed-precision processing regardless of layer-specific precision needs.
  • Enable performance and energy efficiency improvements by dynamically scaling execution time with the precision (in bits) used per layer.
  • Extend prior work on bit-serial accelerators to support both convolutional and fully-connected layers efficiently, overcoming energy inefficiency in fully-connected layers.
  • Provide a hardware solution that allows on-the-fly trade-offs between accuracy, performance, and energy efficiency without retraining the network.
  • Maintain compatibility with standard memory interfaces and support efficient memory access while enabling variable-precision computation.

Proposed method

  • Design a hybrid bit-serial/bit-parallel functional unit architecture that supports both 1-bit and multi-bit precision processing for weights and activations.
  • Use cascaded serial inner-product (SIP) units to enable output computation slicing, reducing cross-lane imbalance for small layers and improving utilization.
  • Implement a methodology to determine optimal per-layer precision for weights and activations based on sensitivity analysis, as proposed by Judd et al. [11].
  • Maintain the same memory interface and wire counts as bit-parallel accelerators to ensure compatibility and avoid increased off-chip bandwidth.
  • Scale execution time inversely with precision p, achieving ideal speedup of 16/p relative to 16-bit baseline for both convolutional and fully-connected layers.
  • Support dynamic precision adjustment during inference, enabling runtime trade-offs between accuracy, performance, and energy efficiency.

Experimental results

Research questions

  • RQ1Can a hardware accelerator achieve performance and energy efficiency improvements by exploiting variable precision requirements across different layers in DNNs?
  • RQ2How can bit-serial processing be effectively extended to fully-connected layers to overcome the energy inefficiency observed in prior bit-serial designs?
  • RQ3To what extent can dynamic precision scaling reduce inference time and energy consumption without compromising model accuracy?
  • RQ4Can a single accelerator architecture efficiently handle both convolutional and fully-connected layers with varying precision requirements while maintaining high memory bandwidth and low area overhead?
  • RQ5What are the performance and energy efficiency gains when trading a small amount of accuracy for increased speed and efficiency in DNN inference?

Key findings

  • TRT achieves an average of 1.90× speedup and 1.17× better energy efficiency over a state-of-the-art bit-parallel accelerator (DaDN) across all layers in image classification CNNs.
  • For fully-connected layers, TRT achieves 1.61× speedup and 1.06× energy efficiency improvement over DaDN.
  • For convolutional layers, TRT achieves 1.91× speedup and 1.18× energy efficiency improvement over DaDN.
  • With a 1% relative accuracy loss, TRT achieves 2.04× faster inference and 1.25× better energy efficiency than the bit-parallel baseline.
  • A 2-bit TRT configuration is 73% faster for convolutional layers and 60% faster for fully-connected layers than the 1-bit baseline, while being 1.24× more energy efficient.
  • TRT enables dynamic precision scaling that translates directly into performance and energy savings, offering a new degree of adaptivity for inference workloads.

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.