IBM Alignment Models
Translate a sentence pair by hand and you naturally draw lines between them: this word renders that one, these three cover that phrase. Now learn those lines for millions of sentence pairs where nobody drew any. The IBM alignment models — five of them, from a group at IBM in the early 1990s — are how statistical translation learned to do exactly that.
A ladder of five models
Each model adds one assumption to the one before it, and each is initialised from the previous model's output, because the later ones have far too many local optima to train from nothing:
- Model 1 — word translation probabilities only, position ignored. Trained with expectation maximisation, and convex, so it converges to the same solution every time; that reliability is what makes the ladder work.
- Model 2 — adds absolute position, so a word early in one sentence prefers a word early in the other.
- Models 3 to 5 — add fertility (how many target words one source word yields) and distortion (reordering), with Model 5 reclaiming probability mass the earlier versions wasted on impossible configurations.
What the alignments were for
Alignment was never the product. Run the models in both directions, symmetrise the two sets of links, and phrase pairs can be read straight off the result — the phrase table that phrase-based machine translation decodes with. GIZA++ was the implementation everyone used, and "align, extract phrases, score fluency with a target language model" was the pipeline for fifteen years.
Why they still matter
Neural translation absorbed the job into attention, but alignment outlived the pipeline. It is how annotations are projected from a well-resourced language onto a poorly-resourced one, how bilingual dictionaries are induced from raw parallel text, and the reference against which attention weights get checked when someone claims a model has learned to align.
The IBM alignment models are five increasingly detailed probabilistic models, published in 1993, that learn word-level correspondences between sentence pairs from parallel text carrying no alignment annotation, using expectation maximisation. Successive models add position, fertility and reordering, each seeded by the one before. They produced the alignments from which phrase tables for statistical machine translation were extracted, and alignment remains in use for bilingual dictionary induction and annotation projection.
Put an English sentence beside its French translation and you can usually point out which word matches which, even without speaking much French. Do that across millions of sentence pairs and you end up with a rough bilingual dictionary nobody had to write.
The IBM alignment models were the method that worked this out automatically, back in the 1990s. Nobody told the software which words matched. It guessed, saw which guesses kept paying off across the whole pile of sentences, and sharpened them. Those matched-up words became the raw material for translation software for the next two decades, and the same trick still helps languages with little written material borrow from languages with plenty.