arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.04526cs.CV
收藏

CrAFT:面向高效视觉任务适应的压缩感知微调

CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptation

University of Southern California(南加州大学);NAVER Cloud(NAVER云)

Jung Hwan Heo, Seyedarmin Azizi, Arash Fayyazi, Massoud Pedram

AI总结:

CrAFT提出在微调阶段引入锐度最小化目标,以极低训练开销同时实现任务适应与压缩友好性,显著提升视觉基础模型的一次性剪枝和训练后量化性能。

摘要:

在基础模型时代,迁移学习已成为一种流行的任务适应方法。然而,许多基础模型需要大量的存储和计算资源,这使得直接部署不切实际。剪枝和量化等训练后压缩技术有助于降低部署成本。不幸的是,由此产生的性能下降限制了此类技术的可用性和收益。为了弥合这一性能差距,我们提出了CrAFT,这是一个简单的微调框架,能够实现有效的训练后网络压缩。在CrAFT中,用户只需采用默认的微调计划以及锐度最小化目标,即可同时促进任务适应和压缩友好性。与在预训练期间应用的传统锐度最小化技术相反,CrAFT方法增加的训练开销可以忽略不计,因为微调可以在单个GPU上几分钟或几小时内完成。CrAFT是一种通用工具,可以显著提升一次性剪枝和训练后量化的效果,其有效性在多种目标任务上的基于卷积和基于注意力的视觉基础模型上得到了证明。代码将公开发布。

英文摘要:

Transfer learning has become a popular task adaptation method in the era of foundation models. However, many foundation models require large storage and computing resources, which makes off-the-shelf deployment impractical. Post-training compression techniques such as pruning and quantization can help lower deployment costs. Unfortunately, the resulting performance degradation limits the usability and benefits of such techniques. To close this performance gap, we propose CrAFT, a simple fine-tuning framework that enables effective post-training network compression. In CrAFT, users simply employ the default fine-tuning schedule along with sharpness minimization objective, simultaneously facilitating task adaptation and compression-friendliness. Contrary to the conventional sharpness minimization techniques, which are applied during pretraining, the CrAFT approach adds negligible training overhead as fine-tuning is done in under a couple of minutes or hours with a single GPU. The effectiveness of CrAFT, which is a general-purpose tool that can significantly boost one-shot pruning and post-training quantization, is demonstrated on both convolution-based and attention-based vision foundation models on a variety of target tasks. The code will be made publicly available.

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

↑