Skip to main content
QUICK REVIEW

[Paper Review] Increasing the adversarial robustness and explainability of capsule networks with $\gamma$-capsules

David Peer, Sebastian Stabinger|arXiv (Cornell University)|Dec 23, 2018
Adversarial Robustness in Machine LearningComputer Science19 references7 citations
TL;DR

This paper introduces γ-capsule networks, a novel capsule network architecture with a biologically inspired inductive bias derived from TE neurons in the inferior temporal cortex. By formalizing this prior and introducing a scaled-distance-agreement (SDA) routing algorithm, the method enhances adversarial robustness and human interpretability, demonstrating that γ-capsules encode comprehensible, explainable features and outperform standard capsule and CNN models under strong adversarial attacks.

ABSTRACT

In this paper we introduce a new inductive bias for capsule networks and call networks that use this prior $\gamma$-capsule networks. Our inductive bias that is inspired by TE neurons of the inferior temporal cortex increases the adversarial robustness and the explainability of capsule networks. A theoretical framework with formal definitions of $\gamma$-capsule networks and metrics for evaluation are also provided. Under our framework we show that common capsule networks do not necessarily make use of this inductive bias. For this reason we introduce a novel routing algorithm and use a different training algorithm to be able to implement $\gamma$-capsule networks. We then show experimentally that $\gamma$-capsule networks are indeed more transparent and more robust against adversarial attacks than regular capsule networks.

Motivation & Objective

  • To address the lack of adversarial robustness and interpretability in standard capsule networks.
  • To formalize a new inductive bias inspired by biological TE neurons in the inferior temporal cortex.
  • To develop a routing algorithm that enables the construction of γ-capsule networks.
  • To demonstrate that γ-capsules encode human-comprehensible features, enabling direct interpretability.
  • To show that γ-capsule networks are significantly more robust against adversarial attacks than standard capsule networks or CNNs.

Proposed method

  • Proposes a formal definition of γ-capsule networks based on a biologically motivated inductive bias from TE neurons.
  • Introduces a new routing algorithm called scaled-distance-agreement (SDA) that considers upper-layer capsule activations during routing.
  • Employs empirical risk minimization (ERM) under adversarial training to train γ-capsule networks.
  • Uses feature visualization techniques to generate inputs that activate individual γ-capsules, enabling interpretability.
  • Employs metrics to verify that the inductive bias is properly enforced in the network.
  • Replaces reconstruction networks with direct feature visualization to avoid obscuring the true causes of capsule activation.

Experimental results

Research questions

  • RQ1Can a biologically inspired inductive bias from TE neurons be formalized and implemented in capsule networks to improve robustness and interpretability?
  • RQ2Why do standard capsule networks fail to achieve adversarial robustness and explainability, and what architectural changes are needed?
  • RQ3Can a new routing algorithm (SDA) effectively implement the γ-capsule inductive bias?
  • RQ4Do γ-capsules encode human-comprehensible features that can be visually interpreted without reconstruction networks?
  • RQ5How does the adversarial robustness of γ-capsule networks compare to standard capsule networks and robust CNNs?

Key findings

  • γ-capsule networks are more robust against adversarial attacks than both standard capsule networks and CNNs, including those specifically trained for robustness.
  • The SDA routing algorithm successfully implements the γ-capsule inductive bias, enabling the network to learn human-comprehensible features.
  • Hidden γ-capsules represent interpretable object parts such as the body of a pullover or the upper part of a coat, as confirmed by feature visualization.
  • Output γ-capsules are directly interpretable, with generated inputs clearly corresponding to the object class they represent.
  • Reconstruction networks do not reliably reveal the true causes of capsule activation, whereas γ-capsule visualization does so transparently.
  • The robustness of γ-capsule networks is a property of the γ-capsule layers themselves, not just the convolutional components, as evidenced by concentrated convolutional filters.

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.