Notes

Statistical Machine Translation

Before neural translation, a translation system did not understand either language. It counted. Statistical machine translation learns from millions of sentence pairs humans already translated, and treats translating as a search for the target sentence that best explains the source.

The noisy-channel idea
The framing is borrowed from signal processing: pretend the foreign sentence is your own language after passing through a channel that garbled it. Recovering it means maximising two scores at once.

  • A translation model, which says how plausibly the source phrases correspond to candidate target phrases. It is built from word alignments learned without supervision by the IBM models, from which a phrase table of aligned chunks and their probabilities is extracted.
  • A language model over the target language alone, which says how plausibly the candidate reads as fluent text — the half that decides word order and picks between "strong tea" and "powerful tea".

Decoding, and what replaced it
A decoder searches over segmentations, phrase choices and reorderings with beam search, since the space is far too large to enumerate; Moses is the reference open-source implementation and BLEU was designed to score its output. The approach dominated for a decade and then lost decisively to neural sequence-to-sequence models, for a reason worth keeping: a phrase table cannot generalise beyond the chunks it memorised, so fluency breaks down over long distances and rare words fall back to word-by-word glosses. What survives is the vocabulary and the ideas — alignment, parallel corpora, a separate fluency model, beam-search decoding — which neural systems inherited wholesale. SMT still earns a place as a baseline for low-resource pairs where a few thousand sentence pairs cannot train a transformer.

Statistical machine translation translates by maximising the product of two learned models: a translation model built from word alignments and an extracted phrase table over parallel text, and a target-language language model scoring fluency, searched with beam decoding. It matters as the pre-neural state of the art and the origin of machinery neural systems kept — parallel corpora, alignment, beam search and BLEU — and as a baseline where parallel data is too scarce to train a transformer.

Imagine translating with two helpers instead of a dictionary. One has read millions of sentences already translated by people and can tell you which chunks of the new sentence usually come out as which chunks in the other language. The other has only ever read the target language, and judges whether your draft sounds like something a native speaker would say.

Statistical machine translation works that way. It never learns grammar rules or meanings — it counts what human translators did and assembles the version that scores best on both counts. This is how online translation worked for a decade, until systems that learn language in one piece overtook it. The giveaway was fluent short phrases stitched into awkward long sentences.