What Does CNN Shift Invariance Look Like? A Visualization Study

Jake Lee, Junfeng Yang, Zhangyang Wang
11/9/2020
cs.LG

Official code: jakehlee/shift-invariance (0 stars, Python, last commit 2020-05-21).

Abstract

Feature extraction with convolutional neural networks (CNNs) is a popular method to represent images for machine learning tasks. These representations seek to capture global image content, and ideally should be independent of geometric transformations.

Show full abstract

We focus on measuring and visualizing the shift invariance of extracted features from popular off-the-shelf CNN models. We present the results of three experiments comparing representations of millions of images with exhaustively shifted objects, examining both local invariance (within a few pixels) and global invariance (across the image frame). We conclude that features extracted from popular networks are not globally invariant, and that biases and artifacts exist within this variance. Additionally, we determine that anti-aliased models significantly improve local invariance but do not impact global invariance. Finally, we provide a code repository for experiment reproduction, as well as a website to interact with our results at https://jakehlee.github.io/visualize-invariance.

View on arXivView PDF

Code Implementations(1)

00Python, ShellApr 6, 20206 years ago

Similar Papers

Cite this paper

@article{lee2020what,
  title  = {What Does CNN Shift Invariance Look Like? A Visualization Study},
  author = {Jake Lee and Junfeng Yang and Zhangyang Wang},
  year   = {2020},
  eprint = {2011.04127},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.04127}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.04127.svg)](https://codeofpaper.com/paper/2011.04127)

Discussion