Magnitude Attention-based Dynamic Pruning

Jihye Back, Namhyuk Ahn, Jangho Kim
6/8/2023
cs.CVcs.LG

No confident code implementation found for this paper.

Abstract

Existing pruning methods utilize the importance of each weight based on specified criteria only when searching for a sparse structure but do not utilize it during training. In this work, we propose a novel approach - \textbf{M}agnitude \textbf{A}ttention-based Dynamic \textbf{P}runing (MAP) method, which applies the importance of weights throughout both the forward and backward paths to explore sparse model structures dynamically. Magnitude attention is defined based on the magnitude of weights as continuous real-valued numbers enabling a seamless transition from a redundant to an effective sparse network by promoting efficient exploration. Additionally, the attention mechanism ensures more effective updates for important layers within the sparse network. In later stages of training, our approach shifts from exploration to exploitation, exclusively updating the sparse model composed of crucial weights based on the explored structure, resulting in pruned models that not only achieve performance comparable to dense models but also outperform previous pruning methods on CIFAR-10/100 and ImageNet.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{back2023magnitude,
  title  = {Magnitude Attention-based Dynamic Pruning},
  author = {Jihye Back and Namhyuk Ahn and Jangho Kim},
  year   = {2023},
  eprint = {2306.05056},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.05056v1}
}

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/2306.05056.svg)](https://codeofpaper.com/paper/2306.05056)

Discussion