Reproduce “Dynamic Routing Between Capsules” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Sara Sabour, Nicholas Frosst, Geoffrey E Hinton

CapsNet uses iterative routing-by-agreement: lower-level capsules make predictions about higher-level capsules, and compatible predictions are grouped. On MultiMNIST, a three-iteration CapsNet with reconstruction has 5.2% two-digit test classification error, compared with 8.1% for a CNN baseline. This demonstrates classification and reconstruction on synthetic overlapping digit pairs, not general-purpose pixel-level segmentation.

Key insights

  • Replacing scalar feature detectors with vector-output capsules allows for richer, pose-sensitive representations that can generalize better to new viewpoints and be more robust to affine transformations.
  • Dynamic routing by agreement provides an adaptive, context-dependent mechanism for hierarchical feature learning, enabling parts to choose their corresponding whole and addressing the binding problem.
  • The explicit encoding of instantiation parameters within capsule vectors offers increased interpretability, as specific dimensions can correspond to meaningful visual properties like pose, size, or skew.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.