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

面向类内虚假特征生成的文本到图像扩散模型微调

Fine-Tuning Text-To-Image Diffusion Models for Class-Wise Spurious Feature Generation

National Institute of Informatics(国立情报学研究所);Tokyo Metropolitan University(东京都立大学);University of Tokyo(东京大学)

AprilPyone MaungMaung, Huy H. Nguyen, Hitoshi Kiya, Isao Echizen

AI总结:

本文提出一种微调 Stable Diffusion 的方法,通过引入基于对抗鲁棒模型神经特征的虚假特征相似度损失,生成在不同分类器间均具有虚假性的图像,有效解决了从互联网筛选虚假图像耗时的问题。

摘要:

我们提出了一种利用大规模文本到图像扩散模型生成虚假特征的方法。尽管先前的工作在 ImageNet 等大规模数据集中检测虚假特征并引入了 Spurious ImageNet,但我们发现并非所有虚假图像在不同分类器间均表现出虚假性。虽然虚假图像有助于衡量分类器的依赖性,但通过互联网过滤大量图像以寻找更多虚假特征非常耗时。为此,我们利用现有方法,结合已发现的虚假图像对大规模文本到图像扩散模型进行个性化定制,并基于对抗鲁棒模型的神经特征提出了一种新的虚假特征相似度损失。具体而言,我们利用 Spurious ImageNet 中的若干参考图像微调 Stable Diffusion,并在修改后的目标函数中引入所提出的虚假特征相似度损失。实验结果表明,我们的方法能够生成在不同分类器间始终具有虚假性的图像。此外,生成的虚假图像在视觉上与 Spurious ImageNet 中的参考图像相似。

英文摘要:

We propose a method for generating spurious features by leveraging large-scale text-to-image diffusion models. Although the previous work detects spurious features in a large-scale dataset like ImageNet and introduces Spurious ImageNet, we found that not all spurious images are spurious across different classifiers. Although spurious images help measure the reliance of a classifier, filtering many images from the Internet to find more spurious features is time-consuming. To this end, we utilize an existing approach of personalizing large-scale text-to-image diffusion models with available discovered spurious images and propose a new spurious feature similarity loss based on neural features of an adversarially robust model. Precisely, we fine-tune Stable Diffusion with several reference images from Spurious ImageNet with a modified objective incorporating the proposed spurious-feature similarity loss. Experiment results show that our method can generate spurious images that are consistently spurious across different classifiers. Moreover, the generated spurious images are visually similar to reference images from Spurious ImageNet.

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

↑