arXiv:2505.15506cs.CVcs.LG2025-05被引 2

用提示调优增强视觉语言模型在分布偏移下的少样本适应能力

Prompt Tuning Vision Language Models with Margin Regularizer for Few-Shot Learning under Distribution Shifts

  • 基于选择性增强和多模态边界正则化,实现仅用少量样本的高效提示调优
  • 在15个存在分布偏移的基准数据集上,性能优于现有最先进方法
  • 适合处理训练数据与目标数据分布差异大的少样本场景

近年来,如CLIP和ALIGN等大规模视觉-语言基础模型在海量数据上预训练后,展现出对不同类别甚至不同领域的零样本泛化能力。本文进一步探讨:当目标数据集与预训练数据在分布和类别上差异显著时,仅使用少量标注样本能否有效微调这些模型?由于预训练数据不可得,且直接微调易过拟合、损失泛化能力,该问题尚未被充分研究。本文通过分析共现的视觉-语言嵌入空间,提出新方法PromptMargin,可在仅少数目标样本下直接调优大模型。该方法包含两个模块:一是选择性增强策略,弥补每任务中样本稀缺;二是新型多模态边界正则化,提升陌生类别间的判别力。在15个具有不同程度分布偏移的自然图像基准数据集上验证,所提框架显著优于现有先进方法。

原文摘要 · Abstract (English)

Recently, Vision-Language foundation models like CLIP and ALIGN, which are pre-trained on large-scale data have shown remarkable zero-shot generalization to diverse datasets with different classes and even domains. In this work, we take a step further and analyze whether these models can be adapted to target datasets having very different distributions and classes compared to what these models have been trained on, using only a few labeled examples from the target dataset. In such scenarios, finetuning large pretrained models is challenging due to problems of overfitting as well as loss of generalization, and has not been well explored in prior literature. Since, the pre-training data of such models are unavailable, it is difficult to comprehend the performance on various downstream datasets. First, we try to answer the question: Given a target dataset with a few labelled examples, can we estimate whether further fine-tuning can enhance the performance compared to zero-shot evaluation? by analyzing the common vision-language embedding space. Based on the analysis, we propose a novel prompt-tuning method, PromptMargin for adapting such large-scale VLMs directly on the few target samples. PromptMargin effectively tunes the text as well as visual prompts for this task, and has two main modules: 1) Firstly, we use a selective augmentation strategy to complement the few training samples in each task; 2) Additionally, to ensure robust training in the presence of unfamiliar class names, we increase the inter-class margin for improved class discrimination using a novel Multimodal Margin Regularizer. Extensive experiments and analysis across fifteen target benchmark datasets, with varying degrees of distribution shifts from natural images, shows the effectiveness of the proposed framework over the existing state-of-the-art approaches applied to this setting. github.com/debarshigit/PromptMargin.

提示调优少样本学习分布偏移视觉语言模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。