English

The problems with using STNs to align CNN feature maps

Computer Vision and Pattern Recognition 2024-09-20 v1 Machine Learning

Abstract

Spatial transformer networks (STNs) were designed to enable 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 and its original. We present a theoretical argument for this and investigate the practical implications, showing that this inability is coupled with decreased classification accuracy. We advocate taking advantage of more complex features in deeper layers by instead sharing parameters between the classification and the localisation network.

Keywords

Cite

@article{arxiv.2001.05858,
  title  = {The problems with using STNs to align CNN feature maps},
  author = {Lukas Finnveden and Ylva Jansson and Tony Lindeberg},
  journal= {arXiv preprint arXiv:2001.05858},
  year   = {2024}
}

Comments

Accepted to Northern Lights Deep Learning Workshop 2020, Troms{\o}, 2 pages, 3 figures

R2 v1 2026-06-23T13:13:02.852Z