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

Cap2Aug: 字幕引导的图像到图像数据增强

Cap2Aug: Caption guided Image to Image data Augmentation

Johns Hopkins University(约翰斯·霍普金斯大学);SRI International(SRI国际公司)

Aniket Roy, Anshul Shah, Ketul Shah, Anirban Roy, Rama Chellappa

AI总结:

针对低数据下视觉识别易过拟合、传统增强语义变化有限的问题,提出Cap2Aug字幕引导的扩散模型数据增强方法,结合MMD损失缩小域 gap,在少样本和长尾分类任务上取得SOTA提升。

摘要:

低数据场景下的视觉识别颇具挑战,且往往容易过拟合。为缓解这一问题,已有多种数据增强策略被提出。然而,标准变换(如旋转、裁剪和翻转)所能提供的语义变化十分有限。为此,我们提出Cap2Aug,这是一种基于图像到图像扩散模型的数据增强策略,以图像字幕作为文本提示。我们从有限的训练图像中生成字幕,再利用这些字幕通过图像到图像stable diffusion模型编辑训练图像,以生成具有语义意义的增强样本。该策略生成的增强图像与训练图像相似,同时能为样本带来语义多样性。我们表明,类别内的变化可通过字幕捕捉,再借助字幕引导的图像到图像扩散模型转化为多样化样本。但由于真实图像与合成图像之间存在域差距,直接在合成图像上进行简单学习并不足够。因此,我们采用最大均值差异(MMD)损失将合成图像与真实图像对齐,以最小化域差距。我们在少样本和长尾分类任务上评估了所提方法,其性能优于现有最优方法,在低数据场景下提升尤为显著。

英文摘要:

Visual recognition in a low-data regime is challenging and often prone to overfitting. To mitigate this issue, several data augmentation strategies have been proposed. However, standard transformations, e.g., rotation, cropping, and flipping provide limited semantic variations. To this end, we propose Cap2Aug, an image-to-image diffusion model-based data augmentation strategy using image captions as text prompts. We generate captions from the limited training images and using these captions edit the training images using an image-to-image stable diffusion model to generate semantically meaningful augmentations. This strategy generates augmented versions of images similar to the training images yet provides semantic diversity across the samples. We show that the variations within the class can be captured by the captions and then translated to generate diverse samples using the image-to-image diffusion model guided by the captions. However, naive learning on synthetic images is not adequate due to the domain gap between real and synthetic images. Thus, we employ a maximum mean discrepancy (MMD) loss to align the synthetic images to the real images for minimizing the domain gap. We evaluate our method on few-shot and long-tail classification tasks and obtain performance improvements over state-of-the-art, especially in the low-data regimes.

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

↑