arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.15858cs.LG
收藏

迈向最优适配器放置以实现高效迁移学习

Towards Optimal Adapter Placement for Efficient Transfer Learning

Jagiellonian University(雅盖隆大学);University of Tübingen(蒂宾根大学);Google DeepMind(谷歌DeepMind)

Aleksandra I. Nowak, Otniel-Bogdan Mercea, Anurag Arnab, Jonas Pfeiffer, Yann Dauphin, Utku Evci

AI总结:

本文研究适配器放置位置对参数高效迁移学习性能的影响,提出包含长程和循环连接的扩展搜索空间,证明少量策略性放置的适配器即可匹配或超越每块添加适配器的基线性能。

摘要:

参数高效迁移学习(PETL)旨在使预训练模型适应新的下游任务,同时最小化微调参数的数量。适配器是PETL中一种流行的方法,它通过引入低秩投影向现有网络注入额外容量,以显著更少的参数实现了与全量微调相当的性能。本文研究了适配器的放置位置与其性能之间的关系。我们观察到,适配器在网络中的位置会显著影响其有效性,并且最优放置位置依赖于具体任务。为了利用这一观察结果,我们引入了一个扩展的适配器连接搜索空间,包括长程适配器和循环适配器。我们证明,即使从该扩展空间中随机选择适配器放置位置也能获得改进的结果,并且高性能的放置位置通常与高梯度秩相关。我们的发现表明,少量经过策略性放置的适配器可以匹配或超过在每个块中添加适配器这一常见基线的性能,为研究最优适配器放置策略开辟了新的途径。

英文摘要:

Parameter-efficient transfer learning (PETL) aims to adapt pre-trained models to new downstream tasks while minimizing the number of fine-tuned parameters. Adapters, a popular approach in PETL, inject additional capacity into existing networks by incorporating low-rank projections, achieving performance comparable to full fine-tuning with significantly fewer parameters. This paper investigates the relationship between the placement of an adapter and its performance. We observe that adapter location within a network significantly impacts its effectiveness, and that the optimal placement is task-dependent. To exploit this observation, we introduce an extended search space of adapter connections, including long-range and recurrent adapters. We demonstrate that even randomly selected adapter placements from this expanded space yield improved results, and that high-performing placements often correlate with high gradient rank. Our findings reveal that a small number of strategically placed adapters can match or exceed the performance of the common baseline of adding adapters in every block, opening a new avenue for research into optimal adapter placement strategies.

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

↑