An Approximate GEMM Unit for Energy-Efficient Object Detection

Sensors (Basel). 2021 Jun 18;21(12):4195. doi: 10.3390/s21124195.

Abstract

Edge computing brings artificial intelligence algorithms and graphics processing units closer to data sources, making autonomy and energy-efficient processing vital for their design. Approximate computing has emerged as a popular strategy for energy-efficient circuit design, where the challenge is to achieve the best tradeoff between design efficiency and accuracy. The essential operation in artificial intelligence algorithms is the general matrix multiplication (GEMM) operation comprised of matrix multiplication and accumulation. This paper presents an approximate general matrix multiplication (AGEMM) unit that employs approximate multipliers to perform matrix-matrix operations on four-by-four matrices given in sixteen-bit signed fixed-point format. The synthesis of the proposed AGEMM unit to the 45 nm Nangate Open Cell Library revealed that it consumed only up to 36% of the area and 25% of the energy required by the exact general matrix multiplication unit. The AGEMM unit is ideally suited to convolutional neural networks, which can adapt to the error induced in the computation. We evaluated the AGEMM units' usability for honeybee detection with the YOLOv4-tiny convolutional neural network. The results implied that we can deploy the AGEMM units in convolutional neural networks without noticeable performance degradation. Moreover, the AGEMM unit's employment can lead to more area- and energy-efficient convolutional neural network processing, which in turn could prolong sensors' and edge nodes' autonomy.

Keywords: GEMM; YOLOv4-tiny; approximate computing; approximate general matrix multiplication; approximate multipliers; convolutional neural networks; energy-efficient processing; honeybee detection; matrix core; object detection; tensor core.

MeSH terms

  • Algorithms
  • Animals
  • Artificial Intelligence*
  • Information Storage and Retrieval
  • Neural Networks, Computer*