---
title: "Comparing Reordering Constraints for SMT Using Efficient BLEU"
description: "This paper compares phrase reordering rules for German-to-English translation by estimating the best BLEU score each rule set can reach."
canonical: "https://research.elamur.ai/free/en/papers/dreyer-2007-comparing-reordering-constraints-smt-efficient/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/dreyer-2007-comparing-reordering-constraints-smt-efficient/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2007](https://md.research.elamur.ai/free/en/papers/2007/) / Comparing Reordering Constraints for SMT Using Efficient BLEU Oracle Computation

# Comparing Reordering Constraints for SMT Using Efficient BLEU Oracle Computation

Paper · 2007 · Markus Dreyer, Keith Hall and Sanjeev Khudanpur

**Authors:** [Markus Dreyer](https://md.research.elamur.ai/free/en/authors/markus-dreyer/), [Keith Hall](https://md.research.elamur.ai/free/en/authors/keith-hall/) and [Sanjeev Khudanpur](https://md.research.elamur.ai/free/en/authors/sanjeev-khudanpur/) · **Year:** 2007 · **Venue:** Proceedings of SSST, NAACL-HLT 2007 / AMTA Workshop on Syntax and Structure in Statistical Translation · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**29** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2114060876) · [Cited by **18** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/dreyer-2007-comparing-reordering-constraints-smt-efficient/cited-by/) · [Proceedings of SSST, NAACL-HLT 2007 / AMTA Workshop on Syntax and Structure in Statistical Translation](https://aclanthology.org/volumes/W07-04/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/W07-0414/)
- [PDF](https://aclanthology.org/W07-0414.pdf)
- [DOI 10.3115/1626281.1626295](https://doi.org/10.3115/1626281.1626295)
- [OpenAlex](https://openalex.org/W2114060876)

Citations: OpenAlex, 2026-10-14.

## Summary

A German sentence can yield plausible English phrases in an order that an English reader would find awkward. A translation system has to decide which phrases to move and how far they can go. Allowing every conceivable order makes the search grow rapidly. Restricting the moves makes the search manageable, at the risk of excluding the order that best fits the sentence. This paper asks how much those restrictions matter when a system has already chosen its words and phrases. The authors compare reordering rules for statistical translation by letting each set of rules search for the output that best matches a human reference. [Machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/)

The experiment starts with German-to-English candidates whose phrases still follow the source order. Those candidates are shared across the conditions. The authors compare rules that permit nearby swaps, rules that let the decoder choose from the earliest remaining phrases, and an Inversion Transduction Grammar, or ITG, that can swap blocks of phrases recursively. The search uses an approximate [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/) to pick promising orders and standard BLEU to evaluate the returned translations. Because the search sees the reference, its result is an *oracle*: an estimate of what is attainable with the available phrases and the allowed moves.

On the NAACL 2006 SMT Shared Task German-to-English test data, the no-reordering oracle scores 21.89 BLEU for the reported 1–40 sentence-length range. IBM(4), which can choose from the first 4 remaining phrases at each step, reaches 29.17. The pruned ITG reaches 29.63. The more restrictive IBM(2) and local MJ-2 rules are close to each other at 26.07 and 25.89. The advantage of the more permissive rules is especially evident in the longer sentence groups. Restricting ITG by the size of the blocks it can swap also shows that nearby moves account for much of the improvement, with additional gains when larger spans can be inverted.

The comparison measures the possibilities a rule set gives a decoder that can consult the reference. An ordinary decoder would still have to learn which of those possibilities to choose. The search also carries a cost: the ITG and IBM(4) oracle implementations can take much longer than the more restricted alternatives. The paper makes these questions separately observable. A rule set can be judged by the orders it permits, the work needed to search them, and, in a separate experiment, how successfully a trained system chooses among them.

## Deep dive: Comparing Reordering Constraints for SMT Using Efficient BLEU Oracle Computation

This paper compares phrase reordering rules for German-to-English translation by estimating the best BLEU score each rule set can reach. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Word choice and word order

Suppose a translation system has identified a useful English equivalent for each part of a German sentence. That work leaves a separate problem. The English equivalents may need to appear in a different sequence. A multiword equivalent can travel as a unit, and an entire group of such units may have to move together. A procedure that permits only nearby swaps will handle some changes readily. When a phrase belongs much earlier or later in the sentence, the procedure needs a way to reach that position without making every other possible rearrangement available.

The paper uses *phrase* in the operational sense of phrase-based translation. It is a sequence of consecutive words that can be looked up in a phrase translation table. The source phrase and its English rendering can differ in length. Once the baseline has selected corresponding phrases, the reordering step works with the resulting English units. A phrase containing several words moves together. The paper therefore has two useful notions of size: the number of units that can move and the number of words used to assess the result. A short span in phrases can cover a longer stretch of the final sentence.

The search problem arises because the set of arbitrary orders grows factorially with the number of movable units. Every new unit can be placed at many positions relative to the others, with many ways to order the rest. Phrase-based translation already faces choices about how to segment the input and which equivalent to use for a segment. The paper first makes those choices in a monotone baseline, where source spans are consumed in order. It then examines the ordering search by itself. Even with a fixed segmentation and fixed target phrases, different rules can make very different numbers and kinds of outputs reachable.

The cost of restricting the search is easiest to see when the right words are available but their reference order is forbidden. The decoder can search every available alternative and still miss that order. When a good order is reachable, there is a different question: can the decoder recognize it from its ordinary scoring features? A system that makes a poor choice may have either problem. Comparing only its final translation score leaves both explanations open, and changing the reordering machinery can change both at once.

#### What previous comparisons could establish

The authors describe earlier experiments by Zens and Ney that compared trained implementations of different reordering constraints. Such an experiment measures how the resulting translation systems perform. A system's output depends on the moves its rules permit, on the features used to rank those moves, and on how the feature weights are estimated. When two systems differ in output quality, the comparison can show which implementation performed better under the tested conditions. It gives less direct evidence about whether the weaker result arose because good orders were unavailable or because the ranking procedure failed to choose them.

The paper also describes an earlier comparison by Zens and colleagues in which ITG results depended strongly on the particular probability assignment used in the experiment. That observation motivates an evaluation in which the authors can change the set of reachable orders while using the same reference-based criterion to choose among them. The translation tables still have to be estimated from data. The reordering rules themselves can be compared without learning a separate set of preferences for each rule family. This shifts the object of the experiment from the quality of a trained reordering system to the potential of the constraint it uses.

A different line of work examined the capacity of ITG using hand-aligned material. The analysis by Wellington and colleagues compared the ordinary grammar with a version that admits gaps. Hand alignments let researchers ask whether observed correspondences can be represented by a grammar. The paper here asks a related question through a translation pipeline: given actual candidate phrases from a baseline, how good an output can the grammar make available according to a reference-based score? The tests expose different aspects of a constraint. Representing a particular alignment and reaching a strong score with a given inventory of phrases require different evidence.

#### What the competing constraints allow

The local rules come from the approach of Kumar and Byrne. MJ-1 permits exchanges between adjacent phrases within a window of 2 phrases. A phrase participates in at most one such swap. For a source-order sequence `abc`, the constraint permits `acb` and `bac`. A reversal such as `cba` requires more movement than this rule allows. MJ-2 works within a window of 3 phrases and permits a jump of length 2. It can produce every order of `abc`. Overlapping opportunities for local movement do not amount to free permutation over a longer sequence. The paper gives `cadb` as an order that MJ-2 cannot generate from `abcd`.

The IBM rules express flexibility through a list of unfinished work. At each generation step, the decoder considers the first `k` phrases in source order among those it has yet to translate or emit. It chooses one of them, removes it from the unfinished list, and repeats. Because this list changes as phrases are used, `k` controls the size of the choice at each step. Its effect on displacement is asymmetric. An early phrase can be passed over repeatedly and end up at the far end of the output. A later phrase has to wait until it is close enough to the front of the unfinished list to become eligible.

This distinction explains why IBM(2) and MJ-1 remain different even though each admits some adjacent exchanges. MJ-1 commits to a bounded local rearrangement of neighboring phrases. IBM(2) can keep declining to emit the same initial phrase while emitting phrases that become eligible beside it. The paper places MJ-1 inside the IBM(2) search space and MJ-2 inside IBM(3). The test includes IBM(2) and IBM(4). In particular, there is no inclusion claim placing all of MJ-2 inside IBM(2), so a comparison between those settings asks which of their different options is more useful in the experiment.

The grammar-based constraint is organized around contiguous spans of the input. Each span can be split into adjacent children. The decoder can put the resulting child blocks in the same order they had in the input or put the right child before the left. Because the same operation applies inside each child, a series of such decisions can change the sentence globally. The topmost swap can move a phrase from an end of the input to the opposite end of the output. The constraint is the requirement that each order admit a recursive binary decomposition of this kind. [Stochastic Inversion Transduction Grammars and Bilingual Parsing of Parallel Corpora](https://md.research.elamur.ai/free/en/papers/wu-1997-stochastic-inversion-transduction-grammars-bilingual/)

The recursion gives ITG a different kind of restriction from a fixed window or a queue of remaining phrases. When the decoder swaps children, it moves each child as a block with its own internal order already decided. It cannot interleave the children of that split. The orders `cadb` and `bdac` from `abcd` cannot be decomposed into the required straight or inverted contiguous splits. IBM(4) admits both orders. The paper also cites the phrase-reordering work of Xiong and colleagues in its discussion of approaches that permit global movement while ruling out some permutations. [Maximum Entropy Based Phrase Reordering](https://md.research.elamur.ai/free/en/papers/xiong-2006-maximum-entropy-based-phrase-reordering/)

The distinction matters for interpreting the experiment. Larger local windows and larger IBM choice sets are familiar ways to give a decoder more freedom within one family. Moving from an IBM constraint to ITG also changes the structure of the allowable moves. A high score for ITG would show that its particular combination of recursive local and global movement is useful for the tested candidates. The rules alone give no reason to expect the same ordering of the methods for every sentence.

### The method, step by step

#### From an input sentence to a shared set of candidates

The comparison begins by creating candidate English translations in source order. For a German sentence, the baseline considers translations for its contiguous substrings. Some substrings can be translated as individual words, and others can use entries from the phrase table. The candidates form a lattice, a graph of alternatives that can share positions and partial paths. An edge represents a translation choice for a source span. A complete path chooses a sequence of spans that covers the source sentence and yields the corresponding English words.

The translation probability for a phrase uses a mixture of scores in both directions. One score asks how probable the foreign phrase is given the English phrase, and the other asks how probable the English phrase is given the foreign phrase. The paper gives the directional probabilities without specifying mixture weights in its description. It also describes an exponential mechanism for discarding short phrase translations, with a parameter estimated on held-out data. These decisions affect which English phrases and segmentations have a chance to reach the oracle.

```
p(f | e), p(e | f)
```

Here `p` denotes a conditional translation probability. The symbol `f` is the foreign phrase and `e` is the English phrase. The bar means “given.” The terms inside the parentheses identify the phrase being predicted and the phrase on which the prediction is conditioned. The baseline uses a mixture of the displayed probabilities for its translation choices.

Phrase translations can change the number of words even before the reordering begins. The paper illustrates an expansion with the German compound `Präsidentschaftskandidat` and its English equivalent `presidential candidate`. Its example of a shorter English equivalent is `we discussed` for `wir haben diskutiert`. These changes come from whole phrase-table entries. The baseline has no separate mechanism that introduces arbitrary missing words, removes arbitrary extras, or builds a phrase from disconnected parts of the source. The English words inside a selected entry retain their order throughout the reordering step.

The baseline ranks paths by its own lattice scores and extracts a list of candidates. It records phrase boundaries because a string of English words alone would lose information that the reordering oracle needs. Two candidate paths could have similar English text but give the search different units to move. Grouping words into a larger phrase can preserve a useful expression and reduce the number of movable units. It can also prevent a useful order that would require one of those words to separate from its neighbors.

The authors then use the reference to select a smaller group of promising unreordered candidates. For each of those candidates, each tested constraint gets a chance to find a high-scoring order. This procedure lets the final output vary both in the initial choice of candidate and in how that candidate is arranged. The common element across conditions is the set of baseline candidates that reaches the reordering stage. The experiment also retains a no-reordering condition that can choose an unreordered candidate according to the reference.

From monotone candidates to reordering oracle scores The steps in order.

#### Why an order can be scored while it is being built

BLEU rewards overlap between a candidate and a reference in consecutive sequences of words. Such a sequence is an [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/). A single-word match establishes that a word appears in both strings. A match involving several consecutive words also gives evidence about how words are arranged. In a fixed candidate, every permitted permutation contains the same words, so the changes that matter for BLEU come from the sequences that contain more than one word. Even when all the words match individually, separating words that should be adjacent can reduce the score.

The decoders exploit the fact that attaching a word creates new sequences only at the point of attachment. A sequence that has already been counted entirely within the current path stays there. To identify each new sequence ending at the appended word, the algorithm needs the appended word and the 3 immediately preceding words. Earlier words still contribute through the counts already recorded. This gives the search a compact way to continue scoring a partial order without reconstructing its whole history at every step.

For a given order of n-gram, the denominator of precision is the number of positions where a sequence of that size can start in the current string. The numerator counts the matching sequences found at those positions. The paper illustrates this with a path of length 4 and 2 matching bigrams. Its bigram precision is 2 / 3. The numerator and denominator have different roles during a search. Extending a string can add possible positions even if none of the newly formed sequences matches the reference. A longer partial string is therefore not automatically a higher-scoring one.

```
Pₙ = Mₙ / (ℓ − n + 1)
```

Here `Pₙ` is the approximate precision for sequences of order `n`. The order `n` is the number of words per sequence, and `Mₙ` is the count of matches of that order. The symbol `ℓ` gives the current string length in words. The denominator `ℓ − n + 1` counts the possible starting positions for sequences that fit in the string. The formula describes an order for which there are positions to count. The search uses a small epsilon value when a precision is zero.

The search score is a geometric mean of those precisions. The authors express it through logarithms so that each n-gram order contributes a log precision and the result can be returned to the ordinary score scale by exponentiation. This gives consecutive matches of different lengths a role in the comparison. In particular, keeping an existing run of matching adjacent words can be valuable because it can contribute to matches at several orders.

```
S = exp((1 / 4) Σₙ₌₁⁴ log Pₙ)
```

Here `S` denotes the approximate BLEU score used within the search. The symbol `Σ` denotes summation, with `n` ranging from `1` through `4`. The term `Pₙ` is the precision for n-grams of order `n`, and `log` takes its logarithm. The factor `1 / 4` averages the log precisions. The function `exp` exponentiates that average. This score omits the brevity penalty and uses the search's approximate match counts.

#### Searching the lattice for local and IBM orders

The paper uses two ways to represent the permitted orders. For the local rules and IBM rules it constructs a lattice of permutations for the unreordered candidate. This is distinct from the earlier translation lattice. The translation lattice represents choices of English phrases and source segmentation. The permutation lattice represents ways to arrange a particular set of chosen phrases. Each complete path spells an order permitted by the constraint that produced the lattice. Sharing parts of paths makes it possible to explore alternatives without storing every complete output as a separate string.

The decoder the authors call Dijkstra-style extends a path one word at a time. Starting from the initial lattice state, it follows an outgoing edge, updates the match counts, and retains the word context needed for the next extension. The state for scoring a path includes its endpoint, its length and its most recent 3 words. The match counts are kept in a hash table indexed by the resulting subpath state. An *inside score* describes the score of the partial output already assembled, ahead of whatever suffix may later extend it.

```
β([0, k, len + 1, w₂, w₃, wₙₑ𝓌])
  = max get_bleu([0, j, len, w₁, w₂, w₃], [j, k, wₙₑ𝓌])
```

Here `β` is the inside score retained for the bracketed state. The `0` designates the start of the lattice, `j` is the endpoint of an existing partial path, and `k` is the endpoint after a legal extension. The value `len` is the length of the existing path in words. The extension adds `1` word, so the resulting length is `len + 1`. The words `w₁`, `w₂` and `w₃` are the old right-edge context in order, and `wₙₑ𝓌` labels the newly attached word. After the extension, the stored context drops `w₁` and ends with `wₙₑ𝓌`. The bracket `[j, k, wₙₑ𝓌]` describes the edge used for the extension. The function `get_bleu` updates the counts and computes the approximate score. The `max` selects the highest-scoring legal predecessor and extension for the resulting state.

The lattice node matters because it determines which continuations are available. The word context matters because histories that reach the same node can create different matches when they take the same outgoing edge. The length matters for computing precision. The recurrence puts these requirements together. When several histories reach a common state as defined by those fields, the decoder compares the scores it obtained for that state. It avoids carrying the full set of word histories forward, one of the reasons this is a tractable approximation.

The algorithm is related to combining a graph search with a finite-state scorer for sequences of up to 4 words. Here the score derives from reference matches. To see what is shared, consider two partial paths ending with the same words and facing the same outgoing edge. The newly formed boundary sequences will be identical for that extension. Their counts from earlier parts of the paths may differ. Keeping a compact score and associated counts therefore saves work while discarding distinctions that might matter to a later comparison. The authors present the search as a way to recover very good permutations, with guarantees limited by what this scoring and representation retain.

Phrase boundaries remain enforced even though the scoring traversal works word by word. A multiword phrase contributes several words for scoring. The permitted lattice paths still emit those words as part of a phrase that moves together. This distinction is especially important at phrase joins. Some reference matches are entirely inside a phrase and are unaffected by its position. Other matches span the join between consecutive phrases. It is through those joins that the same chosen phrases can produce markedly different scores.

#### Building ITG orders from smaller spans

For ITG, the paper generates the reorderings inside the decoder rather than constructing a permutation lattice in advance. The decoder uses a chart, a collection of candidate analyses grouped by source span and stored context. Its bottom-up procedure resembles CKY parsing: initialize the chart with the smallest units, combine analyses of adjacent spans, and continue until an analysis covers the whole input. Here the objective is to find a high-scoring order of the phrases, so the combinations produce alternative output strings. [Parsing](https://md.research.elamur.ai/free/en/concepts/parsing/)

Each initial chart entry is a complete baseline phrase. The authors precompute its internal match counts and precision score. Treating it as a lexical unit prevents the chart from splitting a phrase even when it contains several English words. At a larger span, the decoder considers splits between units. A straight combination emits the selected left child followed by the selected right child. An inverted combination emits the right child followed by the left. Both children cover the same input spans whichever way they are joined.

With lattice paths, scoring an extension requires the words at the old path's right edge. With ITG, each constituent might eventually be placed on either side of a join, so the decoder stores the 3 words at both ends. Internal matches from the children are carried forward. New matches are determined by the suffix of the child that is emitted first and the prefix of the child that comes after it. The combined constituent then has its own outside word context, ready to participate in a larger join.

```
β([i, k, (wₐ, wᵦ, w𝒸), (wₓ, wᵧ, w𝓏)])
  = max(βₛ([i, k, (wₐ, wᵦ, w𝒸), (wₓ, wᵧ, w𝓏)]),
        βᵢ([i, k, (wₐ, wᵦ, w𝒸), (wₓ, wᵧ, w𝓏)]))
```

The brackets identify a constituent covering the input from boundary `i` to boundary `k`. The tuple `(wₐ, wᵦ, w𝒸)` records its leftmost words in output order, and `(wₓ, wᵧ, w𝓏)` records its rightmost words in output order. The symbol `β` is the best inside score for that state. The subscript `ₛ` on `βₛ` labels the straight case and the subscript `ᵢ` on `βᵢ` labels the inverted case. The `max` operation chooses between those cases for the specified output boundaries.

The inverted case makes the direction of the join explicit. Split the source span at `j`. The child beginning at `j` must come first in the output, so its beginning supplies the parent's leftmost context. The child ending at `j` comes last, so its ending supplies the parent's rightmost context. The other edges of the two children meet in the interior of the parent. The words at that meeting point determine the matches added by inversion. Different choices of split and child order can lead to the same outer context, so the recurrence searches over the options that yield that state.

```
βᵢ([i, k, (wₐ, wᵦ, w𝒸), (wₓ, wᵧ, w𝓏)])
  = maxⱼ, wₐ′, wᵦ′, w𝒸′, wₓ′, wᵧ′, w𝓏′
      get_bleu([j, k, (wₐ, wᵦ, w𝒸), (wₓ′, wᵧ′, w𝓏′)],
               [i, j, (wₐ′, wᵦ′, w𝒸′), (wₓ, wᵧ, w𝓏)])
```

Here `βᵢ` is the best inverted inside score for the specified state, `i` and `k` bound the parent span, and `j` is an internal split. The unprimed `w` entries denote the same outer word contexts as in the preceding formula. The primed entries denote the child contexts at the inner join: `(wₓ′, wᵧ′, w𝓏′)` is the trailing context of the source-right child, and `(wₐ′, wᵦ′, w𝒸′)` is the leading context of the source-left child. The function `get_bleu` combines the counts from the children in the displayed output order, updates the counts at the join, and computes the score. The subscripts on `max` identify the split and boundary choices over which the decoder searches. A straight combination would join the source-left child before the source-right child.

The implementation prunes the ITG chart with a beam. A beam keeps promising partial alternatives and removes lower-scoring ones so that they cannot participate in subsequent combinations. The reported ITG runs use a threshold of `10⁻⁴`. The paper also varies the bound `ρ`, measured in phrases, on the size of a constituent that can be built with an inversion. If the combined child span exceeds `ρ`, the join has to be straight. Any inversions already made inside smaller children can still appear in the final sentence. Thus an upper-level straight join can preserve extensive reordering within its parts.

#### Where the search score departs from standard BLEU

Standard BLEU clips counts. Once a candidate has used up the reference's count for a particular word sequence, further appearances of the same sequence do not earn additional credit. Without clipping, a local update can give credit each time a sequence appears in the reference, regardless of whether the candidate has already exhausted the available count. The word context maintained by the decoders can tell which sequences were just created. It does not record how frequently each of those sequences occurred throughout the previously assembled material.

Tracking that information would require histories to distinguish many more cases. The paper discusses an earlier algorithm that carries a multiset of unmatched reference words at each state. A multiset tracks repeated occurrences as well as identities. Keeping this kind of reference-use information allows modified precision to be computed, at the cost of exponential search space in the cited approach. The paper's decoders retain local context and aggregate match counts to keep the dynamic program polynomial in size and runtime. The authors note that clipping has its largest effect on single-word scores, which are constant as a fixed inventory of words is rearranged.

The brevity penalty concerns the length of the candidate relative to the reference. Every permutation of a fixed candidate has the same length, so that penalty is constant during a comparison among its orders. The paper points out that different candidate lengths can matter if candidates are represented jointly. In that setting, the authors suggest that a decoder could keep track of length ratios when it attaches phrases. The omission in the permutation search follows from the narrower comparison being made there.

The search also works sentence by sentence. Ordinary corpus BLEU combines counts across translations for a test set before computing its precision terms. Improving the score of one sentence in isolation is a different objective from choosing the sentence that best complements every other translation in the corpus. For example, candidate orders can differ in which orders of matching sequences they preserve. Their value to an aggregate score can depend on the counts already supplied by other sentences. Scoring separately makes the decisions independent and allows sentences to be processed in parallel. The authors evaluate the chosen outputs afterward with standard BLEU.

### Experiments and results

#### Training and test material

The translation probabilities come from the Europarl German-English training set. The authors use GIZA++ and the Pharaoh phrase extraction algorithm to construct the information used by the word and phrase translation tables. They optimize parameters for the initial translation lattices on a small held-out set. For those lattices, the experiment uses the 20 best options for entries with phrases of 3 or fewer words. The reordering constraints are applied as rules. Their performance in the experiment does not include the effect of estimating reordering preferences from the training sentences.

The test material comes from the NAACL 2006 SMT Shared Task. For every test sentence the baseline extracts the 1000-best paths according to its translation lattice scores. The reference is used to choose the 10-best unreordered candidates for the oracle comparisons. The decoder searches the allowed permutations of each shortlisted candidate and the procedure keeps the best returned sentence. The reported average phrase length in the test candidates is 1.42 words. That statistic describes the units in these candidates. It does not turn the phrase limits used by the decoder into the sentence-length groups used for reporting.

This setup provides a common baseline with favorable candidate selection. The no-reordering condition can consult the reference and choose a good candidate in source order. An ordinary output that simply took the path with the best translation lattice score would answer a different question. The comparison here asks how much more reference overlap becomes available by rearranging phrases after using the reference to make a good choice of baseline material. A tight constraint can make an improvement only if it admits a useful order of at least one of the shortlisted candidates.

#### Overall scores and what they measure

The paper reports standard BLEU for the final selected outputs and also gives NIST scores. The BLEU values reflect the outputs actually recovered by the oracle procedures. The search score helps find those outputs, but it is not the number in the results table. This matters for interpreting improvements. For instance, ignoring clipping during search may change which sentence is chosen. When the experimental score is calculated, repeated matches are subject to the standard BLEU rules again.

Reordering oracle BLEU on the NAACL 2006 German-to-English test set, sentence lengths 1–40 The pruned ITG leads IBM with the wider choice set, and both score above the local and more restricted settings.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| No reordering | 21.89 |
| MJ-1 | 23.95 |
| MJ-2 | 25.89 |
| IBM(2) | 26.07 |
| IBM(4) | 29.17 |
| ITG with pruning (this paper) | 29.63 |

The top overall BLEU comes from the pruned ITG. IBM(4) is the closest alternative, and both exceed the stronger of the local and more restricted IBM conditions. The paper characterizes the improvement available under sufficiently permissive constraints as more than 7.5 BLEU points over the monotone oracle. The scores in the chart show the overall comparison directly. The improvement reflects a change of allowed word orders given the fixed candidate procedure. Because candidate selection sees the reference in all conditions, the chart does not measure what would happen if a translation system chose its own reordering at test time.

The NIST scores tell a broadly similar story for the whole reported sentence-length range. On test sentences of lengths 1–40, the monotone oracle scores 7.07 NIST. MJ-1 scores 7.08, MJ-2 scores 7.22, and IBM(2) scores 7.24. The two more permissive conditions reach 7.46 for IBM(4) and 7.48 for the pruned ITG. The paper's search is directed by approximate BLEU, so the NIST figures characterize how the same selected translations score under an additional measure. They do not describe a separate oracle that searched for the best achievable NIST score.

The illustrative example shows what a high or low score can mean for an individual sentence. The English phrases initially follow the German order: a conditional opener, the subject, a recipient, the object, the main verb, and the modal. In the reference, the modal precedes the main verb, and the recipient goes after the object. The baseline has already supplied an English rendering of each of these pieces. The task is to arrange them. In the figure the recipient is kept together during reordering even though it contributes separate words to the scoring.

MJ-1 and IBM(2) generate different outputs for this example, but each has `0.0` BLEU in the paper's illustration. For both, the recorded four-word match precision is `0.0`, despite unigram precision of `100.0`. MJ-2 reaches `70.71` BLEU by recovering a substantial stretch of the reference, even though it places the recipient incorrectly. IBM(4) and ITG both reach `100.0` BLEU because the reference order is available. The finite-state lattices actually drawn in the example use the restricted settings and omit the correct order. The wider IBM setting, whose result is tabulated separately, admits it.

The example also shows why a permutation count alone is a poor proxy for usefulness. The paper reports `13` orders for MJ-1, `32` for IBM(2), and `52` for MJ-2 on those same phrases. The larger search under IBM(2) still fails to provide the matching sequence that the MJ-2 oracle can exploit. At the more permissive end of the example, the paper reports `384` orders for IBM(4) and `394` for ITG, with both finding the reference order. The observed score depends on whether useful arrangements fall inside each set, not on how many other arrangements accompany them.

#### Sentence length and computational cost

The table groups the test sentences by length. The 1–5 group has 61 sentences. It gives little occasion for the more permissive rules to separate themselves on BLEU. The no-reordering oracle scores 48.17 and each reordering condition scores 48.21. The 6–10 group, which has 230 sentences, shows clearer differences: the no-reordering oracle scores 39.21, MJ-2 scores 42.50, and the pruned ITG scores 43.83. The room for improvement changes within these groups even though the candidate pipeline is shared.

For the 16–20 group, the no-reordering oracle scores 23.34 BLEU on 447 test sentences. IBM(2) reaches 27.00 and MJ-2 reaches 27.06, whereas IBM(4) reaches 29.99 and the pruned ITG reaches 30.47. Their separation becomes more pronounced in the longer groups. On the 242 test sentences in the 36–40 group, BLEU is 18.22 for the monotone oracle, 22.73 for MJ-2, 23.31 for IBM(2), and 27.65 for the pruned ITG. IBM(4) reaches 26.97 in that group. The paper describes gains over the monotone baseline of more than nine BLEU points on longer sentences.

Longer sentences provide more places for phrases to require changes of position. They also contain more opportunities for differences in lexical and phrase choices: the lower baseline BLEU in the longer groups therefore has multiple possible sources. The more informative comparison for the paper's question is within a length group, where the same procedure supplies candidates for all the constraints. There the growing separation between the more permissive and local conditions shows how much additional score can be obtained by the available global moves. The table also shows that short sentences can benefit from reordering even when they offer little leverage for distinguishing the widest constraints.

NIST occasionally changes the ordering within a group. For instance, in the 1–5 bin the no-reordering condition gives 5.68 NIST and the reordering conditions give 5.35, despite their slightly higher BLEU. This is consistent with selecting output for one criterion and assessing it under another. The stronger overall NIST figures for the wide constraints therefore complement the BLEU results without implying that each BLEU-based decision is preferable on NIST. The paper's central comparison uses BLEU throughout the oracle search and the main reporting.

The gains for the wider search spaces come with substantial implementation costs. In the authors' implementations, ITG and IBM(4) oracle decoding can be up to 1,000 times slower than the other tested approaches. Among the faster settings, MJ-2 can be up to 40% faster than IBM(2). The authors identify MJ-1 as the speed-oriented choice among these settings and report that its improvement over the monotone oracle is only about 2.5 BLEU points at best. They give empirical relative timings for their decoders. Those figures reflect the search representations and pruning as implemented as well as the permissiveness of the constraints.

### What the ablations show

#### How much inversion span is useful

The most direct controlled comparison changes the maximum span of an ITG inversion. In the bounded variant, the decoder may still construct a constituent larger than the limit. At that level it has to join the children straight. The experiment therefore changes where the grammar is allowed to invert a pair of blocks while preserving the structure of the rest of the decoder. The length bound concerns the whole span covered by the children in phrases. It should not be read as a direct count of how many words an individual phrase travels.

ITG oracle BLEU by maximum inversion span on NAACL 2006 test sentences of lengths 26–40 Short spans recover much of the benefit, and allowing larger inversions adds further improvement.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| Maximum span 0 phrases | 18.49 |
| Maximum span 5 phrases | 24.74 |
| Maximum span 10 phrases | 26.74 |
| Maximum span 20 phrases | 27.41 |
| Maximum span 30 phrases | 27.50 |
| Maximum span 40 phrases (this paper) | 27.51 |

With `ρ = 0`, the decoder can only join constituents straight. This is the monotone case within the bounded ITG comparison. The first non-zero setting in the table, `ρ = 5`, gives a substantial improvement on the aggregate 26–40 group. Raising that bound to `10` yields a clear further increase, and the score rises again at `20`. The changes between `20`, `30` and `40` are smaller. The paper interprets the pattern as evidence that short movements are common and that a sizable additional benefit remains available from movements involving wider spans.

The individual length bins show much the same shape. For test sentences of lengths 26–30, a bound of `5` gives 24.07 BLEU, a bound of `10` gives 26.40, and a bound of `20` gives 26.79. At bounds `30` and `40`, the score is 26.85. For test sentences of lengths 36–40, the corresponding results through the `20` setting are 24.46, 26.66 and 27.53 BLEU, with the later bounds reaching 27.64 and 27.65. The longer group gives visible room for continued improvement once many of the relatively short inversions are already permitted.

This is evidence about the usefulness of a permission, even when the paper describes the effects in terms of movement distance. A rise in the score means that allowing inversions over larger covered spans helped the decoder return better translations in aggregate. Some of those inversions may move whole blocks, and a phrase's final position can also reflect swaps made inside those blocks. The score curve does not count how many phrases moved by a particular distance, or identify the grammatical construction responsible for each gain. Its advantage is that the grammar, candidate procedure and scoring method stay comparable as the permission changes.

The bounded ITG results also help explain the main family comparison. The success of restricted reorderers is compatible with the fact that many improvements are possible inside short spans. The margin that ITG and IBM(4) achieve over the faster alternatives is compatible with the additional benefit of permitting longer moves. The span experiment supports this account within ITG. It does not make the allowed IBM moves equivalent to an ITG span bound. The families still define different sets of permissible orders, and both the kind and the reach of the movement can matter.

#### Comparing wider and narrower rules

MJ-1 and MJ-2 give a controlled change within the local family. MJ-2 admits wider local rearrangements and obtains the better overall BLEU. The illustrative conditional sentence shows how the stronger local rule can recover a longer matching English sequence even when it cannot place every phrase correctly. This is an example of a partial gain from widening the search. BLEU can reward a better arrangement of a central stretch of the sentence while the wider order remains unavailable.

Changing `k` from `2` to `4` in the IBM family tests a different restriction. Both settings can delay an initially available phrase. With the larger `k`, the decoder can also bring a wider range of unprocessed phrases forward sooner. The stronger performance of IBM(4) thus does not show merely that global movement is present. Some long movement was already possible with IBM(2). It shows that the extra choices available with a wider set of eligible phrases have practical value to the oracle on these candidates. The paper discusses IBM(3) as lying between the two tested IBM settings, without reporting a run for it.

The comparison between MJ-2 and IBM(2) shows why different mechanisms can produce similar aggregate scores. MJ-2 has an advantage in some shorter or intermediate bins, while IBM(2) has a small advantage on the longest groups and overall. Their order can differ sharply on an individual candidate, as it does in the illustration. The aggregate similarity is therefore compatible with each rule finding useful arrangements that the other does not. For the implementation studied here, the authors regard MJ-2's speed as an advantage when compared with the closely scoring IBM(2).

ITG and IBM(4) are also close in aggregate score in spite of having different permissible orders. On the tested data, the orders prohibited by ITG's binary decomposition leave enough good alternatives to give that family the higher overall oracle score. The result is empirical support for this form of structured reordering on the task. It does not imply that the winning order found by IBM(4) for any given sentence will also be reachable under ITG. The example that reaches the same perfect result under both shows an overlap in their capabilities, and the forbidden arrangements discussed earlier show why that overlap need not hold for every candidate.

#### Checking the scoring approximations

The authors compare independent sentence selection with an oracle that accumulates n-gram counts. The accumulating procedure makes a greedy choice for each sentence given the counts from earlier choices. It is sensitive in principle to the processing order. The authors try 100 shuffles and report a variance of under 0.006 BLEU points. On held-out data, the independent sentence oracle is worse by up to 0.25 BLEU points. The comparison gives an empirical bound on the difference observed in that check against the accumulating procedure. A greedy corpus traversal is itself a particular candidate-selection procedure, so the check does not establish distance from an exact corpus optimum.

The clipping check adds another approximation. Ignoring clipping after switching to independent sentence scoring makes the resulting oracle at most 0.02 BLEU points worse than the corresponding oracle with clipping on the authors' held-out comparison. This small measured effect supports the use of compact local match updates for the reported setup. It is also consistent with the fact that a fixed permutation leaves the unigram inventory unchanged, where the authors say clipping matters most. Clipping can still matter for repeated sequences that include phrase boundaries, or when comparing original candidates assembled from different phrases.

The example provides a separate look at search pruning. The ITG decoder retains `78` permutations in its pruned run, compared with `394` for unpruned ITG. Applying the same pruning settings to the example's IBM(4) lattice leaves `42`, compared with `384` without pruning. The winning order in the illustration remains present in both pruned cases. In the main comparison, the authors prune only the ITG search. The example shows that a substantial reduction in the alternatives considered can preserve the best output in one case. It does not establish how often pruning removes the best output across the test set.

### Limitations

#### Limits the authors identify

The authors call the objective an approximate oracle. Their search drops global clipping and makes sentence-level decisions in place of a joint corpus decision. Each choice makes the state or the search easier to manage, and either can alter which candidate is chosen. Scoring a completed collection with standard BLEU gives an ordinary evaluation of the returned translations, but it does not revisit the decisions made with the approximate score. The reported number is attainable by the returned sentences. A better order under the same constraint can still exist.

The authors' held-out comparisons give a sense of the approximation effects in their setting. They address independent sentence scoring and clipping by comparing variants under a particular candidate procedure. The accumulating variant is greedy. The numerical comparisons consequently describe observed changes between procedures, rather than guarantees about the maximum possible score. A close result suggests the approximations are adequate for the study, while leaving open how the same choices behave if the candidates contain more repeated sequences or if candidate selection changes more strongly across a corpus.

The authors also distinguish training the baseline from training a reordering system. The oracle uses a reference during candidate selection and search, and a translation system used on new material does not have that reference. Rules with a strong oracle can be promising because they contain good orders. Turning that promise into routine translation quality still requires decisions about how to score and select those orders. The paper proposes using a gap between achieved performance and oracle performance to diagnose the selection procedure. Its experiments supply the oracle side of that comparison.

The computational cost is specific to the approaches the authors implement. Their finite-state methods explicitly represent the allowed permutations as a lattice and then traverse it. Their ITG decoder builds the order through chart combinations and uses pruning. The more permissive settings impose a cost in these implementations, even though the ITG procedure has polynomial runtime. The paper reports how large that cost can be relative to the lighter alternatives. Its results leave room for differences in runtime under other search procedures or representations of the same constraint.

#### Limits of the experimental setup

The oracle is conditional on the baseline's phrase choices and candidate selection. A reordering constraint cannot improve a missing translation that never occurs in the shortlisted candidates. It cannot move words out of a selected phrase that the experiment requires it to preserve intact. Even a candidate that would become excellent after reordering can be disadvantaged at the shortlist stage because that stage evaluates the unreordered string. The paper thus gives evidence about the usefulness of reordering the available baseline material, with an additional dependence on how the shortlist was created.

There is also a difference between comparing a common shortlist and performing a joint oracle over translation and ordering. The authors describe ways that several unreordered alternatives could be represented jointly, but the reported experiments use a finite set taken from the monotone baseline. An order that needs a different segmentation might only become available if segmentation and reordering are considered together. The experiment deliberately makes the order comparison easier to interpret by fixing the earlier candidate procedure. Its scores should therefore be read as conditional on that procedure, even when the underlying reordering constraint would also be applicable to a broader search.

The beam makes the practical ITG comparison somewhat asymmetric. The lattice decoders in the main test are run without the reported ITG pruning, and the ITG chart can discard candidates before they have been joined into longer strings. A partial order with a weak current score might turn out to create a valuable match at a later boundary. The paper's worked example shows that pruning preserves a winning order there, but it gives no corpus-wide exhaustive ITG comparison under the same settings. This matters when using the measured margin to reason about the full, unpruned spaces.

Finally, the evidence comes from a German-to-English task with the reported training data, phrase extraction, and sentence-length grouping. It establishes that the useful orders in this setup align well with the broader IBM and ITG permissions. A different translation direction or baseline could put the important moves in different places. Within this experiment, higher reference overlap is the studied outcome. The paper reports BLEU and NIST scores and does not use human judgments to examine whether an oracle order preserves the source meaning or reads naturally when it differs from the reference.

### What came after

The later work on lattice minimum Bayes-risk decoding addresses a different decision over a graph of translation alternatives. In the reordering paper, the reference is available and the score measures how close a permitted candidate can come to it. The Bayes-risk framing concerns how to choose a translation when outcomes are uncertain. Its connection to the earlier work is the lattice as a space of competing outputs and the question of how to make a decision over that space. The cited work's title identifies the decision criterion and representation, without establishing which of the earlier reordering rules or score updates it uses. [Lattice Minimum Bayes-Risk Decoding for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/tromble-2008-lattice-minimum-bayes-risk-decoding/)

The later paper on lattice BLEU oracle scores takes up the oracle computation directly. Where the earlier paper builds lattices for several families of order constraints and uses the resulting scores to compare those families, the later work makes computing a BLEU oracle for a translation lattice its subject. The shared question is what a lattice can offer when the reference is available to guide the choice. That question can arise independently of which reordering rule produced the alternatives. The title establishes that continuation of the computational problem, without specifying how the later work handles clipping, sentence aggregation, or the guarantees of the search. [Computing Lattice BLEU Oracle Scores for Machine Translation](https://md.research.elamur.ai/free/en/papers/sokolov-2012-computing-lattice-bleu-oracle-scores/)

## Cite

Cite as Markus Dreyer, Keith Hall and Sanjeev Khudanpur. 2007. Comparing Reordering Constraints for SMT Using Efficient BLEU Oracle Computation. Proceedings of SSST, NAACL-HLT 2007 / AMTA Workshop on Syntax and Structure in Statistical Translation.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{dreyer2007comparing,
  title = {{Comparing Reordering Constraints for SMT Using Efficient BLEU Oracle Computation}},
  author = {Markus Dreyer, Keith Hall and Sanjeev Khudanpur},
  booktitle = {Proceedings of SSST, NAACL-HLT 2007 / AMTA Workshop on Syntax and Structure in Statistical Translation},
  year = {2007},
  doi = {10.3115/1626281.1626295},
  url = {https://doi.org/10.3115/1626281.1626295}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
