atlas

Research map / Image generation / Editing and style transfer

TextCtrl: Diffusion-based Scene Text Editing with Prior Guidance Control

NeurIPS 2024 · Image generation › Editing and style transfer · approach: Instruction-based diffusion editing · 6 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 TextCtrl, a diffusion-based scene text editing method that uses disentangled style and glyph-structure priors plus a glyph-adaptive mutual self-attention at inference, and releases the ScenePair real-world image-pair benchmark.

Problem

Scene text editing must change text content while preserving text style and background; GAN methods generalize poorly and diffusion methods show style deviations and spelling errors.

Approach

Explicit style features (from a multi-task pre-trained ViT encoder for color, font, removal, segmentation) and glyph-structure features (character-level transformer aligned to a frozen recognizer with font-variance augmentation) guide a Stable Diffusion generator, and a glyph-adaptive mutual self-attention blends source-branch and edit-branch keys/values during DDIM sampling, weighted by recognize

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use TextCtrl instead of the strongest reported baselineScene text editing · ScenePair cropped text imageSSIM: 30.73 -> 37.56Helped
use TextCtrl instead of the strongest reported baselineScene text editing · ScenePair cropped text imagePSNR: 14.46 -> 14.99Helped
use TextCtrl instead of the strongest reported baselineScene text editing · ScenePair cropped text imageFID: 49.19 -> 43.78Helped
use TextCtrl instead of the strongest reported baselineScene text editing · ScenePairACC (%): 51.48 -> 84.67Helped
use TextCtrl instead of the strongest reported baselineScene text editing · TamperSceneACC (%): 76.79 -> 74.17Hurt
add font-variance augmentation to glyph structure pre-training (ablation)TextCtrl · ScenePairACC (%): 76.08 -> 84.67Helped
replace CLIP text encoder with the glyph structure encoder (ablation)TextCtrl · ScenePairACC (%): 13.98 -> 84.67Helped
add style disentanglement pre-training (ablation)TextCtrl · ScenePair cropped text imageSSIM: 0.3130 -> 0.3756Helped
replace ControlNet style injection with the pre-trained style encoder (ablation)TextCtrl · ScenePair cropped text imageFID: 58.30 -> 43.78Helped
add GaMuSa inference control (ablation)TextCtrl · ScenePair cropped text imageSSIM: 0.3126 -> 0.3756Helped
replace direct sampling with GaMuSa (ablation)TextCtrl · ScenePair cropped text imageFID: 51.35 -> 43.78Helped
replace MasaCtrl with GaMuSa (ablation)TextCtrl · ScenePair cropped text imageFID: 49.53 -> 43.78Helped

Surprising findings

Limitations

Experimental setup

Datasets: synthetic paired text images (200k, following AnyText data pipeline) ICDAR 2013 HierText MLT 2017 TamperScene

Benchmarks: ScenePair ScenePair (Random) TamperScene

Metrics: SSIM PSNR MSE FID ACC NED

Baselines: SRNet MOSTEL DiffSTE TextDiffuser AnyText MasaCtrl

Builds on: Stable Diffusion MasaCtrl ControlNet DDIM inversion AnyText

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