ByteDance researchers have unveiled Lance, a single model that natively integrates understanding, generation, and editing across images and videos — a notable step beyond standard unified architectures that typically stop at basic image understanding and text-to-image generation.
What Lance Can Do
Lance organizes its capabilities into three output families: text (X2T), images (X2I), and videos (X2V). On the understanding side, it handles image and video captioning, visual question answering, OCR, visual grounding, and reasoning. On the generation side, it covers text-to-image, text-to-video, image-to-video, subject-driven generation, image editing, and video editing — including multi-turn consistency editing across both modalities.
How the Architecture Works
The architecture is built on two principles: unified context modeling and decoupled capability pathways.
For unified context, Lance converts all inputs — text, images, and videos — into a single shared interleaved multimodal sequence. Text tokens come from the Qwen2.5-VL embedding layer. For understanding-oriented visual inputs, the Qwen2.5-VL ViT encoder produces compact semantic visual tokens. For generation-oriented visual inputs, the Wan2.2 3D causal VAE encoder encodes images and videos into continuous latent representations. All heterogeneous token types — text, semantic visual, and latent visual — live in the same sequence. The model runs generalized 3D causal attention over the full context.
For decoupled pathways, Lance uses a dual-stream mixture-of-experts architecture initialized from Qwen2.5-VL 3B. The understanding expert (LLMUND) handles text and semantic visual tokens, producing outputs for multimodal reasoning and text generation. The generation expert (LLMGEN) handles VAE latent tokens for visual synthesis and editing. Both experts operate over the same shared interleaved sequence — sharing context without parameter competition.
Modality-Aware Rotary Positional Encoding (MaPE)
To resolve positional ambiguity among different token groups in the same sequence, Lance introduces Modality-Aware Rotary Positional Encoding (MaPE). MaPE applies a fixed temporal offset to each modality group based on its index in the sequence, preserving spatial layout within images and videos while separating token groups in the global positional space. Removing MaPE causes consistent performance drops across generation, editing, and understanding benchmarks.
Training: Four Stages
Lance is trained through four sequential stages:
- Pre-Training (PT): ~1B image-text and 140M video-text pairs (1.5T tokens) establish basic multimodal alignment and generation capability. VAE and ViT encoders are frozen; only backbone and connectors are trained.
- Continual Training (CT): Interleaved multi-task data — editing, subject-driven generation, multimodal understanding — across ~300B tokens, with a progressive data-mixture schedule.
- Supervised Fine-Tuning (SFT): Curated high-quality data across 72B tokens sharpens instruction following, editing accuracy, and identity consistency.
- Reinforcement Learning (RL): Uses Group Relative Policy Optimization (GRPO) with PaddleOCR as the reward model to further refine text rendering and image-text alignment.
All training fits within a maximum budget of 128 GPUs.
Results
Image Generation: On GenEval, Lance scores 0.90 overall, matching TUNA for the top spot among unified models. On DPG-Bench, it scores 84.67. For context, Janus-Pro-7B scores 0.80 and Show-o2 (7B) scores 0.76 on GenEval — Lance matches the top score with 3B activated parameters.
Video Generation: On VBench, Lance achieves a Total Score of 85.11 (with LLM rewriting), the highest among unified models, outperforming dedicated generation-only models like HunyuanVideo (83.43) and Wan2.1-T2V (83.69).
Image Editing: On GEdit-Bench, Lance scores 7.30 Avg/G_O, the highest among unified models, leading in most editing subcategories except text modification.
Video Understanding: On MVBench, Lance achieves 62.0 overall, the highest among unified models and outperforming several understanding-only models with more parameters.
Lance is open-sourced under Apache 2.0. The code and pretrained models are available on GitHub.