arXiv(opens in a new tab)Computer ScienceNov 2019Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:1911.11907

GhostNet: More Features From Cheap Operations

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

Abstract

Deploying convolutional neural networks (CNNs) on embedded devices is difficult due to the limited memory and computation resources. The redundancy in feature maps is an important characteristic of those successful CNNs, but has rarely been investigated in neural architecture design. This paper proposes a novel Ghost module to generate more feature maps from cheap operations. Based on a set of intrinsic feature maps, we apply a series of linear transformations with cheap cost to generate many ghost feature maps that could fully reveal information underlying intrinsic features. The proposed Ghost module can be taken as a plug-and-play component to upgrade existing convolutional neural networks. Ghost bottlenecks are designed to stack Ghost modules, and then the lightweight GhostNet can be easily established. Experiments conducted on benchmarks demonstrate that the proposed Ghost module is an impressive alternative of convolution layers in baseline models, and our GhostNet can achieve higher recognition performance (e.g. 75.7%75.7\% top-1 accuracy) than MobileNetV3 with similar computational cost on the ImageNet ILSVRC-2012 classification dataset. Code is available at https://github.com/huawei-noah/ghostnet.

1 Introduction

Figure

Figure 1: Visualization of some feature maps generated by the first residual group in ResNet-50, where three similar feature map pair examples are annotated with boxes of the same color. One feature map in the pair can be approximately obtained by transforming the other one through cheap operations (denoted by spanners).

Deep convolutional neural networks have shown excellent performance on various computer vision tasks, such as image recognition [30, 13], object detection [43, 33], and semantic segmentation [4]. Traditional CNNs usually need a large number of parameters and floating point operations (FLOPs) to achieve a satisfactory accuracy, e.g. ResNet-50 [16] has about 25.625.6M parameters and requires 4.14.1B FLOPs to process an image of size 224×224224\times 224. Thus, the recent trend of deep neural network design is to explore portable and efficient network architectures with acceptable performance for mobile devices (e.g. smart phones and self-driving cars).

Over the years, a series of methods have been proposed to investigate compact deep neural networks such as network pruning [14, 39], low-bit quantization [42, 26], knowledge distillation [19, 57], etc. Han et al. [14] proposed to prune the unimportant weights in neural networks. [31] utilized ℓ1\ell_{1}-norm regularization to prune filters for efficient CNNs. [42] quantized the weights and the activations to 1-bit data for achieving large compression and speed-up ratios. [19] introduced knowledge distillation for transferring knowledge from a larger model to a smaller model. However, performance of these methods are often upper bounded by pre-trained deep neural networks that have been taken as their baselines.

Besides them, efficient neural architecture design has a very high potential for establishing highly efficient deep networks with fewer parameters and calculations, and recently has achieved considerable success. This kind of methods can also provide new search unit for automatic search methods [62, 55, 5]. For instance, MobileNet [21, 44, 20] utilized the depthwise and pointwise convolutions to construct a unit for approximating the original convolutional layer with larger filters and achieved comparable performance. ShuffleNet [61, 40] further explored a channel shuffle operation to enhance the performance of lightweight models.

Abundant and even redundant information in the feature maps of well-trained deep neural networks often guarantees a comprehensive understanding of the input data. For example, Figure 1 presents some feature maps of an input image generated by ResNet-50, and there exist many similar pairs of feature maps, like a ghost of each another. Redundancy in feature maps could be an important characteristic for a successful deep neural network. Instead of avoiding the redundant feature maps, we tend to embrace them, but in a cost-efficient way.

In this paper, we introduce a novel Ghost module to generate more features by using fewer parameters. Specifically, an ordinary convolutional layer in deep neural networks will be split into two parts. The first part involves ordinary convolutions but their total number will be rigorously controlled. Given the intrinsic feature maps from the first part, a series of simple linear operations are then applied for generating more feature maps. Without changing the size of output feature map, the overall required number of parameters and computational complexities in this Ghost module have been decreased, compared with those in vanilla convolutional neural networks. Based on Ghost module, we establish an efficient neural architecture, namely, GhostNet. We first replace original convolutional layers in benchmark neural architectures to demonstrate the effectiveness of Ghost modules, and then verify the superiority of our GhostNets on several benchmark visual datasets. Experimental results show that, the proposed Ghost module is able to decrease computational costs of generic convolutional layer while preserving similar recognition performance, and GhostNets can surpass state-of-the-art efficient deep models such as MobileNetV3 [20], on various tasks with fast inference on mobile devices.

The rest of the paper is organized as follows: section 2 briefly concludes the related work in the area, followed by the proposed Ghost module and GhostNet in section 3, the experiments and analysis in section 4, and finally, conclusion in section 5.

References (59)

  • TensorFlow: Large-scale machine learning on heterogeneous systems, 2015
  • Proxylessnas: Direct neural architecture search on target task and hardware
  • Data-free learning of student networks
  • Semantic image segmentation with deep convolutional nets and fully connected crfs
  • Fasterseg: Searching for faster real-time semantic segmentation
  • All you need is a few shifts: Designing efficient convolutional neural networks for image classification
  • Imagenet: A large-scale hierarchical image database
  • Exploiting linear structure within convolutional networks for efficient evaluation
  • Autogan: Neural architecture search for generative adversarial networks
  • Model compression with adversarial robustness: A unified optimization framework
  • Co-teaching: Robust training of deep neural networks with extremely noisy labels
  • Attribute-aware attention model for fine-grained representation learning
  • Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding
  • Learning both weights and connections for efficient neural network
  • Deep residual learning for image recognition
  • Amc: Automl for model compression and acceleration on mobile devices
  • Channel pruning for accelerating very deep neural networks
  • Distilling the Knowledge in a Neural Network
  • MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
  • Squeeze-and-excitation networks
  • Data-driven sparse structure selection for deep neural networks
  • Binarized neural networks
  • Batch normalization: Accelerating deep network training by reducing internal covariate shift
  • Quantization and training of neural networks for efficient integer-arithmetic-only inference
  • Speeding up convolutional neural networks with low rank expansions
  • Constructing fast network through deconstruction of convolution
  • Learning multiple layers of features from tiny images
  • Imagenet classification with deep convolutional neural networks
  • Pruning filters for efficient convnets
  • Feature pyramid networks for object detection
  • Focal loss for dense object detection
  • Microsoft coco: Common objects in context
  • Learning instance-wise sparsity for accelerating deep models
  • Metapruning: Meta learning for automatic neural network channel pruning
  • Rethinking the value of network pruning
  • Bi-real net: Enhancing the performance of 1-bit cnns with improved representational capability and advanced training algorithm
  • Thinet: A filter level pruning method for deep neural network compression
  • Shufflenet v2: Practical guidelines for efficient cnn architecture design
  • Importance estimation for neural network pruning
  • Xnor-net: Imagenet classification using binary convolutional neural networks
  • Faster R-CNN: Towards real-time object detection with region proposal networks
  • Mobilenetv2: Inverted residuals and linear bottlenecks
  • Searching for accurate binary neural architectures
  • Very deep convolutional networks for large-scale image recognition
  • Mnasnet: Platform-aware neural architecture search for mobile
  • E2-train: Training state-of-the-art cnns with over 80% energy savings
  • Learning versatile filters for efficient convolutional neural networks
  • Cnnpack: packing convolutional neural networks in the frequency domain
  • Learning structured sparsity in deep neural networks
  • Fbnet: Hardware-aware efficient convnet design via differentiable neural architecture search
  • Shift: A zero flop, zero parameter alternative to spatial convolutions
  • Positive-unlabeled compression on the cloud
  • Cars: Continuous evolution for efficient neural architecture search (opens arXiv in a new tab)
  • Legonet: Efficient convolutional neural networks with lego filters
  • Learning from multiple teacher networks
  • Slimmable neural networks
  • Nisp: Pruning networks using neuron importance score propagation
  • Shufflenet: An extremely efficient convolutional neural network for mobile devices
  • Learning transferable architectures for scalable image recognition