arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.11432cs.CVcs.AI
收藏

AnyTrans:利用大规模模型翻译图像中的任意文本

AnyTrans: Translate AnyText in the Image with Large Scale Models

Xiamen University(厦门大学);Alibaba Group Inc(阿里巴巴集团);University of Macau(澳门大学)

Zhipeng Qian, Pei Zhang, Baosong Yang, Kai Fan, Yiwei Ma, Derek F. Wong, Xiaoshuai Sun, Rongrong Ji

AI总结:

提出 AnyTrans 框架,结合 LLM 与扩散模型实现图像内多语言文本翻译及风格一致的无缝融合,并构建涵盖六个语言对的 MTIT6 测试数据集。

摘要:

本文介绍了 AnyTrans,这是一个面向“翻译图像中的任意文本”(Translate AnyText in the Image,TATI)任务的综合性框架,涵盖图像中的多语言文本翻译与文本融合。该框架利用大规模模型(例如大型语言模型(LLM)和文本引导的扩散模型)的优势,在翻译过程中结合来自文本和视觉元素的上下文线索。LLM 的少样本学习能力使其能够通过考虑整体上下文来翻译碎片化文本;同时,扩散模型先进的修复与编辑能力使翻译后的文本能够无缝融合到原始图像中,同时保留其风格与真实感。此外,该框架完全可以使用开源模型构建,并且无需训练,因此具有很高的可访问性且易于扩展。为推动 TATI 任务的发展,作者精心构建了一个名为 MTIT6 的测试数据集,其中包含来自六个语言对的多语言文本图像翻译数据。

英文摘要:

This paper introduces AnyTrans, an all-encompassing framework for the task-Translate AnyText in the Image (TATI), which includes multilingual text translation and text fusion within images. Our framework leverages the strengths of large-scale models, such as Large Language Models (LLMs) and text-guided diffusion models, to incorporate contextual cues from both textual and visual elements during translation. The few-shot learning capability of LLMs allows for the translation of fragmented texts by considering the overall context. Meanwhile, the advanced inpainting and editing abilities of diffusion models make it possible to fuse translated text seamlessly into the original image while preserving its style and realism. Additionally, our framework can be constructed entirely using open-source models and requires no training, making it highly accessible and easily expandable. To encourage advancement in the TATI task, we have meticulously compiled a test dataset called MTIT6, which consists of multilingual text image translation data from six language pairs.

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

↑