Improving the Robustness of Capsule Networks to Image Affine Transformations
Jindong Gu, Volker Tresp
Abstract
Convolutional neural networks (CNNs) achieve translational invariance by using pooling operations. However, the operations do not preserve the spatial relationships in the learned representations. Hence, CNNs cannot extrapolate to various geometric transformations of inputs. Recently, Capsule Networks (CapsNets) have been proposed to tackle this problem. In CapsNets, each entity is represented by a vector and routed to high-level entity representations by a dynamic routing algorithm. CapsNets have been shown to be more robust than CNNs to affine transformations of inputs. However, there is still a huge gap between their performance on transformed inputs compared to untransformed versions. In this work, we first revisit the routing procedure by (un)rolling its forward and backward passes. Our investigation reveals that the routing procedure contributes neither to the generalization ability nor to the affine robustness of the CapsNets. Furthermore, we explore the limitations of capsule transformations and propose affine CapsNets (Aff-CapsNets), which are more robust to affine transformations. On our benchmark task, where models are trained on the MNIST dataset and tested on the AffNIST dataset, our Aff-CapsNets improve the benchmark performance by a large margin (from 79% to 93.21%), without using any routing mechanism.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 141da65c-a954-410c-90a9-70f75bd9bda4Cited by top-tier papers9
- 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
- Why Capsule Neural Networks Do Not Scale: Challenging the Dynamic Parse-Tree AssumptionMatthias Mitterreiter, Marcel Koch, Joachim Giesen, Sören LaueAAAI 2023 · 17 citations
- Lie Group Decompositions for Equivariant Neural NetworksMircea Mironenco, Patrick ForréICLR 2024 · 11 citations
Related papers
- Enabling Equivariance for Arbitrary Lie GroupsLachlan E. MacDonald, Sameera Ramasinghe, Simon LuceyCVPR 2022 · 11 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
- Capsule Routing via Variational BayesFabio De Sousa Ribeiro, Georgios Leontidis, Stefanos D. KolliasAAAI 2020 · 93 citations
- Building Deep Equivariant Capsule NetworksSai Raam Venkataraman, S. Balasubramanian, R. Raghunatha SarmaICLR 2020 · 28 citations
