Diffusion and flow matching models have made significant progress in text-to-image generation, yet high computation, quadratic complexity, and large memory footprint hinder high-resolution synthesis and edge deployment. We propose Nexus, which integrates sparse architecture, linear complexity, and low-bit quantization. It combines MoE feed-forward layers, gated DeltaNet attention, and per-expert low-bit training to reduce computation and memory. Their joint optimization allows Nexus to achieve generation quality comparable to mainstream models such as SDXL and SD3 while delivering markedly higher inference efficiency. Experiments on COCO and LAION validate its effectiveness.
Figures & tables
Figure 1: Teaser figure. The five sub-images shown here were all generated by Nexus using a single A100 (80GB) graphics card, with an average processing time of approximately 1.4 seconds per image.
Figure 2: Schematic diagram of the overall architecture.
Figure 3: Detailed structure of the dual-stream block.
Model
Total Params (B)
Activated Params (B)
Latency (ms)
Peak Memory (GB)
FID ( ↓ )
CLIP ( ↑ )
FLOPs (G)
SDXL (2023)
3.4B
3.4B
6 783
12.3
15.2
0.313
267
Hunyuan-DiT (2024)
1.5B
1.5B
2 987
9.4
12.5
0.320
337
SD3-Medium (2024)
2.0B
2.0B
3 956
5.5
10.8
0.332
240
AsymFlow (2025)
9.0B
9.0B
17 823
17.8
6.8
0.325
359
FLUX.1 Kontext Dev (2025)
12.0B
12.0B
23 942
23.7
6.2
0.328
965
FLUX.2 Dev (2025)
32.0B
32.0B
63 856
63.7
5.5
0.330
2 541
Table 1: Comparison of Text-to-Image Models
Model
FID ( ↓ )
CLIP ( ↑ )
Latency (ms)
Peak Memory (GB)
Activated Params (B)
Total Params (B)
Dense (baseline)
6.2
0.330
6750
12.1
3.4
3.4
+ Gated DeltaNet
6.5
0.330
3510
8.4
3.4
3.4
+ MoE (dense attn)
5.9
0.331
5470
13.8
3.4
14.5
+ 4-bit Quant (dense)
7.3
0.319
5830
5.1
3.4
3.4
Nexus (Full)
5.8
0.329
1420
3.2
1.6
7.0
Table 2: Ablation study of Nexus components. All results are measured on COCO-30K with 512 × 512 resolution and 50 Euler steps.
Model
Resolution
Sequence Length L
Latency (ms)
Peak Memory (GB)
FID ( ↓ )
SD3-Medium
256 2
16,384
2,130
4.2
9.2
512 2
65,536
3,956
5.5
10.8
1024 2
262,144
23,400
21.6
13.5
2048 2
1,048,576
OOM
OOM
—
Nexus (Ours)
256 2
16,384
890
2.1
5.2
512 2
65,536
1,420
3.2
5.8
Table 3: Performance at different resolutions. OOM indicates out of memory.
Figure 4: Latency (left) and peak memory (right) versus sequence length L (log-log scale). Nexus (blue) exhibits near-linear scaling, while SD3-Medium (red) shows quadratic growth and OOM at L=1,048,576 .
Quantization Strategy
FID ( ↓ )
CLIP ( ↑ )
Model Size (GB)
Peak Memory (GB)
Uniform global scaling (INT4)
7.9
0.310
3.3
3.8
Per-expert scaling (INT4, ours)
5.8
0.329
3.5
3.2
+ Quantized router & state (INT4)
7.5
0.312
3.5
2.9
INT8 symmetric (per-expert)
5.7
0.330
6.8
5.4
Table 4: Quantization strategy analysis. All variants use the full Nexus architecture.
Text-to-image generation creates images from natural-language prompts using generative models, with research focused on fidelity, control, efficiency, and safety.
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.
We introduce the Nexus Adapters, novel text-guided efficient adapters to the diffusion-based framework for the Structure Preserving Conditional Generation (SPCG). Recently, structure-preserving methods have achieved promising results in conditional image generation by using a base model for prompt conditioning and an adapter for structure input, such as sketches or depth maps. These approaches are highly inefficient and sometimes require equal parameters in the adapter compared to the base architecture. It is not always possible to train the model since the diffusion model is itself costly, and doubling the parameter is highly inefficient. In these approaches, the adapter is not aware of the input prompt; therefore, it is optimal only for the structural input but not for the input prompt. To overcome the above challenges, we proposed two efficient adapters, Nexus Prime and Slim, which are guided by prompts and structural inputs. Each Nexus Block incorporates cross-attention mechanisms to enable rich multimodal conditioning. Therefore, the proposed adapter has a better understanding of the input prompt while preserving the structure. We conducted extensive experiments on the proposed models and demonstrated that the Nexus Prime adapter significantly enhances performance, requiring only 8M additional parameters compared to the baseline, T2I-Adapter. Furthermore, we also introduced a lightweight Nexus Slim adapter with 18M fewer parameters than the T2I-Adapter, which still achieved state-of-the-art results. Code: https://github.com/arya-domain/Nexus-Adapters
Aryan Das, Koushik Biswas, Swalpa Kumar Roy +2
VIT Bhopal · IIIT Delhi · Tezpur University Assam +1
Existing text-to-image diffusion models excel at generating high-quality images, but face significant efficiency challenges when scaled to high resolutions, like 4K image generation. While previous research accelerates diffusion models in various aspects, it seldom handles the inherent redundancy within the latent space. To bridge this gap, this paper introduces DC-Gen, a general framework that accelerates text-to-image diffusion models by leveraging a deeply compressed latent space. Rather than a costly training-from-scratch approach, DC-Gen uses an efficient post-training pipeline to preserve the quality of the base model. A key challenge in this paradigm is the representation gap between the base model's latent space and a deeply compressed latent space, which can lead to instability during direct fine-tuning. To overcome this, DC-Gen first bridges the representation gap with a lightweight embedding alignment training. Once the latent embeddings are aligned, only a small amount of LoRA fine-tuning is needed to unlock the base model's inherent generation quality. We verify DC-Gen's effectiveness on SANA and FLUX.1-Krea. The resulting DC-Gen-SANA and DC-Gen-FLUX models achieve quality comparable to their base models but with a significant speedup. Specifically, DC-Gen-FLUX reduces the latency of 4K image generation by 53x on the NVIDIA H100 GPU. When combined with NVFP4 SVDQuant, DC-Gen-FLUX generates a 4K image in just 3.5 seconds on a single NVIDIA 5090 GPU, achieving a total latency reduction of 138x compared to the base FLUX.1-Krea model. Code: https://github.com/dc-ai-projects/DC-Gen.