PadChannel: Improving CNN Performance through Explicit Padding Encoding

Juho Kim
11/13/2023
cs.CV

No confident code implementation found for this paper.

Abstract

In convolutional neural networks (CNNs), padding plays a pivotal role in preserving spatial dimensions throughout the layers. Traditional padding techniques do not explicitly distinguish between the actual image content and the padded regions, potentially causing CNNs to incorrectly interpret the boundary pixels or regions that resemble boundaries. This ambiguity can lead to suboptimal feature extraction. To address this, we propose PadChannel, a novel padding method that encodes padding statuses as an additional input channel, enabling CNNs to easily distinguish genuine pixels from padded ones. By incorporating PadChannel into several prominent CNN architectures, we observed small performance improvements and notable reductions in the variances on the ImageNet-1K image classification task at marginal increases in the computational cost. The source code is available at https://github.com/AussieSeaweed/pad-channel

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kim2023padchannel,
  title  = {PadChannel: Improving CNN Performance through Explicit Padding Encoding},
  author = {Juho Kim},
  year   = {2023},
  eprint = {2311.07623},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.07623v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.07623.svg)](https://codeofpaper.com/paper/2311.07623)

Discussion