Global Pooling, More than Meets the Eye: Position Information is Encoded Channel-Wise in CNNs

08/17/2021
by   Md Amirul Islam, et al.
28

In this paper, we challenge the common assumption that collapsing the spatial dimensions of a 3D (spatial-channel) tensor in a convolutional neural network (CNN) into a vector via global pooling removes all spatial information. Specifically, we demonstrate that positional information is encoded based on the ordering of the channel dimensions, while semantic information is largely not. Following this demonstration, we show the real world impact of these findings by applying them to two applications. First, we propose a simple yet effective data augmentation strategy and loss function which improves the translation invariance of a CNN's output. Second, we propose a method to efficiently determine which channels in the latent representation are responsible for (i) encoding overall position information or (ii) region-specific positions. We first show that semantic segmentation has a significant reliance on the overall position channels to make predictions. We then show for the first time that it is possible to perform a `region-specific' attack, and degrade a network's performance in a particular part of the input. We believe our findings and demonstrated applications will benefit research areas concerned with understanding the characteristics of CNNs.

READ FULL TEXT

page 3

page 5

page 8

research
01/28/2021

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

In contrast to fully connected networks, Convolutional Neural Networks (...
research
10/11/2022

DPANET:Dual Pooling Attention Network for Semantic Segmentation

Image segmentation is a historic and significant computer vision task. W...
research
02/17/2023

Random Padding Data Augmentation

The convolutional neural network (CNN) learns the same object in differe...
research
02/12/2018

Object Detection with Mask-based Feature Encoding

Region-based Convolutional Neural Networks (R-CNNs) have achieved great ...
research
01/27/2021

Shape or Texture: Understanding Discriminative Features in CNNs

Contrasting the previous evidence that neurons in the later layers of a ...
research
07/24/2017

Traffic scene recognition based on deep cnn and vlad spatial pyramids

Traffic scene recognition is an important and challenging issue in Intel...
research
01/13/2021

Convolutional Neural Nets: Foundations, Computations, and New Applications

We review mathematical foundations of convolutional neural nets (CNNs) w...

Please sign up or login with your details

Forgot password? Click here to reset