Lens: Rethinking Training Efficiency for Foundational Text-to-Image Models

Dong Chen, Fangyun Wei, Ziyu Wan, Jiawei Zhang, Jinjing Zhao, Sirui Zhang, Yang Yue, Zhiyang Liang, Baining Guo, Chong Luo, Jianmin Bao, Ji Li, Lei Shi, Qinhong Yang, Xiuyu Wu, Xuelu Feng, Yan Lu, Yanchen Dong, Yitong Wang, Yunuo ChenarXiv 2026

TL;DR

The Microsoft Lens Team has introduced Lens, a 3.8B-parameter text-to-image (T2I) model designed from the ground up for extreme training efficiency. Despite its compact size, Lens matches or outperforms state-of-the-art models more than twice its scale (such as the 6B Z-Image and 12B FLUX.1) while consuming only 19.3% of the training compute.

What Problem Does This Paper Address?

State-of-the-art foundational text-to-image models have achieved remarkable visual fidelity, but their training costs are astronomical. For instance, contemporary models like Z-Image require over 314,000 H800 GPU hours to train, creating massive financial and environmental barriers to AI development.

The authors argue that training efficiency isn't just about shrinking the model; it is jointly determined by three factors: model size, data information density per training batch, and convergence speed. This paper addresses how to systematically optimize all three axes to build a highly capable foundation model on a budget.

Methods

Lens utilizes an MMDiT-style (Multi-Modal Diffusion Transformer) architecture and is trained using a standard flow-matching objective. To maximize training efficiency, the team introduced several key innovations:

  1. High-Density Data Batching: Instead of training on short, sparse alt-text captions, Lens uses highly descriptive, dense captions. Furthermore, each training batch is dynamically constructed from images of multiple resolutions and diverse aspect ratios, maximizing the visual and semantic coverage of every single optimization step.
  2. Strategic Architectural Choices: The authors bypassed traditional proxy metrics (like rFID) and directly evaluated components within the T2I pipeline. They discovered that adopting a semantic VAE (from FLUX.2) and a powerful language encoder (GPT-OSS, a 20B Mixture-of-Experts model with 3B active parameters) drastically accelerated convergence speed.
  3. Taxonomy-Driven Post-Training: After pre-training, the model undergoes reinforcement learning via DiffusionNFT. It uses a curated prompt set evaluated by a vision-language model (GPT-4.1-mini) acting as a reward function based on structured, multi-dimensional rubrics.
  4. Prompt Reasoner: Lens includes an independent "Reasoner" module (powered by an LLM) that expands simple user prompts into detailed, descriptive paragraphs aligned with the model's training distribution.
Architecture of Lens

Datasets

  • Lens-800M: A newly curated pre-training dataset containing 800 million high-quality image-text pairs. The images are sourced from public and private data, filtered through a multi-stage cleaning pipeline (for aesthetics, clarity, duplicates, and NSFW content), and densely re-captioned using GPT-4.1 (averaging 109 words per caption).
  • Lens-RL-8K: A post-training dataset consisting of 8,406 prompts structured across a strict taxonomy of 10 generation scenarios (e.g., Human, Object, Scene, Text, UI Design) to ensure well-balanced reinforcement learning.
Dataset distributions

Key Insights and Ideas

  • Dense Captions Accelerate Learning: Detailed captions prevent the model from having to resolve ambiguity during training. This drastically improves data utilization efficiency, allowing a smaller model to extract more supervision per step.
  • Implicit Resolution Generalization: Even though Lens was only trained on 27 specific resolution buckets (up to $1024^2$), the mixed-resolution training strategy combined with Rotary Position Embeddings (RoPE) allows it to seamlessly generalize to unseen aspect ratios (from 1:2 to 2:1) and higher resolutions (up to $1440^2$) at inference time without extra training cost.
  • Zero-Shot Multilingualism via Text Encoders: Even though Lens was trained exclusively on English image-text pairs, utilizing a strong language encoder (GPT-OSS) granted the model robust cross-lingual generalization, allowing it to follow prompts in Chinese, French, Japanese, and Spanish out of the box.

Key Results

Lens achieves top-tier performance across major T2I benchmarks while maintaining a tiny computational footprint:

  • Compute Efficiency: Lens required only 192K A100 GPU hours for training, compared to the 314K H800 hours required by Z-Image.
  • Benchmark Superiority: On the composition-focused GenEval benchmark, Lens achieved an overall score of 0.930, outperforming larger open-source models like FLUX.1 Dev (0.660), Z-Image (0.840), and Qwen-Image (0.868). It also demonstrated state-of-the-art performance on text-rendering benchmarks like LongText and CVTG.
  • Inference Speed: On a single NVIDIA H100 GPU, the base Lens model generates a $1024^2$ image in 3.15 seconds (20 steps). Its distilled counterpart, Lens-Turbo, achieves a competitive GenEval score of 0.914 while performing 4-step generation in just 0.84 seconds.
Inference time vs benchmark performance

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Multilingual Disparity: While Lens understands non-English prompts, the generation quality and prompt-following accuracy remain slightly lower than when using English inputs.
  • Non-English Text Rendering: The model still struggles to accurately render typography in scripts it hasn't seen extensively in text-rich contexts, such as Japanese and French.
  • Visual Artifacts: Like most diffusion models, Lens can occasionally produce artifacts in rare object compositions or highly complex layouts.

Future work will focus on expanding multilingual and text-rich training data, improving long-tail scenario coverage, and refining safety mechanisms for deployment.

Summary updated

BibTeX
@misc{chen2026lens,
  author = {Dong Chen and Fangyun Wei and Ziyu Wan and Dongdong Chen and Jiawei Zhang and Jinjing Zhao and Sirui Zhang and Yang Yue and Zhiyang Liang and Baining Guo and Chong Luo and Jianmin Bao and Ji Li and Lei Shi and Qinhong Yang and Xiuyu Wu and Xuelu Feng and Yan Lu and Yanchen Dong and Yitong Wang and Yunuo Chen},
  title = {{Lens: Rethinking Training Efficiency for Foundational Text-to-Image Models}},
  year = {2026},
  eprint = {2605.21573},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.21573},
}
Figure