提出解耦先对齐方法,让视觉模型更专注目标物体
Decouple before Align: Visual Disentanglement Enhances Prompt Tuning
- 先分离视觉特征中的前景与背景,再分别对齐文本
- 在多个基准上实现更优的少样本与跨域泛化性能
- 适合需要高效微调且关注目标定位的视觉语言任务
提示微调(Prompt Tuning, PT)作为一种高效的微调范式,在提升视觉-语言模型的任务迁移能力方面表现突出。然而,本文揭示了PT中一个被忽视的信息不对称问题:视觉模态通常携带更多上下文信息,而文本模态更偏向对象描述。若直接粗粒度对齐二者,会导致模型注意力偏向上下文区域。为此,我们提出DAPT框架,基于‘解耦先对齐’理念:首先利用粗粒度与细粒度视觉分割线索,将视觉特征显式解耦为前景与背景表示;随后,将前景特征与原始前景文本对齐,背景特征与人工构造的背景类别对齐,实现对称增强的模态对齐。为进一步提升视觉聚焦能力,设计了针对前景-背景模式的拉-推正则化,引导原始视觉表示关注感兴趣区域。通过少样本学习、基础到新类泛化及数据高效学习等实验验证,DAPT在多个主流基准上均取得优异性能。代码将公开于https://github.com/Ferenas/DAPT。
原文摘要 · Abstract (English)
Prompt tuning (PT), as an emerging resource-efficient fine-tuning paradigm, has showcased remarkable effectiveness in improving the task-specific transferability of vision-language models. This paper delves into a previously overlooked information asymmetry issue in PT, where the visual modality mostly conveys more context than the object-oriented textual modality. Correspondingly, coarsely aligning these two modalities could result in the biased attention, driving the model to merely focus on the context area. To address this, we propose DAPT, an effective PT framework based on an intuitive decouple-before-align concept. First, we propose to explicitly decouple the visual modality into the foreground and background representation via exploiting coarse-and-fine visual segmenting cues, and then both of these decoupled patterns are aligned with the original foreground texts and the hand-crafted background classes, thereby symmetrically strengthening the modal alignment. To further enhance the visual concentration, we propose a visual pull-push regularization tailored for the foreground-background patterns, directing the original visual representation towards unbiased attention on the region-of-interest object. We demonstrate the power of architecture-free DAPT through few-shot learning, base-to-novel generalization, and data-efficient learning, all of which yield superior performance across prevailing benchmarks. Our code will be released at https://github.com/Ferenas/DAPT.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。