Padding Aware Neurons

09/14/2023
by   Dario Garcia-Gasulla, et al.
0

Convolutional layers are a fundamental component of most image-related models. These layers often implement by default a static padding policy (zero padding), to control the scale of the internal representations, and to allow kernel activations centered on the border regions. In this work we identify Padding Aware Neurons (PANs), a type of filter that is found in most (if not all) convolutional models trained with static padding. PANs focus on the characterization and recognition of input border location, introducing a spatial inductive bias into the model (e.g., how close to the input's border a pattern typically is). We propose a method to identify PANs through their activations, and explore their presence in several popular pre-trained models, finding PANs on all models explored, from dozens to hundreds. We discuss and illustrate different types of PANs, their kernels and behaviour. To understand their relevance, we test their impact on model performance, and find padding and PANs to induce strong and characteristic biases in the data. Finally, we discuss whether or not PANs are desirable, as well as the potential side effects of their presence in the context of model performance, generalisation, efficiency and safety.

READ FULL TEXT
research
05/02/2023

Finding Neurons in a Haystack: Case Studies with Sparse Probing

Despite rapid adoption and deployment of large language models (LLMs), t...
research
10/31/2018

Conceptual Content in Deep Convolutional Neural Networks: An analysis into multi-faceted properties of neurons

In this paper we analyze convolutional layers of VGG16 model pre-trained...
research
12/06/2019

Visualizing Deep Neural Networks for Speech Recognition with Learned Topographic Filter Maps

The uninformative ordering of artificial neurons in Deep Neural Networks...
research
05/08/2017

Deep Descriptor Transforming for Image Co-Localization

Reusable model design becomes desirable with the rapid expansion of mach...
research
10/27/2021

Generalized Shape Metrics on Neural Representations

Understanding the operation of biological and artificial networks remain...
research
07/20/2017

Unsupervised Object Discovery and Co-Localization by Deep Descriptor Transforming

Reusable model design becomes desirable with the rapid expansion of comp...

Please sign up or login with your details

Forgot password? Click here to reset