2024-11-12 · 专家 · 计算机视觉 · 机器学习

OmniEdit: Building Image Editing Generalist Models Through Specialist Supervision

OMNI-EDIT通过专业监督构建图像编辑通用模型,能够执行多样化编辑任务,并在不同分辨率和宽高比下保持图像的保真度。

更新于 2024-11-12。作者:Cong Wei、Zheyang Xiong、Weiming Ren、Xinrun Du、Ge Zhang、Wenhu Chen。

中文摘要

指令引导的图像编辑方法通过在自动合成的或手动标注的图像编辑对上训练扩散模型,已经展现出巨大的潜力。然而,这些方法离实际生活中的应用还有很长的路要走。我们确定了三个主要挑战,导致这种差距。首先,由于偏颇的合成过程,现有模型具有有限的编辑技能。其次,这些方法使用的是含有大量噪声和伪影的数据库,这是由于应用了简单的过滤方法,如CLIP分数。第三,所有这些数据集都限制在单一的低分辨率和固定宽高比,限制了其处理真实世界用例的通用性。在这篇论文中,我们提出了 \omniedit,这是一种全能编辑器,可以无缝处理七种不同的图像编辑任务。我们的贡献有四个方面:(1)\omniedit 通过利用七个不同专业模型的监督来确保任务覆盖范围。(2)我们利用基于大型多模态模型(如GPT-4o)提供的分数的重要性抽样,而不是CLIP分数,以改进数据质量。(3)我们提出了一个新的编辑架构称为EditNet,以大幅提高编辑成功率。(4)我们提供了不同宽高比的图像,以确保我们的模型可以处理任何野生图像。我们精心制作了一个测试集,其中包含不同宽高比的图像,并伴有多样化的指令以涵盖不同的任务。自动评估和人工评估都表明,\omniedit 可以显著优于所有现有的模型。我们的代码、数据集和模型将在 https://tiger-ai-lab.github.io/OmniEdit/ 上提供。

英文摘要

Instruction-guided image editing methods have demonstrated significant potential by training diffusion models on automatically synthesized or manually annotated image editing pairs. However, these methods remain far from practical, real-life applications. We identify three primary challenges contributing to this gap. Firstly, existing models have limited editing skills due to the biased synthesis process. Secondly, these methods are trained with datasets with a high volume of noise and artifacts. This is due to the application of simple filtering methods like CLIP-score. Thirdly, all these datasets are restricted to a single low resolution and fixed aspect ratio, limiting the versatility to handle real-world use cases. In this paper, we present \omniedit, which is an omnipotent editor to handle seven different image editing tasks with any aspect ratio seamlessly. Our contribution is in four folds: (1) \omniedit is trained by utilizing the supervision from seven different specialist models to ensure task coverage. (2) we utilize importance sampling based on the scores provided by large multimodal models (like GPT-4o) instead of CLIP-score to improve the data quality. (3) we propose a new editing architecture called EditNet to greatly boost the editing success rate, (4) we provide images with different aspect ratios to ensure that our model can handle any image in the wild. We have curated a test set containing images of different aspect ratios, accompanied by diverse instructions to cover different tasks. Both automatic evaluation and human evaluations demonstrate that \omniedit can significantly outperform all the existing models. Our code, dataset and model will be available at https://tiger-ai-lab.github.io/OmniEdit/

解读

一句话总结

OMNI-EDIT通过专业监督构建图像编辑通用模型,能够执行多样化编辑任务,并在不同分辨率和宽高比下保持图像的保真度。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:现有的图像编辑模型在编辑技能、数据质量和通用性方面存在局限,难以应用于实际场景。 • 现有方案不足:合成数据存在偏差,数据质量受简单过滤方法影响,且模型训练数据仅限于低分辨率和固定宽高比。 • 研究目标:提出OMNI-EDIT模型,通过专业监督、高质量数据、新型架构和宽泛的输入支持,提升图像编辑模型的性能和实用性。

问题2:论文的核心创新点是什么?

• 技术创新:利用七个专业模型进行监督学习,提高任务覆盖范围;采用基于大模型评分的重要性采样,提升数据质量;提出EditNet架构,增强编辑成功率;支持任意宽高比,提升模型泛化能力。 • 方法改进:通过专业监督学习,避免合成数据的偏差;使用更可靠的评分方法,保证数据质量;设计EditNet架构,优化模型性能。 • 优势:与现有方法相比,OMNI-EDIT在编辑任务准确性、数据质量和通用性方面均有显著提升。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在包含不同分辨率和宽高比的图像编辑基准测试中,OMNI-EDIT在自动评估和人工评估中均优于现有模型。 • 性能提升:在VIEScore等自动评估指标上,OMNI-EDIT在感知质量和语义一致性方面均显著优于基线模型。 • 对比结果:与CosXL-Edit等基线模型相比,OMNI-EDIT在人工评估中提升了20%。

问题4:这个研究的实际应用价值是什么?

• 应用场景:OMNI-EDIT可以应用于图像编辑、图像处理、图像增强等领域,为用户提供更加灵活和高效的图像编辑工具。 • 实施建议:OMNI-EDIT可以部署在云平台或移动设备上,方便用户随时随地使用。 • 局限与展望:目前OMNI-EDIT基于SD3模型,未来可以考虑使用更强大的基础模型,进一步提升模型性能。

来源