Inception (deep learning architecture)
Original author(s) | Google AI |
---|---|
Initial release | 2014 |
Stable release | v4
/ 2017 |
Repository | github |
Type | |
License | Apache 2.0 |
Inception[1] is a family of convolutional neural network (CNN) for computer vision, introduced by researchers at Google in 2014 as GoogLeNet (later renamed Inception v1). The series was historically important as an early CNN that separates the stem (data ingest), body (data processing), and head (prediction), an architectural design that persists in all modern CNN.[2]
Version history
[edit]Inception v1
[edit]In 2014, a team at Google developed the GoogLeNet architecture, an instance of which won the ImageNet Large-Scale Visual Recognition Challenge 2014 (ILSVRC14).[1][3]
The name came from the LeNet of 1998, since both LeNet and GoogLeNet are CNNs. They also called it "Inception" after a "we need to go deeper" internet meme, a phrase from Inception (2010) the film.[1] Because later, more versions were released, the original Inception architecture was renamed again as "Inception v1".
The models and the code were released under Apache 2.0 license on GitHub.[4]
The Inception v1 architecture is a deep CNN composed of 22 layers. Most of these layers were "Inception modules". The original paper stated that Inception modules are a "logical culmination" of Network in Network[5] and (Arora et al, 2014).[6]
Since Inception v1 is deep, it suffered from the vanishing gradient problem. The team solved it by using two "auxiliary classifiers", which are linear-softmax classifiers inserted at 1/3-deep and 2/3-deep within the network, and the loss function is a weighted sum of all three:
These were removed after training was complete. This was later solved by the ResNet architecture.
The architecture consists of three parts stacked on top of one another:[2]
- The stem (data ingestion): The first few convolutional layers perform data preprocessing to downscale images to a smaller size.
- The body (data processing): The next many Inception modules perform the bulk of data processing.
- The head (prediction): The final fully-connected layer and softmax produces a probability distribution for image classification.
This structure is used in most modern CNN architectures.
Inception v2
[edit]Inception v2 was released in 2015, in a paper that is more famous for proposing batch normalization.[7][8] It had 13.6 million parameters.
It improves on Inception v1 by adding batch normalization, and removing dropout and local response normalization which they found became unnecessary when batch normalization is used.
Inception v3
[edit]Inception v3 was released in 2016.[7][9] It improves on Inception v2 by using factorized convolutions.
As an example, a single 5×5 convolution can be factored into 3×3 stacked on top of another 3×3. Both has a receptive field of size 5×5. The 5×5 convolution kernel has 25 parameters, compared to just 18 in the factorized version. Thus, the 5×5 convolution is strictly more powerful than the factorized version. However, this power is not necessarily needed. Empirically, the research team found that factorized convolutions help.
It also uses a form of dimension-reduction by concatenating the output from a convolutional layer and a pooling layer. As an example, a tensor of size can be downscaled by a convolution with stride 2 to , and by maxpooling with pool size to . These are then concatenated to .
Other than this, it also removed the lowest auxiliary classifier during training. They found that the auxiliary head worked as a form of regularization.
They also proposed label-smoothing regularization in classification. For an image with label , instead of making the model to predict the probability distribution , they made the model predict the smoothed distribution where is the total number of classes.
Inception v4
[edit]In 2017, the team released Inception v4, Inception ResNet v1, and Inception ResNet v2.[10]
Inception v4 is an incremental update with even more factorized convolutions, and other complications that were empirically found to improve benchmarks.
Inception ResNet v1 and v2 are both modifications of Inception v4, where residual connections are added to each Inception module, inspired by the ResNet architecture.[11]
Xception
[edit]Xception ("Extreme Inception") was published in 2017.[12] It is a linear stack of depthwise separable convolution layers with residual connections. The design was proposed on the hypothesis that in a CNN, the cross-channels correlations and spatial correlations in the feature maps can be entirely decoupled.
References
[edit]- ^ a b c Szegedy, Christian; Wei Liu; Yangqing Jia; Sermanet, Pierre; Reed, Scott; Anguelov, Dragomir; Erhan, Dumitru; Vanhoucke, Vincent; Rabinovich, Andrew (June 2015). "Going deeper with convolutions". 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). IEEE. pp. 1–9. arXiv:1409.4842. doi:10.1109/CVPR.2015.7298594. ISBN 978-1-4673-6964-0.
- ^ a b Zhang, Aston; Lipton, Zachary; Li, Mu; Smola, Alexander J. (2024). "8.4. Multi-Branch Networks (GoogLeNet)". Dive into deep learning. Cambridge New York Port Melbourne New Delhi Singapore: Cambridge University Press. ISBN 978-1-009-38943-3.
- ^ Official repo of Inception V1 on Kaggle, published by Google.
- ^ "google/inception". Google. 2024-08-19. Retrieved 2024-08-19.
- ^ Lin, Min; Chen, Qiang; Yan, Shuicheng (2014-03-04). "Network In Network". arXiv:1312.4400 [cs.NE].
- ^ Arora, Sanjeev; Bhaskara, Aditya; Ge, Rong; Ma, Tengyu (2014-01-27). "Provable Bounds for Learning Some Deep Representations". Proceedings of the 31st International Conference on Machine Learning. PMLR: 584–592.
- ^ a b Szegedy, Christian; Vanhoucke, Vincent; Ioffe, Sergey; Shlens, Jon; Wojna, Zbigniew (2016). "Rethinking the Inception Architecture for Computer Vision". Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR): 2818–2826.
- ^ Official repo of Inception V2 on Kaggle, published by Google.
- ^ Official repo of Inception V3 on Kaggle, published by Google.
- ^ Szegedy, Christian; Ioffe, Sergey; Vanhoucke, Vincent; Alemi, Alexander (2017-02-12). "Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning". Proceedings of the AAAI Conference on Artificial Intelligence. 31 (1). arXiv:1602.07261. doi:10.1609/aaai.v31i1.11231. ISSN 2374-3468.
- ^ He, Kaiming; Zhang, Xiangyu; Ren, Shaoqing; Sun, Jian (10 Dec 2015). Deep Residual Learning for Image Recognition. arXiv:1512.03385.
- ^ Chollet, Francois (2017). "Xception: Deep Learning With Depthwise Separable Convolutions". Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR): 1251–1258.
External links
[edit]- A list of all Inception models released by Google: "models/research/slim/README.md at master · tensorflow/models". GitHub. Retrieved 2024-10-19.