arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.14316cs.CVcs.MM
收藏

UniPT:面向参数与内存高效迁移学习的通用并行调优

UniPT: Universal Parallel Tuning for Transfer Learning with Efficient Parameter and Memory

Dalian University of Technology(大连理工大学);KU Leuven(鲁汶大学);Tencent WeChat(腾讯微信);HKUST(香港科技大学)

Haiwen Diao, Bo Wan, Ying Zhang, Xu Jia, Huchuan Lu, Long Chen

AI总结:

针对现有参数高效迁移学习方法依赖特定骨干网络的问题,提出含并行交互与置信度聚合模块的UniPT策略,在多任务多骨干上实现更低内存开销与更优性能。

摘要:

参数高效迁移学习(PETL),即仅微调一小部分参数,是将预训练模型适配到下游领域的有效策略。为进一步降低内存需求,近期的PETL研究聚焦于更具价值的内存高效特性。本文指出现有最优方法的可扩展性、适配性与泛化性受限于其对特定预训练骨干网络的结构依赖与关联性。为此,我们提出一种全新的内存高效PETL策略——通用并行调优(UniPT),以缓解上述缺陷。具体而言,我们通过一个轻量可学习的并行网络推进迁移过程,该网络包含:1)并行交互模块,用于解耦串行连接,独立于预训练网络处理中间激活值;2)置信度聚合模块,可自适应学习最优策略以整合跨层特征。我们在多种视觉-语言任务与纯NLP任务上,采用不同骨干网络(如T5、VSE$\infty$、CLIP4Clip、Clip-ViL和MDETR)对UniPT进行评估。在18个数据集上开展的大量消融实验验证,UniPT不仅能大幅降低内存消耗、性能优于最优竞品,还能以更低的训练内存开销,取得与其他普通PETL方法相当的竞争力。我们的代码已公开于:https://github.com/Paranioar/UniPT。

英文摘要:

Parameter-efficient transfer learning (PETL), i.e., fine-tuning a small portion of parameters, is an effective strategy for adapting pre-trained models to downstream domains. To further reduce the memory demand, recent PETL works focus on the more valuable memory-efficient characteristic. In this paper, we argue that the scalability, adaptability, and generalizability of state-of-the-art methods are hindered by structural dependency and pertinency on specific pre-trained backbones. To this end, we propose a new memory-efficient PETL strategy, Universal Parallel Tuning (UniPT), to mitigate these weaknesses. Specifically, we facilitate the transfer process via a lightweight and learnable parallel network, which consists of: 1) A parallel interaction module that decouples the sequential connections and processes the intermediate activations detachedly from the pre-trained network. 2) A confidence aggregation module that learns optimal strategies adaptively for integrating cross-layer features. We evaluate UniPT with different backbones (e.g., T5, VSE$\infty$, CLIP4Clip, Clip-ViL, and MDETR) on various vision-and-language and pure NLP tasks. Extensive ablations on 18 datasets have validated that UniPT can not only dramatically reduce memory consumption and outperform the best competitor, but also achieve competitive performance over other plain PETL methods with lower training memory overhead. Our code is publicly available at: https://github.com/Paranioar/UniPT.

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

↑