Skip to main content
QUICK REVIEW

[Paper 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 Science28 citations
TL;DR

MagicBrush introduces a large-scale, manually annotated dataset for instruction-guided real image editing with over 10K edit turns across more than 5K edit sessions, and shows that fine-tuning InstructPix2Pix on MagicBrush yields better results than baselines according to human evaluation.

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.

Motivation & Objective

  • Motivate the need for high-quality, real-image instruction-guided editing data beyond synthetic or zero-shot approaches.
  • Create a large-scale, manually annotated dataset capturing single-turn and multi-turn edits, with and without masks.
  • Provide a rigorous annotation and quality-control pipeline using DALL-E 2 and crowdworkers to ensure high-quality ground truth.
  • Evaluate existing editing baselines across mask-free and mask-provided settings to establish current gaps and dataset utility.
  • Demonstrate that training on MagicBrush improves model performance and reveal gaps between current methods and real-world editing needs.

Proposed method

  • Crowdsourced annotation pipeline using Amazon Mechanical Turk and DALL-E 2 to generate real-image edit triplets (source image, instruction, target image).
  • Three-stage annotation workflow with qualification, trials, and ongoing spot-checks to maintain high data quality.
  • Edit sessions can include single-turn or multi-turn edits, with optional mask guidance for local edits.
  • Dataset comprises 5,313 sessions and 10,388 turns covering diverse editing scenarios and object categories sampled from MS COCO.
  • Fine-tune InstructPix2Pix on MagicBrush and compare to baselines through quantitative metrics and human evaluations.

Experimental results

Research questions

  • RQ1How does a large-scale, manually annotated dataset for instruction-guided editing compare to existing synthetic or partially curated data in training editing models?
  • RQ2Does fine-tuning instruction-following editors on MagicBrush improve image fidelity and instruction adherence across mask-free and mask-provided settings?
  • RQ3What is the impact of multi-turn editing on quality and consistency, and how do current models cope with iterative edits?
  • RQ4How do automatic metrics align with human judgments for instruction-guided image editing on MagicBrush?

Key findings

  • Fine-tuning InstructPix2Pix on MagicBrush yields best or near-best results across most metrics and improves over baselines according to human evaluation.
  • Human evaluators prefer fine-tuned InstructPix2Pix over other methods in consistency and image quality in both single-turn and multi-turn scenarios.
  • MagicBrush data achieves high-quality edit turns with average consistency and image-quality scores around 4.1 and 3.9 out of 5 in quality checks.
  • Qualitative and quantitative experiments reveal a gap between current baselines and real-world editing needs, especially under multi-turn and mask-free conditions.
  • Users’ and evaluators’ preferences indicate potential misalignment between some automatic metrics and human judgments, underscoring the need for better evaluation metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.