How to Accelerate Capsule Convolutions in Capsule Networks

04/06/2021
by   Zhenhua Chen, et al.
0

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.

READ FULL TEXT
research
08/16/2021

Learning Friction Model for Tethered Capsule Robot

With the potential applications of capsule robots in medical endoscopy, ...
research
08/04/2019

Building Deep, Equivariant Capsule Networks

Capsule networks are constrained by their, relative, inability to deeper...
research
07/19/2023

ProtoCaps: A Fast and Non-Iterative Capsule Network Routing Method

Capsule Networks have emerged as a powerful class of deep learning archi...
research
12/29/2018

Attention-Based Capsule Networks with Dynamic Routing for Relation Extraction

A capsule is a group of neurons, whose activity vector represents the in...
research
10/20/2022

Iterative collaborative routing among equivariant capsules for transformation-robust capsule networks

Transformation-robustness is an important feature for machine learning m...
research
06/13/2018

Group Equivariant Capsule Networks

We present group equivariant capsule networks, a framework to introduce ...
research
05/19/2018

CapProNet: Deep Feature Learning via Orthogonal Projections onto Capsule Subspaces

In this paper, we formalize the idea behind capsule nets of using a caps...

Please sign up or login with your details

Forgot password? Click here to reset