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

ScaLearn:通过学习缩放实现简单且参数高效的任务迁移

ScaLearn: Simple and Highly Parameter-Efficient Task Transfer by Learning to Scale

Johannes Kepler University Linz(约翰开普勒林茨大学);Linz Institute of Technology(林茨理工学院);AI Lab(人工智能实验室);Universität Hamburg(汉堡大学);Thomson Reuters Labs(汤森路透实验室)

Markus Frohmann, Carolin Holtermann, Shahed Masoudian, Anne Lauscher, Navid Rekabsaz

AI总结:

针对两阶段多任务学习参数开销大的问题,提出ScaLearn方法,通过学习极少量缩放参数实现源任务知识向目标任务的高效迁移,在多个基准上以远低于AdapterFusion的参数规模取得更优性能。

摘要:

多任务学习(MTL)已展现出显著的实用价值,尤其是在使用语言模型(LM)时。虽然这通常通过在联合优化流程下学习n个任务来实现,但一些方法(如AdapterFusion)将该问题分为两个阶段:(i)任务学习阶段,将特定于任务的知识封装在多组参数(如适配器)中;(ii)迁移阶段,利用这些已习得的知识完成目标任务。这种关注点分离带来了诸多益处(例如提升可复用性)。然而,当前的两阶段多任务学习会引入大量额外参数。我们通过利用线性缩放源适配器输出表征对迁移学习的效用,来解决这一问题。我们提出了ScaLearn,这是一种简单且参数效率极高的两阶段多任务学习方法,它通过学习最少量的缩放参数来利用源任务的知识,从而实现向目标任务的有效迁移。我们在三个基准(GLUE、SuperGLUE和HumSet)以及两个编码器语言模型上开展了实验,结果表明ScaLearn仅用少量迁移参数(约为AdapterFusion参数的0.35%)就始终优于强基线。值得注意的是,我们观察到即使进一步减少参数,ScaLearn仍能保持其优异性能,每个目标任务仅需8个迁移参数就能取得具有竞争力的结果。因此,我们提出的方法证明了简单缩放的效力,有望实现更高效的任务迁移。

英文摘要:

Multi-task learning (MTL) has shown considerable practical benefits, particularly when using language models (LMs). While this is commonly achieved by learning $n$ tasks under a joint optimization procedure, some methods, such as AdapterFusion, divide the problem into two stages: (i) task learning, where knowledge specific to a task is encapsulated within sets of parameters (e.g., adapters), and (ii) transfer, where this already learned knowledge is leveraged for a target task. This separation of concerns provides numerous benefits (e.g., promoting reusability). However, current two-stage MTL introduces a substantial number of additional parameters. We address this issue by leveraging the usefulness of linearly scaling the output representations of source adapters for transfer learning. We introduce ScaLearn, a simple and highly parameter-efficient two-stage MTL method that capitalizes on the knowledge of the source tasks by learning a minimal set of scaling parameters that enable effective transfer to a target task. Our experiments on three benchmarks (GLUE, SuperGLUE, and HumSet) and two encoder LMs show that ScaLearn consistently outperforms strong baselines with a small number of transfer parameters (~ $0.35$% of those of AdapterFusion). Remarkably, we observe that ScaLearn maintains its strong abilities even when further reducing parameters, achieving competitive results with only $8$ transfer parameters per target task. Our proposed approach thus demonstrates the power of simple scaling as a promise for more efficient task transfer.

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

↑