Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,56 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
# TDM: Learning Few-Step Diffusion Models by Trajectory Distribution Matching
|
| 5 |
+
<div align="center">
|
| 6 |
+
<a href="https://tdm-t2x.github.io/"><img src="https://img.shields.io/static/v1?label=Project%20Page&message=Github-Page&color=blue&logo=github-pages"></a>  
|
| 7 |
+
<a href="https://arxiv.org/abs/2503.06674"><img src="https://img.shields.io/static/v1?label=Paper&message=Arxiv:TDM&color=red&logo=arxiv"></a>  
|
| 8 |
+
</div>
|
| 9 |
+
|
| 10 |
+
This is the Official Repository of "[Learning Few-Step Diffusion Models by Trajectory Distribution Matching](https://arxiv.org/abs/2503.06674)", by *Yihong Luo, Tianyang Hu, Jiacheng Sun, Yujun Cai, Jing Tang*.
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
## User Study Time!
|
| 14 |
+

|
| 15 |
+
Which one do you think is better? Some images are generated by Pixart-α (50 NFE). Some images are generated by **TDM (4 NFE)**, distilling from Pixart-α in a data-free way with merely 500 training iterations and 2 A800 hours.
|
| 16 |
+
|
| 17 |
+
<details>
|
| 18 |
+
|
| 19 |
+
<summary style="color: #1E88E5; cursor: pointer; font-size: 1.2em;"> Click for answer</summary>
|
| 20 |
+
|
| 21 |
+
<p style="font-size: 1.2em; margin-top: 8px;">Answers of TDM's position (left to right): bottom, bottom, top, bottom, top.</p>
|
| 22 |
+
|
| 23 |
+
</details>
|
| 24 |
+
|
| 25 |
+
## Fast Text-to-Video Geneartion
|
| 26 |
+
|
| 27 |
+
Our proposed TDM can be easily extended to text-to-video.
|
| 28 |
+
|
| 29 |
+
<p align="center">
|
| 30 |
+
<img src="assets/teacher.gif" alt="Teacher" width="45%">
|
| 31 |
+
<img src="assets/student.gif" alt="Student" width="45%">
|
| 32 |
+
</p>
|
| 33 |
+
|
| 34 |
+
The video on the left was generated by CogVideoX-2B (100 NFE). In the same amount of time, **TDM (4NFE)** can generate 25 videos, as shown on the right, achieving an impressive **25 times speedup without performance degradation**. (Note: The noise in the GIF is due to compression.)
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
## 🔥TODO
|
| 38 |
+
- Pre-trained Models will be released soon.
|
| 39 |
+
|
| 40 |
+
## Contact
|
| 41 |
+
|
| 42 |
+
Please contact Yihong Luo ([email protected]) if you have any questions about this work.
|
| 43 |
+
|
| 44 |
+
## Bibtex
|
| 45 |
+
|
| 46 |
+
```
|
| 47 |
+
@misc{luo2025tdm,
|
| 48 |
+
title={Learning Few-Step Diffusion Models by Trajectory Distribution Matching},
|
| 49 |
+
author={Yihong Luo and Tianyang Hu and Jiacheng Sun and Yujun Cai and Jing Tang},
|
| 50 |
+
year={2025},
|
| 51 |
+
eprint={2503.06674},
|
| 52 |
+
archivePrefix={arXiv},
|
| 53 |
+
primaryClass={cs.CV},
|
| 54 |
+
url={https://arxiv.org/abs/2503.06674},
|
| 55 |
+
}
|
| 56 |
+
```
|