Reasoning Before Translation: Enhancing Legal Machine Translation with Structured Reasoning

Aixiu An, Michael Jungo, Eloi Eynard, Mark Drenhaus, Andreas Fischer +2 more
7/21/2026
cs.CLcs.AIcs.LG

Official code: aixiuxiuxiu/Legal-MT-SFT-RL (0 stars, MIT, last commit 2026-07-20).

Abstract

Neural machine translation (NMT) in the legal domain is a linguistically and conceptually demanding task, primarily due to the complexity of legal language and the high level of precision it requires. The recent emergence of reasoning-capable language models opens new possibilities for tackling such challenges. They add to a set of other previously proposed techniques to enhance the translation quality, which includes supervised fine-tuning and reinforcement learning. In this work, we perform a comparison between these various approaches. More particularly, we evaluate small language models such as Qwen3.5 4B, Qwen3.5 9B, and Gemma 3 12B enhanced with various re-training paradigms and compare their performances against frontier reasoning models. We focus on the Swiss legal system, which -- with its unique multilingual statutes -- offers a particularly challenging testbed for reasoning-augmented models. Our results show that the quality of small ``base'' models can be greatly enhanced, and that reinforcement learning with verifiable rewards can be applied to NMT in the legal domain and surpasses the translation quality of supervised fine-tuning. The performance of enhanced small models is close to the one of state-of-the-art reasoning models yet remains inferior. We also note that re-training paradigms yield diminishing returns as model size increase. The code and models are publicly available at https://github.com/aixiuxiuxiu/Legal-MT-SFT-RL.

View on arXivView PDF

Code Implementations(1)

MIT

Legal Translation Fine-tuning with GRPO and SFT

00PythonAug 6, 20253 months agoMIT

Similar Papers

Cite this paper

@article{an2026reasoning,
  title  = {Reasoning Before Translation: Enhancing Legal Machine Translation with Structured Reasoning},
  author = {Aixiu An and Michael Jungo and Eloi Eynard and Mark Drenhaus and Andreas Fischer and Jean Hennebert and Sébastien Rumley},
  year   = {2026},
  eprint = {2607.19181},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.19181v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.19181.svg)](https://codeofpaper.com/paper/2607.19181)

Discussion