Machine translation domain adaptation: fit a specialist field without losing general quality
Translation domain adaptation adjusts a machine-translation system’s vocabulary and style when its use shifts to a field such as news, law, or medicine. First check whether reviewed parallel sentences are available for the target domain, then evaluate both that domain and general text before and after adaptation. A gain on specialist text can come with forgetting or overfitting that harms general translation.
Machine translation domain adaptation: fit a specialist field without losing general quality
Translation domain adaptation adjusts a machine-translation system’s vocabulary and style when its use shifts to a field such as news, law, or medicine. First check whether reviewed parallel sentences are available for the target domain, then evaluate both that domain and general text before and after adaptation. A gain on specialist text can come with forgetting or overfitting that harms general translation.
1. Define the goal and baseline
Define a domain by the features that change translation choices—terminology, style, and sentence structure—not only by the source of the documents. Specify the language pair and direction, who will read the output, and which terms must be translated consistently. Run the unadapted model on both target-domain and general-domain test sets, keeping every test sentence separate from training data.
2. Choose an approach based on data quantity and quality
| Available material | First approach to consider | Caution |
|---|---|---|
| Sufficient, reviewed in-domain parallel data | Continue fine-tuning an existing translation model | Even a small dataset can overfit if it contains duplicates, misaligned pairs, or inconsistent terminology |
| A small amount of in-domain parallel data plus a large general corpus | Select and mix relevant general sentences, or fine-tune on a mixture of in-domain and general data | Validate selection scores and mixture ratios for the language pair and data |
| Only monolingual in-domain text | Compare synthetic sentence pairs made through back-translation with inference-time examples or terminology guidance | Synthetic translation errors can be reinforced in training; prompting requires a model that supports the needed capability |
This table helps choose a starting point; it is not a ranking that guarantees performance. One study compared fine-tuning on domain data after initializing models with general data across several NMT settings, but the best choice depends on the target conditions. Domain-adaptation literature distinguishes data selection, data generation, model changes, training procedures, and inference-time methods.
3. Compare small, controlled experiments
Measure the current system on target-domain and general-domain test sets.
Review in-domain parallel data for duplicates, alignment errors, and terminology consistency; keep speakers or documents separate from the test sets.
Change one factor at a time—for example, compare the baseline, fine-tuning on domain data, and fine-tuning on a mixture of general and domain data.
Examine domain-level automatic metrics alongside terminology, number, and proper-name errors, and have people review a sample.
Continue measuring general-domain performance and other language pairs. Adapting a multilingual model for one domain and language pair can also change its results on other pairs.
An automatic metric such as BLEU may not reveal whether required terminology improved or whether the output merely differs from the wording of the reference translation. Where possible, set separate criteria for terminology accuracy, meaning preservation, and style, then inspect error examples manually.
4. Address overfitting and loss of existing capabilities
If adaptation data is small or repetitive, a model may fit those examples and fail on slightly different sentences. It may also start inserting newly learned domain terms where they do not belong in general text. Consider data review, conservative training settings, mixing in general data, domain tags, or separate adapters, but evaluate each option independently. Do not assume any method prevents forgetting.
Before deployment, compare results for both the target domain and established general use. Keep model versions and evaluation records so you can roll back if degradation exceeds the acceptable range. Do not turn a score gain from one study’s data and model into a prediction for another field or language pair.
References
[Saunders, “Domain Adaptation and Multi-Domain Adaptation for Neural Machine Translation: A Survey” (2021)](https://arxiv.org/abs/2104.06951)
[Sajjad et al., “Neural Machine Translation Training in a Multi-Domain Scenario” (IWSLT 2017)](https://aclanthology.org/2017.iwslt-1.10/)
[Pham, Crego, and Yvon, “Multi-Domain Adaptation in Neural Machine Translation with Dynamic Sampling Strategies” (EAMT 2022)](https://aclanthology.org/2022.eamt-1.4/)
[Saunders and DeNeefe, “Domain adapted machine translation: What does catastrophic forgetting forget and why?” (EMNLP 2024)](https://aclanthology.org/2024.emnlp-main.704/)