NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Letting Alignment Confidence Decide Where Joint Phrase Induction Searches

Phrase-based translation systems learn their dictionary of multi-word translations ("phrase pairs") in two blind steps. A word aligner first decides which words correspond across a sentence pair. A fixed rule then cuts out every block of words consistent with those links. Joint alignment-and-extraction models replace both steps with one Bayesian model that infers phrase boundaries and correspondences together. Their main published payoff is compactness: phrase tables up to five times smaller at equal translation quality. Their weakness is cost. The grammar they search over, an inversion transduction grammar (a model that recursively splits a sentence pair into aligned sub-blocks, kept in order or swapped), takes time proportional to $n^6$ in sentence length. In practice these models drop long sentences or are fenced in by hard word alignments from the very pipeline they were meant to replace.

This note proposes using the soft, graded confidence of a cheap word aligner to choose which bilingual blocks the expensive joint model may consider. The joint model's own samples then serve as the phrase-level confidence score it currently lacks. In two sentences: a fast probabilistic aligner tells the joint model which span pairs are worth exploring, so it can train on full-length sentences without inheriting the aligner's hard mistakes. Counting how often each phrase pair appears across the model's samples yields a calibrated confidence for every table entry at no extra cost. The bet is a better trade-off between table size and translation quality than either the pipeline that extracts phrases from soft alignment probabilities or the length-capped joint models.

Core Claim

Two lines of work have matured separately. The first is joint Bayesian induction. An Unsupervised Model for Joint Phrase Alignment and Extraction and its journal version Joint Phrase Alignment and Extraction for Statistical Machine Translation place a Pitman-Yor prior (a "rich-get-richer" distribution that discourages rarely reused long phrases) over a hierarchical grammar. An Infinite Hierarchical Bayesian Model of Phrasal Translation and A Gibbs Sampler for Phrasal Synchronous Grammar Induction do the same with recursive priors and samplers. These works supply the core model we reuse. They also show the constraint we must break: Cohn and Haffari restrict training to sentences of 30 words or fewer and prune with heuristic word alignments.

The second line is extraction from alignment posteriors. A weighted alignment matrix stores, for each word pair, the probability that the two words are linked. HMM Word and Phrase Alignment for Statistical Machine Translation computes exact posteriors with an HMM. Hierarchical Phrase-Based Translation Grammars Extracted from Alignment Posterior Probabilities and Estimating a translation model from non-deterministic word-to-word alignments extract rules from these matrices. This line motivates the proposal, because it shows hard alignments discard useful evidence, but it still applies a thresholded consistency rule rather than inferring phrase boundaries.

The proposal differs from both in one place. Graded link confidence becomes the pruning signal for joint inference, replacing a length cutoff and a single hard alignment. We claim that, at a fixed compute budget, this pruning lets the joint model train on full-length sentences and preserves its compactness advantage. We further claim that its sampled phrase marginals are better calibrated confidences than bootstrap stability or matrix-derived phrase posteriors.

Research Program

We first run a bidirectional HMM aligner with forward-backward to obtain a weighted alignment matrix $W$, where $W_{ij}$ is the posterior probability that source word $i$ links to target word $j$. For every source span $s$ and target span $t$, we score how likely the block $(s,t)$ is to be consistent: some link inside, and no link crossing its border. Following the phrase-posterior idea of de Gispert et al. and assuming links are independent, the score is

$$p(s,t) = \Big(1 - \prod_{i \in s,\, j \in t} (1 - W_{ij})\Big) \prod_{(i,j)\,\text{crossing}} (1 - W_{ij}),$$

where "crossing" covers word pairs with exactly one end inside the block.

The joint sampler may then build a derivation node over $(s,t)$ only if $p(s,t) \geq \tau$. To guarantee that every sentence pair still has at least one valid derivation, we always add the spans of the single best grammar bracketing under $W$. The threshold $\tau$ trades chart size against search freedom. We report the number of surviving span pairs per sentence as a function of length, which shows directly whether pruning removes the 30-word ceiling.

Unlike the hard-alignment constraints in Cohn and Haffari, a low-confidence link here prunes only the blocks it would make inconsistent, and only to the degree the aligner is unsure. A spurious link with posterior 0.51 no longer vetoes an idiom outright. This is the "single spurious link suppresses a large phrase" failure documented in Phrase Table Training for Precision and Recall.

Second, we read off phrase confidence from the sampler. For an occurrence of phrase pair $\phi$ in sentence $k$, let its marginal $m_k(\phi)$ be the fraction of post-burn-in samples, pooled across independent chains, in which $\phi$ appears as a derivation node. The table-level confidence is the mean of $m_k(\phi)$ over the sentences where $\phi$ was ever proposed. This score enters the decoder as one extra feature. It also gives a confidence-ranked pruning order: we can shrink the table further by dropping the lowest-confidence entries rather than the rarest ones. Cohn and Haffari already average chains to improve generalization. We repurpose that averaging into an explicit uncertainty estimate. In Sampling Alignment Structure under a Bayesian Translation Model, DeNero et al. marginalize over alignments but neither use confidence to prune the search nor evaluate the calibration of the marginals.

Third, we measure calibration directly. We use the 512-sentence Chinese-English and 200-sentence Arabic-English hand-aligned sets from Confidence Measure for Word Alignment. A phrase occurrence counts as correct if it is consistent with the gold alignment. We then compute expected calibration error and ranking quality (area under the precision-recall curve) for three scores: sampler marginals, the matrix score $p(s,t)$, and bootstrap stability.

Baselines

The naive reference point is the standard pipeline: GIZA++ alignment, grow-diag-final symmetrization, and consistency-based extraction with lexical smoothing. It is trained on the same bitext and tuned with the same development sets and tuning runs as every other system. Every gain is reported against it, together with its phrase table size.

The strongest competitor on translation quality is posterior-based extraction as in Hierarchical Phrase-Based Translation Grammars Extracted from Alignment Posterior Probabilities. It uses the same weighted alignment matrix our pruning uses, so the comparison isolates whether joint inference adds anything once the soft evidence is shared. That paper reports 36.4 BLEU for its $G_2$ grammar with phrase posteriors against 35.6 for the standard hierarchical baseline on NIST Chinese-English. Because hierarchical decoding is a confound, we re-implement its phrase-posterior extraction for a flat phrase-based decoder. Beating it means matching its BLEU within statistical noise with a substantially smaller table, or exceeding it at equal table size.

The strongest competitor on compactness is the unmodified joint model under its published constraints. For Neubig et al. that means their published setup. For Cohn and Haffari it means sentences of 30 words or fewer plus heuristic alignment constraints. Neubig et al. report 21.50 versus 21.35 BLEU on French-English, 23.23 versus 23.20 on Japanese-English, and 1.0M versus 4.9M entries on German-English. Cohn and Haffari report 21.50 versus 20.69 on Farsi-English and 16.97 versus pialign's 15.65 on Urdu-English. We match CPU-hours exactly between the constrained joint model and ours. That way any gain cannot come from simply sampling longer.

Two ablations isolate the key ingredient. The first replaces our confidence-based span pruning with pruning by hard grow-diag-final links, tuned to keep the same number of span pairs per sentence. The second keeps confidence pruning but discards the marginal feature, reverting to sampled counts. Finally, the confidence feature is compared with bootstrap stability from Phrase alignment confidence for statistical machine translation, which reports +1.7% BLEU on clean English-Pashto text. That paper does not report numbers on our benchmarks, so we recompute it, with fewer resamples if 99 is unaffordable, and report its cost. We also compare against MBR phrase scoring from Improving Phrase Extraction via MBR Phrase Scoring and Pruning, which reports +1.45 BLEU on MT05 with FBIS training.

Why not just…?

Why not just extract from posteriors and then prune the table to the joint model's size? This is the real threat. If posterior extraction followed by frequency or MBR pruning down to about 1M entries matches our BLEU, joint induction is unnecessary. There is indirect evidence against plain frequency pruning. Ananthakrishnan et al. find 72.1% of phrase pairs are singletons, so frequency cutoffs gut the long tail, and Duan et al. find consensus pruning beats frequency cutoffs. But no number in the file tests size-matched pruning against a joint model. We therefore plot BLEU against table size for both methods at several sizes, and treat the result as the main decisive check, not a side experiment.

Why not just constrain the sampler with hard heuristic alignments, as Cohn and Haffari did? Hard links freeze aligner errors into the search space. Deng shows one bad link can invalidate a large useful phrase. The equal-chart-size ablation answers this directly. If hard-link pruning reaches the same BLEU and calibration, the confidence signal is not pulling its weight. We expect the difference to concentrate in idiom-heavy and reordering-heavy pairs such as Chinese-English and Japanese-English.

Why not just fix the aligner with consistency-aware search? Consistency-Aware Search for Word Alignment adds a reward for word coverage by consistent phrases and reports about +1.0 BLEU on Chinese-English. However, it optimizes a single hard alignment and still feeds the same over-generating extractor, so it addresses neither table size nor graded confidence. We include it as a pipeline baseline. If it closes the BLEU gap, our claim narrows to compactness and calibration.

Why not just use lexical smoothing as the confidence signal? Ananthakrishnan et al. find phrase-level confidence adds +0.4% BLEU on top of lexical smoothing. Lexical smoothing also scores phrases word by word and so penalizes non-literal idioms. Every system here already includes lexical smoothing, so any gain from the marginal feature is measured on top of it.

Proposed Experiments

We train on Europarl French-, German- and Spanish-English, FBIS Chinese-English with NIST MT05 and MT08 as test sets, Japanese-English as in Neubig et al., and the Urdu- and Farsi-English data of Cohn and Haffari. Metrics are BLEU, phrase table entries, CPU-hours, and, on the gold-aligned subsets, calibration error and alignment error rate.

The first decisive check is the size-quality curve against size-matched posterior extraction described above. The second retrains our model with the 30-word cap reimposed and tests whether removing the cap actually helps; the gain should grow on the long-sentence portion of the NIST test sets. The third tests whether sampler marginals are better calibrated than the matrix score $p(s,t)$ against gold-consistent phrases. If they are not, the joint model is merely echoing its pruning signal. The fourth sweeps $\tau$ and plots chart size against BLEU, to find whether there is a regime where pruning is aggressive enough to make inference fast yet loose enough not to hurt quality.

A negative result on the first check would itself be informative. It would mean that, once soft alignment evidence is available, the compactness of joint Bayesian induction can be obtained more cheaply by confidence-ranked pruning.