Abstract
ShiftwiseConv (SW) demonstrates that large convolutional kernel performance can be achieved using standard 3x3 kernels combined with biologically-inspired shift operations and multi-path feature fusion. This approach overcomes the diminishing returns and computational costs of massive kernels (e.g., 31x31), outperforming state-of-the-art Transformers and large-kernel CNNs across classification, detection, and segmentation tasks. Evaluations show that the "large kernel effect" is a result of connectivity patterns rather than physical kernel size.
Introduction
Vision Transformers (ViTs) have long held an advantage in computer vision due to their ability to model long-range dependencies. CNNs recently attempted to close this gap by adopting "large kernels"—massive sliding windows (e.g., 31x31 or 51x51) that mimic the global receptive field of Transformers. However, these large kernels have hit a wall of diminishing returns and are computationally expensive to optimize.
ShiftwiseConv (SW) addresses this by questioning whether the physical size of the kernel is the essential factor. The authors argue that the "large kernel effect" is actually driven by two hidden factors: extracting features at a specific granularity and fusing those features through multiple pathways.
Methodology: Shiftwise Convolution
The researchers introduce the Shiftwise (SW) Convolution module, a "plug-and-play" component designed to replace large kernels with efficient 3x3 ones.
The Shift Operation
Instead of using a giant kernel to look at distant pixels, the model uses small 3x3 group convolutions and then "shifts" the resulting feature maps spatially. This mimics the spatial offsets of a large kernel without the parameter explosion associated with increasing kernel dimensions.
Biological Inspiration
The architecture is modeled after the human retina, where photoreceptors (rods and cones) send signals to ganglion cells through a complex, multi-pathway network of bipolar, horizontal, and amacrine cells. This biological structure allows for sophisticated spatial integration through diverse connectivity.
Multi-path Fusion and Reparameterization
To maximize feature utilization, the SW module uses multiple "edges" (paths) and disordered offset calculations to ensure the network captures a wide variety of spatial relationships. During training, the model uses multiple branches to learn diverse features. These are mathematically collapsed via reparameterization (Rep) into a single, streamlined branch for inference, ensuring the model remains fast during deployment.
Key Insights: Granularity vs. Connectivity
A central finding of the paper is the decoupling of feature extraction from long-distance modeling. By letting 3x3 kernels handle the "what" (fine-grained details) and the SW module handle the "where" (long-range connectivity), the model becomes significantly more efficient.
Surprisingly, experiments showed that 3x3 kernels can actually surpass the performance of large kernels when connectivity is handled correctly. This suggests that the coarse granularity of very large kernels might actually lead to the loss of important spatial information.
Experimental Results
ShiftwiseConv consistently outperformed established heavyweights like ConvNeXt, SLaK, and UniRepLKNet across several industry-standard benchmarks:
- ImageNet-1K (Classification): SW-tiny achieved 83.4% accuracy, beating UniRepLKNet-T (83.2%) and SLaK-T (82.5%) with similar or lower FLOPs.
- MS COCO (Detection): On COCO, SW-tiny reached an AP$^{box}$ of 52.21, significantly higher than Swin-T (50.4) and ConvNeXt-T (50.4).
- ADE20K (Segmentation): SW-tiny hit 49.22 mIoU, a massive jump over ConvNeXt-T’s 46.0.
- nuScenes (3D Vision): In the monocular 3D object detection challenge, the model ranked first among vision-only methods compared to other established backbones.
Conclusion
ShiftwiseConv proves that the benefits of large kernels can be replicated more efficiently through clever connectivity and biological inspiration. While the "shift" operation and group convolutions require careful implementation to maximize hardware utilization in standard frameworks, the architecture sets a new standard for pure CNN performance. Future work may involve applying this shift-based long-range modeling to domains like video processing or medical imaging where spatial context is critical.
Summary updated