arXiv:2609.06048cs.CLSep 2026

Manuscript Offprint

arXiv:2609.06048

Generating Adversarial Texts for Machine Translation via GRPO

Florian Zogaj, Jakob Hütteneder, Giovanni De Muri, Federico Villa, Aryan Sood, Vilém Zouhar

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

Abstract

As machine translation (MT) systems continue to improve, standard benchmarks become less informative for exposing remaining weaknesses. Traditional methods for creating challenging test sets rely on expensive manual creation or curation, while automated approaches struggle to produce sets with the necessary translation difficulty and linguistic diversity. We propose a scalable reinforcement-learning-based approach for rewriting existing source texts into instances that are more difficult to translate for MT systems. We fine-tune a large language model with Group Relative Policy Optimization (GRPO), using reward signals based on translation difficulty together with constraints for semantic similarity, grammaticality, and approximate length preservation. On WMT25, our approach substantially reduces average COMET translation quality from 0.63 to 0.48, while preserving grammaticality and readability, whereas the base model remains at 0.64. Evaluations on the unseen WMT19–WMT24 benchmarks confirm that this behavior generalizes beyond the training data, and human evaluation further shows that the rewrites substantially lower translation quality while incurring a moderate drop in naturalness and only a small change in grammaticality. We release our code to support reproducibility.¹

1 Introduction

Machine Translation (MT) models have reached a state where standard evaluation benchmarks are no longer sufficiently challenging to expose weaknesses (Kocmi et al., 2025; Zouhar et al., 2026b). While this strong performance reflects the high quality of modern MT systems, it means that standard tests are less informative for distinguishing model capabilities. This highlights the urgent need to develop new, challenging test sets to guide future research and deployment decisions.

Figure

Figure 1: Translation quality (COMET score, scale 0–1; lower is harder to translate) vs. number of grammatical errors on WMT23–WMT25. The rewrites generated by our fine-tuned model (blue) successfully decrease translation quality in comparison to the non-fine-tuned base model (green) and the original dataset (black), while maintaining grammaticality.

Traditional methods for constructing challenge sets by manually curating linguistically complex examples that target specific phenomena (Amrhein et al., 2022) are expensive, not scalable, and depend on the predefined design choices.

To address this, several automated approaches have been proposed. For instance, Proietti et al. (2025); Kocmi et al. (2025); Xu et al. (2025) analyze natural datasets and filter for difficult-to-translate examples. However, because naturally occurring sentences are usually simple to translate, this approach is limited and requires massive scale. Alternatively, Pombal et al. (2025) generate difficult examples from scratch in a zero-shot manner using Large Language Models (LLMs). While highly scalable, this approach struggles to produce text with sufficient translation difficulty and diversity.

In response to these challenges, we introduce a

¹https://github.com/FlorianZogaj/Breaking-MT

Figure

Figure 2: During training, the LLM generates multiple rewrites that are evaluated using machine translation (MT) and quality estimation (QE) models to compute a reward reflected by the difference in translation quality. This signal is used to optimize the model via GRPO. At inference time, the model directly produces rewrites that are difficult to translate.

reinforcement learning-based approach to increase translation difficulty on existing datasets as illustrated in Figure 2. We fine-tune an LLM using Group Relative Policy Optimization (GRPO, Shao et al., 2024) to automatically rewrite English text into challenging variants for MT systems. The reward is constructed using translation difficulty estimation models to explicitly encourage modifications that intentionally reduce the expected translation quality.

Figure 1 illustrates that our fine-tuned model substantially reduces translation quality on WMT23–WMT25 (Kocmi et al., 2025, 2024; Semenov et al., 2023) datasets, while maintaining grammaticality. Further evaluations showing our improvements on WMT datasets (Kocmi et al., 2022; Akhbardeh et al., 2021; Barrault et al., 2020, 2019) can be found in Appendix D. In addition to automated metrics, we validate the quality of our generations through human evaluation, confirming that the rewrites remain natural while effectively reducing translation quality.

References (20)