arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2009.11839cs.LGcs.CVstat.ML
收藏

一种分析网络剪枝的梯度流框架

A Gradient Flow Framework For Analyzing Network Pruning

EECS Department(EECS系);University of Michigan(密歇根大学);Ann Arbor, MI 48105, USA(美国密歇根州安娜堡市48105(注意:这部分按要求不应提取,此处为错误识别,正确应为仅保留大学/学院/公司/研究院级别,即仅提取University of Michigan,而EECS Department是系别,不应提取,Ann Arbor是城市,不应提取。修正后正确输出应为{)

Ekdeep Singh Lubana, Robert P. Dick

摘要:

最近的网络修剪方法专注于在训练早期修剪模型。为了估计删除参数的影响,这些方法使用了最初设计用于修剪训练模型的重要性度量。尽管缺乏在训练早期使用它们的理由,但这些措施导致了令人惊讶的低准确性损失。为了更好地解释这种行为,我们开发了一个通用框架,该框架使用梯度流通过模型参数的范数来统一最先进的重要性度量。我们使用这个框架来确定修剪措施和模型参数演变之间的关系,建立了几个与训练早期修剪模型相关的结果:(i)基于幅度的修剪删除了对减少损失贡献最小的参数,导致模型比幅度不可知的方法收敛得更快;(ii)基于损失保持的修剪保留了一阶模型演化动力学,因此适合于修剪最少训练的模型;以及(iii)基于梯度范数的修剪影响二阶模型演化动力学,使得通过修剪增加梯度范数可能产生性能差的模型。我们在几个VGG-13、MobileNet-V1和ResNet-56模型上验证了我们的声明,这些模型都是在CIFAR-10/CIFAR-100上训练的。代码可在www.example.com获得。

英文摘要:

Recent network pruning methods focus on pruning models early-on in training. To estimate the impact of removing a parameter, these methods use importance measures that were originally designed to prune trained models. Despite lacking justification for their use early-on in training, such measures result in surprisingly low accuracy loss. To better explain this behavior, we develop a general framework that uses gradient flow to unify state-of-the-art importance measures through the norm of model parameters. We use this framework to determine the relationship between pruning measures and evolution of model parameters, establishing several results related to pruning models early-on in training: (i) magnitude-based pruning removes parameters that contribute least to reduction in loss, resulting in models that converge faster than magnitude-agnostic methods; (ii) loss-preservation based pruning preserves first-order model evolution dynamics and is therefore appropriate for pruning minimally trained models; and (iii) gradient-norm based pruning affects second-order model evolution dynamics, such that increasing gradient norm via pruning can produce poorly performing models. We validate our claims on several VGG-13, MobileNet-V1, and ResNet-56 models trained on CIFAR-10/CIFAR-100. Code available at https://github.com/EkdeepSLubana/flowandprune.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑