Making Convolutional Networks Shift-Invariant Again

Richard Zhang
4/25/2019
cs.CVcs.LG

Official code: adobe/antialiased-cnns (1,687 stars, last commit 2024-04-08).

Abstract

Modern convolutional networks are not shift-invariant, as small input shifts or translations can cause drastic changes in the output. Commonly used downsampling methods, such as max-pooling, strided-convolution, and average-pooling, ignore the sampling theorem. The well-known signal processing fix is anti-aliasing by low-pass filtering before downsampling. However, simply inserting this module into deep networks degrades performance; as a result, it is seldomly used today. We show that when integrated correctly, it is compatible with existing architectural components, such as max-pooling and strided-convolution. We observe \textit{increased accuracy} in ImageNet classification, across several commonly-used architectures, such as ResNet, DenseNet, and MobileNet, indicating effective regularization. Furthermore, we observe \textit{better generalization}, in terms of stability and robustness to input corruptions. Our results demonstrate that this classical signal processing technique has been undeservingly overlooked in modern deep networks. Code and anti-aliased versions of popular networks are available at https://richzhang.github.io/antialiased-cnns/ .

View on arXivView PDF

Code Implementations(1)

pip install antialiased-cnns to improve stability and accuracy

1,687201PythonMay 14, 20192 years agoNOASSERTION
antialiasingartificial-intelligencecnnscomputer-visionconvolutional-neural-networks+4 more

Similar Papers

Cite this paper

@article{zhang2019making,
  title  = {Making Convolutional Networks Shift-Invariant Again},
  author = {Richard Zhang},
  year   = {2019},
  eprint = {1904.11486},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.11486}
}

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

Discussion