Capsules with Inverted Dot-Product Attention Routing

02/12/2020
by   Yao-Hung Hubert Tsai, et al.
5

We introduce a new routing algorithm for capsule networks, in which a child capsule is routed to a parent based only on agreement between the parent's state and the child's vote. The new mechanism 1) designs routing via inverted dot-product attention; 2) imposes Layer Normalization as normalization; and 3) replaces sequential iterative routing with concurrent iterative routing. When compared to previously proposed routing algorithms, our method improves performance on benchmark datasets such as CIFAR-10 and CIFAR-100, and it performs at-par with a powerful CNN (ResNet-18) with 4x fewer parameters. On a different task of recognizing digits from overlayed digit images, the proposed capsule model performs favorably against CNNs given the same number of layers and neurons per layer. We believe that our work raises the possibility of applying capsule networks to complex real-world tasks. Our code is publicly available at: https://github.com/apple/ml-capsules-inverted-attention-routing

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
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...
research
08/11/2018

Neural Network Encapsulation

A capsule is a collection of neurons which represents different variants...
research
10/08/2018

On Learning and Learned Representation with Dynamic Routing in Capsule Networks

Capsule Networks (CapsNet) are recently proposed multi-stage computation...
research
07/23/2020

Sequential Routing Framework: Fully Capsule Network-based Speech Recognition

Capsule networks (CapsNets) have recently gotten attention as alternativ...
research
03/22/2019

Capsule Networks with Max-Min Normalization

Capsule Networks (CapsNet) use the Softmax function to convert the logit...
research
08/08/2021

WideCaps: A Wide Attention based Capsule Network for Image Classification

The capsule network is a distinct and promising segment of the neural ne...

Please sign up or login with your details

Forgot password? Click here to reset