模块化是可迁移的吗?基于知识蒸馏视角的案例研究
Is Modularity Transferable? A Case Study through the Lens of Knowledge Distillation
AI总结:
本研究通过知识蒸馏视角,提出在同系列及不兼容的预训练语言模型间迁移PEFT模块的方法,验证了模块化架构的可迁移性。
摘要:
模块化深度学习的兴起展示了其在各种自然语言处理应用中的潜力。参数高效微调(PEFT)模块化已被证明适用于从领域适应到多语言设置等多种用例。然而,所有这些工作都涵盖了模块组件在单一预训练语言模型(PLM)内训练和部署的情况。这种特定于模型的设置对模块化架构试图实现的模块化本身构成了重大限制。我们询问当前的模块化方法是否可以在模型之间迁移,以及我们是否可以将模块从更强大、更大的PLM迁移到较小的PLM。在这项工作中,我们旨在通过通常用于模型压缩的知识蒸馏的视角来填补这一空白,并提出一种极其直接的方法,用于在同系列PLM之间迁移预训练的、特定于任务的PEFT模块。此外,我们提出了一种方法,允许在不兼容的PLM之间迁移模块,而推理复杂度没有任何改变。在多种语言和PEFT方法上进行的命名实体识别、自然语言推理和释义识别任务的实验展示了可迁移模块化的初步潜力。
英文摘要:
The rise of Modular Deep Learning showcases its potential in various Natural Language Processing applications. Parameter-efficient fine-tuning (PEFT) modularity has been shown to work for various use cases, from domain adaptation to multilingual setups. However, all this work covers the case where the modular components are trained and deployed within one single Pre-trained Language Model (PLM). This model-specific setup is a substantial limitation on the very modularity that modular architectures are trying to achieve. We ask whether current modular approaches are transferable between models and whether we can transfer the modules from more robust and larger PLMs to smaller ones. In this work, we aim to fill this gap via a lens of Knowledge Distillation, commonly used for model compression, and present an extremely straightforward approach to transferring pre-trained, task-specific PEFT modules between same-family PLMs. Moreover, we propose a method that allows the transfer of modules between incompatible PLMs without any change in the inference complexity. The experiments on Named Entity Recognition, Natural Language Inference, and Paraphrase Identification tasks over multiple languages and PEFT methods showcase the initial potential of transferable modularity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。