Skip to main content
QUICK REVIEW

[Paper Review] Pushing the Limits of Capsule Networks

Prem Nair, Rohan Doshi|arXiv (Cornell University)|Mar 15, 2021
Advanced Neural Network ApplicationsComputer Science6 references8 citations
TL;DR

This paper investigates the performance and robustness of Capsule Networks (CapsNets) on increasingly complex datasets beyond MNIST, revealing that while CapsNets achieve strong reconstruction and moderate accuracy on MNIST and Fashion-MNIST, they fail to generalize to SVHN and CIFAR-10 due to poor embedding disentanglement and noisy reconstructions. The study identifies limitations in the dynamic routing mechanism and capsule architecture, suggesting that current CapsNet designs are not yet viable for complex vision tasks without significant architectural or routing improvements.

ABSTRACT

Convolutional neural networks use pooling and other downscaling operations to maintain translational invariance for detection of features, but in their architecture they do not explicitly maintain a representation of the locations of the features relative to each other. This means they do not represent two instances of the same object in different orientations the same way, like humans do, and so training them often requires extensive data augmentation and exceedingly deep networks. A team at Google Brain recently made news with an attempt to fix this problem: Capsule Networks. While a normal CNN works with scalar outputs representing feature presence, a CapsNet works with vector outputs representing entity presence. We want to stress test CapsNet in various incremental ways to better understand their performance and expressiveness. In broad terms, the goals of our investigation are: (1) test CapsNets on datasets that are like MNIST but harder in a specific way, and (2) explore the internal embedding space and sources of error for CapsNets.

Motivation & Objective

  • To evaluate CapsNets on datasets progressively harder than MNIST to test their robustness and generalization.
  • To analyze the internal embedding space of CapsNets and identify sources of error in predictions and reconstructions.
  • To assess whether dynamic routing and reconstruction mechanisms effectively capture spatial relationships and object configurations.
  • To explore whether CapsNets can generalize beyond simple classification tasks to more complex vision problems.

Proposed method

  • The authors use a standard CapsNet architecture with primary capsules, digit capsules, and a reconstruction head, applying dynamic routing between primary and digit capsules.
  • They apply the capsule network to MNIST, Fashion-MNIST, SVHN, and CIFAR-10, training over 50 epochs with varying routing iterations (2, 3, 5).
  • The squash nonlinearity is applied to capsule outputs to normalize vector magnitudes, representing entity presence probability.
  • Dynamic routing uses a routing softmax with iterative updates based on agreement between prediction and activation vectors.
  • t-SNE and PCA visualizations are used to analyze the structure and separability of learned embeddings across datasets.
  • Reconstruction quality and classification accuracy are evaluated, with error analysis focused on noisy or ambiguous reconstructions.

Experimental results

Research questions

  • RQ1Can CapsNets generalize to datasets more complex than MNIST, such as Fashion-MNIST, SVHN, and CIFAR-10?
  • RQ2How do changes in routing iterations affect CapsNet performance and embedding quality?
  • RQ3To what extent do CapsNet embeddings capture meaningful spatial and structural features of objects?
  • RQ4Why do CapsNets fail to reconstruct complex datasets like SVHN and CIFAR-10 despite success on MNIST?
  • RQ5Can t-SNE and PCA visualizations of embeddings reveal structural deficiencies in CapsNet representations?

Key findings

  • CapsNets achieved high reconstruction quality and moderate accuracy on MNIST and Fashion-MNIST, but performance degraded significantly on SVHN and CIFAR-10.
  • The t-SNE visualization showed that only MNIST embeddings formed clean, separable clusters by class, while other datasets exhibited disordered, overlapping structures.
  • Increasing routing iterations beyond 3 did not improve performance and sometimes worsened it, suggesting the current routing mechanism is brittle and underutilized.
  • Embedding vectors for SVHN and CIFAR-10 primarily encoded intensity and color, not structural or pose-related features, indicating poor disentanglement.
  • Most classification errors were correlated with noisy or ambiguous reconstructions, suggesting that reconstruction failure is a key driver of misclassification.
  • The study found that CapsNets are not yet suitable for complex vision tasks due to limitations in routing and architecture, though the capsule concept remains promising for future refinement.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.