SOTAVerified

Dynamic Routing Between Capsules

2017-10-26NeurIPS 2017Code Available1· sign in to hype

Sara Sabour, Nicholas Frosst, Geoffrey E. Hinton

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

A capsule is a group of neurons whose activity vector represents the instantiation parameters of a specific type of entity such as an object or an object part. We use the length of the activity vector to represent the probability that the entity exists and its orientation to represent the instantiation parameters. Active capsules at one level make predictions, via transformation matrices, for the instantiation parameters of higher-level capsules. When multiple predictions agree, a higher level capsule becomes active. We show that a discrimininatively trained, multi-layer capsule system achieves state-of-the-art performance on MNIST and is considerably better than a convolutional net at recognizing highly overlapping digits. To achieve these results we use an iterative routing-by-agreement mechanism: A lower-level capsule prefers to send its output to higher level capsules whose activity vectors have a big scalar product with the prediction coming from the lower-level capsule.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
CIFAR-10ensemble of 7 modelsPercentage correct89.4Unverified
EMNIST-BalancedTextCapsAccuracy90.46Unverified
MNISTCapsNetPercentage error0.25Unverified
MultiMNISTCapsNetPercentage error5.2Unverified
smallNORBCapsNetClassification Error3.77Unverified

Reproductions