atlas

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

AnyText: Multilingual Visual Text Generation and Editing

ICLR 2024 · Image generation › Text-to-image diffusion · approach: Text-driven synthesis and semantic guidance · 8 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.

Proposes AnyText, a ControlNet-based diffusion model for multilingual visual text generation and editing that fuses OCR stroke embeddings with caption embeddings and uses a text perceptual loss, plus the AnyWord-3M dataset and AnyText-benchmark.

Problem

Diffusion text-to-image models produce blurred, unreadable or incorrect visual text, especially for non-Latin scripts such as Chinese, and lack large annotated multilingual text-image data.

Approach

Combine an auxiliary latent module (glyph, position, masked image) fed to a trainable TextControlNet copy with a text embedding module that replaces placeholder token embeddings with PP-OCRv3 recognition features of rendered glyph lines, plus a text perceptual loss computed by OCR features in image space on text regions only.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
enable the editing branch (ablation)AnyText · Chinese ablation benchmarkSen. ACC: 0.2024 -> 0.1552Hurt
replace direct CLIP caption encoding with a CLIP vision encoder (vit) for text embeddings (ablation)AnyText · Chinese ablation benchmarkSen. ACC: 0.2024 -> 0.1416Hurt
replace direct CLIP caption encoding with a trainable convolutional module for text embeddings (ablation)AnyText · Chinese ablation benchmarkSen. ACC: 0.2024 -> 0.1864Hurt
use PP-OCRv3 for text embeddings instead of direct CLIP caption encoding (ablation)AnyText · Chinese ablation benchmarkSen. ACC: 0.2024 -> 0.4595Helped
add the explicit position condition (ablation)AnyText with PP-OCRv3 text embeddings · Chinese ablation benchmarkSen. ACC: 0.4472 -> 0.4595Helped
add text perceptual loss with λ=0.003 (ablation)AnyText with PP-OCRv3 text embeddings · Chinese ablation benchmarkSen. ACC: 0.4595 -> 0.4848Helped
add text perceptual loss with λ=0.01 (ablation)AnyText with PP-OCRv3 text embeddings · Chinese ablation benchmarkSen. ACC: 0.4595 -> 0.4996Helped
add text perceptual loss with λ=0.03 (ablation)AnyText with PP-OCRv3 text embeddings · Chinese ablation benchmarkSen. ACC: 0.4595 -> 0.4659Helped
use AnyText instead of the strongest baseline for English sentence accuracyAnyText-v1.1 · AnyText-benchmark EnglishSen. ACC: 0.5921 -> 0.7239Helped
use AnyText instead of the strongest baseline for English normalized edit distanceAnyText-v1.1 · AnyText-benchmark EnglishNED: 0.8015 -> 0.8760Helped
use AnyText instead of the strongest baseline for English FIDAnyText-v1.1 · AnyText-benchmark EnglishFID: 37.84 -> 33.54Helped
use AnyText instead of the strongest baseline for Chinese sentence accuracyAnyText-v1.1 · AnyText-benchmark ChineseSen. ACC: 0.3620 -> 0.6923Helped

Surprising findings

Limitations

Experimental setup

Datasets: AnyWord-3M Noah-Wukong LAION-400M OCR recognition datasets

Benchmarks: AnyText-benchmark

Metrics: Sentence Accuracy Normalized Edit Distance FID

Baselines: ControlNet TextDiffuser GlyphControl GlyphDraw SD-XL 1.0 DALL-E 2 DeepFloyd IF

Builds on: ControlNet Stable Diffusion PP-OCRv3 BLIP-2

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