# Attention routing between capsules

Source: [Attention routing between capsules](<https://www.sota2.com/research/paper/68fa66ae1e209131cea11b75>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-28T13:56:41.004Z

Authors: Jaewoong Choi, Hyun Seo, Suii Im, Myungjoo Kang

Published: 2019-07-03T06:01:16.000Z

## Abstract

In this paper, we propose a new capsule network architecture called Attention Routing CapsuleNet (AR CapsNet). We replace the dynamic routing and squash activation function of the capsule network with dynamic routing (CapsuleNet) with the attention routing and capsule activation. The attention routing is a routing between capsules through an attention module. The attention routing is a fast forward-pass while keeping spatial information. On the other hand, the intuitive interpretation of the dynamic routing is finding a centroid of the prediction capsules. Thus, the squash activation function and its variant focus on preserving a vector orientation. However, the capsule activation focuses on performing a capsule-scale activation function.   We evaluate our proposed model on the MNIST, affNIST, and CIFAR-10 classification tasks. The proposed model achieves higher accuracy with fewer parameters (x0.65 in the MNIST, x0.82 in the CIFAR-10) and less training time than CapsuleNet (x0.19 in the MNIST, x0.35 in the CIFAR-10). These results validate that designing a capsule-scale operation is a key factor to implement the capsule concept.   Also, our experiment shows that our proposed model is transformation equivariant as CapsuleNet. As we perturb each element of the output capsule, the decoder attached to the output capsules shows global variations. Further experiments show that the difference in the capsule features caused by applying affine transformations on an input image is significantly aligned in one direction.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Image Classification on MNIST smallNORB MultiMNIST (test)](<https://www.sota2.com/research/sota/image-classification-on-mnist-smallnorb-multimnist-test.md>): Image Classification; MNIST smallNORB MultiMNIST (test); Parameters (K): 5310.

- [Image Classification on MNIST (test)](<https://www.sota2.com/research/sota/image-classification-on-mnist-test.md>): Image Classification; MNIST (test); Accuracy: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/1907.01750>)

[PDF](<https://arxiv.org/pdf/1907.01750.pdf>)
