Transformers have quickly shined in the computer vision world since the emergence of Vision Transformers (ViTs). The dominant role of convolutional neural networks (CNNs) seems to be challenged by increasingly effective transformer-based models. Very recently, a couple of advanced convolutional models strike back with large kernels motivated by the local but large attention mechanism, showing appealing performance and efficiency. While one of them, i.e. RepLKNet, impressively manages to scale the kernel size to 31x31 with improved performance, the performance starts to saturate as the kernel size continues growing, compared to the scaling trend of advanced ViTs such as Swin Transformer. In this paper, we explore the possibility of training extreme convolutions larger than 31x31 and test whether the performance gap can be eliminated by strategically enlarging convolutions. This study ends up with a recipe for applying extremely large kernels from the perspective of sparsity, which can smoothly scale up kernels to 61x61 with better performance. Built on this recipe, we propose Sparse Large Kernel Network (SLaK), a pure CNN architecture equipped with 51x51 kernels that can perform on par with or better than state-of-the-art hierarchical Transformers and modern ConvNet architectures like ConvNeXt and RepLKNet, on ImageNet classification as well as typical downstream tasks. Our code is available here https://github.com/VITA-Group/SLaK.
翻译:自视野变异器(View Greenerations)出现以来,计算机视野世界的变异器迅速发光。 革命神经网络(CNNs)的主导作用似乎受到日益有效的变异器模型的挑战。 最近,一些先进的变异模型以当地但巨大的关注机制驱动的大型内核反弹,显示了令人兴奋的性能和效率。其中之一,即RepLKNet,通过提高性能,将内核规模缩小到31x31,其性能开始随着内核规模的不断增长而饱和。与Swin变异器等先进的变异器的扩大趋势相比,我们探索了培训超过31x31的极端变异模型的可能性,并测试了能否通过战略性地放大变异器来消除性能差距。虽然其中之一,即RepLKNetNet, 将内核网络内核部分顺利扩大至61x61,其性能更好性能。在这个配制的配制中,我们提议在高级 Kernel-K-TA网络(SLK) 上分析高额的K-chnial-chal-chal 架构,可以进行更完善的Silversal-K-K-ch-ch-chnial-ch-K-ch-ch-chil) 。