[Paper Review] Convolution with even-sized kernels and symmetric padding
Proposes symmetric padding for even-sized kernels (2x2, 4x4) to mitigate an information shift erosion, enabling competitive performance with 3x3 convolutions in classification and generation while reducing training memory and time.
Compact convolutional neural networks gain efficiency mainly through depthwise convolutions, expanded channels and complex topologies, which contrarily aggravate the training process. Besides, 3x3 kernels dominate the spatial representation in these models, whereas even-sized kernels (2x2, 4x4) are rarely adopted. In this work, we quantify the shift problem occurs in even-sized kernel convolutions by an information erosion hypothesis, and eliminate it by proposing symmetric padding on four sides of the feature maps (C2sp, C4sp). Symmetric padding releases the generalization capabilities of even-sized kernels at little computational cost, making them outperform 3x3 kernels in image classification and generation tasks. Moreover, C2sp obtains comparable accuracy to emerging compact models with much less memory and time consumption during training. Symmetric padding coupled with even-sized convolutions can be neatly implemented into existing frameworks, providing effective elements for architecture designs, especially on online and continual learning occasions where training efforts are emphasized.
Motivation & Objective
- Investigate why even-sized kernels underperform in deep CNNs and how padding affects their information retention.
- Propose a padding strategy that eliminates shift-related information erosion for even kernels.
- Demonstrate, across classification and generation tasks, that symmetric padding with even kernels can match or exceed 3x3 performance while lowering training costs.
Proposed method
- Quantify the shift problem for even kernels using an information erosion hypothesis.
- Introduce symmetric padding on four sides (C2sp, C4sp) and a grouped padding scheme to realize symmetry within a layer.
- Evaluate C2sp and C4sp on CIFAR-10/100 and ImageNet for classification, and on CIFAR-10, LSUN, and CelebA-HQ for GAN-based generation.
- Compare against standard C3, C2, C4, and other compact blocks (DWConv, ShiftNet, inverted-bottleneck).
- Provide ablation studies and implementation notes to facilitate integration into existing frameworks.
Experimental results
Research questions
- RQ1Does symmetric padding mitigate the shift problem and information erosion caused by even-sized kernels?
- RQ2Can even-sized kernels with symmetric padding achieve comparable or better accuracy than 3x3 kernels at reduced parameters/FLOPs?
- RQ3How do C2sp and C4sp perform relative to other compact blocks in classification and GAN generation tasks?
Key findings
- Symmetric padding eliminates the left-top shift observed with asymmetric padding in 2x2 and 4x4 convolutions.
- C2sp achieves 30%-50% parameter and FLOP savings versus C3 on CIFAR-10/100 with competitive accuracy.
- On ImageNet, ResNet-50 with 0.5x channels using C2sp reduces error by about 0.5% vs C3 in some settings, with notable memory and training speed benefits.
- In GANs, C2sp and C4sp improve image quality and stabilize convergence compared to C3/C4 configurations.
- Compared with ShiftNet and depthwise/separable blocks, C2sp offers competitive accuracy with lower training memory and faster training times.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.