
GoogLeNet
Image classification197 ops13M params
The 22-layer Inception network that won ILSVRC 2014 by spending compute wisely rather than adding size.
Image classification · 208 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
torchvision.models.get_model('quantized_googlenet', weights=None, quantize=False) 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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}