HQ-Edit: A High-Quality Dataset for Instruction-based Image Editing

Mude Hui,Siwei Yang,Bingchen Zhao,Yichun Shi,Heng Wang,Peng Wang,Yuyin Zhou,Cihang Xie
2024-04-16
Abstract:This study introduces HQ-Edit, a high-quality instruction-based image editing dataset with around 200,000 edits. Unlike prior approaches relying on attribute guidance or human feedback on building datasets, we devise a scalable data collection pipeline leveraging advanced foundation models, namely GPT-4V and DALL-E 3. To ensure its high quality, diverse examples are first collected online, expanded, and then used to create high-quality diptychs featuring input and output images with detailed text prompts, followed by precise alignment ensured through post-processing. In addition, we propose two evaluation metrics, Alignment and Coherence, to quantitatively assess the quality of image edit pairs using GPT-4V. HQ-Edits high-resolution images, rich in detail and accompanied by comprehensive editing prompts, substantially enhance the capabilities of existing image editing models. For example, an HQ-Edit finetuned InstructPix2Pix can attain state-of-the-art image editing performance, even surpassing those models fine-tuned with human-annotated data. The project page is
Computer Vision and Pattern Recognition,Artificial Intelligence
What problem does this paper attempt to address?
The paper proposes the construction of a high-quality instructive image editing dataset named HQ-Edit to address the limitations in the availability and quality of existing image editing training data. HQ-Edit utilizes advanced models such as GPT-4V and DALL-E 3 to generate high-resolution, detail-rich image pairs and detailed editing instructions, improving the accuracy and quality of image editing. The paper also introduces two evaluation metrics, alignment and consistency, to quantitatively assess the quality of image editing pairs.