
NetworkInNetwork-CIFAR
Image classification27 ops967K params
Tiny perceptrons slid over the image instead of linear filters, topped by global average pooling.
Image classification · 27 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.
About this model's family
Network In Network, usually shortened to NIN, replaces the linear filter of a convolutional layer with a small neural network that abstracts the data within each receptive field. The micro network is a multilayer perceptron, chosen as a potent function approximator. The resulting unit is called an mlpconv layer. Deep NIN is built by stacking multiple of them.
The paper's own reading of the mechanism is that the cross channel parametric pooling layer is equivalent to a convolution layer with a 1x1 convolution kernel. Because the micro networks model local patches well, the classifier can use global average pooling over the feature maps, which is easier to interpret and less prone to overfitting than fully connected layers. The spatial average of the last mlpconv layer's feature maps is output directly as the confidence of categories and fed to the softmax.
The captured networks are the CIFAR configuration: three stacked mlpconv layers, each followed by a spatial max pooling layer that downsamples by a factor of two. Dropout is applied on the outputs of all but the last mlpconv layers. NIN reported state-of-the-art classification on CIFAR-10 and CIFAR-100 and reasonable results on SVHN and MNIST. The authors' released code is a cuda-convnet fork in which they implemented cccp, cascadable cross channel parametric pooling. A trained three-layer CIFAR-10 model later went into the Caffe Model Zoo.
Key idea. Replacing the linear convolutional filter with a sliding multilayer perceptron, the mlpconv layer, and replacing the fully connected classifier with global average pooling over category feature maps.
AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.
@misc{lin2014networknetwork,
title={Network In Network},
author={Min Lin and Qiang Chen and Shuicheng Yan},
year={2014},
eprint={1312.4400},
archivePrefix={arXiv},
primaryClass={cs.NE},
url={https://arxiv.org/abs/1312.4400},
}