arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.08814cs.CLcs.AI
收藏

基于正则化的结构化模式剪枝

Structured Pattern Pruning Using Regularization

Shinhancard(新韩卡公司);Korea National Open University(韩国放送通信大学)

Dongjun Park, Geung-Hee Lee

摘要:

迭代幅度修剪(IMP)是一种网络修剪方法,它重复以最小幅度去除权重并重新训练模型的过程。当对IMP修剪的语言模型的权重矩阵进行可视化时,先前的研究表明出现了结构化模式,其中所产生的幸存权重倾向于突出地聚集在矩阵的选定的少数行和列中。虽然需要进一步的研究,利用这些结构化的模式,潜在的性能增益以前已经指出,它还没有得到彻底的研究。我们提出了SPUR(使用正则化结构化模式修剪),一种新的修剪机制,抢先诱导结构化模式在压缩中添加一个正则化项的目标函数的IMP。我们的研究结果表明,SPUR可以显着保持模型的性能在高稀疏设置下,无论语言或任务。我们的贡献如下:(i)我们提出了SPUR,一个网络修剪机制,提高了IMP的语言或任务。(ii)我们是第一个经验验证的有效性,“结构化模式”之前观察到的修剪研究。(iii)SPUR是一种资源高效的机制,因为它不需要大量的额外计算。

英文摘要:

Iterative Magnitude Pruning (IMP) is a network pruning method that repeats the process of removing weights with the least magnitudes and retraining the model. When visualizing the weight matrices of language models pruned by IMP, previous research has shown that a structured pattern emerges, wherein the resulting surviving weights tend to prominently cluster in a select few rows and columns of the matrix. Though the need for further research in utilizing these structured patterns for potential performance gains has previously been indicated, it has yet to be thoroughly studied. We propose SPUR (Structured Pattern pruning Using Regularization), a novel pruning mechanism that preemptively induces structured patterns in compression by adding a regularization term to the objective function in the IMP. Our results show that SPUR can significantly preserve model performance under high sparsity settings regardless of the language or the task. Our contributions are as follows: (i) We propose SPUR, a network pruning mechanism that improves upon IMP regardless of the language or the task. (ii) We are the first to empirically verify the efficacy of "structured patterns" observed previously in pruning research. (iii) SPUR is a resource-efficient mechanism in that it does not require significant additional computations.

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

↑