Extending One-Step Image Generation from Class Labels to Text via Discriminative Text Representation

Chenxi Zhao, Chen Zhu, Xiaokun Feng, Aiming Hao, Jiashu Zhu, Jiachen Lei, Jiahong Wu, Xiangxiang Chu, Jufeng YangarXiv 2026

TL;DR

This paper introduces EMF (Extending MeanFlow to T2I), the first framework to successfully adapt the one-step generative method MeanFlow from simple class labels to complex text-to-image (T2I) generation. The authors discover that few-step generation requires text representations with exceptionally high discriminability and disentanglement, allowing their model to generate high-quality images in just 1 to 4 steps while matching the performance of 30-step baselines.

What Problem Does This Paper Address?

Reducing the computational cost of diffusion and flow-matching models typically requires few-step or one-step generation techniques. A prominent framework, MeanFlow, achieves remarkable one-step results by modeling the average velocity between time steps rather than instantaneous velocity. However, MeanFlow has historically been restricted to class-conditional generation (e.g., generating an image given a fixed label like "goldfish").

When researchers try to swap out simple class labels for flexible, complex text prompts using standard Large Language Model (LLM) text encoders, MeanFlow fails. The authors investigate this bottleneck and reveal that few-step generation leaves no room for error correction. While multi-step models can gradually fix a drifting trajectory, a 1-to-4-step model requires a highly accurate velocity field from the very first step. Text embeddings are dense and continuous, often causing a "tortuous" denoising path that misleads few-step models.

Methods

The authors first establish two critical criteria for text encoders suitable for few-step generation:

  1. Discriminability: The ability to cleanly align text embeddings with visual concepts, capturing subtle differences between similar prompts.
  2. Disentanglement: The ability to separate distinct semantic components (attributes, objects, spatial relations) within a long prompt without blending them together.

Through rigorous image-text retrieval and subsequence similarity experiments, they identified that the BLIP3o-NEXT text encoder inherently possesses these properties.

Building on this, they adapted the MeanFlow framework for text-to-image generation via the following modifications:

  • Bidirectional Time Conditioning: They modified the flow-matching backbone to explicitly support MeanFlow's time intervals by duplicating temporal embedding parameters into two layers: one for the interval length ($\phi_{\text{interval}}$) and one for the segment end time ($\phi_{\text{end}}$).
  • Adaptive Timestep Sampling: During training, timesteps are sampled adaptively from uniform or logit-normal distributions, ensuring the model learns both short- and long-range trajectories stably.

Datasets

  • Training: Approximately 170,000 text-image pairs sourced from BLIP3o-60k, ShareGPT-4o, and Echo-4o.
  • Evaluation:
  • GenEval: For attribute-focused text-image alignment and faithfulness.
  • DPG-Bench: For evaluating long-form prompts and compositional robustness.
  • HPS-v2: For measuring alignment with human perceptual preferences.
  • COCO 2017 (Training Split): Used to analyze text encoder discriminability via cross-modal retrieval.

Key Insights and Ideas

  • The Few-Step Representation Burden: In standard generation, text encoders only need to guide the model generally, as subsequent denoising steps correct the path. In one-step generation, the text encoder must do the heavy lifting of semantic discrimination upfront.
  • Vision-Language Pre-training Matters: Encoders trained purely on text (like T5 or standard LLMs) perform poorly in few-step generation because they lack explicit vision-language alignment, leading to low discriminability in the visual space.
  • Graceful Scaling: Unlike consistency-distilled models (which often suffer from performance saturation or degradation when sampling steps are increased beyond 2), MeanFlow benefits continuously from additional steps, acting as a stable discretization of a continuous flow.

Key Results

  • Performance Matching: With just 4 sampling steps, EMF achieved a GenEval score of 0.90, nearly matching the 30-step BLIP3o-NEXT baseline (0.91) and outperforming state-of-the-art distilled models like SDXL-Turbo (0.56) and FLUX.1-schnell (0.69).
  • Compositional Excellence: On the challenging DPG-Bench, 4-step EMF scored 81.20, vastly outperforming its 4-step baseline counterpart (78.15).
  • Massive Speedup: Pure diffusion sampling time on an NVIDIA H200 GPU dropped from 1.24 seconds (30 steps) to just 0.22 seconds (4 steps) and 0.08 seconds (1 step).

Visual comparisons demonstrate that EMF maintains superior image quality and strict instruction following compared to competing few-step models:

Figure 1. Visual comparison of Our Model and SANA-Sprint in 4-step inference on challenging text. Our model achieves superior image quality and instruction following. The blue text denotes examples where SANA-Sprint fails.

Limitations and Future Work

  • Domain Sensitivity: The framework is highly sensitive to domain alignment. Initial attempts to fine-tune SANA-1.5 failed due to data domain mismatches, indicating that MeanFlow requires tight coupling between the text encoder's SFT data and the generative training data.
  • Text Generation Bottleneck: While the image sampling process is drastically accelerated, the end-to-end pipeline is still bottlenecked by the autoregressive text embedding generation phase (taking up roughly 9.87 seconds of the total 11.3-second pipeline generation time). Optimizing the text encoding latency remains an open challenge.

Summary updated

BibTeX
@misc{zhao2026extending,
  author = {Chenxi Zhao and Chen Zhu and Xiaokun Feng and Aiming Hao and Jiashu Zhu and Jiachen Lei and Jiahong Wu and Xiangxiang Chu and Jufeng Yang},
  title = {{Extending One-Step Image Generation from Class Labels to Text via Discriminative Text Representation}},
  year = {2026},
  eprint = {2604.18168},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.18168},
}

Loading related content...

Figure