arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.15894cs.CV
收藏

Craft:跨模态对齐特征提升 Prompt Tuning 的鲁棒性

Craft: Cross-modal Aligned Features Improve Robustness of Prompt Tuning

University at Buffalo, State University of New York(纽约州立大学布法罗分校)

Jingchen Sun, Rohan Sharma, Vishnu Suresh Lokhande, Changyou Chen

AI总结:

针对 Prompt Tuning 因样本有限导致的过拟合问题,提出 Craft 方法,通过跨模态锚点对齐与最小化 MMD 缓解域偏移,显著提升了模型在泛化、组鲁棒性及分布外任务上的性能。

摘要:

Prompt Tuning 已成为将视觉-语言模型适配到各种下游任务的突出研究范式。然而,最近的研究表明,由于训练样本有限,prompt tuning 方法通常会导致过拟合。在本文中,我们提出了一种跨模态对齐特征调优(Craft)方法来解决这一问题。跨模态对齐首先通过从替代域中选择锚点,并推导所选锚点嵌入的相对表示来进行。通过在锚点对齐的文本和图像模态上优化特征对齐损失,创建了一个更统一的文本-图像公共空间。Prompt Tuning 中的过拟合也会恶化模型在分布外样本上的性能。为了进一步提高 prompt 模型的鲁棒性,我们提出在锚点对齐的特征空间上最小化最大均值差异(MMD)以缓解域偏移。在四种不同的 prompt tuning 结构上的实验一致表明了我们方法的改进,在 Base-to-Novel 泛化任务中提升了 $6.1\%$,在组鲁棒性任务中提升了 $5.8\%$,在分布外任务中提升了 $2.7\%$。代码将发布于 https://github.com/Jingchensun/Craft

英文摘要:

Prompt Tuning has emerged as a prominent research paradigm for adapting vision-language models to various downstream tasks. However, recent research indicates that prompt tuning methods often lead to overfitting due to limited training samples. In this paper, we propose a Cross-modal Aligned Feature Tuning (Craft) method to address this issue. Cross-modal alignment is conducted by first selecting anchors from the alternative domain and deriving relative representations of the embeddings for the selected anchors. Optimizing for a feature alignment loss over anchor-aligned text and image modalities creates a more unified text-image common space. Overfitting in prompt tuning also deteriorates model performance on out-of-distribution samples. To further improve the prompt model's robustness, we propose minimizing Maximum Mean Discrepancy (MMD) over the anchor-aligned feature spaces to mitigate domain shift. The experiment on four different prompt tuning structures consistently shows the improvement of our method, with increases of up to $6.1\%$ in the Base-to-Novel generalization task, $5.8\%$ in the group robustness task, and $2.7\%$ in the out-of-distribution tasks. The code will be available at https://github.com/Jingchensun/Craft

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

↑