TL;DR
ScaleEdit-12M introduces ScaleEditor, a fully open-source, multi-agent framework designed to generate massive, high-quality image editing datasets without relying on expensive proprietary APIs. By curating a flagship dataset of 12 million diverse instruction-image pairs, this work demonstrates that open-source agentic pipelines can achieve—and even surpass—the data quality of commercial alternatives, unlocking massive performance gains for multimodal models.
What Problem Does This Paper Address?
Instruction-based image editing is a crucial capability for modern Unified Multimodal Models (UMMs), allowing users to alter images using natural language commands. However, training these models requires massive, high-quality datasets containing triplets of the original image, the editing instruction, and the edited image.
Currently, researchers face a frustrating trade-off:
- Rigid Synthetic Pipelines: These use fixed, rule-based editing operators that result in narrow, low-quality data filled with artifacts and text-image misalignments.
- Proprietary Commercial APIs: Querying frontier models like GPT-4o yields excellent data quality but quickly becomes economically prohibitive when scaling to millions of samples.
The authors bridge this gap by introducing an automated, cost-effective, and entirely open-source pipeline capable of generating commercial-grade image editing data at scale.
Methods
The authors present ScaleEditor, a hierarchical multi-agent framework structured into three core workflows:
- Source Image Expansion: To prevent the dataset from being restricted to narrow domains, ScaleEditor expands a base pool of open-source images using both retrieval-based methods (web-searching for semantically and stylistically related images) and synthesis-based methods (generating realistic variants via attribute-swapping).
- Adaptive Multi-Agent Editing Synthesis: Rather than forcing an image into a random editing task, a task router powered by
Qwen2.5-VL-72Buses a rejection-based strategy to determine which of the 23 predefined editing tasks are actually appropriate for the image. Specialized instruction and edit agents then generate the corresponding text-image pairs. - Reasoning Decoupling: For complex tasks requiring world knowledge, an instruction agent creates a complex query, a rewriter agent distills it into a concise command for the image generation model, and the original complex query is preserved as the final training prompt.
- Task-Aware Quality Verification: To filter out poor generations,
Qwen2.5-VL-72Bacts as a judge, scoring each sample from 1 to 3 across three dimensions: Instruction Following, Editing Consistency, and Generation Quality. Only samples meeting strict threshold criteria are retained.
Datasets
The primary contribution of this paper is ScaleEdit-12M, which is currently the largest open-source instruction-based image editing dataset.
- ScaleEdit-12M: Contains 12 million rigorously verified instruction-image-edit triplets. It spans 23 fine-grained task families organized into 6 broader categories: global-level, object-level, object attribute, text-aware, knowledge-infused reasoning, and compositional editing.
The models trained on ScaleEdit-12M were evaluated against four widely recognized benchmarks:
- General Editing:
GEdit-EN-fullandImgEdit-Full. - Knowledge-Infused Editing:
KRIS-BenchandRISEBench.
Key Insights and Ideas
- Rejection-Based Routing Over Single-Tasking: Instead of assigning one arbitrary task per image, the rejection-based router allows a single high-quality source image to safely support multiple content-appropriate editing tasks, vastly improving data diversity and scalability.
- Bridging the Execution Limit: The "instruction decoupling" strategy elegantly solves a common bottleneck: generation models often fail when given highly complex, reasoning-heavy prompts. By training the model on complex human intents but executing the edit with simplified commands, the framework successfully curates high-quality logical and scientific editing data.
- Open-Source Judges are Viable: The paper validates that open-source models like
Qwen2.5-VL-72Bcan serve as highly reliable quality controllers, showing strong alignment with both human preferences and GPT-4o judgments at a fraction of the cost.
Key Results
Fine-tuning open-source foundation models (UniWorld-V1 and Bagel) on ScaleEdit-12M yielded substantial performance leaps across the board:
- General Benchmarks:
UniWorld-V1achieved a 35.1% improvement onGEditand a 10.4% improvement onImgEditcompared to its baseline. - Knowledge Benchmarks: Performance skyrocketed on knowledge-infused tasks, showing up to a 150.0% improvement on
RISEBenchand 12.6% onKRIS-Bench. - Rivaling Commercial Pipelines: In a human preference study, models trained on the open-source ScaleEdit dataset achieved a 29.5% top-1 preference score, outperforming counterparts trained on datasets generated by proprietary commercial models like
OpenGPT-4o-Image(28.1%) andGPT-Image-Edit(26.8%).
Limitations and Future Work
Despite its success, the authors note a few limitations:
- Quality Ceiling: Because the pipeline relies on off-the-shelf open-source generators, the visual quality of the edited images is inherently capped by the capabilities of those underlying models.
- High Compute Demands: Systematically training expert models across 23 distinct tasks still demands substantial computational resources (the dataset generation itself took roughly 125k H800 GPU hours).
- Single-Turn Focus: ScaleEdit-12M focuses primarily on single-turn edits. The authors highlight multi-turn conversational image editing as a critical and exciting direction for future work.
Summary updated