arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.01542cs.CVcs.LG
收藏

TransTailor:修剪预训练模型以改进迁移学习

TransTailor: Pruning the Pre-trained Model for Improved Transfer Learning

Peking University(北京大学)

Bingyan Liu, Yifeng Cai, Yao Guo, Xiangqun Chen

摘要:

预训练模型的增加显著促进了迁移学习在有限数据任务上的性能。然而,迁移学习的进展主要集中在优化预训练模型的权重,忽略了模型和目标任务之间的结构失配。本文旨在从另一个角度来提高传输性能-除了调整权重外,我们还调整预训练模型的结构,以便更好地匹配目标任务。为此,我们提出了TransTailor,旨在修剪预训练模型以改进迁移学习。与传统的剪枝流水线不同,我们根据目标感知的权重重要性对预训练模型进行剪枝和微调,生成针对特定目标任务量身定制的最优子模型。通过这种方式,我们转移了一个更合适的子结构,可以在微调期间应用,以有利于最终的性能。在多个预训练模型和数据集上进行的大量实验表明,TransTailor优于传统的剪枝方法,并且在使用较小模型的同时,实现了与其他最先进的迁移学习方法相比具有竞争力甚至更好的性能。值得注意的是,在Stanford Dogs数据集上,TransTailor可以比其他传输方法提高2.7%的准确性,而FLOP减少20%。

英文摘要:

The increasing of pre-trained models has significantly facilitated the performance on limited data tasks with transfer learning. However, progress on transfer learning mainly focuses on optimizing the weights of pre-trained models, which ignores the structure mismatch between the model and the target task. This paper aims to improve the transfer performance from another angle - in addition to tuning the weights, we tune the structure of pre-trained models, in order to better match the target task. To this end, we propose TransTailor, targeting at pruning the pre-trained model for improved transfer learning. Different from traditional pruning pipelines, we prune and fine-tune the pre-trained model according to the target-aware weight importance, generating an optimal sub-model tailored for a specific target task. In this way, we transfer a more suitable sub-structure that can be applied during fine-tuning to benefit the final performance. Extensive experiments on multiple pre-trained models and datasets demonstrate that TransTailor outperforms the traditional pruning methods and achieves competitive or even better performance than other state-of-the-art transfer learning methods while using a smaller model. Notably, on the Stanford Dogs dataset, TransTailor can achieve 2.7% accuracy improvement over other transfer methods with 20% fewer FLOPs.

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

↑