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

最近任务投票:下游任务预训练模型的元投票剪枝

Voting from Nearest Tasks: Meta-Vote Pruning of Pre-trained Models for Downstream Tasks

University of Technology Sydney(悉尼科技大学);University of Maryland(马里兰大学)

Haiyan Zhao, Tianyi Zhou, Guodong Long, Jing Jiang, Chengqi Zhang

摘要:

随着一些大规模的预训练模型成为各种应用的主要选择,模型修剪出现了新的挑战,例如,我们是否可以避免为每个下游任务从头开始修剪相同的模型?如何重用以前任务的剪枝结果来加速新任务的剪枝?为了应对这些挑战,我们从相似任务的修剪模型中为新任务创建了一个小模型。我们表明,这个模型上的一些微调步骤足以产生一个有前途的修剪模型的新任务。我们在有限的修剪迭代预算下,从两类主要的预训练模型(卷积神经网络(CNN)和视觉Transformer(ViT))上的最近任务中研究这种“元修剪”。我们的研究首先调查了相似任务的修剪模型的重叠,以及重叠在不同层和块上的变化。受这些发现的启发,我们开发了一种简单但有效的“元投票剪枝(MVP剪枝)”方法,该方法通过从最近任务的剪枝模型初始化子网络来显著减少新任务的剪枝迭代。在实验中,我们证明了MVP的准确性,效率和推广的优势,通过广泛的实证研究和比较流行的修剪方法在几个数据集。

英文摘要:

As a few large-scale pre-trained models become the major choices of various applications, new challenges arise for model pruning, e.g., can we avoid pruning the same model from scratch for every downstream task? How to reuse the pruning results of previous tasks to accelerate the pruning for a new task? To address these challenges, we create a small model for a new task from the pruned models of similar tasks. We show that a few fine-tuning steps on this model suffice to produce a promising pruned-model for the new task. We study this ''meta-pruning'' from nearest tasks on two major classes of pre-trained models, convolutional neural network (CNN) and vision transformer (ViT), under a limited budget of pruning iterations. Our study begins by investigating the overlap of pruned models for similar tasks and how the overlap changes over different layers and blocks. Inspired by these discoveries, we develop a simple but effective ''Meta-Vote Pruning (MVP)'' method that significantly reduces the pruning iterations for a new task by initializing a sub-network from the pruned models of its nearest tasks. In experiments, we demonstrate MVP's advantages in accuracy, efficiency, and generalization through extensive empirical studies and comparisons with popular pruning methods over several datasets.

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

↑