arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.11918cs.LGcs.CL
收藏

AdapterDrop:关于Transformers中适配器的效率

AdapterDrop: On the Efficiency of Adapters in Transformers

Amazon(亚马逊);Technische Universität Darmstadt(达姆施塔特工业大学)

Andreas Rücklé, Gregor Geigle, Max Glockner, Tilman Beck, Jonas Pfeiffer, Nils Reimers, Iryna Gurevych

摘要:

大规模预训练的Transformer模型在计算上对于微调是昂贵的,推理缓慢,并且具有大的存储需求。最近的方法通过训练较小的模型,动态地减小模型大小,以及通过训练轻量级适配器来解决这些缺点。在本文中,我们提出了AdapterDrop,在训练和推理过程中从较低的Transformer层中删除适配器,它包含了所有三个方向的概念。我们表明,AdapterDrop可以动态地减少计算开销时,同时执行多个任务的推理,任务性能的下降最小。我们进一步从AdapterFusion中修剪适配器,这提高了推理效率,同时完全保持了任务性能。

英文摘要:

Massively pre-trained transformer models are computationally expensive to fine-tune, slow for inference, and have large storage requirements. Recent approaches tackle these shortcomings by training smaller models, dynamically reducing the model size, and by training light-weight adapters. In this paper, we propose AdapterDrop, removing adapters from lower transformer layers during training and inference, which incorporates concepts from all three directions. We show that AdapterDrop can dynamically reduce the computational overhead when performing inference over multiple tasks simultaneously, with minimal decrease in task performances. We further prune adapters from AdapterFusion, which improves the inference efficiency while maintaining the task performances entirely.

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

↑