license: cc-by-sa-4.0
dataset_info:
- config_name: 0_random_140
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 15594175
num_examples: 140
download_size: 15528907
dataset_size: 15594175
- config_name: 1_change_object_80
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 8188672
num_examples: 80
download_size: 8174209
dataset_size: 8188672
- config_name: 2_add_object_80
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 6926151
num_examples: 80
download_size: 6917854
dataset_size: 6926151
- config_name: 3_delete_object_80
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 7513741
num_examples: 80
download_size: 7382006
dataset_size: 7513741
- config_name: 4_change_attribute_content_40
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 4125034
num_examples: 40
download_size: 4061909
dataset_size: 4125034
- config_name: 5_change_attribute_pose_40
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 4217839
num_examples: 40
download_size: 4148577
dataset_size: 4217839
- config_name: 6_change_attribute_color_40
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 4274823
num_examples: 40
download_size: 4263550
dataset_size: 4274823
- config_name: 7_change_attribute_material_40
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 4061715
num_examples: 40
download_size: 4005557
dataset_size: 4061715
- config_name: 8_change_background_80
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 8533140
num_examples: 80
download_size: 8422137
dataset_size: 8533140
- config_name: 9_change_style_80
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 8698695
num_examples: 80
download_size: 8686937
dataset_size: 8698695
configs:
- config_name: 0_random_140
data_files:
- split: V1
path: 0_random_140/V1-*
- config_name: 1_change_object_80
data_files:
- split: V1
path: 1_change_object_80/V1-*
- config_name: 2_add_object_80
data_files:
- split: V1
path: 2_add_object_80/V1-*
- config_name: 3_delete_object_80
data_files:
- split: V1
path: 3_delete_object_80/V1-*
- config_name: 4_change_attribute_content_40
data_files:
- split: V1
path: 4_change_attribute_content_40/V1-*
- config_name: 5_change_attribute_pose_40
data_files:
- split: V1
path: 5_change_attribute_pose_40/V1-*
- config_name: 6_change_attribute_color_40
data_files:
- split: V1
path: 6_change_attribute_color_40/V1-*
- config_name: 7_change_attribute_material_40
data_files:
- split: V1
path: 7_change_attribute_material_40/V1-*
- config_name: 8_change_background_80
data_files:
- split: V1
path: 8_change_background_80/V1-*
- config_name: 9_change_style_80
data_files:
- split: V1
path: 9_change_style_80/V1-*
What is PIE-Bench++?
PIE-Bench++ builds upon the foundation laid by the original PIE-Bench dataset introduced by (Ju et al., 2024), designed to provide a comprehensive benchmark for multi-aspect image editing evaluation. This enhanced dataset contains 700 images and prompts across nine distinct edit categories, encompassing a wide range of manipulations:
- Object-Level Manipulations: Additions, removals, and modifications of objects within the image.
- Attribute-Level Manipulations: Changes in content, pose, color, and material of objects.
- Image-Level Manipulations: Adjustments to the background and overall style of the image.
While retaining the original images, the enhanced dataset features revised source prompts and editing prompts, augmented with additional metadata such as editing types and aspect mapping. This comprehensive augmentation aims to facilitate more nuanced and detailed evaluations in the domain of multi-aspect image editing.
Data Annotation Guide
Overview
Our dataset annotations are structured to provide comprehensive information for each image, facilitating a deeper understanding of the editing process. Each annotation consists of the following key elements:
- Source Prompt: The original description or caption of the image before any edits are made.
- Target Prompt: The description or caption of the image after the edits are applied.
- Edit Action: A detailed specification of the changes made to the image, including:
- The position index in the source prompt where changes occur.
- The type of edit applied (e.g., 1: change object, 2: add object, 3: remove object, 4: change attribute content, 5: change attribute pose, 6: change attribute color, 7: change attribute material, 8: change background, 9: change style).
- The operation required to achieve the desired outcome (e.g., '+' / '-' means adding/removing words at the specified position, and 'xxx' means replacing the existing words).
- Aspect Mapping: A mapping that connects objects undergoing editing to their respective modified attributes. This helps identify which objects are subject to editing and the specific attributes that are altered.
Example Annotation
Here is an example annotation for an image in our dataset:
{
"000000000002": {
"image_path": "0_random_140/000000000002.jpg",
"source_prompt": "a cat sitting on a wooden chair",
"target_prompt": "a [red] [dog] [with flowers in mouth] [standing] on a [metal] chair",
"edit_action": {
"red": {"position": 1, "edit_type": 6, "action": "+"},
"dog": {"position": 1, "edit_type": 1, "action": "cat"},
"with flowers in mouth": {"position": 2, "edit_type": 2, "action": "+"},
"standing": {"position": 2, "edit_type": 5, "action": "sitting"},
"metal": {"position": 5, "edit_type": 7, "action": "wooden"}
},
"aspect_mapping": {
"dog": ["red", "standing"],
"chair": ["metal"],
"flowers": []
},
"blended_words": [
"cat,dog",
"chair,chair"
],
"mask": "0 262144"
}
}