TL;DR
Training a single AI model to both generate images from scratch and edit existing ones is a bit like teaching someone to be both a painter and a photo retoucher: practicing one skill can easily mess up the other. Lens-MoRE solves this by first training a "sparse" Mixture-of-Experts (MoE) teacher—where a shared expert learns common skills and specialized experts handle tricky, conflicting details—and then distilling all that knowledge back into a single, fast, 4B-parameter dense model. The result? A compact model that punches well above its weight class, beating larger 7B+ competitors without needing any complex expert routing at inference time.
What Problem Does This Paper Address?
Modern Diffusion Transformers (DiTs) can handle both text-to-image (T2I) generation and instruction-based editing in one architecture. However, when you try to polish these models using post-training (like reinforcement learning), you hit a wall.
- Joint multi-task RL (optimizing one dense model on both tasks simultaneously) suffers from optimization interference: gradients from T2I and editing literally pull the shared weights in opposite directions, causing a "seesaw effect" where improving one task degrades the other.
- Task-specialized RL + On-Policy Distillation (OPD) avoids this by training separate T2I and editing teachers independently, then merging them into one student. But because the teachers never talk during training, they miss out on cross-task synergies and can give conflicting supervision during distillation.
Lens-MoRE bridges this gap by separating sparse capability learning from dense capability consolidation.
Methods
The authors build Lens-1.5-Base (a 4B unified model adapted from the pretrained Lens T2I generator, using Qwen3-VL-4B for multimodal conditioning and FLUX.2 VAE for latents) and then apply a two-stage post-training pipeline:
-
MoE-NFT (Mixture-of-Experts Negative-aware Fine-Tuning): Instead of updating the whole model or training separate models, the authors freeze the base weights and attach LoRA adapters to each attention block: one always-active shared expert ($E_s$) and four sparsely routed private experts ($E_1 \dots E_4$). A lightweight, condition-aware router looks at the text and reference-image features at each block and picks the top-1 private expert for that specific input. The whole system is trained jointly using DiffusionNFT and a unified rubric-based reward (where an LLM writes binary grading criteria per prompt, and a multimodal judge scores the output).
-
MoRE-OPD (MoE-guided On-Policy Distillation): Once the MoE teacher is trained, it is frozen. A single dense student (base model + one LoRA) generates denoising trajectories, and the teacher provides velocity supervision on those student-visited states. To sharpen the signal, the authors use base-referenced velocity extrapolation: $$v^* = v_{\text{moe}} + \eta(v_{\text{moe}} - v_{\text{base}})$$ By extrapolating away from the un-tuned base model ($\eta = 0.05$), the student amplifies the exact improvements learned during post-training. After distillation, the LoRA is merged into the backbone, leaving a standard dense model with zero routing overhead.
Datasets
- Training (Continual Pretraining & SFT): The authors introduce Lens-Edit-200M, a massive dataset of 203M source–target editing pairs from 29 sources (129.9M private, 25.3M public, 25.5M text-editing, and 22.7M programmatically synthesized pairs) spanning 8 categories and 100 edit types. For high-resolution SFT, they curate 521.7K rigorously filtered editing pairs alongside 4.65M T2I samples.
- Post-Training (RL): 21,000 editing pairs (from EditScore and ImgEdit-Trainset) and 12,161 T2I prompts, each paired with GPT-generated instance-level rubrics.
- Evaluation: Six benchmarks—ImgEdit-Bench and GEdit-Bench (EN) for editing; GenEval, CVTG-2K, LongText-Bench, and OneIG-Bench (EN) for T2I generation.
Key Insights and Ideas
- Routing actually reduces gradient warfare: By measuring the fraction of cross-task gradient pairs with negative cosine similarity, the authors show that MoE-NFT consistently has a much lower gradient conflict ratio than dense multi-task RL across network depths and training steps.
- Condition-aware routing beats task-hardcoded routing: Rather than forcing Expert 1 to be "T2I" and Expert 2 to be "Editing," the router dynamically picks experts per block based on multimodal features. Different experts naturally specialize at different depths (shallow vs. deep layers) for each task.
- The student surpasses the teacher: Thanks to on-policy distillation combined with base-referenced extrapolation, the final dense student outperforms its own MoE teacher across all six evaluated benchmarks.
Key Results
- SOTA for its size: At 4B parameters, Lens-MoRE outperforms all four FLUX.2-Klein variants (including the 9B models) across all six benchmarks.
- Beating larger models: Compared to the 7B Qwen-Image-2.1, Lens-MoRE scores higher on ImgEdit (4.45 vs. 4.44), GEdit-EN (8.55 vs. 8.41), and GenEval (0.897 vs. 0.895), while remaining competitive on OneIG-EN (0.567 vs. 0.570).
- Outperforming post-training baselines: Lens-MoRE beats both multi-objective dense RL (Dense DiffusionNFT, MapReduce LoRA) and task-specialized OPD methods (Flow-OPD, DiffusionOPD, DanceOPD) on most benchmarks, achieving 0.903 on LongText-Bench and 0.870 on CVTG-2K.
- Qualitative wins: Visually, Lens-MoRE avoids color leakage (e.g., correctly separating a "pink skateboard" from a "black train"), renders complex text accurately, and performs cleaner person replacements than competing post-training methods.
Limitations and Future Work
Not discussed in the paper.
Summary updated