RepNeXt: A Fast Multi-Scale CNN using Structural Reparameterization

Mingshu Zhao, Yi Luo, Yong Ouyang
6/23/2024
cs.CV

Official code: suous/RepNeXt (50 stars, Apache-2.0, last commit 2024-10-13).

Abstract

In the realm of resource-constrained mobile vision tasks, the pursuit of efficiency and performance consistently drives innovation in lightweight Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs). While ViTs excel at capturing global context through self-attention mechanisms, their deployment in resource-limited environments is hindered by computational complexity and latency. Conversely, lightweight CNNs are favored for their parameter efficiency and low latency. This study investigates the complementary advantages of CNNs and ViTs to develop a versatile vision backbone tailored for resource-constrained applications. We introduce RepNeXt, a novel model series integrates multi-scale feature representations and incorporates both serial and parallel structural reparameterization (SRP) to enhance network depth and width without compromising inference speed. Extensive experiments demonstrate RepNeXt's superiority over current leading lightweight CNNs and ViTs, providing advantageous latency across various vision benchmarks. RepNeXt-M4 matches RepViT-M1.5's 82.3\% accuracy on ImageNet within 1.5ms on an iPhone 12, outperforms its AP$^{box}$ by 1.3 on MS-COCO, and reduces parameters by 0.7M. Codes and models are available at https://github.com/suous/RepNeXt.

View on arXivView PDF

Code Implementations(1)

suous/RepNeXtOfficial100%
Apache-2.0

RepNeXt: A Fast Multi-Scale CNN using Structural Reparameterization

504Shell, PythonJun 25, 20242 years agoApache-2.0
computer-vision

Cite this paper

@article{zhao2024repnext,
  title  = {RepNeXt: A Fast Multi-Scale CNN using Structural Reparameterization},
  author = {Mingshu Zhao and Yi Luo and Yong Ouyang},
  year   = {2024},
  eprint = {2406.16004},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.16004v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.16004.svg)](https://codeofpaper.com/paper/2406.16004)

Discussion