English

What Does CNN Shift Invariance Look Like? A Visualization Study

Machine Learning 2022-03-03 v1

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. 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.

Keywords

Cite

@article{arxiv.2011.04127,
  title  = {What Does CNN Shift Invariance Look Like? A Visualization Study},
  author = {Jake Lee and Junfeng Yang and Zhangyang Wang},
  journal= {arXiv preprint arXiv:2011.04127},
  year   = {2022}
}

Comments

Presented at the 2020 ECCV Workshop on Real-World Computer Vision from Inputs with Limited Quality (RLQ-TOD 2020), Glasgow, Scotland

R2 v1 2026-06-23T19:59:54.226Z