HomeCall for PapersProgramCommitteePrevious ASAPsBest PaperUniversity of Manchester

Optimizing Grouped Convolutions on Edge Devices

Perry Gibson1, José Cano1, Jack Turner2, Elliot J. Crowley2, Michael O'Boyle2 and Amos Storkey2

1 University of Glasgow, UK, 2 University of Edinburgh, UK

Abstract

When deploying a deep neural network on constrained 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.4×, 8× and 4× on average respectively. Code is available at https://github.com/gecLAB/tvm-GSPC/

Video

[ Main Sponsor University of Manchester Logo Sponsoring Society IEEE Computer Society Logo Award Sponsor Qualcomm Logo ]