PadChannel: Improving CNN Performance through Explicit Padding Encoding

  • 2023-11-16 17:17:40
  • Juho Kim
  • 0


In convolutional neural networks (CNNs), padding plays a pivotal role inpreserving spatial dimensions throughout the layers. Traditional paddingtechniques do not explicitly distinguish between the actual image content andthe padded regions, potentially causing CNNs to incorrectly interpret theboundary pixels or regions that resemble boundaries. This ambiguity can lead tosuboptimal feature extraction. To address this, we propose PadChannel, a novelpadding method that encodes padding statuses as an additional input channel,enabling CNNs to easily distinguish genuine pixels from padded ones. Byincorporating PadChannel into several prominent CNN architectures, we observedsmall performance improvements and notable reductions in the variances on theImageNet-1K image classification task at marginal increases in thecomputational cost. The source code is available at


Quick Read (beta)

loading the full paper ...