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

KNN扩散:通过大规模检索生成图像

KNN-Diffusion: Image Generation via Large-Scale Retrieval

Meta AI

Shelly Sheynin, Oron Ashual, Adam Polyak, Uriel Singer, Oran Gafni, Eliya Nachmani, Yaniv Taigman

摘要:

最近的文本到图像模型取得了令人印象深刻的结果。然而,由于它们需要大规模的文本-图像对数据集,因此在数据稀缺或未标记的新域上训练它们是不切实际的。在这项工作中,我们建议使用大规模检索方法,特别是高效的k最近邻(kNN),它提供了新的功能:(1)在没有任何文本的情况下训练相当小且有效的文本到图像扩散模型,(2)通过在推理时间简单地交换检索数据库来生成分布外图像,以及(3)在保持对象身份的同时执行文本驱动的局部语义操作。为了证明我们的方法的鲁棒性,我们将我们的kNN方法应用于两个最先进的扩散骨干,并在几个不同的数据集上显示结果。通过人类研究和自动度量评估,与仅使用图像(没有配对文本数据)训练文本到图像生成模型的现有方法相比,我们的方法实现了最先进的结果。

英文摘要:

Recent text-to-image models have achieved impressive results. However, since they require large-scale datasets of text-image pairs, it is impractical to train them on new domains where data is scarce or not labeled. In this work, we propose using large-scale retrieval methods, in particular, efficient k-Nearest-Neighbors (kNN), which offers novel capabilities: (1) training a substantially small and efficient text-to-image diffusion model without any text, (2) generating out-of-distribution images by simply swapping the retrieval database at inference time, and (3) performing text-driven local semantic manipulations while preserving object identity. To demonstrate the robustness of our method, we apply our kNN approach on two state-of-the-art diffusion backbones, and show results on several different datasets. As evaluated by human studies and automatic metrics, our method achieves state-of-the-art results compared to existing approaches that train text-to-image generation models using images only (without paired text data)

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

↑