All models

GoogLeNet

The 22-layer Inception network that won ILSVRC 2014 by spending compute wisely rather than adding size.

Image classification · 197 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (51 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
13M
Operations
197
Framework
PyTorch
Recurrent
No
Published
CVPR (arXiv 2014)
Cited by
47,087 (as of 9 October 2026)
Authors
Christian Szegedy, Wei Liu, Yangqing Jia and others
Name in source
googlenet
License
BSD-3-Clause
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m5222
Graph hash
9763c4f4984b0d307fa12bcaf634f5a5cb61992e655b5ec0b7c0b1924578239f
Skeleton hash
e0f1f21b93c605f0dcbb110216d79fa1783b813cb43ed6414d926cc06819dfec
Architecture hash
a222a99b7b23026131b4e9c28285a6d4a051bc97be158418a7163e14b9259250
Diagram SHA-256
f801e18a8d52530bdbab4336025a79acc190ae752087f0e7eb0b2e414390eeb3
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

torchvision.models.get_model('googlenet', weights=None)

What it is

About this model's family

GoogLeNet is the 22-layer incarnation of the Inception architecture that its authors entered in the ILSVRC 2014 ImageNet challenge. The torchvision docs label it Inception v1. The pitch is about using compute well rather than simply adding size: the design increases depth and width while keeping the computational budget constant. The authors note it uses 12 times fewer parameters than the 2012 winning architecture of Krizhevsky et al while being significantly more accurate. Most experiments kept to a budget of 1.5 billion multiply-adds at inference so the model could be put to real use rather than remain an academic curiosity.

The Inception module runs convolutions of several sizes side by side on the same input and concatenates their output filter banks into a single vector for the next stage. The filter sizes are restricted to 1x1, 3x3 and 5x5, a choice the authors admit was based more on convenience than necessity. The motivating idea is to approximate an optimal local sparse structure with readily available dense components. Naively this blows up compute, so 1x1 convolutions compute dimension reductions before the expensive 3x3 and 5x5 convolutions, and they carry a ReLU so they also add nonlinearity. The lower layers stay as traditional convolutions and Inception modules start only higher up, for training memory reasons rather than principle.

GoogLeNet is 22 layers deep counting only parameterised layers, or 27 with pooling. Input is 224x224 RGB with mean subtraction, and every convolution, including those inside the modules, uses rectified linear activation. Moving from fully connected layers to average pooling before the classifier improved top-1 accuracy by about 0.6%, though dropout remained essential. Auxiliary classifiers on top of the Inception (4a) and (4d) modules add their losses during training with a 0.3 weight and are discarded at inference. The final submission reached 6.67% top-5 error on both validation and test data, first among the ILSVRC 2014 participants. For detection the Inception model served as the region classifier in an R-CNN-style pipeline, and an ensemble of 6 ConvNets lifted the result from 40% to 43.9%.

Key idea. The Inception module, a carefully crafted design that approximates a sparse local structure with parallel dense 1x1, 3x3 and 5x5 convolutions and uses 1x1 reductions to keep compute in check, letting depth and width grow at a constant budget.

  • googlenet
  • inception v1
  • inception
  • going deeper with convolutions
  • image classification
  • imagenet
  • ilsvrc 2014
  • quantized googlenet
  • torchvision

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{szegedy2014goingdeeperconvolutions,
      title={Going Deeper with Convolutions}, 
      author={Christian Szegedy and Wei Liu and Yangqing Jia and Pierre Sermanet and Scott Reed and Dragomir Anguelov and Dumitru Erhan and Vincent Vanhoucke and Andrew Rabinovich},
      year={2014},
      eprint={1409.4842},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1409.4842}, 
}