Text-to-Image
shixiangli Alex11556666 commited on
Commit
2ada238
·
0 Parent(s):

Duplicate from deepgenteam/DeepGen-1.0

Browse files

Co-authored-by: Alex Wang(SII) <Alex11556666@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ arch.png filter=lfs diff=lfs merge=lfs -text
37
+ bubble_chart.png filter=lfs diff=lfs merge=lfs -text
38
+ teaser.png filter=lfs diff=lfs merge=lfs -text
39
+ DeepGen_CKPT.zip.part-00000 filter=lfs diff=lfs merge=lfs -text
40
+ DeepGen_CKPT.zip.part-00001 filter=lfs diff=lfs merge=lfs -text
41
+ DeepGen_CKPT.zip.part-00002 filter=lfs diff=lfs merge=lfs -text
42
+ DeepGen_CKPT.zip.part-00003 filter=lfs diff=lfs merge=lfs -text
43
+ DeepGen_CKPT.zip.part-00004 filter=lfs diff=lfs merge=lfs -text
44
+ DeepGen_CKPT.zip.part-00005 filter=lfs diff=lfs merge=lfs -text
45
+ DeepGen_CKPT.zip.part-00006 filter=lfs diff=lfs merge=lfs -text
46
+ DeepGen_CKPT.zip.part-00007 filter=lfs diff=lfs merge=lfs -text
47
+ DeepGen_CKPT.zip.part-00008 filter=lfs diff=lfs merge=lfs -text
48
+ DeepGen_CKPT.zip.part-00009 filter=lfs diff=lfs merge=lfs -text
49
+ DeepGen_CKPT.zip.part-00010 filter=lfs diff=lfs merge=lfs -text
DeepGen_CKPT.zip.part-00000 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49f94464b6b16f559dc6b09e31c2abe020a7cd7f1de4c4d5b046e307c1814776
3
+ size 5368709120
DeepGen_CKPT.zip.part-00001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ca0fd771ae4061dc2d0d36f62b50bca675beab9b3dca424119d828a1b23b28e
3
+ size 5368709120
DeepGen_CKPT.zip.part-00002 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16671fcd9f92a879b831d2297a281757b473546ab758679a170de792abd787b6
3
+ size 5368709120
DeepGen_CKPT.zip.part-00003 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8022e2693aa690ad14e184616d7ef0d49dd519fc423a71582aa9c8d10b2136f
3
+ size 5368709120
DeepGen_CKPT.zip.part-00004 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8fd4a4c59212d45a35006f4b4dcd03f8dec684c46d852f3b720dff0bdddd9a4
3
+ size 5368709120
DeepGen_CKPT.zip.part-00005 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd0fba2bd69be06c705779a6c1a9a1d41366e0310ef696eae944872083109a2a
3
+ size 5368709120
DeepGen_CKPT.zip.part-00006 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db9573c3dc0d980450fc8e51e19b9c36971bf16d91ea560a9a9edf54824b672b
3
+ size 5368709120
DeepGen_CKPT.zip.part-00007 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5eb739f5b16b92057487b7e9055119fb532872caf9857c13f76ea49fa45832ea
3
+ size 5368709120
DeepGen_CKPT.zip.part-00008 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce4eac2c5010cc7067f556344eaa4e93e1b6df1986eeaa9ced1aa4f20e3411f0
3
+ size 5368709120
DeepGen_CKPT.zip.part-00009 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9cd1e26bcb9ca5dba536c1e86bde3619c3f8f9d0bb80fa705994bbdcb7c4f00
3
+ size 5368709120
DeepGen_CKPT.zip.part-00010 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ce439a0e4c6dea344e5736e2b09dd17e835047eda9757eb58ebca485f27f506
3
+ size 1993873384
README.md ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - Alex11556666/Reason_Tuning
5
+ base_model:
6
+ - Qwen/Qwen2.5-VL-3B-Instruct
7
+ pipeline_tag: text-to-image
8
+ ---
9
+
10
+ # 💡 DeepGen 1.0: A Lightweight Unified Multimodal Model for Advancing Image Generation and Editing
11
+ <p align="left">
12
+ <a href="http://arxiv.org/abs/2602.12205">
13
+ <img
14
+ src="https://img.shields.io/badge/DeepGen 1.0-Paper-red?logo=arxiv&logoColor=red" style="display: inline-block; vertical-align: middle;"
15
+ alt="DeepGen 1.0 Paper on arXiv"
16
+ />
17
+ </a>
18
+ <a href="https://github.com/deepgenteam/deepgen" target="_blank" style="margin: 2px;">
19
+ <img
20
+ alt="Github" src="https://img.shields.io/badge/DeepGen 1.0-Codebase-536af5?color=536af5&logo=github" style="display: inline-block; vertical-align: middle;"
21
+ alt="DeepGen 1.0 Codebase"
22
+ />
23
+ </a>
24
+ <a href="https://deepgenteam.github.io/" target="_blank" style="margin: 2px;">
25
+ <img
26
+ alt="Github" src="https://img.shields.io/badge/Website-project page-orange" style="display: inline-block; vertical-align: middle;"
27
+ alt="DeepGen 1.0 page"
28
+ />
29
+ </a>
30
+ </p>
31
+ DeepGen 1.0 is a lightweight unified multimodal model with only 5B parameters (3B VLM + 2B DiT). It integrates five core capabilities—general image generation, general image editing, reasoning image generation, reasoning image editing, and text rendering—within a single model. Across multiple authoritative benchmarks, DeepGen 1.0 is competitive with competitive with or surpassing the state-of-the-art unified multimodal models that are 3× to 16× larger, achieving comprehensive performance, demonstrating that massive scaling is not the sole path to high-performance multimodal generation.
32
+ <p align="left"><img src="bubble_chart.png" width="80%"></p>
33
+
34
+ ## 🧠 Method
35
+ Our core observation is that a lightweight model, when empowered by synergistic architecture design and data-centric training strategies, can achieve comprehensive capabilities competitive with or even surpassing much larger counterparts.
36
+ To overcome the limitations of lightweight models in semantic understanding and fine-grained control, we introduce **Stacked Channel Bridging (SCB)**, a deep alignment framework that extracts hierarchical features from multiple VLM layers and fuses them with learnable ``think tokens'' to provide the generative backbone with structured, reasoning-rich guidance.
37
+ We further design a data-centric training strategy spanning three progressive stages: (1) **Alignment Pre-training** on large-scale image-text pairs and editing triplets to synchronize VLM and DiT representations, (2) **Joint Supervised Fine-tuning** on a high-quality mixture of generation, editing, and reasoning tasks to foster omni-capabilities, and (3) **Reinforcement Learning with MR-GRPO**, which leverages a mixture of reward functions and supervision signals, resulting in substantial gains in generation quality and alignment with human preferences, while maintaining stable training progress and avoiding visual artifacts.
38
+
39
+ <p align="left"><img src="arch.png" width="80%"></p>
40
+
41
+ ## 📊 Benchmarks
42
+
43
+ ### 1. General Image Generation
44
+ | Model | Params | Geneval ↑ | DPGBench ↑ | UniGenBench ↑ |
45
+ | --------------------- | ----------- | ----------- | ------------ | ------------- |
46
+ | OmniGen2 | 3B + 4B | 0.80 | 83.57 | 63.09 |
47
+ | BAGEL | 14B | 0.82 | 85.10 | 61.53 |
48
+ | X-Omni | 7B + 12B | 0.83 | 87.65🥉 | 53.77 |
49
+ | Lumina-DiMOO | 8B | 0.88🥇 | 86.04 | 71.12 |
50
+ | Hunyuan-Image-3.0 | 80B | 0.72 | 86.10 | — |
51
+ | Qwen-Image | 7B + 20B | 0.87 🥈 | 88.32 🥇 | 78.81 🥇 |
52
+ | LongCat-Image | 7B + 6B | 0.87 🥈 | 86.80 | — |
53
+ | Z-Image-Turbo | 4B + 6B | 0.84 | 85.15 | 71.40 |
54
+ | GLM-Image | 9B + 7B | — | 84.78 | — |
55
+ | **DeepGen 1.0 (SFT)** | **3B + 2B** | 0.86 🥉 | 87.05 | 74.18 🥉 |
56
+ | **DeepGen 1.0 (RL)** | **3B + 2B** | 0.87 🥈 | 87.90 🥈 | 75.74 🥈 |
57
+
58
+
59
+
60
+ ### 2. General Image Editing
61
+
62
+ | Model | Params | GEdit-EN ↑ | ImgEdit ↑ |
63
+ | :--- | :--- | :--- | :--- |
64
+ | BAGEL | 14B | 6.52 | 3.20 |
65
+ | Qwen-Image-Edit [2509] | 7B + 20B | 7.54 🥈 | 4.35 🥈 |
66
+ | LongCat-Image-Edit | 7B + 6B | 7.60 🥇 | 4.50 🥇 |
67
+ | Mammoth2 | 8B + 3B + 2B | 6.60 | 4.06 |
68
+ | **DeepGen 1.0 (SFT)** | **3B + 2B** | 7.12 | 4.09 |
69
+ | **DeepGen 1.0 (RL)** | **3B + 2B** | 7.17 🥉 | 4.14 🥉 |
70
+
71
+ ### 3. Reasoning Image Generation
72
+ | Model | Params | WISE ↑ | T2I-CoREBench ↑ |
73
+ | :--- | :--- | :--- | :--- |
74
+ | OmniGen2 | 3B + 4B | 0.47 | 36.1 |
75
+ | BAGEL | 14B | 0.70 🥉 | 41.1 |
76
+ | Hunyuan-Image-3.0 | 80B | 0.57 | 46.0 |
77
+ | Qwen-Image | 7B + 20B | 0.62 | 46.3 🥉 |
78
+ | LongCat-Image | 7B + 6B | 0.65 | 52.2 🥇 |
79
+ | Z-Image-Turbo | 4B + 6B | - | 43.7 |
80
+ | **DeepGen 1.0 (SFT)** | **3B + 2B** | 0.72 🥈 | 45.7 |
81
+ | **DeepGen 1.0 (RL)** | **3B + 2B** | 0.73 🥇 | 46.5 🥈 |
82
+
83
+ ### 4. Reasoning Image Editing
84
+
85
+ | Model | Params | RISE ↑ | UniREditBench ↑ |
86
+ | :--- | :--- | :--- | :--- |
87
+ | OmniGen2 | 3B + 4B | - | 43.4 |
88
+ | BAGEL | 14B | 11.9 🥈 | 51.0 |
89
+ | Qwen-Image-Edit [2509] | 7B + 20B | 8.9 | 56.5 🥉 |
90
+ | **DeepGen 1.0 (SFT)** | **3B + 2B** | 13.3 🥇 | 77.5 🥇 |
91
+ | **DeepGen 1.0 (RL)** | **3B + 2B** | 10.8 🥉 | 75.7 🥈 |
92
+
93
+ ## 🎨 Quantitative results
94
+ <p align="left"><img src="teaser.png" width="80%"></p>
95
+
96
+ ## 🛠️ Usage
97
+
98
+ ### Merge ZIP Files
99
+ To use the DeepGen checkpoints, please merge the sharded model files first. We release Pre-traning, Supervised Fine-Tuning and Reinforcement Learning checkpoints.
100
+
101
+ ```bash
102
+ # Merge zip
103
+ cat DeepGen_CKPT.zip.part-* > DeepGen_CKPT.zip
104
+ # Unzip DeepGen checkpoints
105
+ unzip DeepGen_CKPT.zip
106
+ ```
107
+
108
+ ```text
109
+ checkpoints/
110
+ ├── DeepGen_CKPT
111
+ ├──Pretrain├──iter_200000.pth
112
+ ├── SFT├──iter_400000.pth
113
+ ├──RL├──MR-GDPO_final.pt
114
+
115
+ ```
116
+ if you want only final model state please use `model.pt` directly , it is same as `MR-GDPO_final.pt`
117
+
118
+ the Pretrain├──iter_200000.pth and SFT├──iter_400000.pth can be loaded for continuous training
119
+
120
+ ## ⭐ Citation
121
+ ```bibtex
122
+ @article{wang2026deepgen,
123
+ title={DeepGen 1.0: A Lightweight Unified Multimodal Model for Advancing Image Generation and Editing},
124
+ author={Wang, Dianyi and Li, Ruihang and Han, Feng and Ma, Chaofan and Song, Wei and Wang, Siyuan and Wang, Yibin and Xin, Yi and Liu, Hongjian and Zhang, Zhixiong and others},
125
+ journal={arXiv preprint arXiv:2602.12205},
126
+ year={2026}
127
+ }
128
+ ```
arch.png ADDED

Git LFS Details

  • SHA256: c8f8ae60d50414f205e4dbd11e6fa5408339cad2498894629c20b0dfe5d95c1e
  • Pointer size: 131 Bytes
  • Size of remote file: 899 kB
bubble_chart.png ADDED

Git LFS Details

  • SHA256: f12af963afaa66a9050e82ec74a18bfe9e67dbea52804b177a1ee709096d3faa
  • Pointer size: 131 Bytes
  • Size of remote file: 187 kB
config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DeepGen-1.0",
3
+ "_diffusers_version": "0.35.2",
4
+ "_transformers_version": "4.56.1",
5
+ "_name_or_path": "deepgenteam/DeepGen-1.0 "
6
+ }
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d2a4cc7b12a69bc3d481ba331b4ceec2dfd12f39de9d0985fad6431ef14d578
3
+ size 16380038579
teaser.png ADDED

Git LFS Details

  • SHA256: e45fb40357997614f659ed5e3de903b978341f959bad7507c70bbb726788d296
  • Pointer size: 132 Bytes
  • Size of remote file: 5.64 MB