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

SAMPLe:基于SAM的视觉语言模型提示学习优化器

SAMPLe: SAM-based Optimizer for Prompt Learning in VLMs

Clemson University(克莱姆森大学);Siemens Energy (AI Lab)(西门子能源(人工智能实验室));University of Arizona(亚利桑那大学)

Hossein Rajoli, Fatemeh Lotfi, Niloufar Alipour Talemi, Hossein Kashiani, Xiaolong Ma, Fatemeh Afghah

AI总结:

研究VLM提示学习中性能与泛化的困境,提出SAMPLe优化器,通过考虑损失曲面锐度平衡探索与利用,减少过拟合,提升泛对未见能力,在多种提示学习框架中表现出色,优于现有优化器。

摘要:

预训练视觉语言模型(VLM)在下游应用中成效显著,但提示学习面临性能与泛化困境。可学习提示集有限易导致过拟合,影响泛化能力。为此,本文提出SAMPLe,一种基于锐度感知的插件式优化器,通过考虑损失曲面锐度增强提示泛化性。它在每一步平衡探索与利用,动态适应优化状态,减少过拟合,提升对未见数据的适应性。实验表明,SAMPLe在多种提示学习框架中表现出色,优于现有优化器。

英文摘要:

Pre-trained Vision-Language Models (VLMs) like CLIP have proven highly effective as foundation models for various downstream applications. However, prompt learning in VLMs encounters a performance-generalization dilemma: while prompts can be tuned to achieve high accuracy on seen distributions, this tuning process often undermines their generalizability to unseen data. The limited set of learnable prompts, which contextualize and condition the input to steer it toward the task within the pretrained VLM, tends to overfit the training data, leading to a trade-off between task-specific performance and preserving generalization. To address this dilemma, we introduce SAMPLe (Sharpness-Aware Minimization Prompt Learning), a plug-in sharpness-aware optimizer that enhances prompt generalizability by accounting for loss landscape sharpness. Unlike conventional methods, SAMPLe balances exploration and exploitation by satisfying objective function constraints at each step, dynamically adapting to the current optimization state based on the local curvature and gradient properties. This approach reduces overfitting on seen distributions and improves adaptability to unseen data, preserving the generalization potential of pre-trained VLM models. We integrate SAMPLe into multiple prompt learning frameworks, including CoOp, CoCoOp, MaPLe, TCP, and Co-Prompt, demonstrating its effectiveness across diverse methods. Experiments show that SAMPLe elevates prompt learning frameworks and consistently outperforms existing optimizers across diverse settings, establishing itself as a robust, model-agnostic solution for prompt learning.

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

↑