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

在稀薄空气中训练:利用生成数据改进图像分类

Training on Thin Air: Improve Image Classification with Generated Data

University of Toronto(多伦多大学)

Yongchao Zhou, Hshmat Sahak, Jimmy Ba

AI总结:

本文提出扩散反演方法,利用 Stable Diffusion 将图像反演到潜在空间并生成多样化训练数据,以替代原始数据集,显著提升样本效率并优于现有基线。

摘要:

获取高质量数据以训练判别模型是构建有效预测系统中一个关键但具有挑战性的环节。在本文中,我们提出了扩散反演(Diffusion Inversion),这是一种简单而有效的方法,利用预训练生成模型 Stable Diffusion 为图像分类生成多样化、高质量的训练数据。我们的方法通过将图像反演到 Stable Diffusion 的潜在空间来捕捉原始数据分布并确保数据覆盖,并通过在这些向量的噪声版本上条件化生成模型来生成多样化的新训练图像。我们确定了三个关键组成部分,使生成的图像能够成功替代原始数据集,从而使样本复杂度提升 2-3 倍,采样时间减少 6.5 倍。此外,我们的方法在广泛的数据集上一致优于通用的基于提示的引导方法和 KNN 检索基线。我们还证明了该方法与广泛使用的数据增强技术的兼容性,以及生成数据在支持各种神经架构和增强少样本学习方面的可靠性。

英文摘要:

Acquiring high-quality data for training discriminative models is a crucial yet challenging aspect of building effective predictive systems. In this paper, we present Diffusion Inversion, a simple yet effective method that leverages the pre-trained generative model, Stable Diffusion, to generate diverse, high-quality training data for image classification. Our approach captures the original data distribution and ensures data coverage by inverting images to the latent space of Stable Diffusion, and generates diverse novel training images by conditioning the generative model on noisy versions of these vectors. We identify three key components that allow our generated images to successfully supplant the original dataset, leading to a 2-3x enhancement in sample complexity and a 6.5x decrease in sampling time. Moreover, our approach consistently outperforms generic prompt-based steering methods and KNN retrieval baseline across a wide range of datasets. Additionally, we demonstrate the compatibility of our approach with widely-used data augmentation techniques, as well as the reliability of the generated data in supporting various neural architectures and enhancing few-shot learning.

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

↑