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

DataDream:少样本引导数据集生成

DataDream: Few-shot Guided Dataset Generation

University of Tübingen(蒂宾根大学);Helmholtz Munich(亥姆霍兹慕尼黑中心);TUM(慕尼黑工业大学);Inria(法国国家信息与自动化研究所);Ecole normale supérieure(巴黎高等师范学院);CNRS(法国国家科学研究中心);PSL Research University(巴黎文理研究大学)

Jae Myung Kim, Jessica Bader, Stephan Alaniz, Cordelia Schmid, Zeynep Akata

AI总结:

DataDream通过少样本引导生成更忠实于真实分布的数据集,微调LoRA权重并用于CLIP,在多数数据集上超越现有方法,提升分类性能。

摘要:

虽然文本到图像的扩散模型在图像合成方面已展现出最先进的成果,但它们在下游应用中的有效性尚未得到证实。先前的工作提出在真实数据访问受限的情况下,为图像分类器训练生成数据。然而,这些方法难以生成分布内图像或描绘细粒度特征,从而阻碍了在合成数据集上训练的分类模型的泛化能力。我们提出了DataDream,一个合成分类数据集的框架,在目标类别的少样本示例引导下,能更忠实地代表真实数据分布。DataDream在生成训练数据之前,先在少量真实图像上对图像生成模型的LoRA权重进行微调,然后使用适配后的模型生成数据。接着,我们使用合成数据对CLIP的LoRA权重进行微调,以在大量数据集上提升下游图像分类性能,优于先前的方法。我们通过大量实验证明了DataDream的有效性,在10个数据集中有7个达到了超越最先进水平的少样本分类准确率,在其余3个数据集上也具有竞争力。此外,我们提供了对各种因素影响的洞察,如真实样本和生成图像的数量以及微调计算量对模型性能的影响。代码可在https://github.com/ExplainableML/DataDream获取。

英文摘要:

While text-to-image diffusion models have been shown to achieve state-of-the-art results in image synthesis, they have yet to prove their effectiveness in downstream applications. Previous work has proposed to generate data for image classifier training given limited real data access. However, these methods struggle to generate in-distribution images or depict fine-grained features, thereby hindering the generalization of classification models trained on synthetic datasets. We propose DataDream, a framework for synthesizing classification datasets that more faithfully represents the real data distribution when guided by few-shot examples of the target classes. DataDream fine-tunes LoRA weights for the image generation model on the few real images before generating the training data using the adapted model. We then fine-tune LoRA weights for CLIP using the synthetic data to improve downstream image classification over previous approaches on a large variety of datasets. We demonstrate the efficacy of DataDream through extensive experiments, surpassing state-of-the-art classification accuracy with few-shot data across 7 out of 10 datasets, while being competitive on the other 3. Additionally, we provide insights into the impact of various factors, such as the number of real-shot and generated images as well as the fine-tuning compute on model performance. The code is available at https://github.com/ExplainableML/DataDream.

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

↑