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

梯度投影用于持续参数高效微调

Gradient Projection For Continual Parameter-Efficient Tuning

School of Computer Science and Technology, East China Normal University(华东师范大学计算机科学与技术学院);School of Information Science and Technology, Xiamen University(厦门大学信息科学与技术学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Shenyang Institute of Automation, Chinese Academy of Sciences(中国科学院沈阳自动化研究所)

Jingyang Qiao, Zhizhong Zhang, Xin Tan, Yanyun Qu, Wensheng Zhang, Zhi Han, Yuan Xie

AI总结:

本文提出统一框架PEGP,将正交梯度投影引入多种参数高效微调范式,以缓解持续学习中的遗忘问题,并在多种设置下验证其有效性。

摘要:

参数高效微调(PETs)在训练大型模型方面展现了出色的性能和广阔前景,但它们仍面临一个常见问题:在学习新内容与保护旧知识之间存在权衡,导致零样本泛化崩溃和跨模态幻觉。本文从梯度投影的角度重新审视了Adapter、LoRA、Prefix-tuning和Prompt-tuning,并首次提出了一个统一框架,称为参数高效梯度投影(PEGP)。我们将正交梯度投影引入不同的PET范式,并从理论上证明梯度的正交条件能有效抵抗遗忘,即使对于大规模模型也是如此。因此,它将梯度修改为对旧特征空间影响较小的方向,同时需要更少的额外内存空间和训练时间。我们使用不同的骨干网络(包括ViT和CLIP)在各种数据集上广泛评估了我们的方法,实验全面证明了其在减少类增量、在线类增量、域增量、任务增量和多模态持续学习设置中的遗忘方面的效率。项目页面可在https://dmcv-ecnu-pegp.github.io/获取。

英文摘要:

Parameter-efficient tunings (PETs) have demonstrated impressive performance and promising perspectives in training large models, while they are still confronted with a common problem: the trade-off between learning new content and protecting old knowledge, leading to zero-shot generalization collapse, and cross-modal hallucination. In this paper, we reformulate Adapter, LoRA, Prefix-tuning, and Prompt-tuning from the perspective of gradient projection, and firstly propose a unified framework called Parameter Efficient Gradient Projection (PEGP). We introduce orthogonal gradient projection into different PET paradigms and theoretically demonstrate that the orthogonal condition for the gradient can effectively resist forgetting even for large-scale models. It therefore modifies the gradient towards the direction that has less impact on the old feature space, with less extra memory space and training time. We extensively evaluate our method with different backbones, including ViT and CLIP, on diverse datasets, and experiments comprehensively demonstrate its efficiency in reducing forgetting in class, online class, domain, task, and multi-modality continual settings. The project page is available at https://dmcv-ecnu-pegp.github.io/.

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

↑