Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Training Neural Networks with Fixed Sparse Masks

About

During typical gradient-based training of deep neural networks, all of the model's parameters are updated at each iteration. Recent work has shown that it is possible to update only a small subset of the model's parameters during training, which can alleviate storage and communication requirements. In this paper, we show that it is possible to induce a fixed sparse mask on the model's parameters that selects a subset to update over many iterations. Our method constructs the mask out of the $k$ parameters with the largest Fisher information as a simple approximation as to which parameters are most important for the task at hand. In experiments on parameter-efficient transfer learning and distributed training, we show that our approach matches or exceeds the performance of other methods for training with sparse updates while being more efficient in terms of memory usage and communication costs. We release our code publicly to promote further applications of our approach.

Yi-Lin Sung, Varun Nair, Colin Raffel• 2021

Related benchmarks

TaskDatasetResultRank
Natural Language UnderstandingGLUE (test)
SST-2 Accuracy94.7
416
Natural Language UnderstandingGLUE (test dev)
MRPC Accuracy88.7
81
Visual Question AnsweringUltra-MedVQA Task 4
Accuracy63.08
26
Visual Question AnsweringUltra-MedVQA Task 5
Accuracy73.39
26
Visual Question AnsweringUltra-MedVQA Task 2
Accuracy77.71
26
Visual Question AnsweringUltra-MedVQA Task 6
Accuracy83.09
26
Visual Question AnsweringUltra-MedVQA Task 1
Accuracy36.82
26
Visual Question AnsweringUltra-MedVQA Task 3
Accuracy74.6
26
Showing 8 of 8 rows

Other info

Code

Follow for update