Manuscript Offprint

arXiv:2609.11399

TransClean: A Benchmark for Detecting and Extracting Clean Translations from Large Language Model Outputs

Shenbin Qian, Yves Scherrer

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language models (LLMs) are increasingly used for machine translation, yet their outputs often contain additional text beyond the translation itself, such as language labels, explanations or bilingual repetitions, which we term translation noise. Despite its prevalence, this problem lacks dedicated benchmarks and systematic study. We analyze over 790,000 translation outputs from 12 LLMs across 22 language pairs (LPs) and identify 12 recurring noise patterns, which we group into formatting and content noise. Building on the observed patterns, we construct TransClean, a controlled benchmark of 9,900 pairs of noisy and clean translation outputs, comprising 8,800 synthetically generated instances and 1,100 manually curated authentic instances. We evaluate two extraction approaches on the TransClean benchmark: 1) a span-based extraction method leveraging translation quality estimation models for span detection, and 2) an LLM-based extraction method that prompts an LLM to isolate the translation. Our benchmark and analysis provide the first systematic framework to evaluate and improve the cleanliness of LLM translation outputs.

1 Introduction

Large language models (LLMs) are rapidly reshaping the landscape of machine translation (MT). LLMs can perform high-quality translation through prompting alone and increasingly match or even surpass task-specific MT systems in many scenarios (Zhang et al., 2023; Vilar et al., 2023; Kocmi et al., 2024; Xu et al., 2024). The flexibility and multilingual capacity of LLMs have led to widespread adoption in both research and deployment settings, from systems developed for the Conference on Machine Translation (WMT 1^{1}) shared tasks (Kocmi et al., 2025) to large-scale commercial platforms such as Google Translate (Caswell, 2024) and social media services like Instagram (Meta AI, 2026). As LLMs increasingly serve as translation engines, understanding and standardizing their outputs becomes critical.

However, LLM translations often contain additional text beyond the translation itself. Instead of producing a single target-language translation, models may prepend language labels, append explanations, repeat the source sentence, or provide cultural commentary. While such behavior can be helpful in interactive settings, it introduces a systematic challenge for automatic evaluation and downstream integration. Standard MT evaluation pipelines assume that model outputs consist solely of the translation. Extra content can distort metric scores and introduce inconsistencies in large-scale benchmarking. We refer to this phenomenon as translation noise: any content in an LLM output that is not part of the intended target translation.

In preliminary experiments across multiple models and prompts, we observe that translation noise is not rare. For most LLMs we evaluate, 3% to 99% 2^{2} of the translation outputs contain additional explanatory or formatting text. Although carefully engineered prompts (e.g., “Output the translation only.”) reduce this behavior, they do not fully eliminate it. The prevalence and form of noise vary substantially across models, reflecting differences in instruction-following abilities. As a result, clean translation cannot be reliably guaranteed through prompting alone.

Despite its practical importance, translation noise has not been systematically studied. Prior work has examined related issues such as instruction following in multilingual settings (Li et al., 2024), instruction forgetting (Chen et al., 2023), and undesirable behaviors such as repetitive texts or wrong target-language outputs (Bawden and Yvon, 2023; Wang et al., 2024). Existing studies

1^{1}https://www2.statmt.org/

2^{2}We formally define and quantify the noise rate in §2.2.

Figure

Figure 1: The process of creating TransClean to benchmark noise detection and clean translation extraction.

have largely centered either on mitigating these issues through model modification or fine-tuning, or on evaluating instruction-following capabilities by proposing new benchmarks such as IFEval (Zhou et al., 2023), InFoBench (Qin et al., 2024), and MIFEval (Dussolle et al., 2025). However, little attention has been paid to analyzing noise patterns directly in LLM translation outputs or to developing post-processing methods that recover clean translations without altering the underlying models. This distinction is crucial in real-world deployment, where models may be proprietary, closed-source, or too costly to retrain.

In this work, we formalize the task of clean translation extraction: given an LLM output that may contain translation noise, extract the span corresponding to the correct target-language translation. We approach this task in three steps:

  1. We conduct a large-scale empirical study ( §2\S2) of translation noise in LLM outputs, analyzing over 790,000 translations from 12 LLMs across 22 language pairs and identifying 12 recurring noise patterns and 2 main categories.

  2. We construct TransClean 3^{3}, the first benchmark ( §3\S3) for clean translation extraction, comprising 8,800 synthetically noised instances and 1,100 manually curated authentic noisy examples with silver clean translations. The process of creating TransClean is illustrated in Figure 1.

  3. Using TransClean, we benchmark two approaches to extract clean translations ( §4\S4): 1) a span-based extraction method leveraging quality estimation models for span detection, 2) an LLM-based extractor that prompts an LLM to isolate the translation. In this context, we design two evaluation metrics that enable standardized comparison.