A Quantization-Friendly Hardware Implementation of the H-Swish Activation Function

  • Jeong, Insu; 
  • Kim, Taejun; 
  • Kang, Joowan; 
  • Ok, Seung-Ho; 
  • Song, Dongsup; 
  • ... Moon, Byungin
Citations

WEB OF SCIENCE

0
Citations

SCOPUS

0

초록

In on-device environments, the computational efficiency of lightweight neural networks, such as MobileNet, is a critical factor for determining their performance. The h-swish activation function introduced in MobileNetV3 provides high accuracy. In FPGAs, multiplication operations are typically performed using DSP blocks. However, using DSP blocks for activation functions is inefficient in terms of hardware resource utilization, as these blocks are essential for convolution computations. To address this issue, we propose an approximation method and a hardware architecture for the h-swish activation function that eliminates multiplication operations, thereby avoiding the use of DSP blocks. The proposed architecture employs a piecewise linear (PWL) approximation to replace multiplication with hardware-friendly bit-shift and addition. Furthermore, we extend the conventional PWL approach to present a hardware implementation optimized for integer inputs. Experimental results confirm that the proposed h-swish hardware achieves a DSP-free implementation and, for integer inputs, reduces look-up table (LUT) usage by approximately 32% compared to conventional h-swish hardware implementation. When applied to MobileNetV3-Large, the proposed h-swish activation function incurs only a negligible loss in top-1 accuracy. Therefore, the proposed method provides an effective solution for efficient neural network inference on resource-constrained hardware, such as edge devices.

키워드

FPGA; Quantization; Activation Function; Piecewise Linear Approximation
제목
A Quantization-Friendly Hardware Implementation of the H-Swish Activation Function
저자
Jeong, Insu; Kim, Taejun; Kang, Joowan; Ok, Seung-Ho; Song, Dongsup; Moon, Byungin
DOI
10.3745/JIPS.02.0241
발행일
2026-08
유형
Article
저널명
JIPS(Journal of Information Processing Systems)
권
22
호
4
페이지
405 ~ 417