Real In, Real Out: What If We Only Use Real Data for Scene Text Editing?

Hugging Face Daily Papers Papers

Summary

TextRIRO 提出仅使用真实数据进行场景文本编辑的方法,通过图像扰动(Shuffle&Crop)构建自配对训练数据并结合条件扩散模型,显著缩小合成到真实的域差距,并发布了 TextRIRO-3M 大规模真实数据集用于长文本识别。

Aiming to modify textual content while preserving the original style, Scene Text Editing (STE) has significant practical value in many applications. STE typically requires paired images before and after editing for training. However, recent approaches rely heavily on synthetic paired data and complex disentanglement strategies. They struggle to faithfully capture the diversity and complexity of natural scenes, often producing artifacts or hallucinations. In this work, we challenge the common practice and investigate whether STE can be driven by turning each real sample into its own paired supervision. Concretely, we explore multiple ways to disrupt the original image (e.g., Crop, Shuffle, Mask) to construct self-paired training data, and build a strong baseline (TextRIRO}) upon a conditional diffusion architecture. Our experiments show that combining character-column shuffling with image cropping (Shuffle&Crop) effectively destroys text semantics while preserving key style cues, enabling the model to learn editing behaviors directly from the real text image. With this concise yet real-oriented design, TextRIRO achieves promising performance in both accuracy and visual realism across real-world benchmarks, substantially mitigating the synthetic-to-real domain gap. Furthermore, we leverage TextRIRO to build TextRIRO-3M, a large-scale realistic dataset for long-text recognition by concatenating edited and original images. Experimental results show that training recognition models with TextRIRO-3M significantly improves recognition accuracy, demonstrating that TextRIRO provides highly useful training resources for downstream tasks. Overall, TextRIRO lifts STE to realistic, reliable, and widely applicable new levels. Code is available at https://github.com/YesianRohn/TextRIRO.
Original Article
View Cached Full Text

Cached at: 10/22/26, 03:42 PM

Paper page - Real In, Real Out: What If We Only Use Real Data for Scene Text Editing?

Source: https://huggingface.co/papers/2610.27592

Abstract

TextRIRO enables scene text editing using self-paired real data via image disruptions and a conditional diffusion model, improving realism and supporting downstream recognition.

Aiming to modify textual content while preserving the original style,Scene Text Editing(STE) has significant practical value in many applications. STE typically requires paired images before and after editing for training. However, recent approaches rely heavily on synthetic paired data and complex disentanglement strategies. They struggle to faithfully capture the diversity and complexity of natural scenes, often producing artifacts or hallucinations. In this work, we challenge the common practice and investigate whether STE can be driven by turning each real sample into its own paired supervision. Concretely, we explore multiple ways to disrupt the original image (e.g., Crop, Shuffle, Mask) to constructself-paired trainingdata, and build a strong baseline (TextRIRO}) upon aconditional diffusionarchitecture. Our experiments show that combining character-column shuffling with image cropping (Shuffle&Crop) effectively destroys text semantics while preserving key style cues, enabling the model to learn editing behaviors directly from the real text image. With this concise yet real-oriented design,TextRIROachieves promising performance in both accuracy and visual realism across real-world benchmarks, substantially mitigating thesynthetic-to-real domain gap. Furthermore, we leverageTextRIROto buildTextRIRO-3M, a large-scale realistic dataset forlong-text recognitionby concatenating edited and original images. Experimental results show that training recognition models withTextRIRO-3M significantly improves recognition accuracy, demonstrating thatTextRIROprovides highly useful training resources for downstream tasks. Overall,TextRIROlifts STE to realistic, reliable, and widely applicable new levels. Code is available at https://github.com/YesianRohn/TextRIRO.

View arXiv pageView PDFProject pageGitHub1Add to collection

Get this paper in your agent:

hf papers read 2610\.27592

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper1

#### Yesianrohn/TextRIRO Image-to-Image• Updatedabout 13 hours ago

Datasets citing this paper2

#### Yesianrohn/RIROCommon Updatedabout 13 hours ago • 83 #### Yesianrohn/TextRIRO-3M Updatedabout 13 hours ago • 35

Spaces citing this paper1

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

Efficient Scene-Text Refinement via Pixel-Space Grouped Image Generation

Hugging Face Daily Papers

PixText 将局部文本修正建模为像素空间的分组图像生成,仅生成目标区域并保留未编辑内容,借助 MeanFlow 实现四步快速生成,在新提出的 TextRefinementBench 上以 83.06% 的字形通过率大幅超越最强基线。

Local text to image model comparaison: The ultimate test.

Reddit r/LocalLLaMA

User presents a comprehensive comparison of local text-to-image models using 192 prompts, evaluating capabilities like text rendering, faces, anatomy, and spatial composition, with results and prompts publicly available at imagebench.ai.