arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.15895cs.LGcs.AIcs.CLcs.CV
收藏

方向梯度投影用于基础模型的鲁棒微调

Directional Gradient Projection for Robust Fine-Tuning of Foundation Models

Georgia Institute of Technology(佐治亚理工学院)

Chengyue Huang, Junjiao Tian, Brisa Maneechotesuwan, Shivang Chopra, Zsolt Kira

AI总结:

提出方向梯度投影(DiGraP)方法,利用梯度方向信息实现基础模型鲁棒微调,在图像分类和VQA任务上提升分布内泛化与分布外鲁棒性。

摘要:

鲁棒微调旨在使大型基础模型适应下游任务,同时保持其对分布偏移的鲁棒性。现有方法主要基于微调后权重与预训练权重之间的幅度差异,专注于约束当前模型并向预训练初始化投影,这通常需要大量的超参数调整,有时会导致欠拟合。在这项工作中,我们提出了方向梯度投影(DiGraP),一种新颖的逐层可训练方法,该方法结合了梯度的方向信息,以桥接正则化和多目标优化。除了在图像分类上展示我们的方法外,作为另一项贡献,我们将这一领域推广到多模态评估设置以进行鲁棒微调。具体来说,我们首先通过在图像分类重构的视觉问答(VQA)基准上进行分析,弥合了单模态与多模态之间的差距,并进一步根据分布偏移类型和程度(即近OOD与远OOD)对十个分布外(OOD)VQA数据集进行分类。实验结果表明,DiGraP在图像分类和VQA任务上,使用判别式和生成式骨干网络,均持续优于现有基线,同时提高了分布内(ID)泛化能力和OOD鲁棒性。

英文摘要:

Robust fine-tuning aims to adapt large foundation models to downstream tasks while preserving their robustness to distribution shifts. Existing methods primarily focus on constraining and projecting current model towards the pre-trained initialization based on the magnitudes between fine-tuned and pre-trained weights, which often require extensive hyper-parameter tuning and can sometimes result in underfitting. In this work, we propose Directional Gradient Projection (DiGraP), a novel layer-wise trainable method that incorporates directional information from gradients to bridge regularization and multi-objective optimization. Besides demonstrating our method on image classification, as another contribution we generalize this area to the multi-modal evaluation settings for robust fine-tuning. Specifically, we first bridge the uni-modal and multi-modal gap by performing analysis on Image Classification reformulated Visual Question Answering (VQA) benchmarks and further categorize ten out-of-distribution (OOD) VQA datasets by distribution shift types and degree (i.e. near versus far OOD). Experimental results show that DiGraP consistently outperforms existing baselines across Image Classfication and VQA tasks with discriminative and generative backbones, improving both in-distribution (ID) generalization and OOD robustness.

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

↑