Nucleus-Image: Sparse MoE for Image Generation
Abstract
We present Nucleus-Image, a text-to-image generation model that establishes a new Pareto frontier in quality-versus-efficiency by matching or exceeding leading models on GenEval, DPG-Bench, and OneIG-Bench while activating only approximately 2B parameters per forward pass. Nucleus-Image employs a sparse mixture-of-experts (MoE) diffusion transformer architecture with Expert-Choice Routing that scales total model capacity to 17B parameters across 64 routed experts per layer. We adopt a streamlined architecture optimized for inference efficiency by excluding text tokens from the transformer backbone entirely and using joint attention that enables text KV sharing across timesteps. To improve routing stability when using timestep modulation, we introduce a decoupled routing design that separates timestep-aware expert assignment from timestep-conditioned expert computation. We construct a large-scale training corpus of 1.5B high-quality training pairs spanning 700M unique images through multi-stage filtering, deduplication, aesthetic tiering, and caption curation. Training follows a progressive resolution curriculum (256 to 512 to 1024) with multi-aspect-ratio bucketing at every stage, coupled with progressive sparsification of the expert capacity factor. We adopt the Muon optimizer and share our parameter grouping recipe tailored for diffusion models with timestep modulation. Nucleus-Image demonstrates that sparse MoE scaling is a highly effective path to high-quality image generation, reaching the performance of models with significantly larger active parameter budgets at a fraction of the inference cost. These results are achieved without post-training optimization of any kind: no reinforcement learning, no direct preference optimization, and no human preference tuning. We release the training recipe, making Nucleus-Image the first fully open-source MoE diffusion model at this quality.
Figures & tables
| Field | Type | Purpose |
|---|---|---|
| id | string | Stable record identifier for tracing and debugging. |
| media_path | string | Content-addressed locator in object storage. |
| width , height | int | Original geometry; used for aspect-ratio bucketing and validation. |
| captions | list[string] | Candidate captions at multiple granularities. |
| caption_sources | list[string] | Provenance tag per caption, aligned with captions . |
| caption_lengths | list[int] | Token counts per caption. |
| Specification | Value |
|---|---|
| Total parameters | 17B |
| Active parameters | ~2B |
| Layers | 32 |
| Hidden dimension | 2048 |
| Attention heads (Q / KV) | 16 / 4 |
| Head dimension | 128 |
| Layer Index | Capacity Factor | Effective Experts per Token |
| 3–4 | 4.0 | ~4 |
| 5–31 | 2.0 | ~2 |
| Resolution Stage | Capacity Factor | Rationale |
|---|---|---|
| 256 | 8.0 (uniform) | Dense gradients: only 256 image tokens across 64 experts |
| 512 | 4.0 (uniform) | Moderate sparsity as representations mature |
| 1024 | 4.0 / 2.0 (per-layer) | Full progressive schedule (Table 3 ) |
| Loss component | Coefficient | Stage |
|---|---|---|
| Rectified flow (MSE) | 1.0 | All phases |
| Z-loss | All phases | |
| Orthogonal loss | All phases (direct weight update) | |
| Wavelet loss | 0.1 | High-resolution fine-tuning |
| Group | Parameters | Optimizer | or | ||
|---|---|---|---|---|---|
| Muon | Attention & expert FFN weights | Muon | 0.01 | ||
| AdamW | Patch embed, modulation, output head | AdamW | 0.9 / 0.95 | 0.01 | |
| No-decay | Biases, norms, router gates | AdamW | 0.9 / 0.95 | 0 |
| Stage | Base Resolution | Global Batch Size | Capacity Factor | Notes |
|---|---|---|---|---|
| 1 | 256 | 4,096 | 8.0 (uniform) | Dense gradients; multiple aspect ratios |
| 2 | 512 | 1,024 | 4.0 (uniform) | Moderate sparsity; larger token sequences |
| 3 | 1024 | 256 | 4.0 / 2.0 (per-layer) | Full progressive schedule; wavelet loss enabled |
| Parameter | Value |
|---|---|
| Hidden dimension | 2048 |
| Number of layers | 32 |
| Attention heads (Q / KV) | 16 / 4 |
| Number of experts | 64 + shared |
| Experts per token (effective) | ~2 |
| Expert hidden dimension | 1344 |
| Model | Single | Two | Count | Colors | Position | Attr. | Overall |
|---|---|---|---|---|---|---|---|
| Show-o [ 44 ] | 0.95 | 0.52 | 0.49 | 0.82 | 0.11 | 0.28 | 0.53 |
| PixArt- [ 45 ] | 0.98 | 0.50 | 0.44 | 0.80 | 0.08 | 0.07 | 0.48 |
| Emu3-Gen [ 46 ] | 0.98 | 0.71 | 0.34 | 0.81 | 0.17 | 0.21 | 0.54 |
| SD3 Medium [ 27 ] | 0.98 | 0.74 | 0.63 | 0.67 | 0.34 | 0.36 | 0.62 |
| FLUX.1 Dev [ 40 ] | 0.98 | 0.81 | 0.74 | 0.79 | 0.22 | 0.45 | 0.66 |
| SD3.5 Large [ 27 ] | 0.98 | 0.89 | 0.73 | 0.83 | 0.34 | 0.47 | 0.71 |
| Model | Global | Entity | Attribute | Relation | Other | Overall |
|---|---|---|---|---|---|---|
| SD v1.5 [ 36 ] | 74.63 | 74.23 | 75.39 | 73.49 | 67.81 | 63.18 |
| PixArt- [ 45 ] | 74.97 | 79.32 | 78.60 | 82.57 | 76.96 | 71.11 |
| Lumina-Next [ 52 ] | 82.82 | 88.65 | 86.44 | 80.53 | 81.82 | 74.63 |
| SDXL [ 53 ] | 83.27 | 82.43 | 80.91 | 86.76 | 80.41 | 74.65 |
| Playground v2.5 [ 54 ] | 83.06 | 82.59 | 81.20 | 84.08 | 83.50 | 75.47 |
| HunyuanDiT [ 55 ] | 84.59 | 80.59 | 88.01 | 74.36 | 86.41 | 78.87 |
| Model | Alignment | Text | Reasoning | Style | Diversity | Overall |
|---|---|---|---|---|---|---|
| Janus-Pro [ 48 ] | 0.553 | 0.001 | 0.139 | 0.276 | 0.365 | 0.267 |
| BLIP3-o [ 59 ] | 0.711 | 0.013 | 0.223 | 0.361 | 0.229 | 0.307 |
| Show-o2-1.5B [ 60 ] | 0.798 | 0.002 | 0.219 | 0.317 | 0.186 | 0.304 |
| Show-o2-7B [ 60 ] | 0.817 | 0.002 | 0.226 | 0.317 | 0.177 | 0.308 |
| SD 1.5 [ 36 ] | 0.565 | 0.010 | 0.207 | 0.383 | 0.429 | 0.319 |
| SDXL [ 53 ] | 0.688 | 0.009 | 0.237 | 0.332 | 0.296 | 0.316 |
| Benchmark | Score (0–100) | Configuration |
|---|---|---|
| GenEval | 87.00 | |
| DPG-Bench | 88.79 | |
| OneIG-Bench | 52.20 | |
| Overall performance (avg. of normalized 3) | 76.00 | — |
T2I Diffusion Models
Text-to-image (T2I) diffusion models generate images from prompts by learning to reverse noise under text conditioning.
See all 390 papers