arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.21090cs.CV

TextSculptor: 训练和评估场景文本编辑

TextSculptor: Training and Benchmarking Scene Text Editing

Beijing Jiaotong University(北京交通大学);Bytedance(字节跳动)

Yiheng Lin, Siyu Jiao, Xiaohan Lan, Wei Zhou, Qi She, Fei Yu, Heyun Chen, Zhengwei Wang, Jinghuan Chen, Moran Li, Yingchen Yu, Zijian Feng, Yao Zhao, Yunchao Wei, Yujie Zhong

AI总结:

本文提出TextSculptor框架,通过构建大规模数据集和基准测试,解决场景文本编辑中高质量训练数据稀缺和缺乏标准化评估的问题,提升开源模型性能。

摘要:

近年来,多模态大语言模型(MLLMs)和基于扩散的生成模型的进展显著提升了基于提示的图像编辑能力。然而,场景文本编辑仍具挑战性,因为模型需要精确修改文本内容,同时保持视觉真实性和非目标区域的完整性。当前开源模型仍落后于专有系统,主要由于高质量训练数据稀缺和缺乏针对文本编辑的标准化基准。为解决这些问题,我们提出了TextSculptor,一个全面的场景文本编辑数据构建和评估框架。我们首先开发了一个自动化数据构建管道,结合文本感知图像合成、程序化文本渲染和合成。基于此管道,我们构建了TextSculpt-Data,一个包含320万训练样本的大规模数据集,包括120万经过OCR验证的文本到图像样本和200万配对的文本编辑样本,具有自然对齐的源-目标图像和强背景一致性。我们进一步引入了TextSculpt-Bench,涵盖四个基本文本编辑任务:文本添加、文本替换、文本删除和混合编辑。为了支持可靠的评估,我们设计了一个定制协议,通过OCR文本对齐、多模态判断和背景区域相似性测量文本准确性、视觉质量和背景保持。广泛的实验表明,TextSculptor提升了开源文本编辑性能,缩小了与专有模型之间的差距。数据和基准可在https://github.com/linyiheng123/TextSculptor获取。

英文摘要:

Recent advances in Multimodal Large Language Models (MLLMs) and diffusion-based generative models have substantially improved prompt-driven image editing. However, scene text editing remains challenging, as it requires models to precisely modify textual content while preserving visual realism and non-target regions. Current open-source models still lag behind proprietary systems, largely due to the scarcity of high-quality training data and the lack of standardized benchmarks tailored to text editing. To address these challenges, we present TextSculptor, a comprehensive framework for data construction and evaluation of scene text editing. We first develop an automated data construction pipeline that combines text-aware image synthesis with programmatic text rendering and compositing. Based on this pipeline, we build TextSculpt-Data, a large-scale dataset containing 3.2M training samples, including 1.2M OCR-verified text-to-image samples and 2M paired text editing samples with naturally aligned source-target images and strong background consistency. We further introduce TextSculpt-Bench, a benchmark covering four fundamental text editing tasks: text addition, text replacement, text removal, and hybrid editing. To support reliable evaluation, we design a tailored protocol that measures text accuracy, visual quality, and background preservation through OCR-based text alignment, multimodal judgment, and background-region similarity. Extensive experiments show that TextSculptor improves open-source text editing performance and narrows the gap to proprietary models. The data and benchmark are available at https://github.com/linyiheng123/TextSculptor.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑