Navigation menu
WeLM-Image: A Unified Image Generation Model towards Visual Intelligence
WeLM-Image: A Unified Image Generation Model towards Visual Intelligence
Canmiao Fu, Chen Li, Guohui Zhang, Hao Lu, Hongyang Wei, Huadong Wu et al.
2026-11-06▲ 39arXiv 2611.07392v1Hugging Face
AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.
TL;DR
WeLM-Image is a unified MoT–MoE image foundation model combining multimodal understanding with text-to-image generation, editing, and multi-reference synthesis, deployed as an 8-step guidance-free Turbo variant that renders 1024×1024 images in 4.98 s on one H20 GPU.
Problem
Image generation and editing increasingly require fine-grained control: long bilingual prompts with constraints on objects, relations, counts, layout and style; accurate long Chinese and English text rendering; complex edits preserving subject identity; and multi-reference composition without attribute confusion. These requirements motivate a common representation where instructions, reference images and target latents interact throughout synthesis. For WeChat's consumer services, the design must also handle large request volumes at affordable cost, so single-GPU deployment and low per-request cost constrain model scale and inference design from the outset.
Method
All tasks are expressed as interleaved text and image sequences in one backbone built on a dual-path Mixture-of-Transformers design, where the understanding and generation paths each carry their own Mixture-of-Experts feed-forward layers (MoT–MoE), giving independent parameters but shared attention at every layer. Generation templates treat each reference image as an adjacent clean-VAE segment (GEN path) plus ViT segment (UND path), so N=0 yields text-to-image while N≥1 covers editing and multi-reference generation. A dedicated WeLM-Image-VAE is trained through reconstruction, semantic alignment and text-oriented decoder fine-tuning, and a text-compatible unified 3D RoPE lifts rotary embeddings to a (t,h,w) coordinate system. Training proceeds from progressive pretraining at 512→1024→1536 resolution through SFT, then separate T2I and I2I reinforcement-learning branches (rubric-based alignment, aesthetic, text-rendering and naturalness rewards; checklist-based editing reward), consolidated by noise-aware on-policy distillation and finally MeanFlow-based few-step distillation into WeLM-Image-Turbo. Conditioning tokens are cached during sampling so each denoising step recomputes only noisy target latents, and token-budget packing, FSDP and context parallelism support packed sequences up to 64K tokens.
Results
- Inference latency of the base and Turbo models across text-to-image and editing with one to four input images on NVIDIA H20 GPUs. §5 Efficiency
- Turbo speedup over the 50-step base model with classifier-free guidance for a 1024×1024 image. §1 Introduction
- Model scale: stored parameters and activated generation parameters per target latent token. §2.4 MoT–MoE Backbone
- WeLM-Image results on text-to-image and text-rendering benchmarks versus evaluated open-source and proprietary models. §6.1.1 Text-to-Image & Text Rendering
- Detailed GenEval results; compositional skills show counting and attribute binding as weaker areas. §6.1.1 Text-to-Image & Text Rendering
- Curated image pool size and high-resolution share after quality filtering. §3.1.3 Quality Filtering
- Data pipeline throughput and multi-reference dataset scale. §3.3.3 Multi-Reference
Limitations
- The current version still focuses primarily on image generation and image editing; stronger visual understanding is left to a next version (§3.3.4 Understanding Data).
- The reported training recipe uses FSDP and CP with expert-parallel size set to 1, so expert parallelism is not exercised at scale (§4.4 Training Infrastructure).
- GenEval compositional results on counting, position and attribute binding trail several baselines, indicating weaker compositional control (§6.1.1 Text-to-Image & Text Rendering).
- Evaluation of editing is described only as benchmarking against listed models in §6.1.2 Image Editing, with no per-benchmark numbers reported in the provided text, leaving that comparison open.
Key points
- MoT separates understanding and generation parameters to reduce optimization interference, while shared attention couples both paths at every layer. §2.4 MoT–MoE Backbone
- Each path has its own MoE feed-forward layers; a single shared expert pool was avoided because it could reintroduce interference and hinder convergence. §2.4 MoT–MoE Backbone
- The backbone has 27 decoder layers at hidden size 2,048, with Layer 0 dense (intermediate size 11,264) and Layers 1–26 using path-specific MoE. §2.4 MoT–MoE Backbone
- Top-6 routing on UND activates about 2.2B decoder parameters per token; top-20 routing on GEN activates about 5.4B per latent token. §2.4 MoT–MoE Backbone
- Unified 3D RoPE keeps text and ViT tokens on the diagonal (p,p,p) while VAE tokens keep t=p and occupy a centered local h–w grid, applied once per attention layer. §2.5 Text-Compatible Unified 3D RoPE
- A raw pool of about 5 billion images is refined to roughly 0.6 billion curated images, 59.74% of which are 1024-or-higher resolution. §3.1.3 Quality Filtering
- Pretraining stages 512/1024/1536 mix understanding data at 20%/20%/none, shifting to text-to-image (67% at 1536) and multi-reference (8% at 1536, 10% at SFT). §4.2 Pretraining and SFT
- Turbo compresses a CFG full-step model into a guidance-free 8/4-step model using MeanFlow average-velocity consistency plus DMD-style online trajectory alignment. §4.3.4 Few-step Distillation
Mind map
Sign In
Choose a method to continue
By signing in, you agree to our Terms and Privacy Policy

