arXiv:2610.35416cs.CLOct 2026

Manuscript Offprint

arXiv:2610.35416

ImgMT: Wikipedia-based Dataset For Evaluating Text-in-Image Translation

Šárka Uramová, Petar Kirilov Petrov, Josef Jon, Ondřej Bojar, Michal Novák

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Text-in-image translation aims to translate all textual content embedded in an image. In Text Image Translation (TIT), the output is translated text; In-Image Machine Translation (IIMT) additionally renders the translation back into the image. We introduce IMGMT, a massively multilingual dataset and benchmark mined from localized SVG illustrations on Wikimedia Commons, focusing on diagrams, maps, and infographics. IMGMT contains 35,612 aligned image pairs grouped into 1,855 image sets, spanning 129 languages, 20+ writing systems, and 4,886 language pairs.

We propose a multi-level evaluation protocol that measures source-side text-region detection and OCR accuracy alongside target-side translation quality. We benchmark several multimodal large language models and a dedicated TIT system in English→X and X→English settings, and find that the source language and writing system substantially affect TIT quality. Finally, we show that IMGMT is not well suited for isolating the contribution of visual information in multimodal translation.

1 Introduction

Modern multimodal models can translate from text, images, or both. A family of text-in-image translation tasks takes an image as input and aims to translate all textual elements appearing within it. This setting includes Text Image Translation (TIT), which outputs translated text (optionally with bounding boxes), and In-Image Machine Translation (IIMT), which further renders the translated text back into the image. By contrast, in Multimodal Machine Translation (MMT), the source is text and the image is used only as auxiliary context.

Several datasets for text-in-image translation already exist (Ma et al., 2022; Lan et al., 2023; Qian et al., 2024; Lyu et al., 2025; Vaidya et al., 2025; Wu et al., 2026), but they share a key limitation:

129 unique languages35,612 image pairsA你Diverse scripts from around the world
Writing SystemLanguagesExample Languages
AaLatin67en, fr, de, cs, it
✕Cyrillic18ru, uk, mk, bg, sr
✕Arabic9ar, fa, ur, ku, ps
✕Devanagari6hi, mr, ne, dty
弟Chinese (Hanzi)6zh, yue, wuu, zh_tw
✕Dravidian5te, ml, ta, kn
✕Bengali-Assamese2bn, as
✕Gurmukhi2pa, pa_guru
ΩOther Regional Scripts14el, ko, ja, hy

Figure 1: IMGMT languages across different scripts.

limited language coverage. Even the most multilingual resources typically include only 14–16 languages (Li et al., 2025, 2026). Consequently, existing benchmarks do not sufficiently stress-test systems' multilingual capabilities, either in translating across a wide range of languages or in recognizing text written in diverse scripts.

Wikipedia has served as a rich source of multilingual supervision for multimodal tasks (e.g., Srinivasan et al., 2021). For vision-language tasks, a particularly appealing property is that many Wikipedia illustrations are localized: the same visual is available with labels translated into dozens of languages. Since these illustrations are often stored as SVGs, where text is encoded separately from the graphical elements, they can be mined to create aligned multilingual resources for text-in-image translation.

In this paper, we introduce IMGMT, a dataset and evaluation framework for assessing methods for text-in-image translation. IMGMT contains 35,612 aligned image pairs grouped into 1,855 sets of visually distinct SVG images extracted from Wikimedia Commons. The embedded text spans

Figure

Figure 2: Text Image Translation evaluation diagram.

129 languages, covering more than 20 writing systems (as illustrated in Figure 1), and yields 4,886 distinct language pairs.

IMGMT targets diagrams, maps, and infographics—content typically created as vector graphics. In contrast to scene text translation (Lan et al., 2023; Qian et al., 2024; Vaidya et al., 2025), where robustness to distorted or occluded text is often the primary challenge, our setting is dominated by translation-specific difficulties. Unlike document image translation (Liang et al., 2024), where translated passages can be substantially longer, the text snippets in IMGMT are often short and information-dense, and they frequently include specialized terminology and named entities from scientific and educational domains.

Along with the dataset, we release an evaluation framework. As shown in Figure 2, it evaluates system outputs on both the source and target sides: on the source side, it measures text-region detection and OCR accuracy; on the target side, it scores translations using standard MT metrics.

To demonstrate our evaluation framework in practice, we use it to benchmark multiple TIT systems, most of which are general-purpose vision-language models (VLMs). 1^{1} We evaluate their ability to translate from English into a wide range of target languages. In addition, we benchmark one system on translation into English to study how different source-side writing systems affect performance.

Beyond evaluating TIT systems, we ask whether IMGMT is also useful for evaluating multimodal machine translation, specifically for quantifying the contribution of the visual modality to translation quality. In many infographics, the extracted text is sufficiently self-contained to translate correctly on its own, especially when the system is given all text at once. Therefore, any improvement from providing the image may reflect either genuine visual grounding (e.g. resolving polysemy, units, or abbreviations using surrounding graphics) or incidental cues such as layout and line segmentation. To tease these factors apart, we compare translations produced with (i) the full source image, (ii) a text-only rendering that preserves layout while removing graphical content, and (iii) plain text input without any image.

The IMGMT dataset and evaluation framework are publicly available. 2^{2} We also provide a development repository 3^{3} with supplementary scripts and intermediate artifacts produced during this work.

The remainder of the paper is organized as follows. We first situate IMGMT in the context of related work (Section 2). We then introduce the dataset (Section 3) and describe our evaluation protocol (Section 4). Next, we detail our experimental setup and how we use IMGMT to benchmark TIT approaches (Section 5), followed by the benchmarking results (Section 6). Finally, we conclude in Section 7.