Detailed Information

Cited 0 time in webofscience Cited 0 time in scopus
Metadata Downloads

Optimization of General Matrix Multiply Library for Ternary Weight for Fast DNN Inference

Authors
Choi, SeokhyeonShim, KyuhongChoi, JungwookSung, WonyongShim, Byonghyo
Issue Date
Oct-2022
Publisher
Springer Verlag
Keywords
Matrix multiplication; Implementation; Deep neural networks; Inference
Citation
Journal of Signal Processing Systems, v.94, no.SI 10, pp 929 - 943
Pages
15
Indexed
SCIE
SCOPUS
Journal Title
Journal of Signal Processing Systems
Volume
94
Number
SI 10
Start Page
929
End Page
943
URI
https://scholarworks.bwise.kr/hanyang/handle/2021.sw.hanyang/203637
DOI
10.1007/s11265-022-01782-3
ISSN
1939-8018
1939-8115
Abstract
Efficient implementation of deep neural networks (DNNs) on CPU-based systems is critical owing to the proliferation of applications in embedded and Internet of Things systems. Nowdays, most CPUs are equipped with single instruction multiple data (SIMD) instructions, which are used to implement an efficient general matrix multiply (GEMM) library for accelerating DNN inference. Quantized neural networks are actively investigated to simplify DNN computation and memory requirements; however, the current CPU libraries do not efficiently support arithmetic operations below eight bits. Hence, we developed TernGEMM, a GEMM library composed of SIMD instructions for DNNs with ternary weights and sub-8-bit activations. TernGEMM is implemented using simple logical operations that replace the long-latency multiply-add operation. Instead of fixing the accumulation bit precision as 32-bit, TernGEMM accumulates the partial sums in a bit-incremental manner to exploit parallelism in 8-bit and 16-bit SIMD instructions. Furthermore, we propose different tile sizes for TernGEMM to better support the diverse dimensions of DNNs. Compared with a state-of-the-art reduced precision DNN GEMM library, i.e., GEMMLowp, TernGEMM achieve x1.785 to x4.147 speedup for ResNet50, MobileNet-V2, and EfficientNet-B0, as evaluated on both Intel and ARM CPUs.
Files in This Item
Go to Link
Appears in
Collections
서울 공과대학 > 서울 융합전자공학부 > 1. Journal Articles

qrcode

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.

Related Researcher

Researcher Choi, Jung wook photo

Choi, Jung wook
COLLEGE OF ENGINEERING (SCHOOL OF ELECTRONIC ENGINEERING)
Read more

Altmetrics

Total Views & Downloads

BROWSE