一个网络,多个掩码:迈向更具参数效率的迁移学习
One Network, Many Masks: Towards More Parameter-Efficient Transfer Learning
AI总结:
针对多任务微调预训练语言模型存储成本高的问题,提出PROPETL方法,通过共享原型网络加二进制掩码选择子网络的方式,实现仅用约10%参数存储量超越其他PETL方法的效果。
摘要:
为多个任务微调预训练语言模型往往在存储方面成本高昂。为缓解这一问题,参数高效迁移学习(parameter-efficient transfer learning,PETL)方法已被提出以解决该问题,但当应用于更广泛的任务范围时,它们仍需要大量参数和存储空间。为实现更大幅度的存储缩减,我们提出PROPETL,这是一种新颖的方法,能够实现单个PETL模块(我们称之为原型网络,例如adapter、LoRA和prefix-tuning)在层与任务之间的高效共享。随后我们学习二进制掩码,从共享的原型网络中选择不同的子网络,并将它们作为PETL模块应用到不同的层中。我们发现二进制掩码能够确定网络中的关键信息,这一点在以往研究中常被忽略。我们的工作也可被视为一种剪枝方法,其中我们发现,即便是看似小型的PETL模块中也存在过参数化现象。我们在多种下游任务上对PROPETL进行了评估,结果表明其性能优于其他PETL方法,而所需参数存储量仅为后者的约10%。
英文摘要:
Fine-tuning pre-trained language models for multiple tasks tends to be expensive in terms of storage. To mitigate this, parameter-efficient transfer learning (PETL) methods have been proposed to address this issue, but they still require a significant number of parameters and storage when being applied to broader ranges of tasks. To achieve even greater storage reduction, we propose PROPETL, a novel method that enables efficient sharing of a single PETL module which we call prototype network (e.g., adapter, LoRA, and prefix-tuning) across layers and tasks. We then learn binary masks to select different sub-networks from the shared prototype network and apply them as PETL modules into different layers. We find that the binary masks can determine crucial information from the network, which is often ignored in previous studies. Our work can also be seen as a type of pruning method, where we find that overparameterization also exists in the seemingly small PETL modules. We evaluate PROPETL on various downstream tasks and show that it can outperform other PETL methods with approximately 10% of the parameter storage required by the latter.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。