RepGhost: A Hardware-Efficient Ghost Module via Re-parameterization
Chengpeng Chen, Zichao Guo, Haien Zeng, Pengfei Xiong, Jian Dong
TL;DR
This paper addresses the hardware inefficiency of feature reuse in lightweight CNNs that rely on concatenation. It introduces RepGhost, a module that realizes feature reuse implicitly through structural re-parameterization, converting multi-branch training-time diversity into a simplified inference-time weight-space fusion. Built atop RepGhost, RepGhostNet demonstrates superior accuracy-latency trade-offs on ImageNet and COCO across mobile devices, outperforming GhostNet, MobileNetV3, and related architectures while reducing runtime costs. The approach challenges the convention that concatenation is cost-free, offering a practical path toward more hardware-efficient vision models with broad mobile applicability.
Abstract
Feature reuse has been a key technique in light-weight convolutional neural networks (CNNs) architecture design. Current methods usually utilize a concatenation operator to keep large channel numbers cheaply (thus large network capacity) by reusing feature maps from other layers. Although concatenation is parameters- and FLOPs-free, its computational cost on hardware devices is non-negligible. To address this, this paper provides a new perspective to realize feature reuse implicitly and more efficiently instead of concatenation. A novel hardware-efficient RepGhost module is proposed for implicit feature reuse via reparameterization, instead of using concatenation operator. Based on the RepGhost module, we develop our efficient RepGhost bottleneck and RepGhostNet. Experiments on ImageNet and COCO benchmarks demonstrate that our RepGhostNet is much more effective and efficient than GhostNet and MobileNetV3 on mobile devices. Specially, our RepGhostNet surpasses GhostNet 0.5x by 2.5% Top-1 accuracy on ImageNet dataset with less parameters and comparable latency on an ARM-based mobile device. Code and model weights are available at https://github.com/ChengpengChen/RepGhost.
