Manuscript Offprint

arXiv:2611.12042

Four-Step Text-Bearing Image Generation via Distillation with Local Response Regularization and Teacher-Guided Training

Kairui Wen, Sheng Ye, Yong-Jin Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Kairui Wen Sheng Ye Yong-Jin Liu ∗^{*}

Tsinghua University, China

wkr21@mails.tsinghua.edu.cn yec22@mails.tsinghua.edu.cn liuyongjin@tsinghua.edu.cn

∗^{*}Corresponding author.

Preprint

Figure

Garden signage

Exhibition poster

Tea-shop signage

(a) Text-bearing visual media

Book-fair poster

Figure

Teacher: 50 steps

No text training: 4 steps

Synthetic text: 4 steps

(b) Same garden prompt and seed: target string “Welcome”

Ours: 4 steps

4 vs. 50 steps: 12.5×12.5 \times fewer denoiser evaluations | Four-step GenEval: 0.84 (ours) vs. 0.81 (TDM)

Figure 1. Four-step synthesis with preserved literal content. (a) Our “Welcome” garden scene alongside three application illustrations. (b) Matched experimental crops; teal and amber indicate correct and incorrect spelling. Our student recovers the target word with 12.5×12.5 \times fewer denoiser evaluations than the teacher and improves GenEval over four-step TDM.

Abstract

Generating text-bearing images requires coherent scenes and accurate characters. Large text-to-image models improve both capabilities through repeated denoising, at substantial sampling cost. Few-step distillation reduces this cost but requires the student to organize scenes and refine glyphs within a short trajectory. We present a four-step distillation framework combining local response regularization with teacher-guided text training. Built on distribution matching, the framework distills the GLM-Image DiT while retaining its autoregressive visual prior, glyph encoder, and VAE. A path-length penalty promotes consistent local responses of the conditional denoising field. Progressive training combines synthetic strings with teacher-generated imagery to preserve character accuracy and

scene-integrated typography. The student achieves GenEval Overall 0.84 and CVTG-2K word accuracy 0.5045, compared with 0.81 and 0.1690 for four-step TDM. A coefficient study favors 10−510^{-5}, and Qwen-Image experiments show additional gains from response regularization and text supervision. Single-image inference takes 1.742 s, compared with 5.818 s for the teacher, yielding a 3.34×3.34\times speedup at the same 40 GB GPU memory requirement.

Keywords: text-to-image generation, diffusion distillation, path-length regularization, visual text rendering

1 Introduction

Text-to-image diffusion models support diverse visual synthesis for design and content creation [28, 38]. Text-bearing images, such as posters, signs, and information panels, place an additional demand on these models: the generated scene must communicate specific written content through legible, correctly positioned characters [5, 38]. Their synthesis therefore requires both scene-level composition and precise local structure. A small character error can alter the intended message even when the surrounding image appears plausible.

Few-step distillation reduces sampling cost by replacing a long denoising trajectory with a small number of learned transitions. Compressing a fifty-step teacher into a four-step student while retaining its visual prior and conditioning interface supports rapid exploration of text-bearing designs. Diffusion models build image quality through iterative refinement [13, 28, 31, 34]. Distillation accelerates this process through progressive compression, consistency learning, adversarial supervision, or distribution matching [29, 30, 33, 40]. DMD2 extends distribution-matching distillation (DMD) to multi-step students through improved fake-score tracking and inference-state simulation [39]. Trajectory Distribution Matching (TDM) and Phased DMD further improve trajectory supervision and multi-step optimization [7, 24]. The resulting short trajectories must retain the compositional and textual capabilities of the pretrained teacher.

Four-step distillation imposes two related learning demands. Each update must organize object relations while resolving the fine strokes and spacing of requested text. Distribution matching supplies a broad visual target; explicit strings and layouts supply the local constraints needed for literal rendering. We study this setting with GLM-Image [42], whose autoregressive visual prior and glyph conditioning provide a natural interface between scene planning and continuous DiT refinement. We retain these conditioning paths and concentrate distillation on the denoiser.

Our framework combines a response prior with teacher-guided text supervision. We adapt path-length regularization to the conditional denoising field, measuring latent-to-output responses while holding the visual prior and glyph features fixed. The adaptive target promotes consistent response magnitudes across training states, providing a regularity prior for coarse denoising transitions. Teacher-guided training complements this prior with synthetic examples that specify exact strings and teacher-generated images that integrate typography into scenes. Text complexity progresses from short strings to dense layouts.

We evaluate composition on GenEval [11] and literal rendering on CVTG-2K [5]. Response regularization raises the four-step GLM student from 0.81 to 0.84 GenEval Overall. Teacher-image mixing increases word accuracy from 0.2086 to 0.5045 over synthetic-only training. The complete framework also outperforms four-step TDM on both benchmarks. A coefficient sweep favors 10−510^{-5}, and a sec-

ond study with Qwen-Image evaluates response regularization alongside a teacher-specific text-training procedure. In single-image inference, the GLM student reduces latency from 5.818 s to 1.742 s while both models require 40 GB of GPU memory.

In summary, this paper makes three contributions:

• We present a four-step framework for text-bearing image synthesis that retains the pretrained semantic and glyph-conditioning interface of GLM-Image.

• We adapt path-length regularization to the conditional denoiser and evaluate its effect on composition and text detail across two DiT teacher families.

• We develop teacher-guided text training that combines explicit strings with scene-integrated typography and improves literal rendering across multiple text-region counts.

References (44)