AnchorOPT: 向动态锚点优化适应性提示学习迈进
AnchorOPT: Towards Optimizing Dynamic Anchors for Adaptive Prompt Learning
AI总结:
AnchorOPT通过动态锚点和位置矩阵优化,提升提示学习在跨任务和阶段的适应性与性能。
摘要:
现有的基于CLIP模型的提示学习方法利用文本标记作为锚点来指导可学习的软标记。这种指导提高了CLIP的泛化能力。然而,这些锚点在值和位置上都是静态的,缺乏跨任务和阶段适应的灵活性。为了解决这一限制,我们提出了AnchorOPT,一种基于动态锚点的提示学习框架。具体来说,AnchorOPT在两个关键维度上引入了动态性:(i)锚点值摒弃了人工设计的显式文本标记(例如
英文摘要:
Existing prompt learning methods, which are built upon CLIP models, leverage textual tokens as anchors to guide the learnable soft tokens. This guidance improves CLIP generalizations. However, these anchors-static in both value and position-lack cross-task and stage-adaptive flexibility. To address this limitation, we propose AnchorOPT, a dynamic anchor-based prompt learning framework. Specifically, AnchorOPT introduces dynamism in two key dimensions: (i) anchor values eschew handcrafted explicit textual tokens (e.g., "shape", "color"), instead learning dynamically from task-specific data; and (ii) the positional relationship between anchor and soft tokens is no longer fixed but adaptively optimized via a learnable position matrix conditioned on the training stage and task context. Training occurs in two stages: we first learn the anchor tokens, then freeze and transfer them to the second stage for optimization of soft tokens and the position matrix. Extensive experiments demonstrate that using only a simple learnable anchor and position matrix achieves performance comparable to or exceeding some methods incorporating additional learnable modules or regularization techniques. As a plug-and-play module, AnchorOPT integrates seamlessly into existing frameworks, yielding consistent performance gains across diverse datasets. Code is publicly available at https://github.com/zhengli97/ATPrompt.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。