paper-with-me

홈 › Papers

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

2021-01-28 · Md Amirul Islam, Matthew Kowal, Sen Jia, Konstantinos G. Derpanis, Neil D. B. Bruce

In contrast to fully connected networks, Convolutional Neural Networks (CNNs) achieve efficiency by learning weights associated with local filters with a finite spatial extent. An implication of this 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 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 which 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.

📄 PDF Abstract BibTeX arXiv:2101.12322

Code (0)

등록된 구현이 없습니다.

Tasks

Position

Similar Papers 제목 키워드 기반

Boundary Effects in CNNs: Feature or Bug?

2021-01-01 · Md Amirul Islam, Matthew Kowal, Sen Jia, Konstantinos G. Derpanis 외

Recent studies have shown that the addition of zero padding drives convolutional neural networks (CNNs) to encode a significant amount of absolute position information in their internal representations, while a lack of p…

Position

Unveiling The Mask of Position-Information Pattern Through the Mist of Image Features

2022-06-02 · Chieh Hubert Lin, Hsin-Ying Lee, Hung-Yu Tseng, Maneesh Singh 외

Recent studies show that paddings in convolutional neural networks encode absolute position information which can negatively affect the model performance for certain tasks. However, existing metrics for quantifying the s…

Position

Random Padding Data Augmentation

2023-02-17 · Nan Yang, Laicheng Zhong, Fan Huang, Dong Yuan 외

The convolutional neural network (CNN) learns the same object in different positions in images, which can improve the recognition accuracy of the model. An implication of this is that CNN may know where the object is. Th…

Data Augmentationimage-classificationImage ClassificationPosition

A Frustratingly Easy Improvement for Position Embeddings via Random Padding

2023-05-08 · Mingxu Tao, Yansong Feng, Dongyan Zhao

Position embeddings, encoding the positional relationships among tokens in text sequences, make great contributions to modeling local context features in Transformer-based pre-trained language models. However, in Extract…

Extractive Question-AnsweringPositionQuestion Answering

Local Padding in Patch-Based GANs for Seamless Infinite-Sized Texture Synthesis

2023-09-05 · Alhasan Abdellatif, Ahmed H. Elsheikh, Hannah P. Menke

Texture models based on Generative Adversarial Networks (GANs) use zero-padding to implicitly encode positional information of the image features. However, when extending the spatial input to generate images at large siz…

DiversityGPUSuper-ResolutionTexture Synthesis