GhostNet: More Features From Cheap Operations

Kai Han, Yunhe Wang, Qi Tian, Jianyuan Guo, Chunjing Xu, Chang Xu

Abstract

GhostNet is a lightweight neural network architecture designed for mobile devices that exploits the inherent redundancy in convolutional feature maps. By using a "Ghost module" to generate half of a layer's features through cheap linear transformations instead of expensive convolutions, it outperforms MobileNetV3 in both accuracy and efficiency on ImageNet. This approach allows for significant reductions in computational cost (FLOPs) and parameter count with minimal impact on model performance.

Introduction: The Redundancy Problem

Deploying state-of-the-art convolutional neural networks (CNNs) on embedded devices, such as smartphones or IoT sensors, remains a challenge due to limited hardware resources and the high computational cost of standard convolutions. While architectures like MobileNet and ShuffleNet have reduced FLOPs using depthwise and pointwise convolutions, a lingering inefficiency remains: feature map redundancy.

Visualizing redundancy in feature maps: many maps are "ghosts" of others and can be generated via cheap operations.

As illustrated in the figure above, feature maps in well-trained CNNs often look remarkably similar. The authors of GhostNet argue that computing all these similar maps from scratch using standard convolution filters is a waste of energy and time. Instead, they propose "embracing" this redundancy by finding a cheaper way to manufacture these "ghost" maps.

The Ghost Module

The core innovation of this architecture is the Ghost Module, which serves as a drop-in replacement for standard convolutional layers. The module operates in two distinct steps:

  1. Primary Convolution: A small number of "intrinsic" feature maps are generated using a standard (but smaller) convolution.
  2. Cheap Operations: To produce the remaining feature maps, the module applies a series of "cheap" linear transformations—specifically, depthwise convolutions—to the intrinsic maps.
Comparison between a standard convolutional layer and the proposed Ghost module.

By concatenating the intrinsic maps with these "ghost" maps, the module produces the same total number of features as a standard layer but with significantly fewer parameters and calculations. A key finding was that the relationship between similar feature maps is often simple enough to be captured by a $3 \times 3$ or $5 \times 5$ linear kernel, resulting in extremely low reconstruction error.

Architecture and Ghost Bottlenecks

To build a full network, the authors designed Ghost Bottlenecks, which are similar to ResNet's residual blocks but utilize Ghost modules. These bottlenecks are stacked to create GhostNet. Unlike MobileNetV3, which relies on hardware-intensive operations like "hard-swish" activations, GhostNet prioritizes simple operations to ensure high actual inference speed on mobile CPUs.

Experimental Results

The authors evaluated GhostNet across several major benchmarks, demonstrating its efficiency and versatility:

  • ImageNet Supremacy: GhostNet (1.0x) achieved 73.9% top-1 accuracy with only 141M FLOPs, outperforming MobileNetV3 Large (73.3% with 155M FLOPs).
  • Hardware Speed: On an ARM-based phone using TFLite, GhostNet achieved approximately 0.5% higher accuracy than MobileNetV3 with comparable latency (around 40ms).
  • Plug-and-Play Efficiency: When applied to a ResNet-50 backbone, the Ghost module reduced FLOPs by 50% while maintaining a top-1 accuracy of 75.0% (only a 0.3% drop from the original).
  • Object Detection: Using GhostNet as a backbone for Faster R-CNN on MS COCO provided similar mAP to MobileNetV3 but with roughly 25% fewer FLOPs.

Conclusion and Future Work

GhostNet demonstrates that linear transformations are a powerful tool for reducing the computational overhead of deep learning models. While the current implementation uses depthwise convolutions as the "cheap operation," future work could explore other transformations like affine transformations or wavelets. Additionally, integrating Ghost modules into Neural Architecture Search (NAS) frameworks could yield even more optimized "Ghost-NAS" models for specific hardware targets.

Summary updated

BibTeX
@inproceedings{han2020ghostnet,
  author = {Kai Han and Yunhe Wang and Qi Tian and Jianyuan Guo and Chunjing Xu and Chang Xu},
  title = {{GhostNet: More Features From Cheap Operations}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00165},
}
Figure