Optimizing Grouped Convolutions on Edge Devices

Gibson, P. , Cano, J. , Turner, J., Crowley, E. J., O’Boyle, M. and Storkey, A. (2020) Optimizing Grouped Convolutions on Edge Devices. In: 2020 IEEE 31st International Conference on Application-specific Systems, Architectures and Processors (ASAP), Manchester, UK, 06-08 Jul 2020, pp. 189-196. ISBN 9781728171470 (doi: 10.1109/ASAP49362.2020.00039)

[img]
Preview
Text
221586.pdf - Accepted Version

2MB

Abstract

When deploying a deep neural network on con-strained hardware, it is possible to replace the network’s standard convolutions with grouped convolutions. This allows for substantial memory savings with minimal loss of accuracy. However, current implementations of grouped convolutions in modern deep learning frameworks are far from performing optimally in terms of speed. In this paper we propose Grouped Spatial Pack Convolutions (GSPC), a new implementation of grouped convolutions that outperforms existing solutions. We implement GSPC in TVM, which provides state-of-the-art performance on edge devices. We analyze a set of networks utilizing different types of grouped convolutions and evaluate their performance in terms of inference time on several edge devices. We observe that our new implementation scales well with the number of groups and provides the best inference times in all settings, improving the existing implementations of grouped convolutions in TVM, PyTorch and TensorFlow Lite by 3.4x, 8x and 4x on average respectively. Code is available at https://github.com/gecLAB/tvm-GSPC/

Item Type:Conference Proceedings
Status:Published
Refereed:Yes
Glasgow Author(s) Enlighten ID:Cano Reyes, Dr Jose and Gibson, Mr Perry
Authors: Gibson, P., Cano, J., Turner, J., Crowley, E. J., O’Boyle, M., and Storkey, A.
College/School:College of Science and Engineering > School of Computing Science
ISSN:2160-052X
ISBN:9781728171470
Published Online:31 July 2020
Copyright Holders:Copyright © 2020 IEEE
First Published:First published in 2020 IEEE 31st International Conference on Application-specific Systems, Architectures and Processors (ASAP): 189-196
Publisher Policy:Reproduced in accordance with the publisher copyright policy

University Staff: Request a correction | Enlighten Editors: Update this record