Abstract
Standard Machine Translation (MT) models often struggle with "preference alignment"—the ability to match specific linguistic styles or tones, such as politeness. PMMT (Preference Alignment in Multilingual Machine Translation) addresses this by using Large Language Models (LLMs) to generate high-quality synthetic data that encodes these nuances. Through a "Producer-Judge" pipeline, the framework distills stylistic wisdom from massive LLMs into production-ready models. Experimental results demonstrate that a 418M parameter model trained via PMMT can significantly outperform LLMs 30 times its size on customized preference tasks while maintaining competitive performance on general benchmarks.
Introduction
While modern MT systems are highly accurate at preserving semantic meaning, they are often "stubborn" regarding stylistic constraints. For instance, translating a request into a polite form in Spanish or Japanese requires more than just literal accuracy; it requires understanding social context. Large LLMs can be prompted to achieve this, but their high latency and operational costs make them unsuitable for high-volume, real-time translation services. PMMT bridges this gap by using LLMs as a "Data Factory" to train smaller, efficient encoder-decoder models that inherit the LLM's stylistic flexibility.
Methods: The Producer-Judge Pipeline
The PMMT framework operates in two primary stages: the Cold-start stage and the Regular update stage.
1. The Cold-Start Stage
In this phase, two specialized models are developed:
- PMMT-P (The Producer): A LLaMA2-13B model fine-tuned on a curated seed dataset to generate multiple candidate translations for a single source text.
- PMMT-J (The Judge): A reward model trained to evaluate these candidates based on human-centric criteria like politeness, grammar, and correctness. It employs a "Best-of-N" strategy to select the optimal translation.
2. The Regular Update Stage (Distillation)
The Producer and Judge work in tandem to create a massive parallel corpus. This synthetic data is subjected to rigorous cleaning filters (checking for hallucinations, language ID, and semantic similarity) before being used to train PMMT-B (The Base Models). These smaller models (approximately 418M parameters) effectively distill the complex stylistic preferences of the LLM into a fast, production-ready architecture.
Key Results
The effectiveness of the PMMT framework is most evident in its performance on customized datasets that prioritize specific tones. On a test set of 2,000 real-world e-commerce sentences, the small PMMT-B-418M model achieved a BLEURT score of 0.83, vastly outperforming the raw LLaMA2-13B (0.67) and other specialized models like ALMA-R-13B (0.66).
Crucially, this specialization does not come at the cost of general translation quality. On standard benchmarks like Flores200 and WMT23, the PMMT models remained highly competitive with general-purpose models like NLLB-600M, proving that preference alignment can be achieved without degrading core translation capabilities.
Discussion and Insights
The core innovation of PMMT is the use of synthetic data as a bridge between LLM reasoning and small-model efficiency. By using a Reward Model (PMMT-J) to filter LLM outputs, the authors ensure the training data is superior to what a raw LLM might produce via simple zero-shot prompting. This "Data Factory" approach allowed for the creation of a cleaned multilingual corpus containing roughly 1 billion distinct entries.
While the initial computational cost of generating such a massive synthetic corpus is high, the resulting models offer the low latency and stability required for online services. Future work will focus on reducing the human-labeled data required to re-calibrate the "Judge" as human preferences and linguistic trends evolve.
Summary updated