The Lottery Ticket Hypothesis has been presented in the form of a research paper at ICLR 2019 by MIT-IBM Watson AI Lab. This paper has been awarded the Best Paper Award in ICLR 2019.
Background: Network Pruning
Pruning basically means reducing the extent of a neural network by removing superfluous and unwanted parts. Network Pruning is a commonly used practise to reduce the size, storage and computational space occupied by a neural network. Like – Fitting an entire neural network in your phone. The idea of Network Pruning was originated in the 1990s which was later popularized in 2015.
How do you “prune” a neural network?
We can summarize the process of pruning into 4 major steps:
- Train the Network
- Remove superflous structures
- Fine-tune the network
- Optionally : Repeat the Step 2 and 3 iteratively
But, before we further move ahead, you must know :
- Usually, pruning is done after a neural network is trained on data.
- The superfluous structures can be Weights, Neurons, Filters, Channels . However, here we consider “sparse pruning” which means pruning “weights”.
- A heuristic is needed to define whether a structure is superfluous or not. These heuristics are Magnitudes, Gradients, or Activations. Here, we chose magnitudes. We prune the weights with the lowest magnitudes.
- By removing parts out of neural network, we somewhat have damaged the activation function. Hence, we train the model a bit more. This is known as fine-tuning.
- Randomly intialize the full network
- Train it and prune superflous structure
- Reset each remaining weight to its value after Step 1.
- A fully-connected neural network like MNIST having more than 600K parameters supposedly is reduced to a subnet of 21K parameters having the same accuracy as the original network
- Retention of the the original features – Dropout, weight decay, batchnorm, resnet, your favourite optimizer etc.
- Subnetworks are found retroactively
- Finding subnetworks is very expensive
- Small, vision networks and tasks
- Understanding Hypothesis Testing
- ML | Understanding Hypothesis
- Count N digits numbers with sum divisible by K
- Subarray of size K with prime sum
- Maximize array sum by replacing equal adjacent pairs by their sum and X respectively
- Maximum score assigned to a subsequence of numerically consecutive and distinct array elements
- Replace every element in a circular array by sum of next K elements
- Lexicographic rank of a string among all its substrings
- Find H-Index for sorted citations using Binary Search
- Minimize cost to convert a given matrix to another by flipping columns and reordering rows
- Check if array can be sorted by swapping pairs with GCD of set bits count equal to that of the smallest array element
- Length of second longest sequence of consecutive 1s in a binary array
- Ratio of all subarrays of size K
- Check if digit cube limit of an integer arrives at fixed point or a limit cycle
-
If the steps are correctly followed, we can compress the parameters of neural networks like LeNet-300-100 and AlexNet by a compression rate of 9x to 12x without losing any accuracy.
Can’t we randomly initialize a pruned network and train to convergence?
Many researchers have pondered over this conclusion. However, all of them came with the same answer – No.
It turns out that Training a pruned model from scratch performs worse than retraining a pruned model, which may indicate the difficulty of training a network with small capacity .
However, this is no longer the case. The research conducted by MIT-IBM shows that we can indeed train pruned networks from scratch. Also, there exist no need for networks to be overparameterized to learn. Weights pruned after training could have been pruned before training however, you need to use the same intializations.
How to train pruned networks ?
This basically suggests that “There exists a subnetwork that exists inside a randomly-initialized deep neural network which when trained in isolation can match or even outperform the accuracy of the original network.
Advantages of Trained Pruned Networks
Further Scope of Research
Link to the research paper: The lottery ticket hypothesis: Finding sparse, trainable neural networks
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
Recommended Posts:
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : Akanksha_Rai

