Skip to main content
QUICK REVIEW

[Paper Review] Interpretable Graph Capsule Networks for Object Recognition

Jindong Gu, Volker Tresp|arXiv (Cornell University)|Dec 3, 2020
Adversarial Robustness in Machine LearningComputer Science45 references6 citations
TL;DR

This paper proposes Interpretable Graph Capsule Networks (GraCapsNets), which replace the routing mechanism in Capsule Networks with a multi-head attention-based graph pooling module to enable efficient, built-in explanations for object recognition. The model achieves superior classification accuracy, improved adversarial robustness, and maintains disentangled representations—all while using fewer parameters than standard CapsNets.

ABSTRACT

Capsule Networks, as alternatives to Convolutional Neural Networks, have been proposed to recognize objects from images. The current literature demonstrates many advantages of CapsNets over CNNs. However, how to create explanations for individual classifications of CapsNets has not been well explored. The widely used saliency methods are mainly proposed for explaining CNN-based classifications; they create saliency map explanations by combining activation values and the corresponding gradients, e.g., Grad-CAM. These saliency methods require a specific architecture of the underlying classifiers and cannot be trivially applied to CapsNets due to the iterative routing mechanism therein. To overcome the lack of interpretability, we can either propose new post-hoc interpretation methods for CapsNets or modifying the model to have build-in explanations. In this work, we explore the latter. Specifically, we propose interpretable Graph Capsule Networks (GraCapsNets), where we replace the routing part with a multi-head attention-based Graph Pooling approach. In the proposed model, individual classification explanations can be created effectively and efficiently. Our model also demonstrates some unexpected benefits, even though it replaces the fundamental part of CapsNets. Our GraCapsNets achieve better classification performance with fewer parameters and better adversarial robustness, when compared to CapsNets. Besides, GraCapsNets also keep other advantages of CapsNets, namely, disentangled representations and affine transformation robustness.

Motivation & Objective

  • To address the lack of interpretability in Capsule Networks, which currently lack effective post-hoc explanation methods due to their iterative routing mechanism.
  • To improve model interpretability by embedding explainable graph-based attention mechanisms directly into the architecture, enabling efficient and effective classification explanations.
  • To investigate whether the routing mechanism is essential to CapsNets' advantages, such as disentangled representations and robustness to affine transformations.
  • To develop a CapsNet variant that maintains or improves performance while reducing model complexity and enhancing adversarial robustness.

Proposed method

  • Replace the standard dynamic routing mechanism in CapsNets with a multi-head attention-based graph pooling operation to model relationships between primary capsules.
  • Represent primary capsules (object parts) as nodes in a graph, where edges encode spatial or semantic relationships between parts.
  • Use differentiable graph pooling to aggregate relevant part features based on learned attention weights, enabling end-to-end training.
  • Leverage attention weights from the graph pooling layer as intrinsic explanations for individual classification decisions, eliminating the need for external saliency methods.
  • Integrate the graph pooling module into the capsule network architecture to maintain the hierarchical, attention-driven feature abstraction of CapsNets.
  • Train the model end-to-end using backpropagation, with the graph attention mechanism providing both classification and interpretability in a unified framework.

Experimental results

Research questions

  • RQ1Can a graph-based pooling mechanism replace the routing mechanism in CapsNets while preserving or improving performance?
  • RQ2Can the attention weights from graph pooling serve as effective, built-in explanations for individual classification decisions in CapsNets?
  • RQ3Does replacing routing with graph pooling enhance adversarial robustness compared to standard CapsNets and CNNs?
  • RQ4Are the disentangled representations and affine transformation robustness of CapsNets preserved in the new architecture?
  • RQ5Can the proposed model achieve better performance with fewer parameters than traditional CapsNets?

Key findings

  • GraCapsNets achieve better classification accuracy than standard CapsNets and CNNs on SVHN and CIFAR-10, with a 1.5% improvement on SVHN and a 2.1% improvement on CIFAR-10.
  • The model uses fewer parameters than standard CapsNets, demonstrating improved parameter efficiency.
  • GraCapsNets show superior adversarial robustness: on SVHN and CIFAR-10, attack success rates are significantly lower than for CNNs and other CapsNets, especially under strong C&W attacks with perturbation thresholds of 0.05.
  • The model maintains disentangled representations, as shown by perturbing individual dimensions of capsule activity vectors and observing corresponding, interpretable changes in reconstructed images.
  • The model achieves affine transformation robustness comparable to standard CapsNets, with a test accuracy of 80.45% on the AffNIST benchmark, slightly outperforming the original CapsNet (79%).
  • Built-in explanations via graph attention are computationally efficient—generated in half a forward pass without backpropagation—outperforming Grad-CAM, IG, and SG variants in both speed and quality.

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.