Scaling Down Text Encoders of Text-to-Image Diffusion Models

Lifu Wang, Daqing Liu, Xinchen Liu, Xiaodong He
2/10/2026

No official code found. Best implementation: LifuWang-66/DistillT5 (52 stars, MIT, last commit 2025-09-10).

Abstract

Text encoders in diffusion models have rapidly evolved, transitioning from CLIP to T5-XXL. Although this evolution has significantly enhanced the models’ ability to understand complex prompts and generate text, it also leads to a substantial increase in the number of parameters. Despite T5 series encoders being trained on the C4 natural language corpus, which includes a significant amount of non-visual data, diffusion models with T5 encoder do not respond to those non-visual prompts, indicating redundancy in representational power. Therefore, it raises an important question: "Do we really need such a large text encoder?" In pursuit of an answer, we employ vision-based knowledge distillation to train a series of T5 encoder models. To fully inherit T5-XXL’s capabilities, we constructed our dataset based on three criteria: image quality, semantic understanding, and text-rendering. Our results demonstrate the scaling down pattern that the distilled T5-base model can generate images of comparable quality to those produced by T5-XXL, while being 50 times smaller in size. This reduction in model size significantly lowers the GPU requirements for running state-of-the-art models such as FLUX and SD3, making high-quality text-to-image generation more accessible. Our code is available at https: //lifuwang-66.github.io/ScalingDownTE/.

View on arXivView PDF

Code Implementations(1)

MIT

(CVPR 2025) Scailing Down Text Encoders of Text-to-Image Diffusion Models

524Python, MakefileDec 6, 20241 years agoMIT

Similar Papers

Cite this paper

@article{wang2026scaling,
  title  = {Scaling Down Text Encoders of Text-to-Image Diffusion Models},
  author = {Lifu Wang and Daqing Liu and Xinchen Liu and Xiaodong He},
  year   = {2026},
  eprint = {2503.19897},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.19897},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.19897.svg)](https://codeofpaper.com/paper/2503.19897)

Discussion