arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.02621cs.AI
收藏

如何加速胶囊网络中的胶囊卷积

How to Accelerate Capsule Convolutions in Capsule Networks

Indiana University(印第安纳大学);Washington University in St. Louis(圣路易斯华盛顿大学)

Zhenhua Chen, Xiwen Li, Qian Lou, David Crandall

摘要:

如何提高CapsNets中路由过程的效率已经被研究了很多。然而,胶囊回旋的效率在很大程度上被忽视了。胶囊卷积使用胶囊而不是神经元作为基本计算单元,这使得它与当前深度学习框架的优化解决方案不兼容。因此,这些框架的胶囊卷积通常非常缓慢。我们观察到,胶囊卷积可以被认为是“多个小矩阵的乘法”加上基于张量的组合的操作。基于这一观察,我们使用CUDA API开发了两种加速方案,并在自定义CapsNet上进行了测试。结果表明,我们的解决方案实现了4倍的加速。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑