Statistical Machine Translation Foundations › Summary
Michael BrenndoerferNovember 26, 20262 min read
Language AI HandbookAll chapters - Statistical MT can frame translation as noisy-channel inference: . The translation model can learn from parallel text and the language model can learn from monolingual text.
- Word alignment is the latent structure used to train the translation model without word-aligned corpora. In Model 1, the alignment sum factors. Computing and accumulating expected counts takes per sentence pair, counting NULL. The M-step then totals and normalizes those counts across the corpus.
- Model 1 assigns each generated occurrence to conditioning positions with posterior weights proportional to . The M-step normalizes positive-count rows and can keep the preceding normalized row when its count is zero. Exact EM cannot decrease likelihood, and identical conditioning tokens have equal posterior weights under Model 1.
- Model 2 adds an absolute-position distribution. HMM alignment uses a first-order dependency on the previous alignment, which supports exact forward-backward inference. Models 3–5 add fertility and distortion, introducing dependencies that make Model 1's independent-position calculation inapplicable.
- Symmetrization combines two directional alignments into a richer relation. The toy uses grow-diag-final-and, with a two-free-endpoint test in its final pass.
- Phrase pairs are extracted by a consistency rule: a source span and target span that align to each other and to nothing else. Phrases are contiguous token sequences, not constituents, and this is why phrase-based MT captures idioms and collocations.
- Phrase tables use direct and inverse relative frequencies alongside lexical weights, which add word-level evidence. Unaligned words contribute their probability under the NULL word.
- The log-linear model ranks translations by a weighted sum of features. Maximum likelihood fits weights to reference translations. MERT tunes weights to an evaluation metric on held-out examples, using a non-convex objective.
- The toy decoder uses approximate beam search over coverage vectors. Recombination and pruning limit the states it keeps. Hard distortion limits can restrict permitted reorderings.
- On our synthetic English–Zeta corpus, IBM Model 1 alignment F1 reaches about 0.706 after two EM updates and then stays flat. The intersection scores about 0.786, while grow-diag-final-and ties the one-way models at about 0.706. The beam decoder puts the words in reference order on all nine held-out sentences and drops the final period on each one.
- Inspect alignment, phrase coverage, and decoder scores when diagnosing a wrong output. Each stage can remove candidates or change their rank.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!