Training Alignment Ensembles for the Phrases They Feed

Many language pipelines need to know which words in a sentence correspond to which words in its translation. Early translation systems made this a yes-or-no decision for every word pair. A better approach keeps the uncertainty: a weighted alignment matrix stores, for every source–target word pair, a probability that the two words are translations of each other. Downstream steps then consume these probabilities as fractional evidence instead of hard facts. Different kinds of aligners make different mistakes. Count-based generative models, feature-based discriminative classifiers, and Transformer-based neural aligners agree on surprisingly few links, so combining them into one matrix is an obvious move, and it has been shown to help. What has not been examined is whether the combined probabilities can be trusted at the level where they are actually used. In phrase-based translation, the matrix is read by multiplying many cell probabilities to decide whether a multi-word phrase pair is consistent with the alignment. Errors that are correlated across cells, and probabilities that are poorly calibrated (systematically too high or too low), compound in those products.

We propose a small supervised combiner that fuses the full probability outputs of architecturally different aligners into one matrix. The combiner is trained so that the phrase-level probabilities computed from the matrix are calibrated against gold alignments, not only the individual cells. Put in two sentences: heterogeneous aligners are already known to be complementary, but naive fusion treats their links as equally reliable and independent. We learn the fusion directly against the phrase-consistency quantity the matrix is used to compute, and test whether this beats both uniform voting and ordinary link-level stacking.

Core Claim

We claim that a combined alignment matrix is only as useful as the calibration of the phrase-consistency scores computed from it. These scores are products over many cells, and the cells carry correlated errors, so a matrix can be well calibrated per link and still badly miscalibrated per phrase. We further claim that the correction needs two ingredients. The first is architectural diversity among the fused aligners, which produces disagreement that is informative on a given sentence. The second is a phrase-level training signal that teaches the combiner how that disagreement should move probability mass. The core mechanism is discriminative word alignment: a model of $P(\text{link} \mid \text{both sentences})$ that can take arbitrary overlapping features. Heterogeneous ensembling supplies those features. The weighted alignment matrix is both the output format and the thing we evaluate.

Relation to Prior Work

Three papers already bridge these directions, and each leaves a specific piece undone.

Combining Multiple Alignments to Improve Machine Translation is the closest work and the motivating one. It combines GIZA++ (a generative IBM Model 4 aligner), the Berkeley Aligner (an unsupervised model trained so both translation directions agree), and Vigne (a discriminative aligner), which agree on under 76% of links. It builds a matrix from their hard 1-best links by uniform vote counting. That compaction beat both selecting the best single alignment and heuristic link merging, by up to 1.96 BLEU over GIZA++. It treats every member as equally reliable, discards each member's own probabilities, and predates neural aligners. We keep the members' full probability matrices, learn the weighting, and add neural members.

Discriminative Weighted Alignment Matrices For Statistical Machine Translation supplies the method we reuse. It predicts cell probabilities with a Maximum Entropy (MaxEnt) classifier over part-of-speech, co-occurrence, and distortion features, then extracts phrases fractionally. It reports roughly 14–15% alignment error rate (AER) against 25% for MGIZA++ on Arabic-English, and about +1.0 to +1.2 BLEU. It uses a single model trained on a link-level objective and prunes with a hand-set threshold. We turn its classifier into an ensemble combiner and change what it is trained to get right.

Improving Word Alignment by Semi-Supervised Ensemble feeds IBM Model 4 and Berkeley outputs into link classifiers trained by tri-training, a scheme in which two classifiers that agree pseudo-label data for the third. This reached 0.2264 AER against 0.2939 for Berkeley on Chinese-English. It forces hard labels and outputs binary alignments. It is therefore a strong hard-decision competitor, but it does not produce a matrix.

A second group of papers constrains the design. Ambiguity-aware Ensemble Training for Semi-supervised Dependency Parsing shows, in monolingual parsing, that keeping the disagreement among structurally different parsers as a forest works better than committing to one tree. That result supports keeping ambiguity rather than voting it away. Two papers warn against naive fusion. Asymmetric Duos finds that pairing unequal models requires learned per-model temperature weights so that the weaker model does not pollute the stronger one. Ensembling Tabular Foundation Models documents a "calibration trap," in which uncalibrated ensembles become confidently wrong. Together these three explain why uniform voting is the wrong default.

Complementing Self-Consistency with Cross-Model Disagreement motivates using disagreement between model families as a signal of uncertainty on a given input. Here we compute that signal per sentence and per cell.

Two tensions in the literature motivate the phrase-level loss. Optimizing Word Alignment Combination For Phrase Table Training and the MBR (minimum Bayes risk) selection results in the combining paper both find that phrase-level criteria predict translation quality better than word-level AER. Discriminative Word Alignment with Conditional Random Fields likewise notes that AER gains do not reliably carry over to BLEU. The problem list for weighted alignment matrices also flags that the inside/outside computation assumes links are independent, which is exactly the assumption a phrase-level loss can partly compensate for.

Research Program

The ensemble has five members chosen to span different ways of modeling alignment. The first two are generative: HMM or IBM Model 4 posteriors from GIZA++, and the agreement-trained Berkeley Aligner. The third is discriminative: the linear-chain conditional random field (CRF) aligner of Discriminative Word Alignment with Conditional Random Fields, whose per-cell marginals come for free from forward–backward inference. The last two are self-supervised neural aligners: Mask-Align, which predicts each masked target word from the full source and reads alignments off its attention, and SHIFT-AET from Accurate Word Alignment Induction from Neural Machine Translation. Each member produces a full $I \times J$ probability matrix in both directions.

For each cell, the combiner receives several kinds of input. It gets every member's probability and entropy. It gets cross-member disagreement statistics for that cell and for its row and column. It gets the same neighborhood and distortion features used by the MaxEnt and two-stage discriminative aligners, including part-of-speech agreement, relative position, and the neighboring cells' probabilities. We test two capacities: a log-linear model, which matches prior discriminative aligners, and a small multilayer perceptron. Because the input features vary per sentence, the combiner can down-weight a member on the sentences where that member tends to fail. For example, a neural aligner may be unreliable on rare words, where attention can latch onto frequent function words. This is the instance-level weighting that static ensembles lack. Training uses a few hundred gold-aligned sentences per language pair; the CRF paper shows that 100–200 annotated sentences suffice to beat GIZA++ on Hansards.

The key ingredient is the training objective. Let $p_{ij}$ be the combined probability that target word $i$ aligns to source word $j$. For a candidate phrase pair $\pi$, let $\text{in}(\pi)$ be its cells inside the phrase box and $\text{cross}(\pi)$ the cells linking inside words to words outside. The standard fractional consistency score is

$$\hat{c}(\pi) = \Big(1 - \prod_{(i,j)\in \text{in}(\pi)} (1 - p_{ij})\Big)\prod_{(i,j)\in \text{cross}(\pi)} (1 - p_{ij}),$$

that is, the probability of at least one internal link times the probability of no crossing link, as in Weighted Alignment Matrices for Statistical Machine Translation. The gold consistency $c(\pi) \in \{0,1\}$ comes from applying the same rule to the gold alignment. We minimize a weighted sum of link-level cross-entropy and phrase-level cross-entropy between $\hat{c}(\pi)$ and $c(\pi)$, with phrase pairs sampled from the candidate phrase set. Everything is differentiable through the products.

The central analysis compares calibration at two levels: per link, and per phrase via $\hat{c}(\pi)$. The hypothesis is that link-level training leaves a phrase-level calibration gap caused by correlated cell errors, and that the phrase-level loss closes it.

Baselines

The naive reference point is a single GIZA++ model symmetrized with grow-diag-final, the standard heuristic that merges the two translation directions. It is run with the same training bitext, and its hard alignment feeds the same phrase extractor.

The strongest existing matrix-building method is uniform hard-vote compaction from Combining Multiple Alignments to Improve Machine Translation, which reports up to +1.96 BLEU over GIZA++ on NIST Chinese-English. That paper gives no absolute BLEU in the file, and its test conditions differ from ours. We therefore reimplement it over our exact five members, which isolates our changes from any gains that come simply from adding neural members. Beating it means higher phrase-level calibration and higher BLEU on the same data and extractor, with significance measured by paired bootstrap.

The strongest single discriminative matrix is the MaxEnt approach of Discriminative Weighted Alignment Matrices, which reports roughly 14–15% AER on Arabic-English against 25% for MGIZA++. We retrain it on the same gold sentences with its own feature set, so it differs from our combiner only in lacking ensemble inputs and the phrase-level loss.

The strongest hard-alignment competitor is tri-training from Improving Word Alignment by Semi-Supervised Ensemble, which reports 0.2264 AER on its Chinese-English test data. For the strongest single neural member, Mask-Align reports 14.4 AER on German-English against 17.9 for SHIFT-ATT. We report its raw soft matrix as a baseline.

Three ablations isolate the key ingredients, and all use an identical gold budget, identical hyperparameter search trials, and the same phrase extractor. The first is our combiner trained with link-level loss only, which isolates the phrase objective. The second is our combiner fed only hard 1-best links from each member, which isolates the value of the members' continuous probabilities. The third is a homogeneous ensemble of five Mask-Align seeds with the same compute budget, which isolates architectural diversity.

Why not just…?

Why not just stack the aligners' outputs as features in a discriminative classifier? This is the most serious objection, because using a generative model's log-odds as a feature is already standard practice. Improved Discriminative Bilingual Word Alignment reached 3.7% AER on Hansards partly by doing exactly this. Our model is a stacked combiner. The claimed difference is only the objective and the output: calibrated matrices rather than hard, AER-optimized links. The link-loss-only ablation is exactly this alternative. If it matches our model on phrase-level calibration and BLEU, then the phrase-level loss contributes nothing, and we would report that the gains come from stacking alone.

Why not just average the members' posteriors, with per-model temperatures tuned on held-out data? This is the Asymmetric Duos recipe, and it could plausibly recover most of the benefit. We run it as a baseline with the same held-out gold data. If it ties our combiner, the lesson is that uniform voting's failure was simply a lack of reliability weighting, and instance-level features add nothing. That would be a useful negative result, so we treat this baseline as a possible outcome to report rather than something to argue against.

Why not just use the best neural aligner alone? Unsupervised neural aligners still sit far above supervised discriminative error rates. Mask-Align reports 14.4 AER on German-English, while CRF-based alignment reports 5.29 on Hansards. Neural aligners also lack explicit distortion features. These figures come from different language pairs, so they do not settle the question. Our per-language comparison on shared gold sets does settle it, and we also break errors down by word frequency to check whether the combiner mainly helps on rare words.

Why not homogeneous seed ensembles, which are cheaper to engineer? The tabular study in Ensembling Tabular Foundation Models reports high error correlation among similar models, which suggests seed ensembles will add little. We test this directly with the five-seed Mask-Align ablation at matched compute.

Proposed Experiments

Intrinsic evaluation uses gold alignment sets from the file: Canadian Hansards English-French, the ACL 2005 Romanian-English shared task, the IBM Arabic-English corpus, the Chinese-English gold data used by the tri-training paper, and German-English from the Mask-Align benchmark. Each set is split into combiner-training, tuning, and test portions. Metrics are AER; link-level expected calibration error and Brier score; and phrase-level expected calibration error and Brier score of $\hat{c}(\pi)$. We also stratify by word frequency and by the amount of cross-member disagreement.

Extrinsic evaluation trains phrase-based translation systems with fractional phrase extraction on NIST Chinese-English (MT02–05) and NIST Arabic-English (MT06/08/09), matching the data of the prior matrix papers, and reports BLEU. A second extrinsic setting tests whether the claim extends beyond translation. We project named-entity labels across bitext using the soft matrices, following the setup of Cross-lingual Projected Expectation Regularization, and report F1 on OntoNotes Chinese and CoNLL German.

The decisive check has two conditions. The phrase-level calibration error of our combiner must fall well below that of the link-loss-only ablation while link-level calibration stays similar. That pattern is direct evidence for the correlated-error hypothesis. And that phrase-level gain must carry through to BLEU over reimplemented uniform-vote compaction and over tuned posterior averaging.

A secondary check tests whether a well-calibrated matrix removes the need for hand-tuned pruning. We sweep the pruning threshold $t_p$ and ask whether our matrix's BLEU is flatter across thresholds than the MaxEnt baseline's. If both decisive conditions hold, the contribution is a demonstration that ensembles should be fit to the quantity their consumers compute. If only posterior averaging with temperatures is needed, we report that clearly as the practical recipe.