Benchmarking Visually-Situated Translation of Text in Natural Images

Elizabeth Salesky, Philipp Koehn, Matt PostWMT 2024 · DOI

TL;DR

This paper introduces VISTRA, a new benchmark for visually-situated translation (VST) of English text in natural images to four target languages. They benchmark existing OCR and MT models, analyze common OCR errors and their impact on translation, and evaluate multimodal LLMs for direct VST, finding it a challenging task even for state-of-the-art models.

What Problem Does This Paper Address?

Translating text embedded in natural images (like street signs or product labels) is a complex task that goes beyond standard machine translation. It requires accurately recognizing text (OCR) and then translating it, but crucially, the visual context of the image itself can be essential for disambiguating meaning and producing correct translations. Existing research often treats OCR and MT as separate steps, or uses synthetic data that doesn't reflect the diversity and challenges of real-world images. This paper addresses the need for a robust benchmark to evaluate and improve models that can handle this visually-situated translation, especially when visual context is critical.

Methods

The authors introduce the VISTRA benchmark, which includes natural images with English text, aligned translations to four target languages, and word-level bounding boxes. They then benchmark various OCR and MT models, including open-source and commercial options, using both cascaded (OCR then MT) and direct (multimodal LLM) approaches. A significant part of their work involves a detailed error analysis of OCR outputs, categorizing common errors and investigating how they propagate to affect downstream translation quality. They also compare the performance of cascaded systems with direct translation using multimodal LLMs.

Datasets

The paper introduces the VISTRA benchmark, consisting of 772 natural images with English text. This dataset includes:

  • Semantically grouped English transcripts.
  • Translations to German, Spanish, Russian, and Mandarin Chinese.
  • Word-level bounding boxes.

The dataset is released under a permissive CC BY-SA license. The authors note that while they aimed to use newly captured photos to avoid existing LLM training data, they cannot guarantee the same for future researchers. They also mention OCRMT30K as a prior, smaller dataset for in-image text translation, primarily for Chinese to English.

Key Insights and Ideas

  • Visual context is crucial: The vast majority of VISTRA images (99.7%) were marked as requiring image context for at least one translation direction, highlighting the inherent ambiguity in visually-situated text.
  • OCR errors have a significant downstream impact: The paper meticulously details how different types of OCR errors (e.g., undetected text, text hallucination, punctuation errors) disproportionately affect translation quality, with undetected text being the most catastrophic.
  • Cascaded vs. Direct Translation: While direct translation with multimodal LLMs shows promise, it doesn't always outperform well-tuned cascaded systems, and the paper suggests a need for new metrics to properly evaluate contextually-dependent translations.
  • Commercial models show robustness: Commercial MT systems, when paired with OCR, tend to be more robust to OCR errors compared to open-source alternatives like mBART.
  • Multimodal LLMs still struggle with consistent disambiguation: Despite having access to visual context, current multimodal LLMs don't consistently leverage it to resolve ambiguities that text-only models miss.

Key Results

  • OCR Performance: The open-source Paddle-OCR model surprisingly outperformed Google OCR and GPT-40 on both CER and TER metrics for OCR. Tesseract-OCR significantly underperformed.
  • Translation Performance:
    • In cascaded systems, commercial MT (Google Translate) generally performed better than mBART, especially with less robust OCR models.
  • Direct translation with GPT-40 showed strong COMET scores, comparable to the best cascaded systems, but lagged on lexical metrics (chrF, BLEU).
  • Undetected text (Class I OCR error) had the most detrimental effect on downstream MT.
  • Punctuation and whitespace insertions were found to be particularly problematic for mBART, increasing input sequence length significantly.
  • Contextual Dependence: 99.7% of images required visual context for at least one translation direction. German and Chinese translations were most dependent on context.

Limitations and Future Work

  • Dataset Scale and Diversity: The VISTRA dataset is limited in scale and primarily features images from the USA, potentially limiting diversity and introducing a locale bias. The majority of photos were taken by a single photographer.
  • Evaluation Metrics: The authors note that learned metrics like COMET might not be ideal for evaluating contextually-dependent translations, suggesting the need for new metrics.
  • Future Work: The paper encourages further research into visually-situated translation, particularly in developing models that can consistently leverage visual context to resolve ambiguity and improving evaluation metrics for this task. They also suggest that VISTRA can be used for analyzing model attribution in multimodal settings.

Summary updated

BibTeX
@inproceedings{salesky2024benchmarking,
  author = {Elizabeth Salesky and Philipp Koehn and Matt Post},
  title = {{Benchmarking Visually-Situated Translation of Text in Natural Images}},
  booktitle = {WMT},
  year = {2024},
  doi = {10.18653/v1/2024.wmt-1.115},
}
Figure