Capsule networks with non-iterative cluster routing
arXiv:2109.09213 · doi:10.1016/j.neunet.2021.07.032
Abstract
Capsule networks use routing algorithms to flow information between consecutive layers. In the existing routing procedures, capsules produce predictions (termed votes) for capsules of the next layer. In a nutshell, the next-layer capsule's input is a weighted sum over all the votes it receives. In this paper, we propose non-iterative cluster routing for capsule networks. In the proposed cluster routing, capsules produce vote clusters instead of individual votes for next-layer capsules, and each vote cluster sends its centroid to a next-layer capsule. Generally speaking, the next-layer capsule's input is a weighted sum over the centroid of each vote cluster it receives. The centroid that comes from a cluster with a smaller variance is assigned a larger weight in the weighted sum process. Compared with the state-of-the-art capsule networks, the proposed capsule networks achieve the best accuracy on the Fashion-MNIST and SVHN datasets with fewer parameters, and achieve the best accuracy on the smallNORB and CIFAR-10 datasets with a moderate number of parameters. The proposed capsule networks also produce capsules with disentangled representation and generalize well to images captured at novel viewpoints. The proposed capsule networks also preserve 2D spatial information of an input image in the capsule channels: if the capsule channels are rotated, the object reconstructed from these channels will be rotated by the same transformation. Codes are available at https://github.com/ZHAOZHIHAO/ClusterRouting.
References in corpus (14)
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
- TensorFlow: A system for large-scale machine learning
- Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
- Instance Normalization: The Missing Ingredient for Fast Stylization
- Layer Normalization
- Capsules for Object Segmentation
- Dense and Diverse Capsule Networks: Making the Capsules Learn Better
- Capsule Networks with Max-Min Normalization
- HitNet: a neural network with capsules embedded in a Hit-or-Miss layer, extended with hybrid data augmentation and ghost capsules
- Generalized Capsule Networks with Trainable Routing Procedure
- Generative Adversarial Network Architectures For Image Synthesis Using Capsule Networks
- Pushing the Limits of Capsule Networks
- An Effective Hit-or-Miss Layer Favoring Feature Interpretation as Learned Prototypes Deformations
- Kernelized Capsule Networks