arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.03051cs.CV
收藏

Adapter-X:一种新颖的视觉通用参数高效微调框架

Adapter-X: A Novel General Parameter-Efficient Fine-Tuning Framework for Vision

Fudan University(复旦大学);Shanghai AI Laboratory(上海人工智能实验室)

Minglei Li, Peng Ye, Yongqi Huang, Lin Zhang, Tao Chen, Tong He, Jiayuan Fan, Wanli Ouyang

AI总结:

Adapter-X 提出共享混合 Adapter 与提示生成器等分块设计,首次在 2D 图像和 3D 点云任务中以极少参数超越全量微调。

摘要:

随着基础模型在流行度和规模上的持续增长,参数高效微调(PEFT)变得越来越重要。其中,Adapter 因其在参数缩减和跨任务适应性方面的潜力而尤其受到关注。然而,在基于 Adapter 的方法中,如何在高效性与跨任务鲁棒泛化之间取得平衡仍然是一个挑战。我们分析了现有方法并发现:1)参数共享是减少冗余的关键;2)更多可调参数、动态分配以及分块特定设计是提升性能的关键。遗憾的是,此前没有工作同时考虑这些因素。受此启发,我们提出了一个名为 Adapter-X 的新框架。首先,我们提出了共享混合 Adapter(SMoA)模块,以同时实现 token 级动态分配、增加可调参数以及跨块共享。其次,我们引入了一些分块特定设计,例如提示生成器(PG),以进一步增强适应能力。在 2D 图像和 3D 点云两种模态上的大量实验表明,Adapter-X 是一个重要的里程碑,因为它是首个在 2D 图像和 3D 点云两种模态上以显著更少的参数超越全量微调的方法,即在 2D 和 3D 分类任务中仅使用原始可训练参数的 0.20% 和 1.88%。我们的代码将公开发布。

英文摘要:

Parameter-efficient fine-tuning (PEFT) has become increasingly important as foundation models continue to grow in both popularity and size. Adapter has been particularly well-received due to their potential for parameter reduction and adaptability across diverse tasks. However, striking a balance between high efficiency and robust generalization across tasks remains a challenge for adapter-based methods. We analyze existing methods and find that: 1) parameter sharing is the key to reducing redundancy; 2) more tunable parameters, dynamic allocation, and block-specific design are keys to improving performance. Unfortunately, no previous work considers all these factors. Inspired by this insight, we introduce a novel framework named Adapter-X. First, a Sharing Mixture of Adapters (SMoA) module is proposed to fulfill token-level dynamic allocation, increased tunable parameters, and inter-block sharing at the same time. Second, some block-specific designs like Prompt Generator (PG) are introduced to further enhance the ability of adaptation. Extensive experiments across 2D image and 3D point cloud modalities demonstrate that Adapter-X represents a significant milestone as it is the first to outperform full fine-tuning in both 2D image and 3D point cloud modalities with significantly fewer parameters, i.e., only 0.20% and 1.88% of original trainable parameters for 2D and 3D classification tasks. Our code will be publicly available.

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

↑