atlas

Research map / Image generation / Text-to-image diffusion

Brush Your Text: Synthesize Any Scene Text on Images via Diffusion Model

AAAI 2024 · Image generation › Text-to-image diffusion · approach: Compositional text-to-image guidance · 25 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Training-free multilingual scene text image generation by steering Stable Diffusion + ControlNet (Canny) with a localized cross-attention constraint and contrastive positive/negative image-level prompts.

Problem

Diffusion models struggle to generate accurate scene text, especially for low-resource languages (e.g., Arabic, Thai, Kazakh) that are underrepresented in training data, and lack control over text placement.

Approach

Render the target text as a sketch image, extract Canny edges as a ControlNet condition, constrain cross-attention maps of text-region keywords (e.g., "sign", "billboard") to the text bounding box, and apply contrastive image-level prompts (a 1-pixel box as positive prompt, a blank white image as negative prompt) in classifier-free-guidance-style combination, all without training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add localized attention constraint (ablation)Diff-Text · Ablation evaluationCLIP: 0.8065 -> 0.8108Helped
add localized attention constraint (ablation)Diff-Text · Ablation evaluationAccuracy: 31.42 -> 35.48Helped
add localized attention constraint (ablation)Diff-Text · Ablation evaluationEdit accuracy: 74.30 -> 77.22Helped
add positive image-level prompt (ablation)Diff-Text · Ablation evaluationCLIP: 0.7935 -> 0.8108Helped
add positive image-level prompt (ablation)Diff-Text · Ablation evaluationAccuracy: 27.68 -> 35.48Helped
add positive image-level prompt (ablation)Diff-Text · Ablation evaluationEdit accuracy: 70.92 -> 77.22Helped
add negative image-level prompt (ablation)Diff-Text · Ablation evaluationCLIP: 0.7718 -> 0.8108Helped
add negative image-level prompt (ablation)Diff-Text · Ablation evaluationAccuracy: 10.39 -> 35.48Helped
add negative image-level prompt (ablation)Diff-Text · Ablation evaluationEdit accuracy: 50.95 -> 77.22Helped
use Diff-Text instead of the strongest baselineScene text generation · EnglishCLIPScore: 0.8666 -> 0.8649Hurt
use Diff-Text instead of the strongest baselineScene text generation · ArabicAccuracy: 3.291 -> 33.13Helped
use Diff-Text instead of the strongest baselineScene text generation · ChineseEdit_accuracy: 26.81 -> 68.75Helped

Surprising findings

Limitations

Experimental setup

Datasets: multilingual vocabularies from Zhang et al. and Xie et al.

Benchmarks: custom multilingual scene text generation set (English, Chinese, Arabic, Thai, Russian; 3000 words per language)

Metrics: CLIPScore OCR accuracy normalized edit distance

Baselines: Stable Diffusion DeepFloyd TextDiffuser ControlNet

Builds on: Stable Diffusion ControlNet classifier-free guidance

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy