快速可控的训练后稀疏化:在数分钟内学习全局约束下的最优稀疏率分配
Fast and Controllable Post-training Sparsity: Learning Optimal Sparsity Allocation with Global Constraint in Minutes
AI总结:
针对训练后稀疏化中逐层稀疏率分配不佳且难稳定收敛的问题,本文提出FCPTS框架,利用可微桥接函数和可控优化目标在数分钟内满足全局稀疏约束,并显著提升精度。
摘要:
神经网络稀疏化因其与生物机制的相似性和高能效而吸引了大量研究兴趣。然而,现有方法依赖长时间训练或微调,这阻碍了大规模应用。最近,一些聚焦于训练后稀疏化(PTS)的工作开始出现。它们摆脱了高昂的训练成本,但由于忽略了每一层合理的稀疏率,通常会遭受明显的精度下降。以往寻找稀疏率的方法主要面向训练感知场景,在数据有限且训练成本低得多的PTS设置下,通常无法稳定收敛。本文提出一种快速可控的训练后稀疏化(FCPTS)框架。通过引入可微桥接函数和可控优化目标,该方法能够在数分钟内快速且准确地学习稀疏率分配,并保证收敛到预先设定的全局稀疏率。借助这些技术,我们能够大幅超越现有最先进方法,例如在ImageNet上、ResNet-50于80%稀疏率下取得超过30%的提升。我们的即插即用代码和补充材料已在https://github.com/ModelTech/FCPTS开源。
英文摘要:
Neural network sparsity has attracted many research interests due to its similarity to biological schemes and high energy efficiency. However, existing methods depend on long-time training or fine-tuning, which prevents large-scale applications. Recently, some works focusing on post-training sparsity (PTS) have emerged. They get rid of the high training cost but usually suffer from distinct accuracy degradation due to neglect of the reasonable sparsity rate at each layer. Previous methods for finding sparsity rates mainly focus on the training-aware scenario, which usually fails to converge stably under the PTS setting with limited data and much less training cost. In this paper, we propose a fast and controllable post-training sparsity (FCPTS) framework. By incorporating a differentiable bridge function and a controllable optimization objective, our method allows for rapid and accurate sparsity allocation learning in minutes, with the added assurance of convergence to a predetermined global sparsity rate. Equipped with these techniques, we can surpass the state-of-the-art methods by a large margin, e.g., over 30\% improvement for ResNet-50 on ImageNet under the sparsity rate of 80\%. Our plug-and-play code and supplementary materials are open-sourced at https://github.com/ModelTC/FCPTS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。