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

有限任务数据下结构化剪枝的迁移学习

Transfer Learning for Structured Pruning under Limited Task Data

CMU(卡内基梅隆大学);Apple(苹果公司)

Lucio Dery, David Grangier, Awni Hannun

AI总结:

针对结构化剪枝需大量任务数据的问题,提出结合迁移学习的框架,通过探究任务耦合、参数迁移及引入时机,实现剪枝模型泛化性能优于强基线。

摘要:

大型预训练模型在资源受限的应用中使用存在问题。幸运的是,任务感知的结构化剪枝方法提供了一种解决方案。这些方法通过考虑最终任务,以丢弃层和注意力头等结构单元的方式来减小模型大小。然而,这些剪枝算法需要的任务特定数据比通常可用的更多。我们提出了一个将结构化剪枝与迁移学习相结合的框架,以减少对任务特定数据的需求。我们的实证结果回答了诸如:两个任务应如何耦合?应迁移哪些参数?以及在训练期间何时引入迁移学习?等问题。利用这些见解,我们证明我们的框架产生的剪枝模型在泛化性能上优于强基线。

英文摘要:

Large, pre-trained models are problematic to use in resource constrained applications. Fortunately, task-aware structured pruning methods offer a solution. These approaches reduce model size by dropping structural units like layers and attention heads in a manner that takes into account the end-task. However, these pruning algorithms require more task-specific data than is typically available. We propose a framework which combines structured pruning with transfer learning to reduce the need for task-specific data. Our empirical results answer questions such as: How should the two tasks be coupled? What parameters should be transferred? And, when during training should transfer learning be introduced? Leveraging these insights, we demonstrate that our framework results in pruned models with improved generalization over strong baselines.

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

↑