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

使用基于属性的修剪对多任务语言模型进行特定于任务的压缩

Task-specific Compression for Multi-task Language Models using Attribution-based Pruning

Seoul National University(首尔国立大学);Chung-Ang University(中央大学);Hyundai Motor Group(现代汽车集团);dot Inc(42dot公司)

Nakyeong Yang, Yunah Jang, Hwanhee Lee, Seohyeong Jung, Kyomin Jung

摘要:

多任务语言模型仅用一个模型就能完成各种自然语言理解任务,表现出优异的性能。然而,这些语言模型利用了不必要的大量模型参数,即使仅用于特定任务。提出了一种新的基于剪枝方法的多任务语言模型压缩方法。具体来说,我们使用归因方法来确定哪些神经元对于执行特定任务是必不可少的。我们针对特定任务修剪不重要的神经元,只留下特定任务的参数。此外,我们将我们的方法扩展到适用于低资源和无监督的环境。由于我们的压缩方法是免训练的,因此它使用很少的计算资源,并且不会破坏语言模型的预训练知识。在六个广泛使用的数据集上的实验结果表明,我们提出的剪枝方法显着优于基线剪枝方法。此外,我们还证明了我们的方法即使在看不见的域设置中也能保持性能。

英文摘要:

Multi-task language models show outstanding performance for various natural language understanding tasks with only a single model. However, these language models utilize an unnecessarily large number of model parameters, even when used only for a specific task. This paper proposes a novel training-free compression method for multi-task language models using a pruning method. Specifically, we use an attribution method to determine which neurons are essential for performing a specific task. We task-specifically prune unimportant neurons and leave only task-specific parameters. Furthermore, we extend our method to be applicable in low-resource and unsupervised settings. Since our compression method is training-free, it uses few computing resources and does not destroy the pre-trained knowledge of language models. Experimental results on the six widely-used datasets show that our proposed pruning method significantly outperforms baseline pruning methods. In addition, we demonstrate that our method preserves performance even in an unseen domain setting.

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

↑