Fast Convolution Meets Low Precision: Exploring Efficient Quantized Winograd Convolution on Modern CPUs

Author:

Wang Xueying1ORCID,Li Guangli2ORCID,Jia Zhen3ORCID,Feng Xiaobing2ORCID,Wang Yida3ORCID

Affiliation:

1. Beijing University of Posts and Telecommunications, China

2. Institute of Computing Technology, Chinese Academy of Sciences and University of Chinese Academy of Sciences, China

3. Amazon Web Services, USA

Abstract

Low-precision computation has emerged as one of the most effective techniques for accelerating convolutional neural networks and has garnered widespread support on modern hardware. Despite its effectiveness in accelerating convolutional neural networks, low-precision computation has not been commonly applied to fast convolutions, such as the Winograd algorithm, due to numerical issues. In this article, we propose an effective quantized Winograd convolution, named LoWino, which employs an in-side quantization method in the Winograd domain to reduce the precision loss caused by transformations. Meanwhile, we present an efficient implementation that integrates well-designed optimization techniques, allowing us to fully exploit the capabilities of low-precision computation on modern CPUs. We evaluate LoWino on two Intel Xeon Scalable Processor platforms with representative convolutional layers and neural network models. The experimental results demonstrate that our approach can achieve an average of 1.84× and 1.91× operator speedups over state-of-the-art implementations in the vendor library while preserving accuracy loss at a reasonable level.

Funder

National Key R&D Program of China

National Natural Science Foundation of China

China Postdoctoral Science Foundation

Innovation Funding of ICT, CAS

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Reference63 articles.

1. Renzo Andri, Beatrice Bussolino, Antonio Cipolletta, Lukas Cavigelli, and Zhe Wang. 2022. Going further with winograd convolutions: Tap-wise quantization for efficient inference on 4x4 tiles. In Proceedings of the International Symposium on Microarchitecture. IEEE, 582–598.

2. Error analysis and improving the accuracy of Winograd convolution for deep neural networks;Barabasz Barbara;ACM Trans. Math. Softw.,2020

3. Zhaowei Cai, Xiaodong He, Jian Sun, and Nuno Vasconcelos. 2017. Deep learning with low precision by half-wave gaussian quantization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 5918–5926.

4. Slide: In defense of smart algorithms over hardware acceleration for large-scale deep learning systems;Chen Beidi;Proc. Mach. Learn. Syst.,2020

5. Recent advances in efficient computation of deep convolutional neural networks;Cheng Jian;Front. Inf. Technol. Electr. Eng.,2018

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3