Back to Search Start Over

Position, Padding and Predictions: A Deeper Look at Position Information in CNNs.

Authors :
Islam, Md Amirul
Kowal, Matthew
Jia, Sen
Derpanis, Konstantinos G.
Bruce, Neil D. B.
Source :
International Journal of Computer Vision; Sep2024, Vol. 132 Issue 9, p3889-3910, 22p
Publication Year :
2024

Abstract

In contrast to fully connected networks, Convolutional Neural Networks (CNNs) achieve efficiency by learning weights associated with local filters with a finite spatial extent. Theoretically, an implication of this fact is that a filter may know what it is looking at, but not where it is positioned in the image. In this paper, we first test this hypothesis and reveal that a surprising degree of absolute position information is encoded in commonly used CNNs. We show that zero padding drives CNNs to encode position information in their internal representations, while a lack of padding precludes position encoding. This observation gives rise to deeper questions about the role of position information in CNNs: (i) What boundary heuristics enable optimal position encoding for downstream tasks? (ii) Does position encoding affect the learning of semantic representations? (iii) Does position encoding always improve performance? To provide answers, we perform the largest case study to date on the role that padding and border heuristics play in CNNs. We design novel tasks that allow us to quantify boundary effects as a function of the distance to the border. Numerous semantic objectives reveal the effect of the border on semantic representations. Finally, we demonstrate the implications of these findings on multiple real-world tasks to show that position information can both help or hurt performance. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
09205691
Volume :
132
Issue :
9
Database :
Complementary Index
Journal :
International Journal of Computer Vision
Publication Type :
Academic Journal
Accession number :
179277921
Full Text :
https://doi.org/10.1007/s11263-024-02069-9