Contents
A CNN has multiple layers. Weight sharing happens across the receptive field of the neurons(filters) in a particular layer. Weights are the numbers within each filter. So essentially we are trying to learn a filter. These filters act on a certain receptive field/ small section of the image.
What is weight sharing in machine learning?
In neural networks, weight sharing is a way to reduce the number of parameters while allowing for more robust feature detection. Reducing the number of parameters can be considered a form of model compression.
What is the role of convolution in CNN?
The term convolution refers to the mathematical combination of two functions to produce a third function. It merges two sets of information. In the case of a CNN, the convolution is performed on the input data with the use of a filter or kernel (these terms are used interchangeably) to then produce a feature map.
Convolutional neural networks: shared weights? In some literature the convolution layers of convolutional neural networks have shared weights (e.g. see “shared weights” at deeplearning.net tutorial) but I already read some papers where the weights were non-shared and rather calculated like in “normal MLPs”.
How does weight sharing work in a convolution?
Weight sharing happens across the receptive field of the neurons (filters) in a particular layer.Weights are the numbers within each filter. So essentially we are trying to learn a filter. These filters act on a certain receptive field/ small section of the image. When the filter moves through the image, the filter does not change.
What is parameter sharing in a neural network?
Understanding Parameter Sharing (or weights replication) Within Convolutional Neural Networks Parameter sharing or weights replication is a topic area that can be overlooked within Deep learning studies. Understanding this simple concept aids a broader grasp of the internals of the convolutional neural network.
Similar results would be obtained in a Conv Net. This way you can get the following results: at the expense of making your model less flexible. It is interesting to note that, this “less flexibility” can work as a regularizer many times and avoiding overfitting as the weights are shared with some other neurons.