Generalized Capsule Networks with Trainable Routing Procedure

08/27/2018
by   Zhenhua Chen, et al.
0

CapsNet (Capsule Network) was first proposed by capsule and later another version of CapsNet was proposed by emrouting. CapsNet has been proved effective in modeling spatial features with much fewer parameters. However, the routing procedures in both papers are not well incorporated into the whole training process. The optimal number of routing procedure is misery which has to be found manually. To overcome this disadvantages of current routing procedures in CapsNet, we embed the routing procedure into the optimization procedure with all other parameters in neural networks, namely, make coupling coefficients in the routing procedure become completely trainable. We call it Generalized CapsNet (G-CapsNet). We implement both "full-connected" version of G-CapsNet and "convolutional" version of G-CapsNet. G-CapsNet achieves a similar performance in the dataset MNIST as in the original papers. We also test two capsule packing method (cross feature maps or with feature maps) from previous convolutional layers and see no evident difference. Besides, we also explored possibility of stacking multiple capsule layers. The code is shared on https://github.com/chenzhenhua986/CAFFE-CapsNetCAFFE-CapsNet.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/19/2021

Capsule networks with non-iterative cluster routing

Capsule networks use routing algorithms to flow information between cons...
research
01/29/2021

Efficient-CapsNet: Capsule Network with Self-Attention Routing

Deep convolutional neural networks, assisted by architectural design str...
research
09/27/2019

Learning to compute inner consensus -- A noble approach to modeling agreement between Capsules

This project considers Capsule Networks, a recently introduced machine l...
research
04/15/2019

Fast Inference in Capsule Networks Using Accumulated Routing Coefficients

We present a method for fast inference in Capsule Networks (CapsNets) by...
research
12/18/2019

P-CapsNets: a General Form of Convolutional Neural Networks

We propose Pure CapsNets (P-CapsNets) which is a generation of normal CN...
research
05/28/2018

Fast Dynamic Routing Based on Weighted Kernel Density Estimation

Capsules as well as dynamic routing between them are most recently propo...
research
11/02/2019

An Algorithm for Routing Capsules in All Domains

Building on recent work on capsule networks, we propose a new form of "r...

Please sign up or login with your details

Forgot password? Click here to reset