← AI Terminology

Machine Translation

Machine translation (MT) is the automated conversion of text from one natural language to another — a task that drove much of NLP progress from the 1950s through today, culminating in neural MT systems that approach human translator quality for major language pairs.

It is the task that motivated the development of the transformer architecture.
Why It Matters in AI
Machine translation is both a practical technology (Google Translate processes billions of translations daily) and a research bellwether — breakthroughs in MT generalised to all of NLP. The 2017 "Attention Is All You Need" paper introduced the Transformer specifically to improve MT; sequence-to-sequence learning, attention mechanisms, and BLEU score all emerged from MT research. Modern LLMs have largely subsumed specialised MT systems for high-resource language pairs.
Key Points
Aspect Description
Neural MT Encoder-decoder transformer trained on parallel bilingual corpora — replaced statistical MT ~2016
Evaluation BLEU score (n-gram overlap), COMET (learned metric), human MTPE (post-editing evaluation)
LLMs for MT GPT-4, Claude — competitive with specialised systems for high-resource pairs (EN↔ES, EN↔FR)
Low-resource MT for rare language pairs remains a research frontier — few parallel corpora available
Multilinguality mBERT, mT5, NLLB-200 (Meta) — single models trained on 200+ languages
Specialised systems DeepL, Google Translate, Meta SeamlessM4T — still outperform LLMs on lower-resource languages
Simple Analogy
A professional interpreter in real-time: not translating word-by-word (a failure mode of early MT) but understanding the full meaning of a sentence and expressing it naturally in the target language — preserving intent, tone, and idiom. Neural MT learned this contextual approach from millions of human-translated sentence pairs.
Common Usage Examples
  • Google Translate API: translate.Client().translate("Bonjour", target_language="en")
  • Helsinki-NLP/opus-mt-fr-en on HuggingFace — pretrained MarianMT model for French→English
  • Meta NLLB-200: from transformers import pipeline; translator = pipeline("translation", model="facebook/nllb-200-distilled-600M")
  • BLEU evaluation: sacrebleu.corpus_bleu(hypotheses, [references]).score
  • DeepL API: preferred by professional translators — highest quality for EU language pairs
Summary
In short: Machine translation converts text between languages using neural encoder-decoder models — the research task that gave rise to the Transformer and whose advances permeated all of modern NLP.