paper-with-me

홈 › Papers

Boundary Effects in CNNs: Feature or Bug?

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

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 padding precludes position encoding. Additionally, various studies have used image patches on background canvases (e.g., to accommodate that inputs to CNNs must be rectangular) without consideration that different backgrounds may contain varying levels of position information according to their color. These studies give rise to deeper questions about the role of boundary information in CNNs, that are explored in this paper: (i) What boundary heuristics (e.g., padding type, canvas color) enable optimal encoding of absolute position information for a particular downstream task?; (ii) Where in the latent representations do boundary effects destroy semantic and location information?; (iii) Does encoding position information affect the learning of semantic representations?; (iv) Does encoding position information always improve performance? To provide answers to these questions, we perform the largest case study to date on the role that padding and border heuristics play in CNNs. We first show that zero padding injects optimal position information into CNNs relative to other common padding types. We then design a series of novel tasks which allow us to accurately quantify boundary effects as a function of the distance to the border. A number of semantic objectives reveal the destructive effect of dealing with the border on semantic representations. Further, we demonstrate that the encoding of position information improves separability of learned semantic features. Finally, we demonstrate the implications of these findings on a number of real-world tasks to show that position information can act as a feature or a bug.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Position

Similar Papers 제목 키워드 기반

On Translation Invariance in CNNs: Convolutional Layers can Exploit Absolute Spatial Location

2020-03-16 · CVPR 2020 6 · Osman Semih Kayhan, Jan C. van Gemert

In this paper we challenge the common assumption that convolutional layers in modern CNNs are translation invariant. We show that CNNs can and will exploit the absolute spatial location by learning filters that respond e…

General Classificationimage-classificationImage ClassificationInductive Bias+4

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 외

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…

Position

Learning on the Edge: Explicit Boundary Handling in CNNs

2018-05-08 · Carlo Innamorati, Tobias Ritschel, Tim Weyrich, Niloy J. Mitra

Convolutional neural networks (CNNs) handle the case where filters extend beyond the image boundary using several heuristics, such as zero, repeat or mean padding. These schemes are applied in an ad-hoc fashion and, bein…

ColorizationDisparity EstimationOptical Flow Estimation

Learning to predict crisp boundaries

2018-07-26 · ECCV 2018 9 · Ruoxi Deng, Chunhua Shen, Shengjun Liu, Huibing Wang 외

Recent methods for boundary or edge detection built on Deep Convolutional Neural Networks (CNNs) typically suffer from the issue of predicted edges being thick and need post-processing to obtain crisp boundaries. Highly …

Boundary DetectionEdge Detection

Convolutional layers are equivariant to discrete shifts but not continuous translations

2022-06-10 · Nick McGreivy, Ammar Hakim

The purpose of this short and simple note is to clarify a common misconception about convolutional neural networks (CNNs). CNNs are made up of convolutional layers which are shift equivariant due to weight sharing. Howev…

Translation