# GoogleNet

## Introduction

![](/files/-LvMRsD3gSezT3XQmAnN)

On this chapter you will learn about the googleNet (Winning architecture on ImageNet 2014) and it's inception layers.

![](/files/-LvMRsD5H0VWrRYjO2DD)

googleNet has 22 layer, and almost 12x less parameters (So faster and less then Alexnet and much more accurate.

Their idea was to make a model that also could be used on a smart-phone (Keep calculation budget around 1.5 billion multiply-adds on prediction).

## Inception Layer

The idea of the inception layer is to cover a bigger area, but also keep a fine resolution for small information on the images. So the idea is to convolve in parallel different sizes from the most accurate detailing (1x1) to a bigger one (5x5).

The idea is that a series of gabor filters with different sizes, will handle better multiple objects scales. With the advantage that all filters on the inception layer are learnable.

The most straightforward way to improve performance on deep learning is to use more layers and more data, googleNet use 9 inception modules. The problem is that more parameters also means that your model is more prone to overfit. So to avoid a parameter explosion on the inception layers, all bottleneck techniques are exploited.

![](/files/-LvMRsD7Mx_f1myi_XZt)

![](/files/-LvMRsD99RMPyUtcJZBQ)

![](/files/-LvMRsDBVgOmUZz5EgC4)

Using the bottleneck approaches we can rebuild the inception module with more non-linearities and less parameters. Also a max pooling layer is added to summarize the content of the previous layer. All the results are concatenated one after the other, and given to the next layer.

## Caffe Example

Bellow we present 2 inception layers on cascade from the original googleNet.

![](/files/-LvMRsDD6tWoH7kyWMkz)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://leonardoaraujosantos.gitbook.io/artificial-inteligence/machine_learning/deep_learning/googlenet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
