What is Skip Connection in Artificial Neural Networks?
Definition
Let be the weight, the input, and the nonlinear activation function. Let’s define layer as follows.
A function in the form that adds an identity function to the layer like the following is called a skip connection.
Explanation
Typically, the input and the weight are multiplied, and this result is put into the activation function , which then becomes the input to the next layer. Skip connection delivers to the next layer the value obtained by adding the input back to this value. Simply put, it can be expressed as follows.
Strictly speaking, skip connection is not a concept strictly defined according to the above definition. It is called a skip connection as long as the input (or previous value) is transmitted to the next layer in any way. U-Net is a neural network that uses a form of skip connection in autoencoders, stacking the encoder’s output onto the decoder’s input.
Generally, stacking too many layers decreases the performance of neural networks, but ResNet has been designed to train well even with very deeply stacked layers by appropriately utilizing skip connections.