Reproduce “Towards Understanding the Working Mechanism of Text-to-Image Diffusion Model” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Mingyang Yi, Aoxue Li, Yi Xin, Zhenguo Li

Researchers elucidated the internal workings of text-to-image diffusion models, revealing a two-stage image generation process from overall shape to fine details and identifying the [EOS] token's dominant, early influence in text guidance. These insights led to a training-free sampling acceleration method, reducing inference latency by over 25% with preserved image quality and text alignment.

Key insights

  • The denoising process in T2I DPMs follows a two-stage pattern, reconstructing overall shapes (low-frequency information) in early steps and filling in fine details (high-frequency information) in later steps.
  • The [EOS] token carries a dominant portion of the text prompt's semantic information and significantly influences the generated image's overall structure, particularly through its Value component in cross-attention.
  • Textual guidance from the prompt exerts its primary influence during the early stages of denoising, with its impact on the image generation process substantially decreasing in later steps.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.