Skip to main content
QUICK REVIEW

[Paper Review] Studying Invariances of Trained Convolutional Neural Networks

Charlotte Bunne, Lukas Rahmann|arXiv (Cornell University)|Mar 15, 2018
Advanced Neural Network ApplicationsComputer Science3 references7 citations
TL;DR

This paper proposes the Invariant Transformer Net, a learnable module that identifies differentiable parameters for affine transformations to which trained CNNs like AlexNet and ResNet are invariant. Through large-scale screening of affine and nonaffine transformations, the study reveals class- and transformation-specific thresholds beyond which classification accuracy drops, demonstrating that invariance is limited to moderate transformation magnitudes.

ABSTRACT

Convolutional Neural Networks (CNNs) define an exceptionally powerful class of models for image classification, but the theoretical background and the understanding of how invariances to certain transformations are learned is limited. In a large scale screening with images modified by different affine and nonaffine transformations of varying magnitude, we analyzed the behavior of the CNN architectures AlexNet and ResNet. If the magnitude of different transformations does not exceed a class- and transformation dependent threshold, both architectures show invariant behavior. In this work we furthermore introduce a new learnable module, the Invariant Transformer Net, which enables us to learn differentiable parameters for a set of affine transformations. This allows us to extract the space of transformations to which the CNN is invariant and its class prediction robust.

Motivation & Objective

  • To systematically analyze the invariance properties of trained CNNs like AlexNet and ResNet under various transformations.
  • To identify the maximum magnitude of affine and nonaffine transformations that preserve correct classification, revealing transformation-specific robustness thresholds.
  • To develop a learnable, differentiable module—Invariant Transformer Net—that discovers the space of transformations to which a CNN remains invariant.
  • To compare invariance behavior across different architectures and understand how invariance correlates with network depth and structure.
  • To provide a method for probing and extracting the invariance space of trained CNNs in a controlled, parameterized manner.

Proposed method

  • The Invariant Transformer Net is introduced as a differentiable module that applies affine transformations parameterized by learnable weights $k_1$ (spatial) and $k_2$ (color), enabling end-to-end training with the CNN.
  • The network is trained using ImageNet validation images, minimizing a combined loss: $ abla_{ heta} ext{Loss}_{ ext{orig}}$ for the CNN and $ abla_{k_1,k_2} ext{Loss}_{ ext{transform}}$ for the transformer, with the goal of preserving classification accuracy under transformation.
  • A large-scale screening evaluates the effect of increasing transformation magnitudes (e.g., translation, rotation, noise, zoom) on softmax outputs of AlexNet and ResNet.
  • For each image class, the mean softmax probability is tracked across increasing transformation parameters to detect the point at which prediction confidence drops.
  • The method uses pretrained models (AlexNet and ResNet-101) and applies transformations such as Gaussian noise, rotation, zoom, and translation to input images.
  • The Invariant Transformer Net is trained to find transformations that maintain high classification accuracy, effectively learning the maximal invariance space for each class.

Experimental results

Research questions

  • RQ1What is the maximum magnitude of affine and nonaffine transformations to which AlexNet and ResNet remain invariant?
  • RQ2How do different transformation types (e.g., rotation, noise, zoom) affect classification robustness across image classes?
  • RQ3Can a learnable, differentiable module like the Invariant Transformer Net discover the space of transformations to which a CNN is invariant?
  • RQ4How do the invariance thresholds vary across different image classes and transformation types?
  • RQ5To what extent do deeper networks like ResNet learn invariances that are consistent with shallower ones like AlexNet?

Key findings

  • Both AlexNet and ResNet exhibit invariant behavior under affine and nonaffine transformations only when the transformation magnitude remains below a class- and transformation-specific threshold.
  • For rotation, invariance breaks down beyond approximately 180°, with classification accuracy dropping significantly at high rotation angles.
  • The Invariant Transformer Net successfully learns transformations with low information loss, such as mild zooming out and small color shifts, but avoids high-magnitude distortions like extreme rotation or zooming in.
  • The network shows high sensitivity to color changes, learning only low-magnitude color transformations, suggesting inherent vulnerability to color perturbations.
  • The learned invariance space for both networks is consistent across architectures, with ResNet showing similar invariance thresholds to AlexNet for comparable transformations.
  • The large-scale screening reveals that nonaffine transformations like Gaussian noise and contrast shifts significantly reduce confidence, especially beyond moderate noise levels, indicating limited robustness.

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.