Source-linked AI summary
ImgMT: Wikipedia-based Dataset For Evaluating Text-in-Image Translation
Šárka Uramová, Petar Kirilov Petrov, Josef Jon, Ondřej Bojar, Michal Novák
TL;DR
Existing text-in-image translation datasets have a language-coverage limitation, while localized Wikipedia SVGs provide multilingual illustrations with translated labels. The paper introduces IMGMT and an evaluation framework, then benchmarks translation systems and finds that source language and writing system matter, while images offer little benefit for multimodal translation in its setup.
Problem
Existing text-in-image translation datasets share a language-coverage limitation, leaving broad multilingual evaluation an open need.
Source: §1 · p. 1Method
The paper introduces IMGMT, a Wikimedia-derived dataset of aligned image pairs, and benchmarks TIT systems across English-to-many-language and into-English settings.
Source: §1 · pp. 1–2Results
TIT quality varies with source language and writing system, while adding source images to multimodal translation yields little benefit and can degrade performance.
Source: §7 · p. 10Takeaways & Limitations
IMGMT is not well suited to isolating visual information’s contribution to multimodal translation in the tested setup.
Source: §7 · p. 10The experiments cover only English-involving directions on the test split and do not benchmark IIMT.
Source: Limitations · p. 10
Abstract
from arXiv · showhide
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
Existing text-in-image translation datasets have limited language coverage, while localized Wikipedia SVG illustrations offer aligned multilingual material. IMGMT uses these illustrations to evaluate text-in-image translation across languages and writing systems.
1 Introduction
- Existing resources cover at most 14–16 languages, while localized Wikipedia illustrations encode text separately from graphics and can supply aligned multilingual examples.The shared visuals with translated labels make SVGs a source for text-in-image translation data.Source: §1 · p. 1
- 35,612 aligned image pairs across 129 languages, more than 20 writing systems, and 4,886 language pairs make IMGMT a multilingual text-in-image translation benchmark.The pairs are grouped into 1,855 sets of visually distinct SVG images.Source: §1 · pp. 1–2
- IMGMT targets diagrams, maps, and infographics, where short, information-dense labels and specialized terminology make translation—not distorted or occluded text—the central challenge.Its labels often include named entities from scientific and educational domains.Source: §1 · p. 2
- The evaluation framework measures source-side text-region detection and OCR accuracy, then scores target-side translations with standard machine-translation metrics.The paper focuses on TIT; evaluating IIMT is left for future work.Source: §1 · p. 2
- The authors benchmark several vision-language models and a dedicated TIT system from English into many target languages, and one system into English to study source-writing-system effects.The framework supports both Text Image Translation, which outputs translated text, and In-Image Machine Translation, which renders it back into the image.Source: §1 · pp. 1–2
- The paper also tests whether images improve multimodal translation by comparing full-image input with layout-preserving text-only images and plain text.The comparison is designed to distinguish visual grounding from cues such as layout and line segmentation.Source: §1 · p. 2
2 Related Work
Prior text-in-image translation datasets differ in image type, supervision, and domain, and many have limited language coverage or lack target images. Work on multimodal translation suggests visual context is most useful when text is ambiguous or incomplete.
2.1 Datasets for text-in-image translation
- Many existing datasets cover few languages—the broadest report 14–16—and often lack target-language images, limiting reverse-direction evaluation.Resources include synthetic text-on-background corpora, authentic scene-text datasets, e-commerce imagery, and document-page translation.Source: §2.1 · pp. 2–3
- IMGMT differs by targeting vector-graphic diagrams, maps, and infographics, preserving layouts across localized SVG variants, and spanning 129 languages and over 20 writing systems.Its 4,886 language pairs support multilingual and multi-script text-in-image translation beyond prior benchmark coverage.Source: §2.1 · p. 3
2.2 Effect of Image in Multimodal Translation
- Prior multimodal translation systems often showed marginal gains over text-only baselines, and adversarial evaluations found many insensitive to unrelated or shuffled images.Other work found visual grounding more useful when text is degraded or ambiguous, and questioned whether some reported benefits reflected evaluation protocols.Source: §2.2 · p. 3
- For diagrams, maps, and infographics, visual structure may help locate text or link labels to graphics, but may add little once extracted text is self-contained.The paper expects visual context to matter mainly for ambiguous labels, abbreviations, or domain-specific terms whose meaning depends on the graphic.Source: §2.2 · p. 4
3 Dataset
IMGMT is built from localized Wikimedia Commons SVG variants and provides multilingual, text-aligned image groups. Its construction combines SVG filtering and alignment with leakage-aware splitting, and manual evaluation identifies both usable pairs and limits in alignment quality.
3.1 Basic Statistics
- 35,612 aligned image pairs across 1,855 image groups cover 129 languages, more than 20 writing systems, and 4,886 language pairs.The test split contains 3,575 pairs, including 548 (15%) involving English.Source: §3.1 · p. 4
- Strings average 9.29 characters; about 60% are proper names, while English, Spanish, and French are common and some languages occur in only four pairs.LLMs agreed on labels for 210,644 strings (89.4%); well-formed sentences account for about 0.5%.Source: §3.1 · p. 4
3.2 Processing Pipeline
- The pipeline crawls Wikimedia Commons variants, filters and groups visually similar SVGs, then aligns text using language tags, structural identifiers, or spatial overlap.Spatial overlap is used most often because internal identifiers are frequently mismatched, missing, or incomplete.Source: §3.2 · pp. 5–6
- An 80:10:10 split groups visually related images together to prevent cross-split leakage, without explicitly balancing languages or writing systems.Text boxes are normalized across image groups using the smallest font size; alignment methods are balanced across splits.Source: §3.2 · p. 6
3.3 Manual Evaluation of the Dataset Collection Method
- In a 100-pair manual evaluation, 13% of pairs were too different for TIT, 16% had minor graphical differences, and the remainder were visually identical.BBA precision remained above 91%, while recall was around 83%, with most of the gap attributed to text-field detection; this should inform interpretation of absolute results.Source: §3.3 · pp. 6–7
4 Evaluation Method
The evaluation measures source-side text recognition and localization, then assesses translated text quality. It uses box-based or text-based alignment to compare predictions with references.
Text detection and OCR evaluation
- Source OCR is evaluated by comparing predicted text with gold text using Character Error Rate (CER).When boxes are available, BBA measures area overlap and BBC measures block-level retrieval; overlapping predicted boxes are merged before scoring.Source: §4 · p. 7
Translation evaluation
- Translated text is scored with chrF and the wmt22-comet-da model of COMET.Source: §4 · p. 7
Text-based alignment
- Without predicted boxes, the Hungarian algorithm matches text blocks using text dissimilarity and a spatial reading-order penalty, rejecting pairs above task-specific thresholds.CER supplies OCR dissimilarity; translation alignment uses one minus chrF or COMET quality.Source: §4 · p. 7
5 Experimental Setup
The experiments benchmark multimodal systems on text-in-image translation and compare performance across source writing systems. Invalid structured outputs are excluded from metric calculations.
5 Experimental Setup
- English-source TIT experiments compare several multimodal large language models and AnyTrans using a shared zero-shot prompt for text detection, transcription, boxes, and translation.AnyTrans uses PaddleOCR and DeepSeek-V4-Flash-Thinking; its image-rendering stage is not used in these experiments.Source: §5 · p. 8
- Only images with valid structured model outputs are scored, so reported metrics cover a subset of English-source test images rather than the full test set.Source: §5 · p. 8
Effect of source script on TIT performance
- GPT-5.6 Luna is evaluated with English as the target language to compare translation quality across source writing systems; MMT conditions vary whether full images, text-only images, or no image are supplied.The MMT comparison holds extracted source text constant and excludes AnyTrans.Source: Effect of source script on TIT… · p. 8
6 Experiments and Results
Experiments show that source language and writing system affect TIT performance, while adding the source image does not reliably improve translation. Systems also differ across translation, OCR, and localization metrics.
TIT from English
- Qwen3.5's worse OCR and localization coincide with nearly unchanged translation quality, whereas Claude's translation performance is similar to the other models on gold SVG text.Claude's large gap across source- and target-side metrics indicates detection and recognition errors can become a major bottleneck when severe.Source: §6 · pp. 8–9
- Kimi K3 leads English-source TIT with chrF (61.3) and COMET (0.834), while GPT-5.6 Luna scores slightly higher on BBA and BBC localization.Claude Haiku 4.5 lags across metrics, with CER (0.822).Source: §6 · p. 8, Table 4 · p. 9
Effect of source script
- Latin improves over the overall mean across metrics, while Cyrillic gains in translation quality despite slightly worse OCR; Georgian and Chinese show similar patterns with smaller samples.Table 5 reports absolute scores and per-script deltas relative to the overall mean.Source: Table 5 · p. 9, §6 · p. 9
TIT from English
- AnyTrans attains the lowest CER (0.161) with competitive localization, but translation quality trails Kimi K3, Qwen3.5, and GPT-5.6 Luna.Its translation quality remains well above Claude Haiku 4.5.Source: §6 · p. 9
Effect of source script
- Dravidian and Bengali-Assamese degrade across most metrics, while Arabic has better CER but worse localization and translation; script-level metrics are only weakly coupled.Results for very small script groups warrant caution.Source: §6 · p. 9
Effects of visual modality on translation quality
- Across four models, the Image condition is never best and yields little overall change; No image or Text-only image is strongest depending on the model.The strongest condition is No image for Claude Haiku 4.5 and Qwen3.5, and Text-only image for GPT-5.6 Luna and Kimi K3.Source: Table 6 · p. 9, §6 · p. 9
7 Conclusion
The paper introduces IMGMT and a multi-level evaluation protocol for text-in-image translation. Its experiments show that source language and writing system matter, while source images add little or can degrade translation quality in the tested multimodal setup.
7 Conclusion
- IMGMT is a dataset for evaluating text-in-image translation, and its multi-level protocol combines complementary metrics at different granularities.The experiments cover several MLLMs and one dedicated system in English→X and X→English settings.Source: §7 · p. 10
- The experiments show that source language and writing system matter for TIT quality, while adding the source image yields little benefit and can degrade performance in the tested setup.The authors conclude that IMGMT is not well suited to isolate visual-information contributions in MMT.Source: §7 · p. 10
- The paper leaves benchmarking In-image Machine Translation, which renders the translation into the image, for future work.The experiments focused mainly on TIT.Source: §7 · p. 10
Limitations
The limitations concern SVG-derived annotations and language imbalance, possible pretraining exposure, and restricted experimental coverage.
Data and evaluation
- SVG text represented as vector paths is omitted, and elements without explicit IDs or queryable bounding boxes are excluded, potentially biasing evaluation such as by overestimating recall.The dataset also does not capture all text present in source images.Source: Limitations · p. 10
- Language-pair coverage is imbalanced, with high-resource languages dominating and some low-resource or regional languages appearing in fewer than 10 pairs.The dataset is built from publicly available Wikimedia data, so some tested MLLMs may have encountered benchmark material during pretraining.Source: Limitations · p. 10
Experiments
- Evaluation is limited to zero-shot English→X and X→English directions on the test split, leaving roughly 30,000 training and development pairs unevaluated.The paper also does not benchmark the IIMT setup.Source: Limitations · p. 10
A Dataset Structure
The dataset-structure subsection identifies two figures: one for the overall directory layout and one for the JSON structure.
A Dataset Structure
- Figure 4 is identified as the overall dataset directory layout.The passage supplies the figure title but no further description of the layout.Source: Figure 4 · p. 13
- Figure 5 is identified as the JSON structure.The passage supplies the figure title but no further description of the JSON structure.Source: Figure 5 · p. 13
B Language and Script Distribution
Table 7 organizes the dataset’s language and writing-system coverage alongside translation-pair counts and paired-language relationships.
- Table 7 lists each language’s writing system, translation-pair total, number of unique paired target languages, and top paired counterparts.Source: Table 7 · p. 16
C Tool for Manual Annotation
Figure 6 shows a screenshot of the tool used for manual annotation.
- Figure 6 is a screenshot of the manual annotation tool.Source: Figure 6 · p. 17