atlas

Research map / Image generation / Editing and style transfer

GlyphMastero: A Glyph Encoder for High-Fidelity Scene Text Editing

CVPR 2025 · Image generation › Editing and style transfer · approach: Instruction-based diffusion editing · 4 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 GlyphMastero, a trainable hierarchical glyph encoder built on PaddleOCR-v4 features (glyph attention plus FPN) that conditions a latent inpainting diffusion model for scene text editing with stroke-level accuracy.

Problem

Diffusion-based scene text editing often produces distorted or unrecognizable characters, especially complex Chinese characters, because existing OCR-feature guidance fails to capture hierarchical stroke-to-character-to-line structure.

Approach

A trainable glyph encoder uses glyph attention modules to model cross-level interactions between per-character local OCR features and a global text-line feature, and an FPN fuses multi-scale OCR backbone features; the resulting embedding conditions the inpainting UNet via cross-attention and is trained jointly with it.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GlyphMastero instead of AnyTextScene text editing · AnyText-Eval English and ChineseSen.Acc: 18.02% higher than AnyTextHelped
Use GlyphMastero instead of AnyTextScene text editing · AnyText-Eval English and ChineseFID: 53.28% lower than AnyTextHelped
Use GlyphMastero instead of TextCtrlEnglish scene text editing · English-only comparisonSen.Acc: 0.7654 -> 0.8170Helped
Use GlyphMastero instead of TextCtrlEnglish scene text editing · English-only comparisonFID: 4.15 -> 4.61Hurt
Add multi-scale FPN fusion of backbone features (ablation)GlyphMastero · Ablation subset EnglishSen.Acc: 0.4536 -> 0.5494Helped
Add multi-scale FPN fusion of backbone features (ablation)GlyphMastero · Ablation subset ChineseSen.Acc: 0.3698 -> 0.5120Helped
Add backbone glyph attention module Tb (ablation)GlyphMastero · Ablation subset EnglishSen.Acc: 0.5065 -> 0.5494Helped
Add backbone glyph attention module Tb (ablation)GlyphMastero · Ablation subset ChineseSen.Acc: 0.4271 -> 0.5120Helped
Use glyph attention Tn instead of local neck features ln alone (ablation)GlyphMastero · Ablation subset EnglishSen.Acc: 0.3263 -> 0.5494Helped
Use glyph attention Tn instead of local neck features ln alone (ablation)GlyphMastero · Ablation subset ChineseSen.Acc: 0.2735 -> 0.5120Helped
Use glyph attention Tn instead of global neck features gn (ablation)GlyphMastero · Ablation subset EnglishSen.Acc: 0.1003 -> 0.5494Helped
Use glyph attention Tn instead of global neck features gn (ablation)GlyphMastero · Ablation subset ChineseSen.Acc: 0.0719 -> 0.5120Helped

Surprising findings

Limitations

Experimental setup

Datasets: AnyWord-3M AnyText-Eval

Benchmarks: AnyText-Eval TextCtrl ScenePair

Metrics: Sentence accuracy CER FID LPIPS

Baselines: DiffUTE AnyText SRNet MOSTEL DiffSTE TextDiffuser TextCtrl

Builds on: latent diffusion models DiffUTE AnyText ControlNet Feature Pyramid Network

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