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

通过正交性学习与自正则化增强视觉-语言模型的鲁棒性

Enhancing Robustness of Vision-Language Models through Orthogonality Learning and Self-Regularization

University of Trento(特伦托大学);Xidian University(西安电子科技大学);Meituan Inc.(美团公司)

Jinlong Li, Dong Zhao, Zequn Jie, Elisa Ricci, Lin Ma, Nicu Sebe

AI总结:

本文提出OrthSR方法,通过正交微调与自正则化策略及注意力CutOut数据增强,在保持预训练权重冻结和零样本泛化能力的同时,有效缓解小数据集微调过拟合,显著提升CLIP在少样本图像分类任务上的鲁棒性与性能。

摘要:

像CLIP这样的视觉-语言模型(VLMs)在特定下游任务上的高效微调正受到广泛关注。以往的工作主要集中在提示学习以将CLIP适配到各种下游任务中,但在小数据集上微调时会遭遇任务过拟合。本文引入了一种正交微调方法,用于高效微调预训练权重并增强鲁棒性与泛化能力,同时进一步利用自正则化策略以维持VLMs在零样本泛化方面的稳定性,该方法被称为OrthSR。具体而言,可训练的正交矩阵被无缝注入到transformer架构中,并在训练期间施加正交性约束,得益于保范特性从而实现稳定且更快的收敛,同时保持预训练权重冻结。为缓解微调带来的偏差,进一步采用自正则化策略以旁路方式在训练期间保留模型的泛化能力。此外,为丰富小数据集场景下下游任务的样本多样性,我们首次探索了注意力CutOut数据增强以促进高效微调,从而提升针对特定下游任务的模型拟合能力。随后,我们提供了关于该方法如何改善特定下游性能并维持泛化能力的理论分析。我们首次用该方法重新审视CLIP和CoOp,在少样本图像分类场景中有效改进了模型,其表现与精心设计的提示学习方法相当。

英文摘要:

Efficient fine-tuning of vision-language models (VLMs) like CLIP for specific downstream tasks is gaining significant attention. Previous works primarily focus on prompt learning to adapt the CLIP into a variety of downstream tasks, however, suffering from task overfitting when fine-tuned on a small data set. In this paper, we introduce an orthogonal fine-tuning method for efficiently fine-tuning pretrained weights and enabling enhanced robustness and generalization, while a self-regularization strategy is further exploited to maintain the stability in terms of zero-shot generalization of VLMs, dubbed OrthSR. Specifically, trainable orthogonal matrices are injected seamlessly into the transformer architecture and enforced with orthogonality constraint during the training, benefiting from the norm-preserving property and thus leading to stable and faster convergence, while keeping the pre-trained weights frozen. To alleviate deviation from fine-tuning, a self-regularization strategy is further employed to retain the generalization of the model during the training within a bypass manner. In addition, to enrich the sample diversity for downstream tasks under the small dataset scenario, we first explore attentive CutOut data augmentation to boost the efficient fine-tuning, leading to better model fitting capacity for specific downstream task. Then we support the theoretical analysis on how our approach improves the specific downstream performance and maintains the generalizability. For the first time, we revisit the CLIP and CoOp with our method to effectively improve the model on few-shot image classficiation scenario on par with the elaborated prompt learning methods.

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

↑