Saved in:
Bibliographic Details
Main Authors: Finnveden, Lukas, Jansson, Ylva, Lindeberg, Tony
Format: Preprint
Published: 2020
Subjects:
Online Access:https://arxiv.org/abs/2004.11678
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910608268460032
author Finnveden, Lukas
Jansson, Ylva
Lindeberg, Tony
author_facet Finnveden, Lukas
Jansson, Ylva
Lindeberg, Tony
contents Spatial transformer networks (STNs) were designed to enable convolutional neural networks (CNNs) to learn invariance to image transformations. STNs were originally proposed to transform CNN feature maps as well as input images. This enables the use of more complex features when predicting transformation parameters. However, since STNs perform a purely spatial transformation, they do not, in the general case, have the ability to align the feature maps of a transformed image with those of its original. STNs are therefore unable to support invariance when transforming CNN feature maps. We present a simple proof for this and study the practical implications, showing that this inability is coupled with decreased classification accuracy. We therefore investigate alternative STN architectures that make use of complex features. We find that while deeper localization networks are difficult to train, localization networks that share parameters with the classification network remain stable as they grow deeper, which allows for higher classification accuracy on difficult datasets. Finally, we explore the interaction between localization network complexity and iterative image alignment.
format Preprint
id arxiv_https___arxiv_org_abs_2004_11678
institution arXiv
publishDate 2020
record_format arxiv
spellingShingle Understanding when spatial transformer networks do not support invariance, and what to do about it
Finnveden, Lukas
Jansson, Ylva
Lindeberg, Tony
Computer Vision and Pattern Recognition
Machine Learning
Spatial transformer networks (STNs) were designed to enable convolutional neural networks (CNNs) to learn invariance to image transformations. STNs were originally proposed to transform CNN feature maps as well as input images. This enables the use of more complex features when predicting transformation parameters. However, since STNs perform a purely spatial transformation, they do not, in the general case, have the ability to align the feature maps of a transformed image with those of its original. STNs are therefore unable to support invariance when transforming CNN feature maps. We present a simple proof for this and study the practical implications, showing that this inability is coupled with decreased classification accuracy. We therefore investigate alternative STN architectures that make use of complex features. We find that while deeper localization networks are difficult to train, localization networks that share parameters with the classification network remain stable as they grow deeper, which allows for higher classification accuracy on difficult datasets. Finally, we explore the interaction between localization network complexity and iterative image alignment.
title Understanding when spatial transformer networks do not support invariance, and what to do about it
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2004.11678