No Routing Needed Between Capsules

Adam Byerly, Tatiana Kalganova, Ian Dear
1/24/2020
cs.CVcs.LG

Official code: AdamByerly/BMCNNwHFCs (53 stars, Python, Apache-2.0, last commit 2021-06-25).

Abstract

Most capsule network designs rely on traditional matrix multiplication between capsule layers and computationally expensive routing mechanisms to deal with the capsule dimensional entanglement that the matrix multiplication introduces. By using Homogeneous Vector Capsules (HVCs), which use element-wise multiplication rather than matrix multiplication, the dimensions of the capsules remain unentangled.

Show full abstract

In this work, we study HVCs as applied to the highly structured MNIST dataset in order to produce a direct comparison to the capsule research direction of Geoffrey Hinton, et al. In our study, we show that a simple convolutional neural network using HVCs performs as well as the prior best performing capsule network on MNIST using 5.5x fewer parameters, 4x fewer training epochs, no reconstruction sub-network, and requiring no routing mechanism. The addition of multiple classification branches to the network establishes a new state of the art for the MNIST dataset with an accuracy of 99.87% for an ensemble of these models, as well as establishing a new state of the art for a single model (99.83% accurate).

View on arXivView PDF

Code Implementations(1)

Apache-2.0

The code for "No Routing Needed Between Capsules". This repository contains the code used for the experiments detailed in a forthcoming paper. The paper is available pre-published at arXiv: http://arxiv.org/abs/2001.09136

538Python, C++Jan 1, 20205 years agoApache-2.0
capsule-networkcapsulescnnconvolutional-neural-networkhomogeneous-vector-capsules+2 more

Similar Papers

Cite this paper

@article{byerly2020routing,
  title  = {No Routing Needed Between Capsules},
  author = {Adam Byerly and Tatiana Kalganova and Ian Dear},
  year   = {2020},
  eprint = {2001.09136},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.09136}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2001.09136.svg)](https://codeofpaper.com/paper/2001.09136)

Discussion