LeNet-5

Outputs 10 classes (digits 0-9)
Originally used sigmoid and tanh nonlinearities
32x32x1 input
60K parameters
AlexNet

Trained using two GPUs
Included Local response normalization (LRN)
Softmax with 1,000 classes
60M parameters
VGG-16

Called '16' because 16 weight layers in the network
- 13 conv layers
- 03 fully connected layers
138M parameters
ResNet



Why residual networks work so well?
In plain deep networks performance tends to degrade with an increase in depth.
A ResNet adds "residual blocks," which include shortcut (skip) connections that bypass one or more layers.
"same" convolutions are often used to maintain the dimensions of feature map
For the residual connections to work, the dimensions of the input and output of the skip connection must match. Same convolutions are commonly used to preserve these dimensions. If dimensions don’t match, a linear transformation (like using the matrix Ws ) can be applied to match them

1 × 1 convolutions
Aka 'Network in Network'
May seem like it merely multplys values by scalar, it is much more powerful
For a multi-channel images, 1x1xN convolution applies a unique scalar multiplication to each channel and can add non-linearity

Inception network


Inception block

Inception network:
Has softmax at intermediate steps and has many inception blocks

MobileNet
Depthwise convolution

Pointwise convolution


n′c denotes the number of output channels.
, for a 3x3 filter ,
MobileNetV2

Introduces residual connections, allows better gradient flow during backpropagation
Expansion layer increases the dimensionality using 1x1 convolutions
Pointwise convolution reduces the dimensionality back to original termed as projection step
MobileNetV2 repeats bottleneck structure 17 times
Final layers involve pooling, fully connected layers and softmax for classification
Has lesser params than mobile net v1 ~ 4.2 million params
~ 3.5 million params
Accuracy is improved by 1.4%
EfficientNet
EfficientNet provides a method to automatically scale neural networks to fit the specific computational resources of a device. This is particularly useful when dealing with devices with varying computational capacities, like different mobile phones or edge devices.
| Resolution(r) | Refers to the input image size. Higher resolution can capture more details. |
|---|---|
| Depth (d) | The number of layers in the network. More depth allows for capturing more complex features. |
| Width (w) | The number of units in each layer. Wider layers can process more information simultaneously |
Efficient net scales all three parameters simultaneously
Challenge is to determine optimal balance between three parameters to maximize performance with a computational budget
Efficientnet procides open-source tools to help determine the best scaling strategry based on avaliable computation budget

Augmentation methods
- Mirroring
- Random cropping
- Rotation
- Shearing
- Local warping
- Color shifting using PCA
Tips for doing well on benchmarks/winning competitions
- Ensembling
train several networks and average their outputs - Multi crop at test time
run classifier on multiple version and average results