paper-with-me

홈 › Papers

Fast Inference in Capsule Networks Using Accumulated Routing Coefficients

2019-04-15 · Zhen Zhao, Ashley Kleinhans, Gursharan Sandhu, Ishan Patel, K. P. Unnikrishnan

We present a method for fast inference in Capsule Networks (CapsNets) by taking advantage of a key insight regarding the routing coefficients that link capsules between adjacent network layers. Since the routing coefficients are responsible for assigning object parts to wholes, and an object whole generally contains similar intra-class and dissimilar inter-class parts, the routing coefficients tend to form a unique signature for each object class. For fast inference, a network is first trained in the usual manner using examples from the training dataset. Afterward, the routing coefficients associated with the training examples are accumulated offline and used to create a set of "master" routing coefficients. During inference, these master routing coefficients are used in place of the dynamically calculated routing coefficients. Our method effectively replaces the for-loop iterations in the dynamic routing procedure with a single matrix multiply operation, providing a significant boost in inference speed. Compared with the dynamic routing procedure, fast inference decreases the test accuracy for the MNIST, Background MNIST, Fashion MNIST, and Rotated MNIST datasets by less than 0.5% and by approximately 5% for CIFAR10.

📄 PDF Abstract BibTeX arXiv:1904.07304

Code (0)

등록된 구현이 없습니다.

Tasks

ObjectRotated MNIST

Similar Papers 제목 키워드 기반

STAR-Caps: Capsule Networks with Straight-Through Attentive Routing

2019-12-01 · NeurIPS 2019 12 · Karim Ahmed, Lorenzo Torresani

Capsule networks have been shown to be powerful models for image classification, thanks to their ability to represent and capture viewpoint variations of an object. However, the high computational complexity of capsule n…

ClassificationGeneral Classificationimage-classificationImage Classification

Capsule Networks with Max-Min Normalization

2019-03-22 · Zhen Zhao, Ashley Kleinhans, Gursharan Sandhu, Ishan Patel 외

Capsule Networks (CapsNet) use the Softmax function to convert the logits of the routing coefficients into a set of normalized values that signify the assignment probabilities between capsules in adjacent layers. We show…

Capsule network with shortcut routing

2023-07-14 · Dang Thanh Vu, Vo Hoang Trong, Yu Gwang-Hyun, Kim Jin-Young

This study introduces "shortcut routing," a novel routing mechanism in capsule networks that addresses computational inefficiencies by directly activating global capsules from local capsules, eliminating intermediate lay…

Training capsules as a routing-weighted product of expert neurons

2019-07-26 · Michael Hauser

Capsules are the multidimensional analogue to scalar neurons in neural networks, and because they are multidimensional, much more complex routing schemes can be used to pass information forward through the network than w…

Generalized Capsule Networks with Trainable Routing Procedure

2018-08-27 · ICLR 2019 5 · Zhenhua Chen, David Crandall

CapsNet (Capsule Network) was first proposed by~\citet{capsule} and later another version of CapsNet was proposed by~\citet{emrouting}. CapsNet has been proved effective in modeling spatial features with much fewer param…