kth.sePublications KTH
System disruptions
There are recurring service disruptions on some of the search portals due to high traffic. We are working to resolve the issue, you may temporarily encounter an error message.
Change search
Link to record
Permanent link

Direct link
Publications (6 of 6) Show all publications
Finnveden, L., Jansson, Y. & Lindeberg, T. (2021). Understanding when spatial transformer networks do not support invariance, and what to do about it. In: ICPR 2020: International Conference on Pattern Recognition: . Paper presented at ICPR 2020: 25th International Conference on Pattern Recognition, Milan, Italy, January 10-15, 2021 (pp. 3427-3434). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Understanding when spatial transformer networks do not support invariance, and what to do about it
2021 (English)In: ICPR 2020: International Conference on Pattern Recognition, Institute of Electrical and Electronics Engineers (IEEE) , 2021, p. 3427-3434Conference paper, Published paper (Refereed)
Abstract [en]

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.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2021
Keywords
deep learning, convolutional neural networks, invariant neural networks, spatial transformer networks
National Category
Computer graphics and computer vision
Research subject
Computer Science
Identifiers
urn:nbn:se:kth:diva-288723 (URN)10.1109/ICPR48806.2021.9412997 (DOI)000678409203071 ()2-s2.0-85106434896 (Scopus ID)
Conference
ICPR 2020: 25th International Conference on Pattern Recognition, Milan, Italy, January 10-15, 2021
Funder
Swedish Research Council, 2018-03586
Note

Not duplicate with DiVA 1428271QC 20210831

Available from: 2021-01-11 Created: 2021-01-11 Last updated: 2025-02-07Bibliographically approved
Jansson, Y., Maydanskiy, M., Finnveden, L. & Lindeberg, T. (2020). Inability of spatial transformations of CNN feature maps to support invariant recognition.
Open this publication in new window or tab >>Inability of spatial transformations of CNN feature maps to support invariant recognition
2020 (English)Report (Other academic)
Abstract [en]

A large number of deep learning architectures use spatial transformations of CNN feature maps or filters to better deal with variability in object appearance caused by natural image transformations. In this paper, we prove that spatial transformations of CNN feature maps cannot align the feature maps of a transformed image to match those of its original, for general affine transformations, unless the extracted features are themselves invariant. Our proof is based on elementary analysis for both the single- and multi-layer network case. The results imply that methods based on spatial transformations of CNN feature maps or filters cannot replace image alignment of the input and cannot enable invariant recognition for general affine transformations, specifically not for scaling transformations or shear transformations. For rotations and reflections, spatially transforming feature maps or filters can enable invariance but only for networks with learnt or hardcoded rotation- or reflection-invariant features

Publisher
p. 22
Keywords
deep learning, convolutional neural networks, invariant neural networks, spatial transformer networks
National Category
Computer graphics and computer vision
Identifiers
urn:nbn:se:kth:diva-272970 (URN)
Funder
Swedish Research Council, 2018-03586
Note

QC 20200507

Available from: 2020-05-05 Created: 2020-05-05 Last updated: 2025-02-07Bibliographically approved
Jansson, Y., Maydanskiy, M., Finnveden, L. & Lindeberg, T. (2020). Spatial transformations in convolutional networks and invariant recognition.. In: : . Paper presented at DeepMath2020 Conference on the Mathematical Theory of Deep Neural Networks Nov 5 - Nov 6, 2020.
Open this publication in new window or tab >>Spatial transformations in convolutional networks and invariant recognition.
2020 (English)Conference paper, Oral presentation only (Refereed)
Abstract [en]

We show that spatial transformations of CNN feature maps cannot align the feature maps of a transformed image to match those of it’s original for general affine transformations. This implies that methods that spatially transform CNN feature maps, such as spatial transformer networks, dilated or deformable convolutions or spatial pyramid pooling cannot enable true invariance. Our proof is based on elementary analysis for both the single- and multi-layer network cases.

National Category
Computer graphics and computer vision
Research subject
Computer Science
Identifiers
urn:nbn:se:kth:diva-287481 (URN)
Conference
DeepMath2020 Conference on the Mathematical Theory of Deep Neural Networks Nov 5 - Nov 6, 2020
Funder
Swedish Research Council, 2018-03586
Note

QC 20201224

Available from: 2020-12-21 Created: 2020-12-21 Last updated: 2025-02-07Bibliographically approved
Finnveden, L., Jansson, Y. & Lindeberg, T. (2020). The problems with using STNs to align CNN feature maps. In: : . Paper presented at Northern Lights Deep Learning Workshop 2020, Tromsø, Norway, 20-21 Jan 2020.
Open this publication in new window or tab >>The problems with using STNs to align CNN feature maps
2020 (English)Conference paper, Oral presentation with published abstract (Other academic)
Abstract [en]

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
deep learning, convolutional neural networks, spatial transformer networks, invariant neural networks
National Category
Computer graphics and computer vision
Research subject
Computer Science
Identifiers
urn:nbn:se:kth:diva-266471 (URN)
Conference
Northern Lights Deep Learning Workshop 2020, Tromsø, Norway, 20-21 Jan 2020
Funder
Swedish Research Council, 2018-03586
Note

QC 20200123

Available from: 2020-01-23 Created: 2020-01-23 Last updated: 2025-02-07Bibliographically approved
Finnveden, L., Jansson, Y. & Lindeberg, T. (2020). The problems with using STNs to align CNN feature maps.
Open this publication in new window or tab >>The problems with using STNs to align CNN feature maps
2020 (English)Report (Other academic)
Abstract [en]

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.

Publisher
p. 2
National Category
Computer graphics and computer vision
Research subject
Computer Science
Identifiers
urn:nbn:se:kth:diva-363943 (URN)10.48550/arXiv.2001.05858 (DOI)
Funder
Swedish Research Council, 2018-03586
Note

QC 20250814

Available from: 2025-05-28 Created: 2025-05-28 Last updated: 2025-08-14
Finnveden, L., Jansson, Y. & Lindeberg, T. (2020). Understanding when spatial transformer networks do not support invariance, and what to do about it.
Open this publication in new window or tab >>Understanding when spatial transformer networks do not support invariance, and what to do about it
2020 (English)Report (Other academic)
Abstract [en]

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.

Publisher
p. 12
Keywords
deep learning, convolutional neural networks, invariant neural networks, spatial transformer networks
National Category
Computer graphics and computer vision
Research subject
Computer Science
Identifiers
urn:nbn:se:kth:diva-272971 (URN)
Funder
Swedish Research Council, 2018-03586
Note

Not duplicate with DiVA 1516191

QC 20200511

Available from: 2020-05-05 Created: 2020-05-05 Last updated: 2025-02-07Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0001-8548-5788

Search in DiVA

Show all publications