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

弥合合成与真实之间的差距:利用迁移学习探究 Stable Diffusion 生成数据的边界

Mind the Gap Between Synthetic and Real: Utilizing Transfer Learning to Probe the Boundaries of Stable Diffusion Generated Data

Hasso Plattner Institute, University of Potsdam(波茨坦大学哈索·普拉特纳研究所);Center for AI, Robert Bosch(罗伯特·博世公司人工智能中心)

Leonhard Hennicke, Christian Medeiros Adriano, Holger Giese, Jan Mathias Koehler, Lukas Schott

AI总结:

本文研究 Stable Diffusion 生成数据训练的学生模型准确率下降问题,发现主要源于模型最后几层,并提出仅用少量真实数据微调这些层即可改善数据效率与准确率的权衡。

摘要:

像 Stable Diffusion 这样的生成基础模型包含了计算机视觉中多样化的知识谱系,并具有迁移学习的潜力,例如通过生成数据来训练用于下游任务的学生模型。这可以避免收集带标注的真实世界数据的必要性,从而呈现一种无数据知识蒸馏的形式。然而,与在真实数据上训练的模型相比,所得学生模型的准确率显著下降。我们研究了这种下降的可能原因,并重点关注学生模型不同层的作用。通过使用真实数据或合成数据分别训练这些层,我们揭示出准确率下降主要源于模型的最后几层。此外,我们简要调查了其他因素,例如合成数据与真实数据之间数据归一化的差异、数据增强的影响、纹理学习与形状学习的对比,以及假设使用理想提示词的情况。虽然我们发现其中一些因素可能产生影响,但它们不足以缩小与真实数据之间的差距。基于我们关于准确率下降主要由后几层造成的见解,我们研究了仅将真实数据应用于最后几层来微调合成训练模型的数据效率。我们的结果表明,所使用的真实训练数据量与模型准确率之间的权衡得到了改善。我们的发现有助于理解合成数据与真实数据之间的差距,并为缓解带标注真实数据的稀缺性指明了解决方案。

英文摘要:

Generative foundation models like Stable Diffusion comprise a diverse spectrum of knowledge in computer vision with the potential for transfer learning, e.g., via generating data to train student models for downstream tasks. This could circumvent the necessity of collecting labeled real-world data, thereby presenting a form of data-free knowledge distillation. However, the resultant student models show a significant drop in accuracy compared to models trained on real data. We investigate possible causes for this drop and focus on the role of the different layers of the student model. By training these layers using either real or synthetic data, we reveal that the drop mainly stems from the model's final layers. Further, we briefly investigate other factors, such as differences in data-normalization between synthetic and real, the impact of data augmentations, texture vs.\ shape learning, and assuming oracle prompts. While we find that some of those factors can have an impact, they are not sufficient to close the gap towards real data. Building upon our insights that mainly later layers are responsible for the drop, we investigate the data-efficiency of fine-tuning a synthetically trained model with real data applied to only those last layers. Our results suggest an improved trade-off between the amount of real training data used and the model's accuracy. Our findings contribute to the understanding of the gap between synthetic and real data and indicate solutions to mitigate the scarcity of labeled real data.

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

↑