Citation and evidence

GoogLeNet (Inception v1)

16 min full readUpdated 22 references

This article's verification

Report a problem with this article

Edit article
More

Use this article

Raw MarkdownExplore connections

Improve this page

Revision historyDiscuss this article

Topics

AI HistoryAI ModelsComputer Vision

Cite this article

GoogLeNet, also known as Inception v1, is a 22-layer convolutional neural network introduced in 2014 by researchers at Google and collaborating institutions. An ensemble of seven networks won the ImageNet Large Scale Visual Recognition Challenge (ILSVRC) classification task that year. The team reported 6.67% top-5 error after averaging predictions over 144 crops per image. A single network evaluated on one crop had 10.07% top-5 error on the validation set.[1][2]

Related: Inception (deep learning)ResNetBatch NormalizationXception

Google logo
Google logo. Source: Google. Google is a trademark of Google LLC. AI Wiki is not endorsed by or affiliated with Google.

Its Inception module applies filters of different sizes in parallel, then joins the results into one set of feature maps. Small 1×1 convolutions perform dimensionality reduction before the more expensive spatial convolutions. With nine such modules and a single final linear classifier, GoogLeNet has about 7 million parameters in its main network, compared with about 60 million in AlexNet and 138 million in VGG-16.[1][3][5][8]

Christian Szegedy and colleagues first described GoogLeNet in Going Deeper with Convolutions, posted to arXiv on 17 September 2014 and published at the IEEE Conference on Computer Vision and Pattern Recognition in 2015. The name pays tribute to LeNet, an earlier network developed by Yann LeCun and colleagues. GoogLeNet was the first in a family that includes Inception v2, v3, v4 and the Inception-ResNet hybrids.[1][4][5][6]

What problem did GoogLeNet solve?

The 2012 ImageNet challenge showed what deep neural networks could do for image recognition. Krizhevsky, Sutskever and Hinton trained AlexNet on graphics processing units. Their base network had eight learned layers and roughly 60 million parameters. Their winning ensemble recorded 15.3% top-5 test error, compared with 26.2% for the runner-up.[8]

In 2014, Oxford's VGG team stacked small 3×3 convolutional filters in long sequences. Its 16-layer configuration used about 138 million parameters, most of them in the fully connected classifier. An ensemble of seven VGG networks reached 7.3% top-5 test error. The GoogLeNet team pursued depth with a budget of about 1.5 billion multiply-adds per image crop. The team chose the width of each branch to fit that budget.[1][3]

Another precursor was Network in Network by Lin, Chen and Yan. Their network applied small multilayer perceptrons to local patches. A stack of 1×1 convolutional layers can mix information across channels separately at each spatial location. GoogLeNet used that operation to reduce the number of channels entering its 3×3 and 5×5 filters.[1][9]

Szegedy and colleagues drew on the idea that neurons with correlated responses might be grouped together in a sparsely connected network. Irregular sparse connections were difficult to compute efficiently on the hardware of the time. The team used several dense convolutions, each looking at a different neighborhood, as a practical approximation. The authors presented this as a motivation for the design and left open how much it explained the measured gains.[1]

What is the Inception module?

Each Inception module takes one input tensor and sends it through four parallel branches.[1]

  1. A 1×1 convolution.
  2. A 1×1 convolution followed by a 3×3 convolution.
  3. A 1×1 convolution followed by a 5×5 convolution.
  4. A 3×3 max pooling layer followed by a 1×1 convolution.

The four outputs have the same height and width, so the module can concatenate them along the channel dimension. A feature in the 1×1 branch depends on one position in the input map, while features in the 3×3 and 5×5 branches draw on wider neighborhoods. The designer sets the number of channels in each branch. Training learns the values of the filters.[1]

In the first module, called 3a, the 5×5 branch receives a feature map with 192 channels. Its 1×1 convolution first reduces those to 16. A 5×5 convolution producing 32 output channels would use 153,600 weights if it operated on all 192 input channels. With the projection, the two convolutions together use 15,872 weights, excluding biases. Both versions produce 32 channels at the same spatial resolution.[1]

The paper also shows a simpler Inception module that applies the spatial filters directly to the input and passes pooled features through at full width. Stacking those modules makes the next layer increasingly expensive. In GoogLeNet, the two projections before the spatial filters and a third projection after pooling control the width of the next module's input.[1]

How is GoogLeNet structured?

The authors count 22 layers with learned parameters along the longest path from input to prediction, or 27 layers when they include pooling. Counting each operation in each parallel branch separately gives about 100 building blocks, depending on the implementation.[1]

The stem takes a 224×224 RGB image. It applies a 7×7 convolution with stride 2, a 3×3 max pool with stride 2, a 1×1 convolution, a 3×3 convolution and a second 3×3 max pool with stride 2. The resulting 28×28 feature map has 192 channels.[1]

The body contains nine Inception modules. A max-pooling layer between consecutive groups halves the height and width.[1]

GroupModulesSpatial size after group
Group 1Inception 3a, 3b28×28
Group 2Inception 4a, 4b, 4c, 4d, 4e14×14
Group 3Inception 5a, 5b7×7

Expanded article table

Each module has its own allocation of channels. In module 3a, the four branches produce 64, 128, 32 and 32 channels for a total of 256. The final module, 5b, produces 1,024 channels at each of the 49 positions in its 7×7 output.[1]

The head uses global average pooling and one fully connected layer. It averages each 7×7 feature map to a single value, producing a 1,024-dimensional vector. Training applies dropout at a rate of 40%. The linear layer maps the vector to 1,000 output scores, one per ImageNet class, and softmax converts these to a probability distribution.[1]

A dense classifier acting directly on the last feature map would take 7 × 7 × 1,024 input values. Averaging over each channel reduces that to 1,024. The final classifier therefore needs about one million weights to score all 1,000 ImageNet classes.[1]

What are the auxiliary classifiers?

Szegedy and colleagues attached two auxiliary classifiers to intermediate modules so that the early layers would receive a training signal through a shorter path. One used the output of Inception 4a and the other used the output of 4d.[1]

Each auxiliary classifier uses a 5×5 average pool, a 1×1 convolution, a fully connected layer with 1,024 units, 70% dropout and a final linear layer with 1,000 outputs. During training, the team added 0.3 times each auxiliary loss to the main loss. At inference the network discards both auxiliary classifiers.[1]

In follow-up experiments, the authors found that removing the lower auxiliary classifier made little difference and that adding an auxiliary head mainly improved accuracy near the end of training. They interpreted that pattern as evidence for a regularizing effect.[1][5]

How many parameters does GoogLeNet have?

Adding the rounded layer counts in Table 1 of Going Deeper with Convolutions gives about 6.8 million parameters for one inference network, including its final classifier. The paper also describes a twelvefold reduction from AlexNet, a comparison that implies about 5 million. The later, published CVPR paper on Inception v3 describes GoogLeNet as having around 7 million. The two auxiliary training heads are separate from the layers in Table 1.[1][5][8]

NetworkYear introducedLearned layersTorchVision parametersTorchVision top-5 accuracy on ImageNet-1K
AlexNet2012861.1 million79.066%
VGG-16201416138.4 million90.382%
GoogLeNet (Inception v1)2014226,624,90489.53%

Expanded article table

The last two columns give TorchVision's parameter counts and validation accuracies for its pretrained IMAGENET1K_V1 models. It evaluates one center crop per image. Its GoogLeNet builder removes both auxiliary heads by default when loading pretrained weights. The implementation also uses a 3×3 convolution where the paper specifies a 5×5 convolution in the third branch. Counting the two optional auxiliary heads as well gives 13,004,888 trainable parameters in TorchVision, calculated from the layer dimensions in its source code.[11][12][13]

How did GoogLeNet do at ILSVRC 2014?

ILSVRC ranked entries by top-5 error on a held-out test set of about 100,000 images. An image counted as an error when its correct class was absent from all five predictions. The table shows the leading classification teams in the challenge organizers' report.[2][14]

TeamTop-5 test errorClassification entry
GoogLeNet (Google)6.66%First place, seven networks
VGG (University of Oxford)7.32%Second place, seven networks
MSRA (Microsoft Research Asia)8.06%Third place
Andrew Howard8.11%Fourth place
DeeperVision9.51%Fifth place

Expanded article table

The leaderboard lists GoogLeNet's classification error as 0.06656, or 6.656%. Szegedy and colleagues report 6.67% for their final ensemble on both validation and test data. Their validation experiment varied the number of models and crops while scoring the same images.[1][2]

Crops per image per modelOne model, top-5 validation errorSeven models, top-5 validation error
110.07%8.09%
109.15%7.62%
1447.89%6.67%

Expanded article table

Averaging over 144 crops improved the single model by 2.18 percentage points. Using seven models on a single crop improved on the same baseline by 1.98 points. The full submission averaged 1,008 predictions per image.[1]

The team also won object detection in the track that allowed additional training data. Its separate six-network detector classified proposed image regions and reached 43.93% mean average precision across 200 categories. It used the ILSVRC classification images for pretraining and omitted bounding-box regression. In single-object localization, GoogLeNet finished second with 26.44% error, behind VGG at 25.32%.[1][2][14]

Where does the name GoogLeNet come from?

The team chose the capital L in GoogLeNet as a tribute to LeNet-5. Yann LeCun, Léon Bottou, Yoshua Bengio and Patrick Haffner described that network in their 1998 paper on handwritten document recognition. LeNet-5 used convolution, subsampling and a classifier to recognize digits.[1][4]

The authors traced the name Inception to the Network in Network paper and the "we need to go deeper" internet meme associated with Christopher Nolan's film Inception. The nested modules gave the team a way to build a deeper network.[1][9]

The original paper lists Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke and Andrew Rabinovich. The conference version lists affiliations with Google Research, the University of North Carolina at Chapel Hill, the University of Michigan and Magic Leap.[1]

How was GoogLeNet trained?

The team trained the classifiers on the ImageNet challenge training set of about 1.2 million labeled images. It used DistBelief, Google's distributed training system, on CPUs. Training used asynchronous stochastic gradient descent with 0.9 momentum and reduced the learning rate by 4% every eight epochs. The models saw crops of varying sizes and aspect ratios, along with changes in image color. The authors also averaged model weights over training steps for inference.[1]

Six members of the classification ensemble had the architecture in Table 1 of the paper. The seventh was deeper and wider. For each test image, the team used four image scales and selected three square regions per scale. Each region supplied six views, including the full square resized to 224×224, and each view was also flipped horizontally. The team averaged the softmax probabilities over these 144 views and over all seven networks.[1]

What came after GoogLeNet (Inception v2, v3, v4)?

Later Inception networks changed the filters inside the branches, the way the branches were joined and the methods used to train them.[5][6][10]

Inception v2 and Batch Normalization

In February 2015, Sergey Ioffe and Christian Szegedy published Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift, which introduced batch normalization as a layer that normalizes activations across each mini-batch. The paper applied batch normalization to a modified GoogLeNet, replaced the 5×5 convolution in each Inception module with two stacked 3×3 convolutions, and reported a substantial improvement in both training speed and final accuracy. Later papers refer to this network as BN-Inception or Inception v2.[5][6][10]

Inception v3

In December 2015, Szegedy and colleagues released Rethinking the Inception Architecture for Computer Vision, later published at CVPR 2016. Inception v3 split some 7×7 filters into a 1×7 convolution followed by a 7×1 convolution. Other changes included a new way to reduce feature-map size, label smoothing, and batch normalization in the auxiliary classifier. One model on one crop recorded 5.6% top-5 validation error. With four models and 144 crops, the authors reported 3.46% on validation and 3.58% on the test set.[5]

Inception v4 and Inception-ResNet

In February 2016, Szegedy, Ioffe, Vanhoucke, and Alemi released Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning, which appeared at AAAI 2017. This paper introduced Inception v4, an Inception architecture with a revised stem, alongside two hybrid variants, Inception-ResNet-v1 and Inception-ResNet-v2, which combined Inception modules with the residual connections from ResNet. The paper showed that residual connections accelerate training significantly and that an ensemble of one Inception v4 model and three Inception-ResNet-v2 models reached a top-5 error of 3.08 percent on the ImageNet test set.[6]

Xception

In October 2016, François Chollet, the creator of Keras, released his paper on Xception. It treats a depthwise separable convolution as an extreme case of an Inception module. A separate spatial filter acts on each input channel, then a pointwise convolution mixes the channels. At roughly the same parameter count as Inception v3, Xception achieved slightly higher accuracy on ImageNet and a larger gain on Google's internal JFT dataset, which comprised 350 million images and 17,000 classes. The paper appeared at CVPR 2017.[7]

Inception variants summary

VariantYearFirst authorKey contributions
Inception v1 (GoogLeNet)2014Christian SzegedyParallel filter sizes with 1×1 dimension reduction in a 22-layer classifier [1]
Inception v2 (BN-Inception)2015Sergey IoffeBatch normalization and paired 3×3 filters in place of 5×5 filters [10]
Inception v32015Christian SzegedyFactorized convolutions and label smoothing, with 5.6% single-crop top-5 validation error [5]
Inception v42016Christian SzegedyRevised Inception stem and a uniform arrangement of modules [6]
Inception-ResNet-v12016Christian SzegedyResidual connections within Inception blocks, at a similar computational cost to Inception v3 [6]
Inception-ResNet-v22016Christian SzegedyLarger residual variant used in the four-network ensemble that recorded 3.08% top-5 test error [6]
Xception2016François CholletDepthwise separable convolutions and a parameter count similar to Inception v3 [7]

Expanded article table

How did GoogLeNet influence later architectures?

GoogLeNet provided an early example in deep learning of how to choose the width and filter sizes of parallel paths under a fixed computation budget. ResNeXt later used parallel branches with identical shapes and summed their outputs. DenseNet used concatenation for a different purpose, giving each layer access to the feature maps from every earlier layer in its block.[1][15][16]

MobileNet and Xception both separated spatial filtering from channel mixing. MobileNet used depthwise separable convolutions throughout most of its network and let designers scale the number of channels and the input resolution for mobile devices.[7][17]

EfficientNet studied a related question in 2019. Given a larger compute budget, Tan and Le scaled the depth, width and image resolution of a baseline network together. In GoogLeNet, the allocation of filters to individual branches had been chosen by hand.[1][18]

Image classifiers later diverged from the convolutional designs used at ILSVRC 2014. The vision transformer, for example, borrowed the transformer architecture used in language models and applied it to sequences of image patches.[19]

Legacy

GoogLeNet also became a subject for research into what an image classifier learns. In the 2017 Distill article Feature Visualization, researchers optimized images to activate particular GoogLeNet channels. The examples include edges in early layers and features resembling animal parts in deeper layers.[20]

Google distributes pretrained weights for its TensorFlow implementation on Kaggle Models under the Apache 2.0 license. It offers both a classifier and a feature-vector version. The latter provides image representations for transfer learning and omits the layer that assigns ImageNet class scores.[21]

A later use of the Inception family is the Fréchet Inception Distance, which evaluates image generative models by comparing features of real and generated images. Its authors specified the pooling features of Inception v3.[22]

Continue reading

More from See also

Topics:AI HistoryAI ModelsComputer Vision

References

  1. ^1 ^2 ^3 ^4 ^5 ^6 ^7 ^8 ^9 ^10 ^11 ^12 ^13 ^14 ^15 ^16 ^17 ^18 ^19 ^20 ^21 ^22 ^23 ^24 ^25 ^26 ^27 ^28 ^29 ^30 ^31Christian Szegedy et al. Going Deeper with Convolutions. CVPR, 2015, sections 4-8 and tables 1-5. Preprint, 17 September 2014.
  2. ^1 ^2 ^3 ^4ImageNet. ILSVRC 2014 Results. Official classification, localization and detection standings.
  3. ^1 ^2Karen Simonyan and Andrew Zisserman. Very Deep Convolutional Networks for Large-Scale Image Recognition. ICLR, 2015, tables 1-2 and section 4.5.
  4. ^1 ^2Yann LeCun, Léon Bottou, Yoshua Bengio and Patrick Haffner. Gradient-Based Learning Applied to Document Recognition. Proceedings of the IEEE, November 1998.
  5. ^1 ^2 ^3 ^4 ^5 ^6 ^7 ^8Christian Szegedy et al. Rethinking the Inception Architecture for Computer Vision. CVPR, 2016, introduction and tables 3-5.
  6. ^1 ^2 ^3 ^4 ^5 ^6 ^7Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke and Alex Alemi. Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning. AAAI, 2017.
  7. ^1 ^2 ^3François Chollet. Xception: Deep Learning with Depthwise Separable Convolutions. CVPR, 2017.
  8. ^1 ^2 ^3Alex Krizhevsky, Ilya Sutskever and Geoffrey Hinton. ImageNet Classification with Deep Convolutional Neural Networks. Advances in Neural Information Processing Systems 25, 2012.
  9. ^1 ^2Min Lin, Qiang Chen and Shuicheng Yan. Network in Network. ICLR, 2014.
  10. ^1 ^2 ^3Sergey Ioffe and Christian Szegedy. Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift. ICML, 2015.
  11. ^TorchVision. GoogLeNet pretrained weights and inference transforms. PyTorch documentation.
  12. ^TorchVision. GoogLeNet model source. PyTorch documentation, Inception branches and auxiliary classifiers.
  13. ^TorchVision. Models and pretrained weights. PyTorch documentation, image classification weights table.
  14. ^1 ^2Olga Russakovsky et al. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision, 2015, table 8.
  15. ^Saining Xie et al. Aggregated Residual Transformations for Deep Neural Networks. CVPR, 2017.
  16. ^Gao Huang, Zhuang Liu, Laurens van der Maaten and Kilian Weinberger. Densely Connected Convolutional Networks. CVPR, 2017.
  17. ^Andrew Howard et al. MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. arXiv, 2017.
  18. ^Mingxing Tan and Quoc Le. EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. ICML, 2019.
  19. ^Alexey Dosovitskiy et al. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. ICLR, 2021.
  20. ^Chris Olah, Alexander Mordvintsev and Ludwig Schubert. Feature Visualization. Distill, 2017.
  21. ^Google. Inception v1. Kaggle Models, TF-Slim ImageNet classifier and feature-vector exports.
  22. ^Martin Heusel et al. GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium. Advances in Neural Information Processing Systems 30, 2017.

Improve this article

Add missing citations, update stale details, or write a clearer explanation. Anyone can edit: changes go live when you publish, and every edit is checked by an editor.

7 revisions · v7 · 3,210 words · full history

Fact-checks are independent of edits: a reviewer re-verifies the article against its sources and stamps the date. How we verify

Research and drafting on this wiki are AI-assisted, under named human editorial standards. How AI is used here

Reviewer note: Independent fact-check of the full article against its cited sources (85 claims, 11 sources fetched); 3 material + 7 minor fixed

Cite this page: AI Wiki. "GoogLeNet (Inception v1)." aiwiki.ai, updated 1 Dec 2026, fact-checked 5 Nov 2026. CC BY 4.0. https://aiwiki.ai/wiki/googlenet

Edit article