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

StylePrompter:利用测试时风格先验增强域泛化

StylePrompter: Enhancing Domain Generalization with Test-Time Style Priors

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)

Jiao Zhang, Jian Xu, Xu-Yao Zhang, Cheng-Lin Liu

AI总结:

针对域泛化中传统方法训练的视觉模型应对未知域效果不佳的问题,提出StylePrompter方法,通过语言模态的风格提示动态适配模型,在多个公开数据集上取得SOTA性能。

摘要:

在实际应用中,推理阶段的样本分布通常与训练阶段存在差异,导致训练好的深度模型性能下降。域泛化(DG)研究旨在开发鲁棒算法,通过在少量域上训练来提升模型在未见过域上的泛化性能。然而,采用传统域泛化方法在有限数量域上训练的域无关视觉模型,无法保证其在应对未见过域时的有效性。语言的引入可以打破视觉模型的封闭认知空间,提供仅视觉数据集无法推断出的额外语义信息。本文提出通过在语言模态中引入风格提示,动态适配已训练的模型,以克服以往域泛化方法中的挑战。具体而言,我们训练一个风格提示器(style prompter),将当前图像的风格信息提取为令牌嵌入空间中的嵌入向量,并将其作为先验知识置于候选类别词之前,以引导模型。我们对风格令牌嵌入空间的开放空间划分以及手工设计的风格正则化,使得训练好的风格提示器能够有效处理来自未知域的数据。大量实验验证了我们方法的有效性,并在多个公开数据集上取得了当前最优(state-of-the-art)性能。代码将在本文被接收后公开。

英文摘要:

In real-world applications, the sample distribution at the inference stage often differs from the one at the training stage, causing performance degradation of trained deep models. The research on domain generalization (DG) aims to develop robust algorithms that can improve the generalized performance in unseen domains by training on a few domains. However, the domain-agnostic vision model, trained on a limited number of domains using traditional domain generalization methods, cannot guarantee its effectiveness in dealing with unseen domains. The introduction of language can break the closed cognition space of the vision model, providing additional semantic information that cannot be inferred from vision-only datasets. In this paper, we propose to overcome the challenge in previous DG methods by introducing the style prompt in the language modality to adapt the trained model dynamically. In particular, we train a style prompter to extract style information of the current image into an embedding in the token embedding space and place it in front of the candidate category words as prior knowledge to prompt the model. Our open space partition of the style token embedding space and the hand-crafted style regularization enable the trained style prompter to handle data from unknown domains effectively. Extensive experiments verify the effectiveness of our method and demonstrate state-of-the-art performances on multiple public datasets. Codes will be available after the acceptance of this paper.

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

↑