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

在多语言预训练模型上探索结构化剪枝:设置、算法和效率

Probing Structured Pruning on Multilingual Pre-trained Models: Settings, Algorithms, and Efficiency

The Chinese University of Hong Kong(香港中文大学);Alibaba Group(阿里巴巴集团);Peking University(北京大学)

Yanyang Li, Fuli Luo, Runxin Xu, Songfang Huang, Fei Huang, Liwei Wang

摘要:

结构化修剪已经在单语预训练语言模型上得到了广泛的研究,并且还没有在多语言模型上得到充分的评估。本文研究了多语言预训练语言模型的结构化剪枝的三个方面:设置、算法和效率。对九个下游任务的实验显示了几个反直觉的现象:对于设置,对每种语言单独修剪并不会产生更好的结果;对于算法,最简单的方法表现最好;对于效率,快速模型并不意味着它也很小。为了便于在所有稀疏性级别上进行比较,我们提出了动态稀疏化,这是一种简单的方法,允许对模型进行一次训练,并在推理时适应不同的模型大小。我们希望这项工作填补了多语言预训练模型的结构化修剪研究的空白,并为未来的研究提供指导。

英文摘要:

Structured pruning has been extensively studied on monolingual pre-trained language models and is yet to be fully evaluated on their multilingual counterparts. This work investigates three aspects of structured pruning on multilingual pre-trained language models: settings, algorithms, and efficiency. Experiments on nine downstream tasks show several counter-intuitive phenomena: for settings, individually pruning for each language does not induce a better result; for algorithms, the simplest method performs the best; for efficiency, a fast model does not imply that it is also small. To facilitate the comparison on all sparsity levels, we present Dynamic Sparsification, a simple approach that allows training the model once and adapting to different model sizes at inference. We hope this work fills the gap in the study of structured pruning on multilingual pre-trained models and sheds light on future research.

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

↑