On Translation Invariance in CNNs: Convolutional Layers can Exploit Absolute Spatial Location

Osman Semih Kayhan, Jan C. van Gemert
3/16/2020
cs.CVcs.LGeess.IV

Official code: oskyhn/CNNs-Without-Borders (70 stars, BSD-3-Clause, last commit 2021-10-12).

Abstract

In this paper we challenge the common assumption that convolutional layers in modern CNNs are translation invariant. We show that CNNs can and will exploit the absolute spatial location by learning filters that respond exclusively to particular absolute locations by exploiting image boundary effects. Because modern CNNs filters have a huge receptive field, these boundary effects operate even far from the image boundary, allowing the network to exploit absolute spatial location all over the image. We give a simple solution to remove spatial location encoding which improves translation invariance and thus gives a stronger visual inductive bias which particularly benefits small data sets. We broadly demonstrate these benefits on several architectures and various applications such as image classification, patch matching, and two video classification datasets.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Official repository of CVPR 2020 paper "On Translation Invariance in CNNs: Convolutional Layers can Exploit Absolute Spatial Location"

703Shell, PythonMar 11, 20205 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{kayhan2020translation,
  title  = {On Translation Invariance in CNNs: Convolutional Layers can Exploit Absolute Spatial Location},
  author = {Osman Semih Kayhan and Jan C. van Gemert},
  year   = {2020},
  eprint = {2003.07064},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.07064}
}

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/2003.07064.svg)](https://codeofpaper.com/paper/2003.07064)

Discussion