Rewrite to Translate, Translate to Reward: Reinforcement Learning for Source Rewriting in Machine Translation

Boxuan Lyu, Haiyue Song, Zhi Qu, Hidetaka Kamigaito, Kotaro Funakoshi, Manabu OkumuraarXiv 2026

TL;DR

Prompting smaller language models to rewrite text before translation often degrades machine translation (MT) quality because prompts cannot precisely anticipate a downstream model's quirks. To solve this, the authors introduce RLSR (Reinforcement Learning for Source Rewriting), a framework that directly trains a compact 4B parameter rewriting model using translation quality improvements as the reward signal. The resulting model significantly outperforms prompt-based baselines and matches the performance of a massive 235B model at a fraction of the computational cost.

What Problem Does This Paper Address?

Source rewriting, or pre-editing, is a classic technique used to modify input text (e.g., simplifying complex grammar or fixing typos) before passing it to a machine translation system. This is especially valuable when dealing with "black-box" commercial MT systems where you cannot alter the underlying translation model itself.

While using Large Language Models (LLMs) to handle this rewriting via natural language prompts (like "simplify this text") sounds intuitive, the authors uncover a major flaw: for smaller, more efficient LLMs (such as 4B-parameter models), prompt-based rewriting frequently degrades translation quality.

The core issue is that prompts act as an indirect steering mechanism. They instruct the model on how to rewrite, but they don't optimize for whether the rewrite actually helps the downstream MT model. A rewrite is only useful if it leads to a better final translation, a signal that standard prompt-based methods completely ignore.

Methods

To bridge this gap, the authors propose RLSR (Reinforcement Learning for Source Rewriting). Instead of relying on clever prompting, RLSR optimizes the rewriting model's parameters directly using an on-policy reinforcement learning algorithm called DAPO (Decoupled Clip and Dynamic Sampling Policy Optimization).

Figure 1: Overview of RLSR. The rewriting model generates a rewritten source from the original source. A fixed downstream MT model translates the rewritten source, and an MT metric evaluates the translation. The improvement over translating the original source is used as the reward for optimizing the rewriting model.
  • The Reward Signal: The reward is explicitly defined as the marginal improvement in translation quality. The system takes an original source sentence, generates a rewrite, translates both using a fixed downstream MT model, and scores both translations using an automated metric (xCOMET-XL). The reward is simply the rewritten score minus the original score.
  • Preventing Reward Hacking: To stop the model from generating gibberish that tricks the evaluation metric, the authors apply a Kullback–Leibler (KL) penalty to anchor the model close to its initial reference policy.
  • A Universal Rewriting Model (RLSR-Ens): Because training a separate "specialist" rewriter for every single MT model is computationally expensive, the authors introduce a model-merging strategy. They take multiple specialist models trained for different MT systems and merge their parameters using DARE (Drop and Rescale), creating a single universal rewriter that works across multiple translation models simultaneously.

Datasets

  • Training Data: Compiled from the WMT2019–2024 News/General MT Shared Task test sets, encompassing 21,000 samples across 24 language pairs.
  • Evaluation Data: The complete test set of the WMT2025 General MT Shared Task, covering 16 language pairs.

Key Insights and Ideas

  • Supervised Fine-Tuning (SFT) Fails due to "Copying Degeneration": The authors tried training the rewriter using standard SFT on a dataset of high-reward rewrites, but performance tanked. Because a good rewrite usually only changes a few words, SFT's token-level loss quickly gets stuck in a local optimum where it simply copies the source text verbatim (up to 90% of the time). RL avoids this because exact copies yield a reward of zero, forcing the model to explore meaningful edits.
  • RLSR Learns Localized, Length-Preserving Edits: While prompt-based models tend to rewrite sentences wholesale—often losing nuance or fabricating details—RLSR learns to be highly conservative. It maintains a high character-level similarity to the source text, focusing strictly on local friction points like normalizing spoken disfluencies or fixing spelling variations.
  • Cross-MT Generalization: Remarkably, a specialist rewriter trained for one specific MT model still improves translation quality when applied to an entirely different, unseen MT model. This indicates that RLSR is learning general principles of "translatability" rather than just overfitting to one system's bugs.

Key Results

  • Outperforming Same-Scale Baselines: The 4B RLSR-trained models significantly outperformed both the no-rewriting baseline and all 4B prompt-based rewriting baselines across six different MT models.
  • Matching a 235B Giant: The 4B RLSR model achieved translation quality comparable to (and sometimes better than) prompt-based rewriting driven by Qwen3 235B—a model nearly 60 times its size.
  • Universal Model Success: The merged model, RLSR-Ens, successfully retained the performance gains of the individual specialists across all tested MT models, proving that serving a single universal rewriter is both viable and scalable.
  • Robust Evaluation: To ensure the model wasn't just overfitting to the training metric (xCOMET), the authors validated results using MetricX and an independent, prompt-based LLM metric (GEMBA), confirming genuine translation improvements.

Limitations and Future Work

  • Metric Bias: Even though independent metrics verified the gains, RLSR still fundamentally relies on automated metrics during training. A definitive validation would require expensive human evaluation.
  • High Training Cost: On-policy RL requires repeatedly running the downstream MT model and the evaluation metric for thousands of iterations, making it computationally heavy to train from scratch.
  • Future Directions: The authors suggest exploring ways to improve the SFT objective (such as up-weighting critical tokens) to achieve RL-level performance at a fraction of the training cost. They also propose unifying rewriting and translation into a single multi-task model to build natural "Chain-of-Thought" trajectories for translation tasks.

Summary updated

BibTeX
@misc{lyu2026rewrite,
  author = {Boxuan Lyu and Haiyue Song and Zhi Qu and Hidetaka Kamigaito and Kotaro Funakoshi and Manabu Okumura},
  title = {{Rewrite to Translate, Translate to Reward: Reinforcement Learning for Source Rewriting in Machine Translation}},
  year = {2026},
  eprint = {2606.08011},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.08011},
}
Figure