Capsules with Inverted Dot-Product Attention Routing
Yao-Hung Hubert Tsai, Nitish Srivastava, Hanlin Goh, Ruslan Salakhutdinov
Abstract
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: this https URL An alternative implementation is available at: this https URL
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers14
- Object-Centric Learning with Slot AttentionFrancesco Locatello, Dirk Weissenborn, Thomas Unterthiner, Aravindh Mahendran et al.NeurIPS 2020 · 1,275 citations
- Interpretable Graph Capsule Networks for Object RecognitionJindong GuAAAI 2021 · 42 citations
- Introducing Routing Uncertainty in Capsule NetworksFabio De Sousa Ribeiro, Georgios Leontidis, Stefanos D. KolliasNeurIPS 2020 · 32 citations
- Effective and Efficient Vote Attack on Capsule NetworksJindong Gu, Baoyuan Wu, Volker TrespICLR 2021 · 28 citations
- Slot State Space ModelsJindong Jiang, Fei Deng, Gautam Singh, Minseung Lee et al.NeurIPS 2024 · 18 citations
Related papers
- OrthCaps: An Orthogonal CapsNet with Sparse Attention Routing and PruningXinyu Geng, Jiaming Wang, Jiawei Gong, Yuerong Xue et al.CVPR 2024
- A Receptor Skeleton for Capsule Neural NetworksJintai Chen, Hongyun Yu, Chengde Qian, Danny Z. Chen et al.ICML 2021 · 5 citations
- Capsule Routing via Variational BayesFabio De Sousa Ribeiro, Georgios Leontidis, Stefanos D. KolliasAAAI 2020 · 93 citations
- Capsule Network Is Not More Robust Than Convolutional NetworkJindong Gu, Volker Tresp, Han HuCVPR 2021
- PT-CapsNet: A Novel Prediction-Tuning Capsule Network Suitable for Deeper ArchitecturesChenbin Pan, Senem VelipasalarICCV 2021 · 11 citations
