Skip to main content
QUICK REVIEW

[Paper Review] Rethinking Floating Point Overheads for Mixed Precision DNN Accelerators

Hamzah Abdel-Aziz, Ali Shafiee|arXiv (Cornell University)|Jan 27, 2021
Particle accelerators and beam dynamicsEngineering65 references7 citations
TL;DR

This paper proposes a mixed-precision convolution unit that leverages temporal decomposition of low-bit integer operations to efficiently support FP16 arithmetic with minimal hardware overhead. By observing that only up to 8-bit exponent differences occur in practice, the authors reduce alignment logic complexity, achieving up to 46% higher TOPS/mm² and 63% better TOPS/W efficiency compared to conventional designs.

ABSTRACT

In this paper, we propose a mixed-precision convolution unit architecture which supports different integer and floating point (FP) precisions. The proposed architecture is based on low-bit inner product units and realizes higher precision based on temporal decomposition. We illustrate how to integrate FP computations on integer-based architecture and evaluate overheads incurred by FP arithmetic support. We argue that alignment and addition overhead for FP inner product can be significant since the maximum exponent difference could be up to 58 bits, which results into a large alignment logic. To address this issue, we illustrate empirically that no more than 26-bitproduct bits are required and up to 8-bit of alignment is sufficient in most inference cases. We present novel optimizations based on the above observations to reduce the FP arithmetic hardware overheads. Our empirical results, based on simulation and hardware implementation, show significant reduction in FP16 overhead. Over typical mixed precision implementation, the proposed architecture achieves area improvements of up to 25% in TFLOPS/mm2and up to 46% in TOPS/mm2with power efficiency improvements of up to 40% in TFLOPS/Wand up to 63% in TOPS/W.

Motivation & Objective

  • To address the high hardware overhead of supporting FP16 arithmetic in low-precision integer-based DNN accelerators.
  • To identify the actual dynamic range of exponent differences in real-world DNN inference workloads.
  • To minimize alignment and addition logic overhead in FP16 inner product units without sacrificing accuracy.
  • To enable efficient mixed-precision inference by reducing FP16 support costs in INT4-optimized architectures.
  • To improve area and power efficiency of DNN accelerators while maintaining FP32-level accuracy through selective FP16 usage.

Proposed method

  • Designing a convolution unit based on low-bit (e.g., INT4) inner product units that support higher-precision operations via temporal decomposition.
  • Using a 4-bit fine-grain operation as the base unit to emulate higher-precision operations over time.
  • Implementing a reduced-width alignment unit by analyzing real DNN workloads and observing that maximum exponent differences rarely exceed 8 bits.
  • Optimizing the adder tree precision to match the observed 8-bit alignment range instead of the theoretical 58-bit maximum.
  • Integrating FP16 support into an integer-based architecture with minimal area and power overhead by reusing existing low-precision multiplier and accumulator logic.
  • Validating the design through simulation and hardware implementation to measure area, power, and performance improvements.

Experimental results

Research questions

  • RQ1What is the actual dynamic range of exponent differences between FP16 products in typical DNN inference workloads?
  • RQ2How much alignment logic is truly necessary for FP16 inner product operations in practice?
  • RQ3Can FP16 arithmetic be efficiently supported in low-precision integer-based DNN accelerators without incurring excessive area and power overhead?
  • RQ4To what extent can temporal decomposition reduce the hardware cost of supporting mixed-precision operations?
  • RQ5What are the performance and efficiency gains when minimizing FP16 support logic in an INT4-optimized architecture?

Key findings

  • The maximum exponent difference between FP16 products in real DNN workloads is typically less than 8 bits, contrary to the theoretical 58-bit maximum.
  • Only up to 26-bit product bits are required for FP16 operations, allowing for reduced precision in intermediate computations.
  • The proposed architecture reduces FP16 alignment logic to 8-bit shift units, significantly cutting area and power overhead.
  • The design achieves up to 25% improvement in TFLOPS/mm² and up to 46% in TOPS/mm² compared to standard mixed-precision implementations.
  • Power efficiency improves by up to 40% in TFLOPS/W and up to 63% in TOPS/W, demonstrating strong energy savings.
  • The optimizations are orthogonal to decomposition schemes and can be applied to both temporal and spatial fusion approaches.

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.