Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Training

Geng Yuan, Yanyu Li, Sheng Li, Zhenglun Kong, Sergey Tulyakov +3 more
9/22/2022
cs.LGcs.AIcs.CV

Official code: snap-research/SpFDE (11 stars, last commit 2022-09-21).

Abstract

Recently, sparse training has emerged as a promising paradigm for efficient deep learning on edge devices. The current research mainly devotes efforts to reducing training costs by further increasing model sparsity.

Show full abstract

However, increasing sparsity is not always ideal since it will inevitably introduce severe accuracy degradation at an extremely high sparsity level. This paper intends to explore other possible directions to effectively and efficiently reduce sparse training costs while preserving accuracy. To this end, we investigate two techniques, namely, layer freezing and data sieving. First, the layer freezing approach has shown its success in dense model training and fine-tuning, yet it has never been adopted in the sparse training domain. Nevertheless, the unique characteristics of sparse training may hinder the incorporation of layer freezing techniques. Therefore, we analyze the feasibility and potentiality of using the layer freezing technique in sparse training and find it has the potential to save considerable training costs. Second, we propose a data sieving method for dataset-efficient training, which further reduces training costs by ensuring only a partial dataset is used throughout the entire training process. We show that both techniques can be well incorporated into the sparse training algorithm to form a generic framework, which we dub SpFDE. Our extensive experiments demonstrate that SpFDE can significantly reduce training costs while preserving accuracy from three dimensions: weight sparsity, layer freezing, and dataset sieving.

View on arXivView PDF

Code Implementations(1)

[NeurIPs 2022] Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Training

111Sep 21, 20224 years ago

Similar Papers

Cite this paper

@article{yuan2022layer,
  title  = {Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Training},
  author = {Geng Yuan and Yanyu Li and Sheng Li and Zhenglun Kong and Sergey Tulyakov and Xulong Tang and Yanzhi Wang and Jian Ren},
  year   = {2022},
  eprint = {2209.11204},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.11204}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.11204.svg)](https://codeofpaper.com/paper/2209.11204)

Discussion