Dynamically Shaping the Reordering Search Space of Phrase-Based Statistical Machine Translation
Paper · 2013 · Arianna Bisazza and Marcello Federico
Summary
An Arabic news sentence can put its main verb before a long subject. An English translation may need to begin with the subject, return to the verb, then continue with the rest of the sentence. A phrase-based translation system can build English in that order by visiting the Arabic phrases out of sequence. The difficulty is deciding which such moves to let it try. A strict distance limit can rule out the move that would put the verb in the right place. A generous limit admits that move alongside many others, slowing the search and making it harder to select a good translation. Bisazza and Federico study how to give the decoder room for long movements while keeping its choices manageable. Their experiments concern Arabic-to-English machine translation.
Their method, Word-after-Word, learns from bilingual sentences with links between corresponding words. It uses those links to infer an order in which the source words would be visited to produce the target sentence. From examples of those visits, it learns to score whether a particular source word should be translated immediately after another. The score uses the words and their surrounding grammatical context. The decoder uses it twice. It first screens candidate moves before doing the work of extending a partial translation, preserving short moves within a protected range. It then uses the score alongside the ordinary translation and fluency scores when comparing the extensions it has kept.
On the blind Arabic-to-English newswire test, the medium-scale system with early pruning reached a verb reordering score of 87.0, compared with 86.2 for the baseline. On the test subset whose Arabic main verb precedes its subject, it reached 86.2, compared with 84.8. The decoder admitted moves up to a distortion limit of 18 and took 68 milliseconds per input word on the timing sample. The baseline used a limit of 8 and took 87 milliseconds per word. Simply opening the baseline’s search to a limit of 18 took 164 milliseconds per word and reduced its reordering scores.
The general translation measures moved less than the verb-specific measure in the medium-scale experiment. On the blind test, the pruned system scored 50.9 BLEU and 38.3 METEOR against the baseline’s 50.6 and 38.1, with a statistically significant difference for METEOR. A setup with more English training text and a wider search beam also showed significant improvements in verb order. The results connect the gain to a particular decision the decoder often faces in these sentences. Once it has translated a long subject, word and phrase context helps it recognize when to go back for a verb that a preference for short jumps would leave behind. BLEU score
Deep dive: Dynamically Shaping the Reordering Search Space of Phrase-Based Statistical Machine Translation
Bisazza and Federico show how pruning unlikely word orders lets phrase-based translation move Arabic verbs farther while decoding faster. · about 33 minutes to read
The problem and its context
Why the order of source phrases matters
A phrase-based decoder constructs its target sentence from left to right. At each stage, it can choose a contiguous piece of the source sentence, look up possible translations for it, and append one of them to the output in progress. It keeps track of the source positions it has already covered. The next piece can come from the source span immediately following the last one, or it can start elsewhere among the remaining positions. In this framework, changes in the order of phrases come from the sequence in which the decoder visits them. The paper builds on Statistical Phrase-Based Translation.
Consider a clause that starts with a verb, followed by a subject containing a title, an affiliation and a person’s name. To produce English subject–verb order, the decoder can begin with the subject and translate it across several phrases. The verb stays uncovered while this happens. To translate it after the subject, the decoder must return from the end of that subject to an earlier point in the source. It then needs to move forward over the subject it has just covered. The distance involved reflects the size of the material between the useful source positions. A construction that is straightforward to describe in grammatical terms can therefore demand difficult moves from the search procedure.
The authors distinguish the set of moves a decoder may consider from the scores it uses to compare them. A reordering constraint defines which moves are legal. A reordering score expresses a preference among the legal ones. A good score can affect a long movement only if the constraint lets the decoder consider it. Conversely, admitting a movement gives the decoder an opportunity to use it, while the scoring and search procedures still have to recognize where it belongs. This distinction explains how expanding the space can give the decoder access to more plausible translations while making its chosen translation worse.
Beam search makes the problem especially relevant. A partial hypothesis is a translation in progress, together with the information needed to continue it. The decoder keeps a limited collection of promising hypotheses and extends them. Wider freedom to reorder the source adds possible extensions to many such hypotheses, including alternatives that begin well but lead to poor output. Scores on partial hypotheses affect which alternatives survive long enough to be completed. A constraint on reordering therefore affects the work done during search and the quality of the candidates that compete for the beam.
How earlier systems scored and restricted moves
In the basic phrase-based formulation, the jump from the most recently translated phrase to the next phrase incurs a distortion cost. It favors moves near the point where the decoder would continue in source order. This gives the decoder a useful default because many consecutive target phrases do come from nearby source spans. The same preference can work against a movement that happens infrequently but has a clear grammatical purpose in the current sentence. The cost expresses distance directly and gives the same preference to moves with the same distance.
Phrase orientation supplies a different kind of evidence. It classifies a phrase’s relation to its predecessor as monotone, swapped or discontinuous. A monotone continuation follows the source order. A swap reverses neighboring material. A discontinuity covers the remaining cases. The authors describe these categories as useful for short and medium movements. For a long movement, the discontinuous category can cover several destinations, including ones that would serve very different roles in the sentence. The paper’s baseline uses the hierarchical version, drawing on work including A Unigram Orientation Model for Statistical Machine Translation and A Simple and Effective Hierarchical Phrase Reordering Model.
Jump predictors, another family the paper discusses, try to estimate how far and in which direction the decoder should move after a source word. The authors see a disadvantage in treating the size of the movement as the outcome being predicted. Short jumps occur frequently, giving a learner ample evidence for them. Long jumps are dispersed among less frequent possibilities, even when several serve the same grammatical purpose. The earlier Arabic-to-English systems discussed in the paper obtained their best results under distortion limits of 8 and 5, respectively. Those settings left limited room for the long movements that motivated the jump predictors.
A third family tries to predict the sequence in which source words get translated. One approach learns which source words tend to follow several already translated source words when the source is reordered to match the target. It builds that estimate with a smoothed n-gram. Carrying several preceding words into the calculation means that the decoder must preserve more of the history of each hypothesis. Another approach scores a pair of source positions from their words and context. With pairwise scores, hypotheses that differ in earlier decisions can still share the same transition estimate when they reach the same pair. Bisazza and Federico follow the pairwise approach.
The nearest predecessor they discuss also assigns costs to pairs of source positions. It uses those costs to solve for a complete permutation of the source sentence before translation. A traveling-salesman solver searches for an order through the words, treating the costs between consecutive positions as the evidence for that order. In the present paper, the pair scorer participates during decoding. A proposed movement can therefore compete in the context of a specific partial English sentence, with evidence about the translation of the phrase and the fluency of the output. The authors also change how the pair scorer is trained and omit a direct indicator of jump length.
Restrictions on admissible moves had received less attention than scoring, according to the paper. Distance restrictions specify how much source material can separate successive translation decisions. Restrictions based on permutation patterns allow certain ways of rearranging spans, as in Stochastic Inversion Transduction Grammars and Bilingual Parsing of Parallel Corpora. The authors characterize these common restrictions as uniform across a sentence. The same mechanical rules apply at a verb, at the end of its subject, and somewhere else that looks identical in terms of distance or permutation structure.
The paper describes an attempt to make the distance limit depend on the current word. It predicts a jump length and adopts that length as a local limit. If the decoder reaches a state where local limits make full coverage impossible, the earlier procedure loosens the restriction as needed so the decoder can reach the first position it has yet to cover. The paper also discusses an approach based on language-specific rules for shallow syntactic patterns. Those rules propose likely rearrangements, and the decoder receives lower distortion costs for the relevant pairs. The authors’ alternative learns which destination positions are plausible and uses those predictions to restrict expansion as it happens. That design gives them a way to ask which long moves deserve a closer look without having to specify a source-language rule for each construction.
The method, step by step
From an aligned sentence to decisions about what comes next
Word-after-Word, abbreviated WaW, asks whether the source word at a particular position should be translated immediately after the source word at another position. Both positions belong to the same input sentence. Their relationship is defined in translation order. If a French or English target word appeared between their respective translations, that fact on its own would tell the learner little about the relevant source sequence. The training procedure first builds a single order of all source positions from the bilingual word links, then learns which source positions are neighbors in that order.
A word alignment connects source and target positions that correspond in a parallel sentence. These correspondences can link a source word to several target words, and some source words can be unaligned. The authors give each aligned source word a sorting key by averaging the positions of the target words to which it is linked. For an unaligned source word, they use the mean of the neighboring words’ alignment means. Sorting the source words on those keys yields the reference permutation. This creates a sequence that covers the whole source sentence, including words for which the aligner supplied no direct target link.
The paper illustrates the rule with an unaligned source word labeled D. Its neighbors have alignment means of 2 and 5, so D receives 3.5. That key lets D take its place between the neighbors in the reconstructed order. The example shows what the rule supplies: a position for the word in a usable whole-sentence ordering, without requiring a new claim about which target word translates it. More broadly, the authors use mean positions so that a link to several targets can still yield a single ordering key. They acknowledge that the key is a rough guide when those links correctly point to target words that are separated from each other.
The reordered sequence gives the learner its positive examples. The training procedure walks through it while keeping track of which source positions have already been visited. At a position with a next word in the reference order, that successor forms a positive pair with the current word. Other uncovered positions in a sampling window become negative pairs. Covered positions do not serve as competing destinations because the simulated decoder has already translated them. This setup makes the negative examples resemble choices the actual decoder could face at an expansion step.
{u : σₜ − δ + 1 < u < σₜ + δ + 1 ∧ u ≠ σₜ₊₁}
Here u is a possible source destination, σ is the reference permutation, and t is the visit index in that permutation. The subscript t + 1 refers to the next visit. δ is the sampling window, and 1 is the offset in the paper’s window definition. The less-than signs bound the source positions considered, ∧ joins conditions, and ≠ excludes the reference successor σₜ₊₁. The uncovered-position condition is applied to this set. In the training exercise, the reference successor is supplied by the permutation itself. The window controls how many alternatives it is compared against and hence the balance of positive and negative pairs.
From bilingual word links to pruned translation search
The steps in order.
What the classifier can see
The classifier takes features of the departure word, features of the candidate destination, and combinations of the two. A surface-form feature can identify a particular observed word. A grammatical feature can express a condition that applies across different words with the same part of speech. The feature templates also look at nearby positions on either side. Some use individual intervening words or tags, while others combine the material between the endpoints into a sequence. For the intervening material, the features distinguish forward from backward movement. This lets the learner associate a pattern with the direction in which it is encountered. The grammatical categories are supplied by part-of-speech tagging.
Other templates mix word identity with a part of speech. A specific word can then supply evidence in one part of a pair while the other part is described by a category that covers many words. The shallow syntax features provide a larger local unit, the chunk. Chunk types describe the kinds of groups that contain the positions or their context. A chunk head supplies a word associated with the group as a whole. A separate feature records whether the two words are in the same chunk. These features give the classifier evidence about phrase structure without requiring it to find a full sentence parse. The feature design draws on the kind of local templates used in dependency parsing.
No feature gives the classifier an explicit jump length. The authors want the evidence for a return to a verb, for example, to come from the positions and their context instead of a learned penalty that increases just because the verb is farther away. The intervening-word and tag features can still reflect aspects of the material being crossed. The choice also leaves plenty of room for distance elsewhere in the decoder. Both its distortion cost and the hard limit still depend on distance, and the sampling window influences which pairs the classifier encounters in training.
The paper’s maximum-entropy classifier assigns a normalized probability to each outcome of a pair. The positive outcome indicates that the candidate destination follows the departure position in translation order. For clarity, the index over outcomes in the denominator is written separately from the outcome being evaluated.
P(Rᵢⱼ = Y | f₁ᴶ, i, j) = exp[∑ₘ λₘ hₘ(f₁ᴶ, i, j, Rᵢⱼ = Y)] / ∑ᵧ exp[∑ₘ λₘ hₘ(f₁ᴶ, i, j, Rᵢⱼ = y)]
P is the conditional probability, and the bar separates the outcome from the information on which it is conditioned. The sequence f₁ᴶ consists of the source words from the first position through position J, where J is the input length. The source positions i and j are the departure and destination. Rᵢⱼ is the binary relation for this ordered pair. Y is the outcome under evaluation, with 1 meaning that j follows i and 0 meaning that it does not. In the denominator, y ranges over those outcomes. The index m runs over features, hₘ is the value of feature m for the specified sentence, pair and outcome, and λₘ is its learned weight. The inner sums combine the weighted features. The exponential exp turns each resulting score into a positive value, and the denominator divides by the sum of those values across the outcomes.
Maximum-likelihood training chooses the weights so the observed binary labels receive high probability under this expression. The authors use MegaM with conjugate-gradient optimization, allowing a maximum of 100 iterations. The intrinsic experiments use 30K sentences sampled from the parallel training data. A window of δ=10 produces 8M training pairs, and features with fewer than 20 occurrences are excluded. The detector thus learns from many more local comparisons than there are training sentences. A sentence contributes a sequence of positive decisions and potentially several alternatives at each visit.
The classifier normalizes the outcomes for one pair at a time. Its positive probability for a particular candidate can be compared with the positive probability for another candidate. The sum of those positive probabilities over the available candidates does not have to be one. This distinction matters for early pruning. The candidates can change as the hypothesis covers more words, while the probability assigned to a particular pair is reusable wherever that pair arises. The set of available destinations still comes from the current hypothesis and the distance constraint.
How word scores fit a phrase decoder
The decoder reads the classifier’s weights when it starts. Before translating an input sentence, it extracts the necessary features and precomputes pair probabilities inside its distortion range. The pair calculation uses the source sentence and the specified positions. It is therefore possible to cache it before any English phrase has been selected. If several hypotheses end up comparing the same pair, the probabilities can be looked up again. The source context may include nearby words that are already covered in a particular hypothesis, since those words remain part of the input and their feature values remain fixed.
|j − i − 1| ≤ DL
Here i and j are the source positions of the departure and destination words, and 1 offsets the difference so that advancing to the immediately following word has zero distortion. The vertical bars indicate absolute value, and ≤ restricts the pairs to those at or below the distortion limit DL. The paper gives this condition for precomputing the relevant word-pair probabilities.
The main decoder still chooses and translates phrases. For a phrase extension, it derives a source-word order from the alignment stored with that phrase pair in the translation table. This is the same kind of conversion as in training: target positions guide the order of source words inside the phrase. WaW accounts for the jump from the current hypothesis’s most recently translated word to the first word in the phrase’s internal order, as well as each successive jump within the phrase. The decoder takes the log probabilities of those moves and adds them to its accumulated WaW score.
This design lets two segmentations that realize the same source-word order receive the same total WaW contribution. Suppose a span could be translated as one phrase or as consecutive smaller phrases. If the realized sequence of source positions is identical, moving a boundary changes which transitions are internal to a phrase and which cross between phrases. It leaves the transitions themselves identical. The paper says that a complete hypothesis for a source of length J has J factors in its WaW probability. The number of source positions sets the scale of that contribution even when different outputs have different numbers of English words or translated phrases.
The ordinary distance cost and the distortion limit have different functions at this point. The cost is a score attached to an extension. In its standard form, the contribution falls exponentially with the distance between the end of the last translated source phrase and the start of the next one.
d(f̃ᵢ₋₁, f̃ᵢ) = e^(−|start(f̃ᵢ) − end(f̃ᵢ₋₁) − 1|)
d is the standard distortion cost. f̃ᵢ₋₁ is the previous source phrase in the sequence of translation steps and f̃ᵢ is the new one. In this expression, i indexes phrase visits, and i − 1 indexes the preceding visit. start and end return source positions, the absolute-value bars turn the displacement into a distance, and subtracting 1 gives the zero-distortion continuation when the new phrase begins immediately after the old one ends. e is the base of the natural exponential, and the minus sign in the exponent gives longer moves lower values.
D(f̃ᵢ₋₁, f̃ᵢ) = |start(f̃ᵢ) − end(f̃ᵢ₋₁) − 1| ≤ DL
D is the distortion between the consecutive source phrases, and DL is the largest allowed distortion. As in the cost formula, f̃ᵢ₋₁ and f̃ᵢ are the preceding and new phrases, start and end identify the relevant source positions, and 1 accounts for the step to the next position. The bars take the absolute value, and ≤ marks the boundary of the legal moves. Raising DL admits longer jumps. The distance cost still scores them according to the configured distortion feature.
When the decoder prunes a movement
Before spending effort on extensions to a partial translation, the decoder identifies uncovered positions reachable under the fixed distortion limit. It looks up the WaW score for moving from the last translated word to a candidate destination. The paper specifies that, for a proposed phrase extension, the score used in this early decision is the log probability of going from that last word to the first aligned word under the phrase’s internal order. This opening transition serves as a quick test. The full WaW calculation for an extension also accounts for the remaining transitions within the phrase.
The early decision uses histogram pruning and a relative threshold. Histogram pruning ranks the candidates by score and keeps only those high enough in that ranking. The relative threshold compares a candidate with the strongest option and excludes those too far below it. The two checks solve different problems. A list can contain many similarly strong candidates, in which case the rank cutoff limits the work. A list can also contain only a few strong options, in which case the relative threshold keeps weak ones from surviving just because there is spare room in the rank cutoff.
A protected local range, called the non-prunable zone, exempts nearby movements from this classifier-based filter. Its width is denoted by ϑ. In the reported experiment, the decoder keeps the local range at a distortion of 5. A move outside that range must be reachable within a distortion of 18 and must meet both learned-score tests. It has to rank in the top 3 and attain at least 1/10 of the best score on the probability scale. These settings preserve ordinary local search choices while giving high-scoring distant ones a route into full hypothesis expansion.
The choices that survive can now be evaluated with the decoder’s collection of scores. The translation score considers the selected source and target phrases. Phrase orientation and distortion supply their own reordering evidence. An English fluency estimate scores the words appended to the target sentence. WaW also contributes its full extension score at this stage. It therefore has a different role at the two points in search. The early decision uses the pair score to control which moves merit full evaluation. The later decision lets multiple kinds of evidence determine which of the surviving translations should remain in the beam.
This alternation is what makes the search space dynamic. An uncovered word can be promising after a particular subject phrase and unpromising after a different one. As the last translated word and the set of uncovered positions change, the shortlist can change with them. Unlike a local prediction of a new distance limit, a strong score for a distant destination does not automatically authorize all destinations between it and the departure word. The classifier can recommend a return to one particular verb that the distance limit alone would treat as just another jump.
Experiments and results
Data, decoder and comparisons
The translation experiments use Arabic-to-English newswire from the NIST evaluations. The in-domain parallel training material contains 986K sentence pairs, with 31M English words. This in-domain parallel set omits the UN proceedings along with the portions of the small GALE collection that come from sources other than newswires. The English fluency component in the main experiments draws on the larger English side of the available parallel material, including the UN text, for 147M words. The large-scale setup adds English Gigaword material selected for how well its sections fit the development text by perplexity. The results identify the large interpolated English component with 2130M English tokens.
The authors tokenize the English text and segment the Arabic according to the Arabic Treebank scheme with AMIRA. The Arabic processing also supplies the part-of-speech and shallow syntax features used by WaW. The translation systems are implemented in Moses, and Berkeley Aligner produces the training alignments. The phrase table is filtered to remove statistically improbable phrase pairs, following work on phrase-table pruning. The annotation and alignment steps draw on Automatic Tagging of Arabic Text and Alignment by Agreement.
The held-out newswire splits are dev06-nw with 1033 sentences, eval08-nw with 813, and eval09-nw with 586. Each has 4 reference translations, and the authors give an average sentence length of 33 words. They tune decoder feature weights on dev06-nw, using minimum BLEU-error training. Repeating the optimization four times and averaging the resulting weights reduces the influence of a single optimization run. They choose the settings for early pruning on eval08-nw, then tune the resulting configuration again on dev06-nw. The blind evaluation uses eval09-nw.
The authors also evaluate vs-09, a subset of eval09-nw with 299 sentences whose Arabic main verb occurs before its subject. Shallow syntactic rules identify these sentences. The subset concentrates cases in which an English translation may benefit from moving the verb. It is also part of the blind test, so its scores describe a targeted slice of that test. The separate intrinsic classifier and ranking experiments use TIDES - MT 04. That distinction matters because a successful pair decision in the intrinsic experiment describes agreement with an alignment-derived order, while a high translation score on the newswire tests describes a complete decoder output.
The baseline uses a phrase translation component, hierarchical phrase orientation, a 6-gram English fluency component, word and phrase penalties, and early distortion cost. Early distortion applies the same total distortion cost as the standard function to a complete output, but it brings some of that cost forward during search. Partial hypotheses of similar length then encounter the cost earlier and are easier to compare on that basis. The change concerns the timing of a score and leaves the fixed distortion limit as a separate control. The main baseline uses a limit of 8. The other configurations add the WaW feature, open the limit to 18, or combine that larger limit with early pruning.
What the evaluation scores measure
BLEU and METEOR summarize translation quality by comparing the output with reference translations. The authors use both because a targeted change in word order should be evaluated alongside overall translation quality. A corrected long movement can matter greatly for one sentence while having a small effect on scores averaged over general newswire. The metrics cited for those comparisons are BLEU and METEOR.
The Kendall Reordering Score, or KRS, looks directly at the order in which translations of source words occur. The authors derive a source order from the decoder output and compare it with a source order derived from a reference translation. A pair contributes a disagreement if one order places its first word earlier and the other order places it later. This comparison uses where source words’ translations appear, allowing lexical choices to differ while the order agrees. The paper also uses a sentence-level brevity penalty to account for short outputs.
d(i, j) = 1 if πᵢ < πⱼ and σᵢ > σⱼ, otherwise 0
d(i, j) is the inversion contribution for source words i and j. In the scoring notation, πᵢ and πⱼ are the positions assigned to those words in the output order π, and σᵢ and σⱼ are their positions in the reference order σ. The < and > relations indicate opposite relative orders. The quantity is 1 for the indicated inversion and 0 otherwise. The two orders refer to the same source positions even when the output and the reference realize them with different target words.
K(π, σ) = (∑ᵢ₌₁ⁿ ∑ⱼ₌₁ⁿ d(i, j)) / (½ n(n − 1))
K is the normalized Kendall distance between the output order π and reference order σ. The sums apply d to the source positions indexed by i and j, from 1 through n, where n is the number of positions being ordered. The denominator ½ n(n − 1) counts the distinct pairs available for disagreement. Each inversion is counted in the orientation in which the first word precedes the second in π.
KRS(π, σ) = (1 − √K(π, σ)) · BP
KRS is the agreement score for the two source orders, π and σ. The square root √ applies to the Kendall distance K, and subtracting it from 1 makes lower disagreement yield greater agreement. The multiplication dot applies BP, the sentence-level brevity penalty. The source-to-reference word links for this evaluation come from the trained Berkeley Aligner. The source-to-output links come from the decoder trace.
A broad word-order score can still give a small change to a construction the authors care about. Their verb-specific variant, KRS-V, gives the disagreements a word-dependent contribution. A change in relative order involving a verb then enters the calculation, while a change between two other words contributes zero.
dλ(i, j) = λᵢ + λⱼ if πᵢ < πⱼ and σᵢ > σⱼ, otherwise 0
dλ(i, j) is the weighted contribution of the pair of source positions i and j. The order indices πᵢ, πⱼ, σᵢ and σⱼ and the comparisons < and > have the same meanings as in the unweighted expression. The weights λᵢ and λⱼ here belong to source words and are separate from the classifier’s feature weights. For KRS-V, each verb receives 1 and each other word receives 0. The plus sign combines the weights of the two words. The formula makes the score sensitive to where a verb appears relative to the rest of the sentence.
Medium-scale translation results
With the medium English component, the blind eval09-nw test gives the baseline 50.6 BLEU, 38.1 METEOR, 84.7 KRS and 86.2 KRS-V. Raising the limit from 8 to 18 with the same baseline feature set yields 50.3 BLEU, 38.0 METEOR, 83.9 KRS and 85.8 KRS-V. That comparison shows the cost of granting substantially more reordering freedom without the learned filter. In this setting the wider space is slower to search, and the system selects translations with worse ordering scores.
With WaW and early pruning at the limit of 18, the system gives 50.9 BLEU, 38.3 METEOR, 84.9 KRS and 87.0 KRS-V on eval09-nw. The paper reports the differences from the medium-scale baseline as +0.3 BLEU, +0.2 METEOR and +0.2 KRS, with statistical significance among those general scores for METEOR. Verb reordering improves significantly. On vs-09, the result is 86.2 KRS-V, against 84.8 for the baseline, a gain reported as 1.4 KRS-V. On eval08-nw, where the authors chose the pruning settings, the full system reaches 45.0 BLEU, 35.3 METEOR, 83.7 KRS and 86.3 KRS-V. The corresponding baseline scores are 44.8 BLEU, 35.2 METEOR, 83.4 KRS and 85.6 KRS-V.
Medium-scale verb reordering on the blind eval09-nw newswire test
With early pruning, the decoder reaches the strongest verb reordering score among these settings.
The numbers
| System or setting | KRS-V |
|---|---|
| Baseline, DL 8 | 86.2 |
| Baseline, DL 18 | 85.8 |
| WaW scoring, DL 18 | 86.2 |
| WaW scoring and early pruning, DL 18 (this paper) | 87.0 |
The timing sample is the first 500 sentences of eval08-nw, decoded on an Intel Xeon X5650, excluding initial loading. At a limit of 8, adding WaW scoring to the baseline changes the time from 87 to 94 milliseconds per input word. At a limit of 18, timing is 164 milliseconds per word for the baseline and 178 for the decoder with WaW scoring. The variant using WaW for early pruning takes 68 milliseconds per word at the larger limit. The paper reports a 22% speed-up over the limit-of-8 baseline. The separate scorer has a computational cost, and the early decisions reduce work enough to more than recover it on this sample.
Medium-scale decoding time on the first 500 sentences of eval08-nw
Screening moves before expansion makes the decoder with the wider limit faster than the narrower baseline.
The numbers
| System or setting | milliseconds per input word |
|---|---|
| Baseline, DL 8 | 87 |
| WaW scoring, DL 8 | 94 |
| Baseline, DL 18 | 164 |
| WaW scoring, DL 18 | 178 |
| WaW scoring and early pruning, DL 18 (this paper) | 68 |
Large-scale translation results
The large-scale experiment changes the amount of English training text and the beam. A beam is the collection of partial translations the decoder retains for further search. The authors increase its size from 200 to 400 hypotheses to give the baseline more opportunity to preserve good candidates. This experiment asks whether the learned pruning still helps when the baseline has more evidence about fluent English and more room to search.
On the blind eval09-nw test, the large baseline at a limit of 8 scores 51.6 BLEU, 38.3 METEOR, 84.5 KRS and 85.8 KRS-V. Raising its limit to 18 produces 51.4 BLEU, 38.1 METEOR, 83.0 KRS and 84.6 KRS-V. With WaW scoring and pruning at the wider limit, the scores reach 52.8 BLEU, 38.6 METEOR, 84.6 KRS and 86.6 KRS-V. On eval08-nw, the full system and the baseline both score 46.3 BLEU, while the full system reaches 85.7 KRS-V and the baseline reaches 85.0. On vs-09, the full system reaches 85.5 KRS-V against 84.5 for the baseline.
The paper reports statistically significant verb reordering gains of +0.7 KRS-V on eval08-nw, +0.8 on eval09-nw and +1.0 on vs-09 for the large-scale experiment. The timing sample gives 2579 milliseconds per input word for the limit-of-8 baseline, 5462 for the limit-of-18 baseline and 1588 for WaW with early pruning. Within this setup, the combination improves verb order and reduces decoder time relative to the baseline. The absolute times belong to the larger English component and wider beam together. The comparison between scales does not isolate the runtime or quality effect of either change by itself.
What the ablations show
Which features make useful pair predictions
The intrinsic evaluations separate the usefulness of the learned pair scores from the behavior of a complete translation system. For the binary classification comparison, examples drawn from 1324 sentences in TIDES - MT 04 yield 370K test pairs with a sampling window of δ=10. Precision measures how often a predicted successor is labeled correct. Recall measures how many labeled successors are recognized. The F-score balances these two aspects of the decision.
The words-only feature set has a precision of 73.1% and a recall of 16.4%, for an F-score of 26.8%. It makes relatively reliable positive predictions while recognizing few of the reference successors. With part-of-speech features alone, precision is 69.5%, recall is 54.8% and the F-score is 61.3%. The grammatical categories provide evidence that is shared across different words, a plausible explanation for the much better coverage of correct pairs. The experiment establishes the performance difference between the feature sets. It does not directly count how much of the recall improvement comes from any particular kind of lexical sparsity.
Combining word features, tag features and templates that mix them produces a 62.6% F-score. Adding shallow syntax raises it to 63.8%, with 70.6% precision and 58.1% recall. The authors use that full set in the remaining experiments. The comparisons support the cumulative value of lexical, grammatical and chunk evidence for the binary task. They do not isolate the contribution of mixed features from the contribution of combining the two basic families, since those changes enter the same comparison. Similarly, the chunk templates are introduced together, so the experiment does not independently measure the effect of chunk types, chunk heads or the same-chunk feature.
When a correct jump survives a shortlist
For early pruning, a more direct question is whether a useful candidate ranks near the top among the moves currently available. The authors simulate visits to source positions in their reference order and rank the uncovered positions reachable from each visit. They evaluate 40K decisions from TIDES - MT 04. Top-1 records how often the reference move ranks first. Top-3 records how frequently it ranks at most third. The long-jump analysis defines backward moves as long above a distortion of 7 and forward moves as long above a distortion of 6. Distance-based distortion serves as the comparison because it always prefers shorter jumps.
At a limit of 10, the proportion of reference moves outside the allowed range is 2.4%. At a limit of 18, it is 0.8%. That proportion is identical for WaW and distance-based distortion at either limit because reachability comes from the limit itself. At the wider limit, distance-based distortion achieves 62.0% Top-1 and 80.0% Top-3 overall. WaW achieves 71.2% Top-1 and 91.8% Top-3. At the limit of 10, WaW’s overall Top-1 is also 71.2%. The higher limit admits more reference moves and more alternative destinations, yet the proportion placed first by WaW is stable in this simulation.
The direction-specific results explain where the shortlist is most helpful. At a limit of 18, the distance scorer places the correct long backward jump among the top 3 on 18.9% of the relevant decisions. WaW does so on 68.0%. For long forward jumps at that same limit, distortion reaches 52.3% and WaW 51.8%. The evidence favors a narrower explanation than a blanket improvement for all long movements. Once the decoder has covered a long subject, jumping back to the earlier verb can compete with several nearer destinations. After covering the verb, the appropriate forward jump may lead to the first uncovered position, a choice that distance alone can favor.
Top-3 ranking of long backward jumps on TIDES - MT 04 at DL 18
Word-after-Word keeps the reference destination in the shortlist much more often than distance-based distortion.
The numbers
| System or setting | Top-3 accuracy % |
|---|---|
| Standard distortion | 18.9 |
| Word-after-Word (this paper) | 68.0 |
At a limit of 10, the corresponding long-backward Top-3 scores are 50.7% for distortion and 76.4% for WaW. For long forward jumps at that limit, they are 66.0% and 69.3%, respectively. The window used for training corresponds to the tighter ranking condition, so the results at the wider limit also test the learned scores among a broader set of available pairs. The comparison offers a reason that the filter can work in spite of imperfect binary classification. A move can survive a short ranking even when the classifier would be too cautious to mark it positive in a separate binary decision.
Scoring a movement and deciding to explore it
The paper first compares standard and early distortion costs with the medium English component on eval08-nw. Early distortion consistently does better, with the clearest separation at a limit of 18. There, the authors report that raising the limit from 8 to 18 costs the early version just 1 KRS point, whereas using standard distortion leads to losses of over 1 BLEU point and nearly 7 KRS points. This comparison gives the baseline an advantage that matters for the central question. The baseline already uses an earlier estimate of distortion cost when competing partial hypotheses are compared.
Holding the medium-scale limit at 8 and adding WaW as an ordinary scoring feature raises the blind-test results to 51.1 BLEU, 38.3 METEOR, 85.1 KRS and 86.8 KRS-V. This supports the authors’ claim that word-pair evidence can complement the existing phrase orientation and distortion scores. The decoder evaluates extensions with additional evidence, and the runtime rises. Under the larger limit of 18, WaW scoring alone gives 51.0 BLEU, 38.3 METEOR, 84.2 KRS and 86.2 KRS-V on the blind test. Its KRS-V recovers the narrower baseline’s score, while its KRS remains below the narrower baseline’s 84.7 and its runtime reflects the wider search.
Adding early pruning to the limit-of-18 WaW system raises KRS from 84.2 to 84.9 and KRS-V from 86.2 to 87.0 on the blind test. BLEU changes from 51.0 to 50.9, and METEOR is 38.3 in both configurations. The result indicates that deciding which paths deserve expansion makes a difference beyond including the pair score in the ordinary feature set. The experiments compare configurations with their weights tuned for use. They show how the resulting decoders behave, while the individual change from simply toggling pruning with every other parameter frozen is left unmeasured.
The choice of pruning settings is itself a controlled search. On eval08-nw, the authors vary the histogram among 1, 2, 3, 4 and 5 and the relative threshold among 0.5, 0.25 and 0.1. They select a histogram of 3 and a threshold of 0.1 using BLEU and KRS, with the local protection kept at 5. This tells the reader how the final setting was chosen. The paper reports the selected combination and its held-out evaluation. It does not give a full sensitivity comparison for each parameter or establish the separate contribution of the protected zone.
What the decoder actually did with the extra range
The authors inspect the medium-scale decoder’s log to see how often the selected translations use the extra freedom. On the 586 sentences of eval09-nw, the pruned system makes 132 phrase-to-phrase jumps longer than the protected distortion of 5. Of those, 38 exceed a distortion of 8, and 27 of the jumps beyond 8 occur in vs-09. These are movements in the chosen translations. The counts show that the space opened by the larger limit gets used and that the movements beyond the baseline limit concentrate in the subset where verb order is of special interest.
One example has Arabic verb–subject–object order and a long subject identifying the Saudi ambassador to Lebanon. The baseline leaves the verb ahead of the English subject, making the output hard to understand. The pruned system constructs the ambassador’s title and name as the subject and places the verb after it, before continuing the rest of the clause. The two movements that make this possible have distortions of 9 backward and 8 forward. The first returns to the verb after the subject has been covered, and the second takes the decoder back across the intervening material.
The other example contains a verb followed by its pronominal object and then the subject, who is identified by a title and name. The baseline’s beginning obscures the relationship between the person doing the calling and the people being called upon. The system with WaW and pruning puts the subject before the verb and follows it with the object in English. The paper reports a backward movement with a distortion of 10 and a forward movement with a distortion of 8. Together with the ranking experiment, these examples show what a successful long jump looks like inside a complete translation, and why identifying the backward destination is particularly valuable for these clauses.
Limitations
Limits the authors identify
The authors note that a reference permutation based on average alignment positions handles some correspondences poorly. A source word may legitimately translate into target words that are separated by other material. Its mean position collapses those links into one point, giving an imperfect picture of the multiple places where the source word is realized. The paper relates this to the broader use of contiguous phrases in ordinary phrase-based translation. The classifier learns successors defined by the heuristic permutation, so the intrinsic scores measure agreement with that representation.
The size of the classifier training run is also constrained. MegaM could manage 8M training pairs in the authors’ setup. According to the paper, expanding the run from 4M to 8M brought only a small benefit in the authors’ experiments, and the authors suggest investigating learning methods that scale better. That observation concerns the tested learner and sampling setup. It provides little evidence about how much additional word-aligned data, new features or different optimization would help in a larger training study.
The authors expect the direction-specific ranking results to change with the language pair. In Arabic-to-English newswire, an important pattern is to leave a verb temporarily untranslated, cover its long subject and jump backward to it. They mention German-to-English as a case in which the source verb is frequently later than its counterpart in the target. The pairwise algorithm is formulated in terms of source words and their context, making it applicable in principle beyond the motivating Arabic pattern. The experiments establish performance for the Arabic-to-English news task.
The paper also recognizes that long reorderings are rare enough for general translation measures to be relatively insensitive to them. Improvements on KRS-V should be read as evidence about verb placement, with BLEU, METEOR and KRS supplying complementary evidence about the translations overall. The authors use the targeted subset and the decoder traces to connect verb scores to concrete reordering decisions. The gain on the blind test in the medium-scale setup is clearest for that targeted measure.
Limits of what the comparisons establish
The evaluation compares systems that use automatic word links and automatic source annotation. The intrinsic reference uses a permutation inferred from an alignment, and the translation reordering measures compare an aligned reference order against the order derived from the decoder trace. A misleading link can therefore affect both the training examples and the measurement of order. The findings are strongest where the ranking, verb scores, jump counts and examples point in the same direction. There is no human assessment in the reported Arabic-to-English experiments that separately measures how often the change corrects meaning or fluency.
The intrinsic evaluation follows reference prefixes. At each step it asks what should follow the source positions visited in reference order up to that point. A running decoder will also reach prefixes that diverge from that order. Its available destinations and the relevance of their pair scores may then differ from those in the simulation. The intrinsic ranking result therefore measures how often a reference move survives under simulated conditions. The end-to-end experiment is needed to show whether screening remains helpful through the actual sequence of search decisions.
The early filter relies on a single opening transition before the decoder can fully compare the proposed translations. A distant movement with low WaW probability can be eliminated even if the way it continues would have scored well under the full set of features. The protected range prevents this kind of classifier-based exclusion locally. Outside that range, the risk is part of the tradeoff the authors test. Their experiments identify a setting that works on these news sets, with one set used for selection and another for blind testing. They leave open how the balance changes under different protected ranges, thresholds or styles of text.
The authors interpret persistence of the gains with the larger English component and beam as evidence that their method addresses scoring errors as well as search errors. The larger setting makes it harder to attribute the entire effect to a narrow baseline beam. It still does not provide a direct count of cases where the decoder failed to find a high-scoring hypothesis and cases where the baseline scores preferred a worse translation. The adjusted decoder both scores extensions differently and admits a different set of paths, so both mechanisms can contribute. The clear experimental result is that a stronger baseline still loses reordering quality when its distance limit is relaxed, and that the WaW system with early pruning recovers and improves that quality in the reported comparison.
The vs-09 subset is automatically selected from the blind test, so it measures a focused portion of the same test material. Its results show performance where the proposed mechanism should matter, and the full eval09-nw results show what happens when such sentences are mixed into ordinary newswire. The example translations illustrate possible successes within that material. They cannot tell how often a surviving long movement fixes a verb, makes an unrelated change or harms an otherwise good sentence. Likewise, the speed figures describe one decoder implementation and the stated timing sample, excluding initial loading.
What came after
The paper leaves open whether the same pruning strategy helps with other language pairs and whether larger training runs improve the pair scorer. There are no later-work records here that establish how subsequent studies used or extended Word-after-Word.
Cite
Cite as Arianna Bisazza and Marcello Federico. 2013. Dynamically Shaping the Reordering Search Space of Phrase-Based Statistical Machine Translation. Transactions of the Association for Computational Linguistics.
@article{bisazza2013dynamically,
title = {{Dynamically Shaping the Reordering Search Space of Phrase-Based Statistical Machine Translation}},
author = {Arianna Bisazza and Marcello Federico},
journal = {Transactions of the Association for Computational Linguistics},
year = {2013},
doi = {10.1162/tacl\_a\_00231},
url = {https://doi.org/10.1162/tacl_a_00231}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bisazza-2013-dynamically-shaping-reordering-search-space/