Skip to main content
QUICK REVIEW

[论文解读] MagicBrush: A Manually Annotated Dataset for Instruction-Guided Image Editing

Kai Zhang, Lingbo Mo|arXiv (Cornell University)|Jun 16, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 28
一句话总结

MagicBrush 引入了一个大规模的、手动标注的数据集,用于在超过 5K 次编辑会话中进行指令引导的真实图像编辑,且结果表明在 MagicBrush 上对 InstructPix2Pix 进行微调,在人工评估中比基线得到更好结果。

ABSTRACT

Text-guided image editing is widely needed in daily life, ranging from personal use to professional applications such as Photoshop. However, existing methods are either zero-shot or trained on an automatically synthesized dataset, which contains a high volume of noise. Thus, they still require lots of manual tuning to produce desirable outcomes in practice. To address this issue, we introduce MagicBrush (https://osu-nlp-group.github.io/MagicBrush/), the first large-scale, manually annotated dataset for instruction-guided real image editing that covers diverse scenarios: single-turn, multi-turn, mask-provided, and mask-free editing. MagicBrush comprises over 10K manually annotated triplets (source image, instruction, target image), which supports trainining large-scale text-guided image editing models. We fine-tune InstructPix2Pix on MagicBrush and show that the new model can produce much better images according to human evaluation. We further conduct extensive experiments to evaluate current image editing baselines from multiple dimensions including quantitative, qualitative, and human evaluations. The results reveal the challenging nature of our dataset and the gap between current baselines and real-world editing needs.

研究动机与目标

  • 为高质量、真实图像的指令引导编辑数据的需求提供动机,超越合成或零-shot 的方法。
  • 创建一个大规模、手动标注的数据集,涵盖单次编辑和多轮编辑,有无掩模的情况。
  • 使用 DALL-E 2 和众包工作者建立严格的标注和质量控制流程,确保高质量的真实地面真相(ground truth)。
  • 在无掩模与有掩模设置下评估现有编辑基线,确立当前差距与数据集的实用性。
  • 证明在 MagicBrush 上的训练能提升模型性能,并揭示当前方法与真实世界编辑需求之间的差距。

提出的方法

  • 使用 Amazon Mechanical Turk 和 DALL-E 2 的众包标注流程,生成真实图像编辑三元组(源图像、指令、目标图像)。
  • 三阶段标注工作流,包含资格筛选、试验和持续抽查,以维持高数据质量。
  • 编辑会话可包含单轮或多轮编辑,支持对局部编辑的可选掩模引导。
  • 数据集包含 5,313 个会话和 10,388 次编辑,覆盖来自 MS COCO 的多样化编辑场景和对象类别。
  • 在 MagicBrush 上对 InstructPix2Pix 进行微调,并通过量化指标与人类评估与基线进行比较。)

实验结果

研究问题

  • RQ1大型手动标注的数据集在指令引导编辑方面,与现有的合成或部分筛选数据在训练编辑模型方面有何不同?
  • RQ2在 MagicBrush 上对指令遵循编辑器进行微调,是否能提高无掩模与有掩模设置下的图像保真度与指令遵循性?
  • RQ3多轮编辑对质量和一致性有何影响,当前模型如何应对迭代编辑?
  • RQ4自动化指标与人类对 MagicBrush 上指令引导图像编辑的判断是否一致?

主要发现

  • 在 MagicBrush 上对 InstructPix2Pix 进行微调,在大多数指标上获得最好或接近最好 的结果,并且在人工评估中较基线有所提升。
  • 人类评估者在单轮和多轮情境下,偏好微调后的 InstructPix2Pix 在一致性和图像质量方面优于其他方法。
  • MagicBrush 数据在质量检查中表现出色的编辑回合,平均一致性和图像质量分数约为 4.1 和 3.9(满分 5) 。
  • 定性和定量实验揭示了当前基线与真实世界编辑需求之间的差距,尤其在多轮与无掩模条件下。
  • 用户与评估者的偏好表明某些自动化指标与人工判断之间存在潜在错配,强调需要更好的评估指标。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。