Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs

By Xiaohan Ding, X. Zhang, Yizhuang Zhou, Jungong Han, Guiguang Ding, Jian‐Yuan Sun. Computer Vision and Pattern Recognition, 2022

781 citations recorded by the source corpus.

We revisit large kernel design in modern convolutional neural networks (CNNs). Inspired by recent advances in vision transformers (ViTs), in this paper, we demonstrate that using a few large convolutional kernels instead of a stack of small kernels could be a more powerful paradigm. We suggested five guidelines, e.g., applying re-parameterized large depthwise convolutions, to design efficient high-performance large-kernel CNNs. Following the guidelines, we propose RepLKNet, a pure CNN architecture whose kernel size is as large as 31×31, in contrast to commonly used 3×3. RepLKNet greatly closes the performance gap between CNNs and ViTs, e.g., achieving comparable or superior results than Swin Transformer on ImageNet and a few typical downstream tasks, with lower latency. RepLKNet also shows nice scalability to big data and large models, obtaining 87.8% top-1 accuracy on ImageNet and 56.0% mIoU on ADE20K, which is very competitive among the state-of-the-arts with similar model sizes. Our study further reveals that, in contrast to small-kernel CNNs, large-kernel CNNs have much larger effective receptive fields and higher shape bias rather than texture bias. Code & models at https://github.com/megvii-research/RepLKNet.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Neurology

View Paper: https://www.semanticscholar.org/paper/9f1b0e4c42a5a85d4c023030557ade4419f82ecf

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jiashi Feng
  2. Qibin Hou
  3. Shuicheng Yan
  4. Xinchao Wang
  5. Ming-Ming Cheng
  6. Weihao Yu
  7. Hongpeng Liao
  8. Chien-Yao Wang

In Computer Vision and Pattern Recognition

  1. Jiashi Feng
  2. Dacheng Tao
  3. Shuicheng Yan
  4. Luc Van Gool
  5. Ming-Ming Cheng
  6. Qibin Hou
  7. Ming-Hsuan Yang
  8. Xinchao Wang

In Neurology

  1. Shuicheng Yan
  2. Kai Chen
  3. Alexey Bochkovskiy
  4. Hongpeng Liao
  5. Yudong Wang
  6. Wenwei Zhang
  7. Pan Zhou
  8. Hao He

Citations in the corpus