EasyText: Controllable Diffusion Transformer for Multilingual Text Rendering

Runnan Lu, Yuxuan Zhang, Jiaming Liu, Haofan Wang, Yiren Song

TL;DR

EasyText is a new framework that enables Diffusion Transformers (DiT) to render accurate, high-quality text across multiple languages and complex layouts. By shifting the model's objective from "recalling" character shapes from memory to "imitating" them from a visual prompt, the system achieves state-of-the-art performance in multilingual text generation, even for characters it hasn't seen during training.

What Problem Does This Paper Address?

While AI image generators like FLUX and Ideogram have become surprisingly good at spelling English words, they still struggle significantly with multilingual text. Rendering languages like Chinese, which has over 30,000 characters, creates a massive "character space" that is difficult for models to memorize.

Beyond simple spelling, existing models often fail to blend text naturally into scenes (the "pasted-on" look) and struggle with "irregular" text—words that are slanted, curved, or placed in perspective. The authors identify three main hurdles: the complexity of multilingual modeling, unnatural text-background integration, and the tendency for fine-tuning to "break" a model's general image-generation abilities.

Methods

EasyText utilizes the Diffusion Transformer (DiT) architecture (specifically building on FLUX) and introduces several clever architectural tweaks:

  1. The "Imitation" Strategy: Instead of asking the model to remember what a "Ω" looks like, the authors provide a "condition image" containing the target text. This forces the model to learn the structure of glyphs rather than just memorizing them.
  2. Implicit Character Position Alignment (ICPA): This is the "secret sauce" for layout control. It uses Affine Transforms for standard boxes and Thin-Plate Spline (TPS) interpolation for irregular regions. This mathematically maps the coordinates of the text in the prompt to the specific target area in the generated image, ensuring the text goes exactly where the user wants.
  3. Two-Stage Training with Font Decoupling:
    • Stage 1 (Pre-training): The model learns to render text by looking at a standard font in the prompt and "imitating" it into a different, stylized font in the output. This prevents the model from just "copy-pasting" pixels.
  4. Stage 2 (Fine-tuning): A lightweight LoRA (Low-Rank Adaptation) is trained on high-quality real-world images to improve aesthetic blending without destroying the base model's creative powers.

Datasets

The researchers constructed two distinct datasets to power their two-stage approach:

  • Large-Scale Synthetic Dataset: Nearly 1 million samples covering 7 major scripts (Latin, Chinese, Korean, Japanese, Thai, Vietnamese, and Greek). This was used to teach the model the fundamental "how-to" of drawing characters.
  • High-Quality Human-Annotated Dataset: Approximately 20,000 images featuring complex scene-text integration (mostly Chinese and English). This was used for the final aesthetic "polish."

Key Insights and Ideas

  • Imitation > Recall: The most significant insight is that teaching an AI to "draw what it sees" (imitation) is far more efficient for multilingual tasks than teaching it to "draw what it knows" (recall). This allows the model to generalize to rare characters and even entirely new languages.
  • Font Decoupling as a Regularizer: By using different fonts for the input condition and the target output during training, the authors forced the model to understand the topology of characters (the strokes and connections) rather than just memorizing a specific bitmap.
  • Layout-Free Flexibility: While the model excels at precise placement, it also supports "layout-free" generation via Positional Offset Injection, allowing the model to decide where text looks best if the user doesn't provide a specific box.

Key Results

EasyText outperformed major competitors like AnyText, Glyph-SDXL, and even the base FLUX-dev model across several metrics:

  • Accuracy: It achieved 99.4% character-level precision for English and 93.1% for Chinese.
  • Multilingual Mastery: In languages like Thai and Greek (which many models don't support at all), EasyText maintained high precision (96.2% and 97.0% respectively).
  • Visual Quality: In GPT-4o-based evaluations and user studies, EasyText consistently scored higher in "Text-Image Fusing" and "Text Aesthetics," meaning the text looked like it actually belonged in the photo rather than being an overlay.

Limitations and Future Work

The authors acknowledge a few remaining challenges:

  • Overlapping Text: When character positions overlap significantly in the prompt, the ICPA mechanism can become confused, leading to rendering artifacts.
  • Visual Confusion: Occasionally, the model confuses visually similar characters from different writing systems (e.g., a Latin 'o' vs. a Greek 'ο').
  • Future Directions: The team suggests exploring more complex "in-the-wild" font styles and further refining the model's ability to handle extremely dense text layouts.

Summary updated

BibTeX
@inproceedings{lu2026easytext,
  author = {Runnan Lu and Yuxuan Zhang and Jiaming Liu and Haofan Wang and Yiren Song},
  title = {{EasyText: Controllable Diffusion Transformer for Multilingual Text Rendering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i9.37697},
}
Figure