arrow
返回

Optimizing Depthwise Separable Convolution Operations on GPUs

delete2022-01-01
delete35
delete
OA
AI
G
Gangzhao Lu
张
张伟哲 (Weizhe Zhang) *
Z
Zheng Wang
DOI:10.1109/TPDS.2021.3084813delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
The depthwise separable convolution is commonly seen in convolutional neural networks (CNNs), and is widely used to reduce the computation overhead of a standard multi-channel 2D convolution. Existing implementations of depthwise separable convolutions target accelerating model training with large batch sizes with a large number of samples to be processed at once. Such approaches are inadequate for small-batch-sized model training and the typical scenario of model inference where the model takes in a few samples at once. This article aims to bridge the gap of optimizing depthwise separable convolutions by targeting the GPU architecture. We achieve this by designing two novel algorithms to improve the column and row reuse of the convolution operation to reduce the number of memory operations performed on the width and the height dimensions of the 2D convolution. Our approach employs a dynamic tile size scheme to adaptively distribute the computational data across GPU threads to improve GPU utilization and to hide the memory access latency. We apply our approach on two GPU platforms: an NVIDIA RTX 2080Ti GPU and an embedded NVIDIA Jetson AGX Xavier GPU, and two data types: 32-bit floating point (FP32) and 8-bit integer (INT8). We compared our approach against cuDNN that is heavily tuned for the NVIDIA GPU architecture. Experimental results show that our approach delivers over 2x (up to 3x) performance improvement over cuDNN. We show that, when using a moderate batch size, our approach averagely reduces the end-to-end training time of MobileNet and EfficientNet by 9.7 and 7.3 percent respectively, and reduces the end-to-end inference time of MobileNet and EfficientNet by 12.2 and 11.6 percent respectively.
Keyword:
Convolution
Graphics processing units
Instruction sets
Kernel
Standards
Training
Registers
Performance optimization
convolution
depthwise
pointwise
memory optimization
GPU utilization
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Optimizing Finite Volume Method Solvers on Nvidia GPUs在Nvidia gpu上优化有限体积法求解器
err2019-12-01
err10
PREAI
errXu, Jingheng; Fu, Haohuan; Luk, Wayne; Gan, Lin; Shi, Wen; Xue, Wei; Yang, Chao; Jiang, Yong; He, Conghui; Yang, Guangwen
err分享
err收藏
DO-Conv: Depthwise Over-Parameterized Convolutional Layer
err2022-01-01
err95
errOAAI
errCao, Jinming; Li, Yangyan; Sun, Mingchao; Chen, Ying; Lischinski, Dani; Cohen-Or, Daniel; Chen, Baoquan; Tu, Changhe
err分享
err收藏
MDSCN: multiscale depthwise separable convolutional network for underwater graphics restoration
err2024-06-17
err1
PREAI
errLi, Shiyu; Liu, Zehao; Gao, Meijing; Bai, Yang; Yin, Haozheng
err分享
err收藏

期刊

IEEE Transactions on Parallel and Distributed Systems 封面图
IEEE Transactions on Parallel and Distributed Systems
IF:
6
论文数:
5.2K
被引数:
1.4W

机构

哈尔滨工业大学 封面图
哈尔滨工业大学
学者数:
1.1W
论文数: 3.1K
被引数: 5.7W
U
University of Leeds
学者数:
2.3K
论文数: 946
被引数: 2.5W
引用论文

引用论文

Promoting Inclusive Growth
err
IF0
err2012-04-06
err0
errOAAI
err
err分享
err收藏
Enzymes et micro-organismes aux interfaces : mécanismes physico-chimiques et propriétés
err2006-04-26
err0
PREAI
errP. G. Rouxhet; S. Caillou; C. J. Nonckreman; A. Alves; P. A. Gerin
err分享
err收藏
Assessment of the Glue-Line Quality in Glued Laminated Timber Structures
err2013-09-01
err0
PREAI
errBettina Franke; Florian Scharmacher; Andreas Müller
err分享
err收藏
Ultrastructure of the spore in four Japanese species ofPtychomitriumFürnr. (Musci)
err2006-03-01
err0
PREAI
errBelén Estébanez; Tomio Yamaguchi; Hironori Deguchi
err分享
err收藏
学者 查看更多内容