rockeycoss
commited on
Commit
•
6adfae5
1
Parent(s):
0930261
Update README.md
Browse files
README.md
CHANGED
@@ -1,35 +1,48 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
---
|
4 |
-
#
|
5 |
-
|
6 |
-
<a href="https://arxiv.org/abs/2406.04314"><img src="https://img.shields.io/badge/Paper-arXiv-red?style=for-the-badge" height=22.5></a>
|
7 |
-
<a href="https://github.com/RockeyCoss/SPO"><img src="https://img.shields.io/badge/Gihub-Code-succees?style=for-the-badge&logo=GitHub" height=22.5></a>
|
8 |
-
<a href="https://rockeycoss.github.io/spo.github.io/"><img src="https://img.shields.io/badge/Project-Page-blue?style=for-the-badge" height=22.5></a>
|
9 |
-
|
10 |
-
## Abstract
|
11 |
-
<p>
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
</p>
|
19 |
-
<p>
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
```
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
# Aesthetic Post-Training Diffusion Models from Generic Preferences with Step-by-step Preference
|
5 |
+
|
6 |
+
<a href="https://arxiv.org/abs/2406.04314"><img src="https://img.shields.io/badge/Paper-arXiv-red?style=for-the-badge" height=22.5></a>
|
7 |
+
<a href="https://github.com/RockeyCoss/SPO"><img src="https://img.shields.io/badge/Gihub-Code-succees?style=for-the-badge&logo=GitHub" height=22.5></a>
|
8 |
+
<a href="https://rockeycoss.github.io/spo.github.io/"><img src="https://img.shields.io/badge/Project-Page-blue?style=for-the-badge" height=22.5></a>
|
9 |
+
|
10 |
+
## Abstract
|
11 |
+
<p>
|
12 |
+
Generating visually appealing images is fundamental to modern text-to-image generation models.
|
13 |
+
A potential solution to better aesthetics is direct preference optimization (DPO),
|
14 |
+
which has been applied to diffusion models to improve general image quality including prompt alignment and aesthetics.
|
15 |
+
Popular DPO methods propagate preference labels from clean image pairs to all the intermediate steps along the two generation trajectories.
|
16 |
+
However, preference labels provided in existing datasets are blended with layout and aesthetic opinions, which would disagree with aesthetic preference.
|
17 |
+
Even if aesthetic labels were provided (at substantial cost), it would be hard for the two-trajectory methods to capture nuanced visual differences at different steps.
|
18 |
+
</p>
|
19 |
+
<p>
|
20 |
+
To improve aesthetics economically, this paper uses existing generic preference data and introduces step-by-step preference optimization
|
21 |
+
(SPO) that discards the propagation strategy and allows fine-grained image details to be assessed. Specifically,
|
22 |
+
at each denoising step, we 1) sample a pool of candidates by denoising from a shared noise latent,
|
23 |
+
2) use a step-aware preference model to find a suitable win-lose pair to supervise the diffusion model, and
|
24 |
+
3) randomly select one from the pool to initialize the next denoising step.
|
25 |
+
This strategy ensures that diffusion models focus on the subtle, fine-grained visual differences
|
26 |
+
instead of layout aspect. We find that aesthetic can be significantly enhanced by accumulating these
|
27 |
+
improved minor differences.
|
28 |
+
</p>
|
29 |
+
<p>
|
30 |
+
When fine-tuning Stable Diffusion v1.5 and SDXL, SPO yields significant
|
31 |
+
improvements in aesthetics compared with existing DPO methods while not sacrificing image-text alignment
|
32 |
+
compared with vanilla models. Moreover, SPO converges much faster than DPO methods due to the step-by-step
|
33 |
+
alignment of fine-grained visual details.
|
34 |
+
</p>
|
35 |
+
|
36 |
+
## Model Description
|
37 |
+
The models in this repository are step-aware preference models used for fine-tuning SD v1.5 and SDXL. For more details, please visit our [GitHub repository](https://github.com/RockeyCoss/SPO).
|
38 |
+
|
39 |
+
## Citation
|
40 |
+
If you find our work or codebase useful, please consider giving us a star and citing our work.
|
41 |
+
```
|
42 |
+
@article{liang2024step,
|
43 |
+
title={Aesthetic Post-Training Diffusion Models from Generic Preferences with Step-by-step Preference Optimization},
|
44 |
+
author={Liang, Zhanhao and Yuan, Yuhui and Gu, Shuyang and Chen, Bohan and Hang, Tiankai and Cheng, Mingxi and Li, Ji and Zheng, Liang},
|
45 |
+
journal={arXiv preprint arXiv:2406.04314},
|
46 |
+
year={2024}
|
47 |
+
}
|
48 |
```
|