arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.03241cs.CVcs.LG
收藏

PØDA:提示驱动的零样本域适应

PØDA: Prompt-driven Zero-shot Domain Adaptation

Inria(法国国家信息与自动化研究所)

Mohammad Fahes, Tuan-Hung Vu, Andrei Bursuc, Patrick Pérez, Raoul de Charette

AI总结:

本文提出 PØDA,仅凭目标域文本提示,借助 CLIP 和 PIN 调整源特征以实现零样本域适应,并在分割、检测和分类任务上取得显著提升。

摘要:

域适应已在计算机视觉中得到广泛研究,但在训练时仍需访问目标图像,这在某些特殊情况下可能难以实现。本文提出“提示驱动的零样本域适应”任务:仅使用目标域的自然语言通用描述(即提示)来适应在源域上训练的模型。首先,我们利用预训练的对比视觉-语言模型 CLIP 优化源特征的仿射变换,在保留其内容和语义的同时,将其引导至目标文本嵌入。为此,我们提出了提示驱动实例归一化(PIN)。其次,我们表明这些提示驱动的增强可用于语义分割的零样本域适应。实验表明,在所涉及的下游任务上,本方法在多个数据集上显著优于基于 CLIP 的风格迁移基线,甚至超过单样本无监督域适应方法。在目标检测和图像分类上也观察到类似提升。代码位于 https://github.com/astra-vision/PODA。

英文摘要:

Domain adaptation has been vastly investigated in computer vision but still requires access to target images at train time, which might be intractable in some uncommon conditions. In this paper, we propose the task of `Prompt-driven Zero-shot Domain Adaptation', where we adapt a model trained on a source domain using only a general description in natural language of the target domain, i.e., a prompt. First, we leverage a pretrained contrastive vision-language model (CLIP) to optimize affine transformations of source features, steering them towards the target text embedding while preserving their content and semantics. To achieve this, we propose Prompt-driven Instance Normalization (PIN). Second, we show that these prompt-driven augmentations can be used to perform zero-shot domain adaptation for semantic segmentation. Experiments demonstrate that our method significantly outperforms CLIP-based style transfer baselines on several datasets for the downstream task at hand, even surpassing one-shot unsupervised domain adaptation. A similar boost is observed on object detection and image classification. The code is available at https://github.com/astra-vision/PODA .

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

↑