arXiv · 2104.02621
How to Accelerate Capsule Convolutions in Capsule Networks
Abstract
How to improve the efficiency of routing procedures in CapsNets has been studied a lot. However, the efficiency of capsule convolutions has largely been neglected. Capsule convolution, which uses capsules rather than neurons as the basic computation unit, makes it incompatible with current deep learning frameworks' optimization solution. As a result, capsule convolutions are usually very slow with these frameworks. We observe that capsule convolutions can be considered as the operations of `multiplication of multiple small matrics' plus tensor-based combination. Based on this observation, we develop two acceleration schemes with CUDA APIs and test them on a custom CapsNet. The result shows that our solution achieves a 4X acceleration.
Explore related subjects
Keep this discovery
Zhenhua Chen, Xiwen Li, Qian Lou, David Crandall. 2021-04-06. How to Accelerate Capsule Convolutions in Capsule Networks. https://arxiv.org/abs/2104.02621
Cite the original work for its findings. Save a collection to share your selection of sources.