UltraEdit: Instruction-based Fine-Grained Image Editing at Scale

Haozhe Zhao, Xiaojian Ma, Liang Chen, Shuzheng Si, Rujie Wu +5 more
2/3/2026

No official code found. Best implementation: pkunlp-icler/UltraEdit (9 stars, last commit 2024-07-23).

Abstract

This paper presents UltraEdit, a large-scale (approximately 4 million editing samples), automatically generated dataset for instruction-based image editing. Our key idea is to address the drawbacks in existing image editing datasets like InstructPix2Pix and MagicBrush, and provide a systematic approach to producing massive and high-quality image editing samples. UltraEdit offers several distinct advantages: 1) It features a broader range of editing instructions by leveraging the creativity of large language models (LLMs) alongside in-context editing examples from human raters; 2) Its data sources are based on real images, including photographs and artworks, which provide greater diversity and reduced bias compared to datasets solely generated by text-to-image models; 3) It also supports region-based editing, enhanced by high-quality, automatically produced region annotations. Our experiments show that canonical diffusion-based editing baselines trained on UltraEdit set new records on MagicBrush and Emu-Edit benchmarks. Our analysis further confirms the crucial role of real image anchors and region-based editing data. The dataset, code, and models can be found in https://ultra-editing.github.io.

View on arXivView PDF

Code Implementations(1)

[Neurips 2024] Code for paper: UltraEdit: Instruction-based Fine-Grained Image Editing at Scale

90C++, CudaOct 19, 20242 years ago

Cite this paper

@article{zhao2026ultraedit,
  title  = {UltraEdit: Instruction-based Fine-Grained Image Editing at Scale},
  author = {Haozhe Zhao and Xiaojian Ma and Liang Chen and Shuzheng Si and Rujie Wu and Kaikai An and Peiyu Yu and Minjia Zhang and Qing Li and Baobao Chang},
  year   = {2026},
  eprint = {2407.05282},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2407.05282},
  url    = {https://arxiv.org/abs/2407.05282},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.05282.svg)](https://codeofpaper.com/paper/2407.05282)

Discussion