Sete007 xilanhua12138 commited on
Commit
d0c8956
·
0 Parent(s):

Duplicate from MizzenAI/HPDv3

Browse files

Co-authored-by: Yunhaoshui <xilanhua12138@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
60
+ imagereward.json filter=lfs diff=lfs merge=lfs -text
61
+ pickapic.json filter=lfs diff=lfs merge=lfs -text
62
+ all.json filter=lfs diff=lfs merge=lfs -text
63
+ train.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ pretty_name: HPDv3
6
+ size_categories:
7
+ - 1M<n<10M
8
+ ---
9
+ <div align="center">
10
+
11
+ # 🎯 HPSv3: Towards Wid-Spectrum Human Preference Score (ICCV 2025)
12
+
13
+ [![Project Website](https://img.shields.io/badge/🌐-Project%20Website-deepgray)](https://research.nvidia.com/labs/par/addit/)
14
+ [![arXiv](https://img.shields.io/badge/arXiv-2411.07232-b31b1b.svg)](https://arxiv.org/abs/2508.03789)
15
+ [![ICCV 2025](https://img.shields.io/badge/ICCV-2025-blue.svg)](https://arxiv.org/abs/2508.03789)
16
+ [![Model](https://img.shields.io/badge/🤗-Model-yellow)](https://huggingface.co/MizzenAI/HPSv3)
17
+ [![Code](https://img.shields.io/badge/Code-black?logo=github)](https://github.com/MizzenAI/HPSv3)
18
+
19
+
20
+
21
+ **Yuhang Ma**<sup>1,3*</sup>&ensp; **Yunhao Shui**<sup>1,4*</sup>&ensp; **Xiaoshi Wu**<sup>2</sup>&ensp; **Keqiang Sun**<sup>1,2†</sup>&ensp; **Hongsheng Li**<sup>2,5,6†</sup>
22
+
23
+ <sup>1</sup>Mizzen AI&ensp;&ensp; <sup>2</sup>CUHK MMLab&ensp;&ensp; <sup>3</sup>King’s College London&ensp;&ensp; <sup>4</sup>Shanghai Jiaotong University&ensp;&ensp; <sup>5</sup>Shanghai AI Laboratory&ensp;&ensp; <sup>6</sup>CPII, InnoHK&ensp;&ensp;
24
+
25
+ <sup>*</sup>Equal Contribution&ensp; <sup>†</sup>Equal Advising
26
+
27
+
28
+ </div>
29
+
30
+ <p align="center">
31
+ <img src="assets/teaser.png" alt="Teaser" width="900"/>
32
+ </p>
33
+
34
+
35
+
36
+ # Human Preference Dataset v3
37
+
38
+ Human Preference Dataset v3 (HPD v3) comprises **1.08M** text-image pairs and **1.17M** annotated pairwise data. To modeling the wide spectrum of human preference, we introduce newest state-of-the-art generative models and high quality real photographs while maintaining old models and lower quality real images.
39
+
40
+
41
+ ## How to Use
42
+ ```bash
43
+ cat images.tar.gz.* | gunzip | tar -xv
44
+ ```
45
+
46
+ ## Detail information of HPDv3
47
+
48
+ | Image Source | Type | Num Image | Prompt Source | Split |
49
+ |--------------|------|-----------|---------------|-------|
50
+ | High Quality Image (HQI) | Real Image | 57759 | VLM Caption | Train & Test |
51
+ | MidJourney | - | 331955 | User | Train |
52
+ | CogView4 | DiT | 400 | HQI+HPDv2+JourneyDB | Test |
53
+ | FLUX.1 dev | DiT | 48927 | HQI+HPDv2+JourneyDB | Train & Test |
54
+ | Infinity | Autoregressive | 27061 | HQI+HPDv2+JourneyDB | Train & Test |
55
+ | Kolors | DiT | 49705 | HQI+HPDv2+JourneyDB | Train & Test |
56
+ | HunyuanDiT | DiT | 46133 | HQI+HPDv2+JourneyDB | Train & Test |
57
+ | Stable Diffusion 3 Medium | DiT | 49266 | HQI+HPDv2+JourneyDB | Train & Test |
58
+ | Stable Diffusion XL | Diffusion | 49025 | HQI+HPDv2+JourneyDB | Train & Test |
59
+ | Pixart Sigma | Diffusion | 400 | HQI+HPDv2+JourneyDB | Test |
60
+ | Stable Diffusion 2 | Diffusion | 19124 | HQI+JourneyDB | Train & Test |
61
+ | CogView2 | Autoregressive | 3823 | HQI+JourneyDB | Train & Test |
62
+ | FuseDream | Diffusion | 468 | HQI+JourneyDB | Train & Test |
63
+ | VQ-Diffusion | Diffusion | 18837 | HQI+JourneyDB | Train & Test |
64
+ | Glide | Diffusion | 19989 | HQI+JourneyDB | Train & Test |
65
+ | Stable Diffusion 1.4 | Diffusion | 18596 | HQI+JourneyDB | Train & Test |
66
+ | Stable Diffusion 1.1 | Diffusion | 19043 | HQI+JourneyDB | Train & Test |
67
+ | Curated HPDv2 | - | 327763 | - | Train |
68
+
69
+
70
+ ## Dataset Visualization
71
+ <p align="left">
72
+ <img src="assets/datasetvisual_0.jpg" alt="Dataset" width="900"/>
73
+ </p>
74
+
75
+
76
+ ## Dataset Structure
77
+
78
+ ### All Annotated Pairs (`all.json`)
79
+
80
+ **Important Notes: In HPDv3, we simply put the preferred sample at the first place (path1)**
81
+
82
+ `all.json` contains **all** annotated pairs except for test. There are three types of training samples in the json file.
83
+
84
+ ```json
85
+ [
86
+ // samples from HPDv3 annotation pipeline
87
+ {
88
+ "prompt": "Description of the visual content or the generation prompt.",
89
+ "choice_dist": [12, 7], // Distribution of votes from annotators (12 votes for image1, 7 votes for image2)
90
+ "confidence": 0.9999907, // Confidence score reflecting preference reliability, based on annotators' capabilities (independent of choice_dist)
91
+ "path1": "images/uuid1.jpg", // File path to the preferred image
92
+ "path2": "images/uuid2.jpg", // File path to the non-preferred image
93
+ "model1": "flux", // Model used to generate the preferred image (path1)
94
+ "model2": "infinity" // Model used to generate the non-preferred image (path2)
95
+ },
96
+ // samples from Midjourney
97
+ {
98
+ "prompt": "Description of the visual content or the generation prompt.",
99
+ "choice_dist": null, // No distribution of votes Information from Discord
100
+ "confidence": null, // No Confidence Information from Discord
101
+ "path1": "images/uuid1.jpg", // File path to the preferred image.
102
+ "path2": "images/uuid2.jpg", // File path to the non-preferred image.
103
+ "model1": "midjourney", // Comparsion between images generated from midjourney
104
+ "model2": "midjourney" // Comparsion between images generated from midjourney
105
+ },
106
+ // samples from Curated HPDv2
107
+ {
108
+ "prompt": "Description of the visual content or the generation prompt.",
109
+ "choice_dist": null, // No distribution of votes Information from the original HPDv2 traindataset
110
+ "confidence": null, // No Confidence Information from the original HPDv2 traindataset
111
+ "path1": "images/uuid1.jpg", // File path to the preferred image.
112
+ "path2": "images/uuid2.jpg", // File path to the non-preferred image.
113
+ "model1": "hpdv2", // No specific model name in the original HPDv2 traindataset, set to hpdv2
114
+ "model2": "hpdv2" // No specific model name in the original HPDv2 traindataset, set to hpdv2
115
+ },
116
+ ...
117
+ ]
118
+ ```
119
+
120
+ ### Train set (`train.json`)
121
+ We sample part of training data from `all.json` to build training dataset `train.json`. Moreover, to improve robustness, we integrate random sampled part of data from [Pick-a-pic](https://huggingface.co/datasets/pickapic-anonymous/pickapic_v1) and [ImageRewardDB](https://huggingface.co/datasets/zai-org/ImageRewardDB), which is `pickapic.json` and `imagereward.json`. For these two datasets, we only provide the pair infomation, and its corresponding image can be found in their official dataset repository.
122
+
123
+
124
+ ### Test Set (`test.json`)
125
+ ```json
126
+ [
127
+ {
128
+ "prompt": "Description of the visual content",
129
+ "path1": "images/uuid1.jpg", // Preferred sample
130
+ "path2": "images/uuid2.jpg", // Unpreferred sample
131
+ "model1": "flux", //Model used to generate the preferred sample (path1).
132
+ "model2": "infinity", //Model used to generate the non-preferred sample (path2).
133
+
134
+ },
135
+ ...
136
+ ]
137
+ ```
all.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ffa8e94904f4a6722676d60e0dbd16565e8c1e0236c91582ef583ec0b85cf42
3
+ size 722046229
assets/datasetvisual_0.jpg ADDED

Git LFS Details

  • SHA256: 747ab285110cf25055e3e9ab0df457a3ba6c28c2379635ff8b227d9dedafb118
  • Pointer size: 132 Bytes
  • Size of remote file: 6.3 MB
assets/datasetvisual_1.jpg ADDED

Git LFS Details

  • SHA256: 4f991a035e346c9875d8c8163f7d259be43e23aaf18a5e2bafb319c1e8301ce0
  • Pointer size: 132 Bytes
  • Size of remote file: 6.72 MB
assets/teaser.png ADDED

Git LFS Details

  • SHA256: 55bfc19d2970fb4303edf6039e8c6dd1dd4b5b32aee3aa1fe8056c421f6dcd48
  • Pointer size: 132 Bytes
  • Size of remote file: 1.62 MB
benchmark/benchmark_Animals.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Architecture.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Arts.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Characters.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Design.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Food.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Natural Scenery.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Others.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Plants.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Products.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Science.json ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/benchmark_Transportation.json ADDED
The diff for this file is too large to render. See raw diff
 
imagereward.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08011879dade3df0b99b0979f0d12f1aa20a2e22e42e0ad71fe1f1554f7f0a43
3
+ size 53879280
images.tar.gz.00 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d41ddadc908f0ac4786a2964be10bc9423e539f746f3e711bc2779f56d1db6c2
3
+ size 10737418240
images.tar.gz.01 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb7db24466ef08f9a1154b4c0ea691dc0272d9d9fee53d28fb5df4eeb05e1cbf
3
+ size 10737418240
images.tar.gz.02 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fae8b1f406008b20c31524464d882923c183f2dc5cd3bf5e98ecab50bbc51efb
3
+ size 10737418240
images.tar.gz.03 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a3a89d31e0e80b0c79cc4073c8d93e81abcfdd121830cca2cd56cf88a39a871
3
+ size 10737418240
images.tar.gz.04 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b01084505ae63ea24ab36b57b6e52856d14577e47e0208f5be91fe4f7128958
3
+ size 10737418240
images.tar.gz.05 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccb065251458ea13d88b3136593ffc172d86159d9231b99fa4f9ccb914802a14
3
+ size 10737418240
images.tar.gz.06 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e47f027a742203207fb0aa317de764d0d4b70c0274ed6df5421e7624d8838cb
3
+ size 10737418240
images.tar.gz.07 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b754c82f2d424395cc302af87b87b76557fd2a7151fabefe6934a477e1ad34d9
3
+ size 10737418240
images.tar.gz.08 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1f831b007c570efbf08b82f9523dcd9184517e5bbab1ec4826957f6f0521cc6
3
+ size 10737418240
images.tar.gz.09 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36e190764397ed3c1aff313ae417d8ec66b3638e69b998ea8c7492c6609016da
3
+ size 10737418240
images.tar.gz.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88196d8f880f5e4b7097958666b37a6058ebfab52d4e1c21b82e22da510762ff
3
+ size 10737418240
images.tar.gz.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49a22ef0440b40e2d0fd2f701b275fc129154d1c2a82919b420235ae1c27cadf
3
+ size 10737418240
images.tar.gz.12 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3de63a09a567a791b1325a5725b95994fa4b634565427b06185bda85bfd5b434
3
+ size 10270824802
pickapic.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b343f0b42be0e459ca1855879cbc19fa72becf0368652c23d5f415928a29aa5
3
+ size 107728099
test.json ADDED
The diff for this file is too large to render. See raw diff
 
train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05289f35611de60b4357a03403feb963ffb85fac54ff22ed0a999819dc0626db
3
+ size 768341694