Capsule Network is Not More Robust than Convolutional Network

03/29/2021
by   Jindong Gu, et al.
0

The Capsule Network is widely believed to be more robust than Convolutional Networks. However, there are no comprehensive comparisons between these two networks, and it is also unknown which components in the CapsNet affect its robustness. In this paper, we first carefully examine the special designs in CapsNet that differ from that of a ConvNet commonly used for image classification. The examination reveals five major new/different components in CapsNet: a transformation process, a dynamic routing layer, a squashing function, a marginal loss other than cross-entropy loss, and an additional class-conditional reconstruction loss for regularization. Along with these major differences, we conduct comprehensive ablation studies on three kinds of robustness, including affine transformation, overlapping digits, and semantic representation. The study reveals that some designs, which are thought critical to CapsNet, actually can harm its robustness, i.e., the dynamic routing layer and the transformation process, while others are beneficial for the robustness. Based on these findings, we propose enhanced ConvNets simply by introducing the essential components behind the CapsNet's success. The proposed simple ConvNets can achieve better robustness than the CapsNet.

READ FULL TEXT

page 4

page 8

research
10/20/2022

Iterative collaborative routing among equivariant capsules for transformation-robust capsule networks

Transformation-robustness is an important feature for machine learning m...
research
11/18/2019

Improving the Robustness of Capsule Networks to Image Affine Transformations

Convolutional neural networks (CNNs) achieve translational invariance us...
research
10/04/2020

Learning Compositional Structures for Deep Learning: Why Routing-by-agreement is Necessary

A formal description of the compositionality of neural networks is assoc...
research
04/08/2023

RobCaps: Evaluating the Robustness of Capsule Networks against Affine Transformations and Adversarial Attacks

Capsule Networks (CapsNets) are able to hierarchically preserve the pose...
research
10/20/2022

Robustcaps: a transformation-robust capsule network for image classification

Geometric transformations of the training data as well as the test data ...
research
12/03/2020

Interpretable Graph Capsule Networks for Object Recognition

Capsule Networks, as alternatives to Convolutional Neural Networks, have...
research
11/02/2022

Isometric Representations in Neural Networks Improve Robustness

Artificial and biological agents cannon learn given completely random an...

Please sign up or login with your details

Forgot password? Click here to reset