---
title: "Building a reordering system using tree-to-string hierarchical model"
description: "A tree-to-string system learns to reorder English words for Farsi, Italian and Urdu, using parsed sentences and a small set of examples."
canonical: "https://research.elamur.ai/free/en/papers/dlougach-2012-building-reordering-system-tree-string/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · **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/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/) · [OCR](https://md.ocr.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/dlougach-2012-building-reordering-system-tree-string/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2012](https://md.research.elamur.ai/free/en/papers/2012/) / Building a reordering system using tree-to-string hierarchical model

# Building a reordering system using tree-to-string hierarchical model

Paper · 2012 · Jacob Dlougach and Irina Galinskaya

**Authors:** [Jacob Dlougach](https://md.research.elamur.ai/free/en/authors/jacob-dlougach/) and [Irina Galinskaya](https://md.research.elamur.ai/free/en/authors/irina-galinskaya/) · **Year:** 2012 · **Venue:** Proceedings of the Workshop on Reordering for Statistical Machine Translation · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**5** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2252090694) · [Proceedings of the Workshop on Reordering for Statistical Machine Translation](https://aclanthology.org/volumes/W12-59/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/W12-5904/)
- [PDF](https://aclanthology.org/W12-5904.pdf)
- [OpenAlex](https://openalex.org/W2252090694)

Citations: OpenAlex, 2026-10-14.

## Summary

A translation can preserve what a sentence means while changing where its parts appear. In the examples that motivated this paper, a verb that comes before its object in [English](https://md.research.elamur.ai/free/en/topics/english/) may follow the object in Farsi, and a modifier that precedes a noun may follow it. Dlougach and Galinskaya isolate this problem from the rest of [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). Their system takes an English sentence and puts its words into an order that resembles the order of the corresponding translation. The output consists of English words. The task also identifies source words with no counterpart in the translation, which the system has to leave out.

The authors use the structure of the English sentence to decide what can move together. A parse groups words into constituents, such as noun phrases, and a rule can move one constituent around another while leaving their internal order to other rules. The authors use Moses to extract these rules from aligned training examples and combine them in a chart decoder, which builds and compares candidate orders for spans of the input. During decoding, a score based on neighboring words helps choose among the candidates. The authors adapt Moses to return word alignments for those candidates, so the resulting order can be traced back to positions in the original sentence.

The experiments use 5000 English training sentences per language pair and compare the learned order with unchanged English order. On the test sets, the system tuned with MIRA scores 65.56 on the [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/) for English–Farsi, 76.65 for English–Italian and 55.79 for English–Urdu. The corresponding baseline scores are 50.0, 66.4 and 39.0. The development sets also show improvements on measures derived from Kendall’s tau distance and Hamming distance. Farsi was the workshop submission. Italian and Urdu were follow-up experiments using the same training procedure.

The Farsi comparisons show that the timing of deletion matters. Allowing a marked word to disappear while the decoder builds and evaluates a candidate gives better development scores than removing it after the decoder has selected an order. Changing the tuning procedure from MERT to MIRA produces a smaller improvement, and the reported development Hamming score stays at 0.567. The evidence supports a system that learns useful ordering rules from the workshop data. The authors’ analysis of errors points to a remaining constraint: when a parse places many units directly under the same node, the available rules can have difficulty expressing how those units should move.

## Deep dive: Building a reordering system using tree-to-string hierarchical model

A tree-to-string system learns to reorder English words for Farsi, Italian and Urdu, using parsed sentences and a small set of examples. · about 33 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 order as a separate task

The workshop asked participants to arrange the words of a source sentence according to the order in a translation. That makes the desired output unusual. In an English–Farsi example, the English words remain visible, but their desired positions come from the Farsi sentence. The task gives a system a way to learn and be evaluated on movement without asking it to produce the Farsi vocabulary. It also makes an otherwise hidden part of translation observable. A reader can see which source words moved, which traveled together and which disappeared.

The authors describe recurring differences in the training examples that suggest how to approach this task. They observe a subject–object–verb pattern in Farsi where English uses subject–verb–object. They also observe that a modifier frequently follows its noun in Farsi, where English can put the modifier first. These examples involve different scales of movement. The position of an object relative to a verb can affect the organization of much of a sentence. The position of a modifier relative to a noun can change the order within a smaller phrase. A system that can compose those decisions can handle both in the same sentence.

The point of imposing structure is to give the learner a reason to reuse an observation. A pattern tied to a particular verb or noun may be encountered too rarely to provide dependable evidence. A pattern tied to an object or a noun phrase can recur even when the words change. The authors regarded the available 5000 training sentences for a language pair as a poor basis for relying completely on individual words. They drew on earlier work on the quality of syntactic analysis in statistical translation when judging that the available examples could still support an approach based on structure.

The choice leaves room for specific words to matter. An ordering rule can refer to a syntactic class, to a word seen in training, or to a combination of the two. That flexibility is important to the paper’s account of generalization. A fully abstract rule can recur across many sentences. A rule with a fixed word can express a narrower pattern whose useful context would be lost if the word were replaced by its category. The learning procedure supplies examples of both kinds. The authors’ use of sentence structure belongs to the broader field of [syntax and grammar](https://md.research.elamur.ai/free/en/topics/syntax-grammar/).

#### From aligned examples to reusable movements

The paper puts its ordering procedure in the existing tradition of tree-to-string translation. In that setup, a source structure helps determine a sequence on the output side. The tree gives a description of which words form units and how those units nest. The sequence expresses the order in which the units and words emerge. A translation system can use such a representation to change both the words and their order. Here the authors use that machinery for an assignment in which the lexical correspondence is already available.

This distinction explains why a translation toolkit can do the work even though the output remains in English. A rule can be treated as an instruction that reads part of the input and writes a corresponding output. The work normally associated with finding different words in the output language becomes much simpler when a surviving word keeps its identity. The grammar still has to record where each occurrence goes, and the decoder still has to choose among competing derivations. The toolkit supplies machinery for those decisions.

The formalism the authors take from earlier work is synchronous context-free grammar. It links expansions on an input side and an output side, so a unit can occupy different positions on the two sides while retaining its correspondence. The paper draws on the hierarchical approach described in [Hierarchical Phrase-Based Translation](https://md.research.elamur.ai/free/en/papers/chiang-2007-hierarchical-phrase-based-translation/). The elementary grammar notion involved is a [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/), in which a category can expand into a collection of words and other categories.

The source tree adds a condition to that formalism. A rule can leave a source phrase open for another rule to fill, but the phrase must correspond to an appropriate labeled span. That gives the system a way to move multiple words without learning a separate instruction for each position they occupy. It also limits the possible movements. A grouping that would be convenient for the target order may be absent from the source analysis. The tradeoff appears at both ends of the paper. It motivates the choice of a small-data method, and it helps explain the failures the authors inspect afterwards.

#### Why omission is part of the ordering problem

The workshop data include source words without counterparts on the target side. If the assignment were a permutation of all input positions, every word would have to survive. The authors instead need a representation that can preserve some words, move them and omit designated others. An omission can matter to ordering even when the system has already been told which word to remove. A sequence containing that word provides different local evidence to the decoder from the sequence that will remain after it disappears.

There are therefore two distinct decisions in the experiment. One concerns when the known omissions should take effect. The other concerns which order to choose for the surviving words. The authors initially treat deletion as a later step. They also build a version that makes omissions visible while candidate orders are still under consideration. The task’s advance knowledge of the omitted locations makes this comparison possible without adding a separate learner to identify words for deletion.

### The method, step by step

#### Begin with the source tree

The process starts with an English sentence and its analysis. A span is a consecutive part of the sentence. Some spans carry labels that say what kind of unit they form. A larger span might be a noun phrase, for instance, and a word within it might carry a noun label. Assigning the phrase structure is the role of [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/). The labels attached to individual words come from [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/).

The paper’s span diagram illustrates a property that the decoder relies on. Labeled spans can sit beside one another, covering separate parts of the sentence. They can also be nested, with a larger unit containing a smaller one. If two spans overlap by sharing some words while each also extends beyond the other, they cannot both be units in the same tree. This matters because the decoder combines units recursively. If one rule provides material for another, the larger unit has to be able to contain the material as an identifiable part.

Consider the noun and modifier pattern that motivated the work. If the source analysis gives the modifier and noun their own slots inside a noun phrase, a rule can put the noun slot ahead of the modifier slot. The rule works on the slots regardless of how another rule realizes their contents. At the same time, a rule at a larger span can move the whole noun phrase relative to other material. Reversing the order of children inside a phrase and moving that phrase elsewhere are compatible operations. This is how a collection of local decisions can produce a change visible over much of a sentence.

The number of useful moves therefore depends on more than distance in words. A large movement can be easy to express if a rule can refer to the moving material as a unit. A short movement can be difficult if the words involved are grouped inconveniently. The tree organizes the search by telling the system which pieces can participate as units, and the rule inventory determines which combinations of those pieces the decoder can actually use.

Learning and applying source word reordering The steps in order.

#### Express a move as a paired rule

Each rule specifies a source pattern and an output pattern. The source pattern can include terminals, which are concrete words, and nonterminals, which are labeled slots for units whose contents can be supplied separately. The output pattern says where the matched words and slots appear. For an ordinary reordering rule, the two patterns correspond occurrence by occurrence. The same material can appear in another sequence because the pairing tells the decoder which occurrence on one side came from which occurrence on the other.

The distinction between identity and position is central. A slot on the output side represents the same unit as its paired slot on the input side, even if it is placed earlier or later. Two occurrences can also bear the same category label, so the category alone need not uniquely identify them. The correspondence within the rule supplies that information. Without it, a rule could describe a sequence of categories while leaving the movement of the actual source words unresolved.

One extracted rule describes an English noun phrase containing an adjective phrase and a noun. On the output side, the noun slot precedes the adjective-phrase slot. The correspondence recorded with the rule links each slot to its original place. No particular adjective or noun is required by that pattern. Its potential use extends to new phrases with the same structural arrangement, provided the other conditions for applying the rule are met.

A different rule fixes the words `having` and `political` and contains a slot for a plural noun. The input has `political` before that slot, and the output places it after the noun slot. The word `having` keeps its position at the start of the fragment. This rule uses both lexical and syntactic evidence. It leaves the plural noun open while requiring the other words to occur in the recorded pattern. The example shows how hierarchical extraction can retain useful specifics without memorizing the entire phrase.

The quantity expression in the paper offers a third kind of illustration. In its source pattern, the dollar sign comes before a number slot and `billion`. On the output side, the number slot and `billion` precede the dollar sign. The identity of each element is preserved. The rule changes where the symbol appears in relation to the quantity. This example also explains why the authors care about recording the movement of terminals as well as nonterminals. The currency symbol is a fixed element of the rule, and its move has to appear in the word-level correspondence.

An extracted rule describes a possible operation, not a commitment to apply that operation everywhere the categories match. The same input span may admit other rules. Choosing a derivation requires combining the scores of applicable rules with a score for the sequence they yield. A general rule for noun and modifier order can thus coexist with more specific rules for particular expressions. Extraction defines the available choices. Scoring and decoding determine when those choices are used.

#### Make known omissions visible during decoding

The authors consider two ways to incorporate a source word that has no target counterpart. They first allow that word to take part in the ordering process and remove it after the sequence has been selected. In this version, the candidate scorer sees the word and can respond to the sequences it forms with its neighbors. The final output then loses the word, potentially creating an adjacency that the scorer never evaluated in that form.

In the other version, the authors replace each designated word with a special symbol. The symbol is chosen so that it cannot be confused with ordinary material in the data. A manually added rule gives it an empty output. A candidate can therefore acquire the appropriate surviving sequence while it is being built, and the scoring component for word sequences sees the consequences of deletion during the choice among candidates.

The replacement embodies a specific assumption about the omitted items. The authors expect their syntactic properties to be relevant to ordering the remaining words, while treating the original word identity as unnecessary for that purpose. Keeping the syntactic position while substituting a common symbol lets a rule still refer to the surrounding structure. It also lets a single deletion instruction apply wherever a word has been marked. The substitution exploits the workshop annotation. It does not derive deletion decisions from the spelling, category or frequency of an English word.

The difference is easiest to see by following the same kind of omission through both routes. During postprocessing, the decoder has already committed to a larger sequence when a word between two surviving pieces is removed. During integrated deletion, those pieces can be scored as neighbors in the candidate itself. That gives the decoder access to the word sequence that the evaluation will see. The paper’s comparison changes how the omission is represented as well as when it is applied, which matters when interpreting the results.

#### Prepare the workshop data for Moses

The English parses need to be converted into the XML representation accepted by Moses. The authors first escape characters with special significance in that format. They then turn the opening and closing marks of a constituent into the corresponding tree delimiters, with the category stored as a label. A word with a part-of-speech tag becomes a labeled leaf containing the word. The conversion retains the embedding of smaller spans within larger spans. Its purpose is to make the given structure usable by the toolkit.

The authors derive the word alignments directly from the workshop data. An alignment specifies which position on one side corresponds to a position on the other. In this task, an alignment can describe where a surviving English word lands after reordering, even when its written form is unchanged. An omitted word has no ordinary output position. These correspondences tell the extraction procedure what movement the training example exhibits. They also distinguish repeated occurrences that would otherwise look identical when read as strings.

Moses has a broader training pipeline for cases that require estimated word alignments, ordinary lexical translation and additional components. The project already had the correspondences needed for extraction and prepared its inputs separately. It could therefore skip the usual data preparation and alignment-estimation steps in the pipeline, including the GIZA++ run. This was an advantage of the supplied task format. Someone starting with different data would have to account for how the required source analyses and word correspondences would be obtained.

The operations the authors retain include obtaining the lexical table, extracting and scoring rules, and creating the decoder configuration. They point out that the lexical operation is simple enough to handle separately because ordinary single-word correspondences preserve the word. The marker used for omission is the exception. They also leave out the separate lexicalized reordering component used in the ordinary pipeline, since the hierarchical rules already encode movements. A generation stage would add little in this task because the output identity of a surviving word is given.

#### Extract rules that can describe structural changes

The authors use Moses’s `extract-rules` program. It examines the aligned examples and the source labels to find fragments that can be represented as paired rules. A part of the source fragment can stay lexical, with a word written explicitly, or it can be left as a nonterminal. In the latter case, the rule still records how the unit moves, while a separate rule can determine what goes inside that unit. An extraction decision about which pieces to abstract therefore changes what the resulting grammar can reuse.

The authors adjust settings that would otherwise be too restrictive for their source trees. `MinHoleSource` governs how small a source segment can be when it is left open as a slot. The paper gives 2 as the default. A restriction of that kind matters when a tagged word itself is a useful syntactic unit. A move can be abstract even when the piece it abstracts happens to cover only a single source word. Allowing smaller slots keeps such moves available in the grammar.

The default for `MaxNonTerm` is also 2. The authors want the option of extracting rules in which every participating symbol is a nonterminal. This is particularly relevant when the source pattern consists of several labeled units and no fixed word is needed to recognize it. The setting controlling the minimum number of explicit words, `MinWords`, serves the same design choice from the other direction. Requiring a literal word would eliminate a purely structural rule even if its category pattern were informative. The extraction setup also permits neighboring source nonterminals through `NonTermConsecSource`. Adjacent constituents can therefore be used directly in an extracted pattern.

Other settings address how large a rule can be and how much work extraction will require. `MaxSpan` is arranged to permit a rule over the full sentence. `MaxSymbolsSource` caps the number of symbols on a rule’s source side, and the authors report that increasing this bound made extraction and scoring too slow. The two limits concern different properties. A rule with a few nonterminal slots can cover a long span if each slot stands for a substantial phrase. A fragmented pattern with many individual symbols can be expensive even when its surface span is shorter.

The system also uses glue rules. A glue rule joins spans while retaining the order in which they occur. This gives the decoder a way to assemble a sentence in regions where more informative extracted rules fail to connect the available pieces. A candidate can contain movements in some spans and use glue to combine them with their neighbors. The presence of glue provides a route to an output. How strongly the decoder favors that route is a separate matter for scoring and tuning.

The settings work together to determine the grammar’s reach. Allowing adjacent slots and purely abstract rules makes more structural operations expressible. Allowing sentence-wide spans gives some of those operations a long reach. Constraining the number of symbols controls the expense of acquiring the rules. Even with that configuration, an operation must still be supported by the source parse and an extractable pattern. The possibility of a long rule supplies room for movement, while the labels and extracted correspondences supply its actual description.

#### Score the rules and the resulting sequences

After extraction, the Moses `score` program assigns feature scores to the rules. A feature gives one kind of evidence that the decoder can weigh when comparing derivations. Conditional rule probabilities, for instance, can distinguish an output pattern frequently seen with a given input pattern from an alternative seen less often. There can also be features tied to how a derivation is assembled. The extraction step produces candidate rules, and scoring gives the decoder a basis for preferring some of them.

The authors enable the `WordAlignment` option when scoring rules. The chart decoder needs to know where the ordinary words go, in addition to knowing how the abstract slots correspond. Returning only the nonterminal correspondences would be enough to tell where some larger units move. It would leave the position changes of fixed words and symbols underspecified. The quantity example makes this concrete because recovering the placement of the dollar sign requires the terminal mapping.

The training collection is small enough that many extracted patterns have limited evidence. The authors use Good–Turing frequency estimation to address that sparseness. Its role is in the estimates attached to the rules: frequencies observed in training provide evidence, but an observed count by itself can offer an unstable guide when a pattern is rare. This is a separate estimation problem from deciding how plausible the final sequence of neighboring words will be.

The sequence scorer is trained on the target-side strings, meaning the English words in the order expected for the relevant language pair. The authors add sentence boundary markers and use IRSTLM to build a 3-gram estimator. An [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/) is a sequence of adjacent items. Here the counts give the decoder evidence about local neighborhoods in the desired output, including the neighborhoods at the start and end of a sentence. The authors use Kneser–Ney smoothing to estimate sequence probabilities in the presence of sparse observations. The paper points to [An Empirical Study of Smoothing Techniques for Language Modeling](https://md.research.elamur.ai/free/en/papers/chen-1996-empirical-study-smoothing-techniques-language/).

The local sequence score complements the grammar. A rule can license the movement of an entire phrase even though the sequence score has only a short window. When that phrase is placed next to new material, the resulting local sequence can help determine which permitted placement is more plausible. Conversely, a group of locally plausible word sequences may still require a structural derivation before the decoder can propose it. The two sources of evidence act at different points in the decision.

#### Assemble candidates and recover the original positions

Moses’s chart decoder receives the parsed source sentence in the same XML form used for rule extraction. A chart stores candidate analyses for spans so that results for smaller parts can be reused when the decoder builds larger ones. The decoder finds rules that fit the words and labeled units of a span. It can then combine a rule with candidates for the units in its slots. The output for a larger span takes its order from the rule and its contents from the corresponding smaller candidates.

A hypothesis is one candidate produced during this search. Different hypotheses for a span can differ in which rules they use, where they put the words, or both. The distinction matters because several derivations can yield the same output string. It also matters for pruning, which limits how many partial candidates the decoder considers. The authors relax bounds affecting rule loading, the number of hypotheses considered and the maximum chart span. Their goal is to keep useful alternatives available and to let a rule reach across a long sentence.

The paper reports a practical obstacle in the then-current chart decoder. The option to output alignments existed, but loading a rule table with terminal alignments could cause the decoder to fail. The implementation expected its alignment data to describe nonterminals. The authors extend it to accept the word correspondences needed by their task. This change lets rule scoring preserve the movement information and decoding consume it.

An alignment for the entire sentence can be assembled by following the chosen derivation. A rule records where its direct words go and how its subparts correspond. Each of those subparts has its own alignments. Combining them recursively turns local positions into positions in the assembled output. A word unknown to the rule table also needs an explicit correspondence. For a single unknown word carried through as its own local unit, the paper gives `0-0`, the link from the first source position to the first output position under indexing that starts at 0.

The result includes enough information to tell which occurrence of a source word occupies a given output position. This is more informative than recognizing that the same word appears somewhere in the finished string. It allows a move to be represented even for a repeated word. The authors report that the changes for returning alignments were incorporated into the public Moses repository.

#### Tune the balance among the scores

The decoder weighs one feature for the word sequence and five features for translation-rule evidence. Tuning changes the influence of those features on the final choice. The authors try minimum error rate training, abbreviated MERT, and MIRA, another procedure available in Moses. Both are run with BLEU as the optimization measure. The order-distance measures are used to evaluate the consequences of tuning.

The candidate collection presented to the tuner can affect what it learns. The authors find that the default of 100 best outputs per step can be filled by derivations yielding an identical sentence. Changing a feature weight may switch the preferred derivation while leaving the word sequence, and hence its BLEU evaluation, exactly the same. The authors raise the limit to 2000 to give the tuner more opportunity to encounter distinct outputs. The paper reports the larger limit as a response to duplication, rather than a count of the distinct candidate sentences that tuning actually received.

MERT is used for the initial version with deletion after decoding. When the authors incorporate deletion into decoding, they find that MERT’s updates oscillate heavily. They then use MIRA, whose changes between iterations they describe as smaller. Reaching a result they regard as stable takes more iterations. The comparison illustrates a distinction between the route by which weights are obtained and the measured quality of the resulting output. A procedure can behave more steadily while making only a modest difference to the final score.

#### Interpret the probability terms

The authors examine the learned weights because the inverse rule probability receives a negative one. Their algebra relates that feature to a forward probability and to marginal probabilities. The notation below uses explicit subscripts to distinguish the estimates from the translation side from the separate score estimated from local output sequences. Written as a product, the probability-dependent part of the score under discussion is

```
S(e, f) = T(f | e)^α × T(e | f)^β × L(f)^γ
```

Here `e` is the input sentence in English order and `f` is a candidate with the desired order, illustrated in the paper with Farsi. `T` denotes the probabilities from the translation component, and `L` denotes the output-sequence probability approximation. The vertical bar means “given.” Thus `T(f | e)` is the forward probability of the reordered candidate given the source, while `T(e | f)` is the inverse probability of the source given that candidate. `L(f)` is the estimate based on local sequences in `f`. The weights are `α` for the forward term, `β` for the inverse term and `γ` for the sequence term. `S(e, f)` denotes this part of the score, `^` raises a factor to its weight, `×` multiplies factors and `=` indicates equality.

The conditional terms can be related through Bayes’ rule. Substituting for the inverse probability and collecting the powers gives the following form of the same expression.

```
S(e, f) = T(f | e)^(α + β) × T(e)^β × T(f)^(−β) × L(f)^γ
```

`T(e)` and `T(f)` are the marginal probabilities of the source and reordered strings under the translation estimates. They concern each string by itself, without conditioning on the other. The remaining symbols retain their meanings from the preceding formula. `+` adds the original forward and inverse weights to give the effective weight on the forward conditional. In `−β`, the minus sign reverses the sign of the original inverse weight. Because comparisons of candidates for a sentence hold `e` fixed, the factor involving `T(e)` is constant in those comparisons.

The sign change explains the authors’ interpretation. With a negative weight on the inverse term, the equivalent factor for the reordered string’s marginal has a positive weight. The authors treat that factor as additional evidence about the reordered string that reflects the syntax used in translation scoring. The argument concerns how to interpret the fitted features together. The decoder still uses the local sequence estimator described above. The paper uses the algebra to motivate investigating a richer source of output-sequence evidence.

### Experiments and results

#### Data, comparison and evaluation

The experiments cover English–Farsi, English–Italian and English–Urdu. The training collection for each pair contains 5000 English sentences. The development and test sets contain 500 sentences each. The same basic training procedure is applied to all three pairs, with rules and sequence evidence estimated for the corresponding target order. Farsi is the primary workshop case and the one with results for different system variants. Italian and Urdu are evaluated after the submission.

The baseline keeps the English order. It establishes how closely the source sequence already agrees with the target-derived order on the selected examples. A higher baseline for one pair means that the unchanged sequence scores better on that pair’s evaluation set. Since both the examples and the target-language order differ across pairs, the baselines are measurements of those evaluations. They do not give a general ranking of how much reordering each language requires.

BLEU measures agreement between an output and a reference in terms of matching word sequences. Its use here is specialized. Both the candidate and the reference represent the reordering of source words. Thus a change in BLEU evaluates how well the system restores the expected English-word sequence for a particular target order. The metric was also the quantity the authors optimized when tuning. The cited method is [Bleu: a Method for Automatic Evaluation of Machine Translation](https://md.research.elamur.ai/free/en/papers/papineni-2002-bleu-method-automatic-evaluation-machine/).

The two other measures compare order more directly. Kendall’s tau distance concerns relative order: whether pairs of items stand in the same order as in the reference. Hamming distance concerns positional agreement: whether an item occupies the expected position. These assess different consequences of a move. A unit shifted to another position can retain its internal order even when its words now occupy different positions. A score based on relative order can recognize agreement within the unit, while a position-based score reflects the displacement.

The paper reports agreement scores derived from the two distances. It uses 1.0 when the distance is 0 and 0.0 when it reaches the maximum possible value. Higher values consequently indicate closer agreement for both Kendall’s tau and Hamming in the reported tables. The scale convention is important when reading the numbers. It makes the direction of improvement the same for all the development measures despite the names of the two distances.

#### Development results

The Farsi development set contains the fullest comparison. Unchanged order scores 51.29 in BLEU, 0.761 on the Kendall measure and 0.435 on the Hamming measure. With post-decoding deletion and MERT, the corresponding values are 67.1, 0.795 and 0.532. This version already uses the extracted ordering rules. The comparison with unchanged order therefore evaluates the resulting system as a whole, with retrospective removal of the designated words.

With deletion during decoding and MERT tuning, English–Farsi development BLEU reaches 69.5, Kendall agreement reaches 0.805 and Hamming agreement reaches 0.567. With integrated deletion and MIRA, BLEU is 69.8 and Kendall agreement is 0.807. The Hamming score for the MIRA setting is 0.567. The strongest setting on BLEU and Kendall thus shares the highest reported Hamming value with the integrated-deletion MERT setting.

English–Farsi development BLEU by deletion and tuning setting The integrated-deletion settings lead the comparison, with MIRA giving the highest BLEU.

**The numbers**

| System or setting | BLEU % |
| --- | --- |
| Unchanged English order | 51.29 |
| Deletion after decoding with MERT | 67.1 |
| Deletion during decoding with MERT | 69.5 |
| Deletion during decoding with MIRA (this paper) | 69.8 |

English–Farsi development Kendall tau agreement by system setting Integrating deletion improves relative-order agreement, and the MIRA setting gives the highest reported score.

**The numbers**

| System or setting | Kendall tau agreement |
| --- | --- |
| Unchanged English order | 0.761 |
| Deletion after decoding with MERT | 0.795 |
| Deletion during decoding with MERT | 0.805 |
| Deletion during decoding with MIRA (this paper) | 0.807 |

For the English–Italian development set, the baseline has BLEU 69.0, Kendall agreement 0.867 and Hamming agreement 0.723. Deletion during decoding with MIRA gives BLEU 78.3, Kendall agreement 0.884 and Hamming agreement 0.779. The baseline already puts much of the material in positions or relative orders compatible with the reference by these measures. The learned system further improves all the reported development scores.

For the English–Urdu development set, the baseline has BLEU 39.5, Kendall agreement 0.52 and Hamming agreement 0.274. The MIRA configuration with deletion during decoding gives BLEU 55.7, Kendall agreement 0.649 and Hamming agreement 0.431. Each development measure favors that configuration over unchanged English order. The result shows improvement on a set with a different starting level from the Italian set.

In all three pairs, gains from the baseline to the final configuration agree in direction across the reported development metrics. This matters because the tuning objective uses BLEU alone. On these sets, improving the system against that objective is accompanied by better agreement on relative order and on exact positions. The Farsi settings also show that agreement across measures need not mean identical behavior at every comparison. The move from the integrated MERT setting to the integrated MIRA setting changes the BLEU and Kendall scores while leaving Hamming at the same reported value.

#### Test results

The paper gives only BLEU for the test sets. For English–Farsi, unchanged order scores 50.0, deletion during decoding with MERT scores 65.24, and deletion during decoding with MIRA scores 65.56. The ordering of those settings by BLEU agrees with their ordering on the development set. The test results include neither the post-decoding deletion variant nor the two distance-based scores, so the scope of the held-out comparison is narrower than the scope of the Farsi development analysis.

For English–Italian, test BLEU is 66.4 for unchanged order and 76.65 for integrated deletion with MIRA. For English–Urdu, the baseline is 39.0 and the integrated-deletion MIRA setting gives 55.79. The available test comparison for those pairs is between the untouched order and the full system. It shows that the system can improve BLEU on held-out examples when the same procedure is applied to each pair with its corresponding training data.

Test BLEU for unchanged and learned order across language pairs Learned reordering scores above unchanged English order on every test set shown.

**The numbers**

| System or setting | BLEU % |
| --- | --- |
| English–Farsi, unchanged English order | 50.0 |
| English–Farsi, deletion during decoding with MERT | 65.24 |
| English–Farsi, deletion during decoding with MIRA (this paper) | 65.56 |
| English–Italian, unchanged English order | 66.4 |
| English–Italian, deletion during decoding with MIRA | 76.65 |
| English–Urdu, unchanged English order | 39.0 |
| English–Urdu, deletion during decoding with MIRA | 55.79 |

The comparisons are most informative within a language pair. A system and its baseline are evaluated on the same pair’s split using the same measures. Across pairs, the shared procedure establishes something different: the authors could set up the same type of learning and decoding for each target order. The higher final score on one pair can reflect where that pair starts, what sentences it contains and how closely English order already resembles the expected output. The within-pair comparison avoids turning those differences into a claim about the intrinsic difficulty of the languages.

### What the ablations show

#### Moving deletion into the search

The closest thing to a component ablation is the Farsi development comparison between the two deletion arrangements. Both entries use MERT, and the difference of interest is whether a designated word remains in the candidate while rules are being applied and the sequence is being scored. With deletion after decoding, development BLEU is 67.1, Kendall agreement is 0.795 and Hamming agreement is 0.532. With deletion during decoding, the corresponding scores are 69.5, 0.805 and 0.567. All three comparisons favor the integrated arrangement.

The comparison is informative because both arrangements address known omissions. The outcome cannot be explained simply by saying that one version removes an unwanted word and the other keeps it in the final answer. The difference is in the candidates that the decoder builds and evaluates. In the integrated version, a marked word’s syntactic position can still participate in the structural representation. Its output can disappear early enough for the remaining sequence to affect the scoring decision.

The authors also report that the development measures improved when they first made this change, before doing further tuning. They give no separate numerical row for that stage. The observation complements the MERT comparison because it places some of the improvement before the later switch of tuner. What can be attributed to the change is the effect of the integrated setup as a whole. Replacing the word with a marker, supplying a deletion rule and evaluating the surviving sequence are bundled together in that comparison.

The paper’s mechanism offers a concrete account of the effect. When a word is omitted, its neighbors in the returned sentence can be different from the neighbors in the unreduced candidate. A decoder that scores the finished sequence can use the new neighborhood to choose between orders. The experiments establish the improvement of the integrated setting. They leave the contributions of marker substitution, lexical abstraction and sequence scoring individually unmeasured.

#### Changing the tuning procedure

The Farsi rows with integrated deletion compare MERT and MIRA while retaining the same placement of deletion in the decoding process. With MIRA, development BLEU is 69.8 compared with 69.5 for MERT, and Kendall agreement is 0.807 compared with 0.805. Both have a development Hamming score of 0.567. On the test set the MIRA setting gives BLEU 65.56, while the MERT setting gives 65.24. These are improvements on the settings tested, with a smaller separation than the development comparison between the two deletion arrangements.

The authors’ observations about iteration behavior explain why they changed tuner even though the final measured gains were modest. Their MERT runs for integrated deletion fluctuated enough to make convergence doubtful. MIRA changed the weights less drastically from iteration to iteration in their runs, although stabilization required more iterations. The paper provides evidence about how both procedures behaved for this setup. It gives no comparable run histories for Italian or Urdu.

The reported MERT scores remain meaningful even though its tuning trajectory was unstable. They describe the quality of a configuration the authors evaluated. Convergence concerns how the tuning procedure proceeds over repeated updates. Evaluation concerns what the selected weights produce on a particular set. The paper’s reporting supports both observations without making either one stand for the other.

#### Inspecting the feature weights

The examination of negative weights is a diagnostic rather than a feature-removal experiment. The authors consider the learned weight on glue first. Glue rules have a positive feature value, so a negative coefficient reduces the desirability of using them, all else being equal. This fits their role in the grammar. Glue can combine spans in their existing order when a more informative rule is unavailable. The score can discourage heavy reliance on it while the grammar retains its fallback.

The authors also find a negative weight associated with the phrase penalty. They read this as an incentive to use fewer rules. A derivation with broader coverage per rule can combine more of the pattern within an extraction supported by training. A derivation assembled from many smaller fragments can make the same overall output with less joint evidence. The learned sign makes the authors’ interpretation plausible in their system. The experiments do not separately test sentence quality after disabling that feature or after changing only the number of rules used.

The inverse conditional probability is the most revealing case for interpreting a fitted weight. Viewed in isolation, its negative coefficient looks like a preference against evidence that the source is probable given the candidate. In the paper’s algebra, that term combines with the forward conditional and brings in a marginal term over the candidate. The same fitted score can therefore be understood as placing some positive weight on a different kind of output evidence. This explanation depends on reading the terms together. A sign on an individual feature is an incomplete account of how entire candidate derivations are ranked.

The authors see the balance of weights as a reason to try a better sequence estimator. They connect the additional output evidence in the algebra with syntax and suggest that a stronger treatment of the reordered string might improve the choice among candidates. The weight analysis offers a reason for that hypothesis. There is no comparison in which the authors train the same grammar with a richer estimator and evaluate its output.

#### Inspecting errors in the output

The authors also manually look at some errors and identify source trees with many children under a node as a possible source of difficulty. A relatively flat tree supplies fewer nested groups that a rule can move as units. If a desired order requires several of those children to move in a coordinated way, the grammar may need a broad pattern covering the relevant siblings. Where extraction or matching fails to supply such a pattern, the decoder has limited ways to express the movement through smaller operations.

The error inspection connects a visible failure with an assumption made earlier in the method. Source structure helps when it groups the material that can travel together, and it constrains candidate generation when that material has no suitable grouping. The analysis gives a reason to consider less restrictive syntactic matching. It provides no frequency for this error type and no controlled result for a relaxed grammar. Its value is in locating a plausible cause within the system’s representation.

### Limitations

#### Limits identified by the authors

The authors describe their experiments as bounded by the workshop schedule. They leave extraction length and smoothing among the settings that could be investigated further. Those settings affect different evidence. Rule length and symbol limits influence which movements can be expressed in one step and how costly they are to learn. Smoothing influences how the scores behave when evidence for a rule or local sequence is sparse. The reported system fixes a combination of these choices, so the results do not identify a preferred value for each one.

The authors also suggest relaxing the syntax constraints for very flat source trees. Their proposal follows from the manual examination of errors. A relaxation might allow coordinated movement where the available tree makes it difficult to construct an appropriate unit. They note that this would require changes to the Moses training scripts. The paper reports the diagnosis and the proposed change, with its effect on quality left to a future experiment.

A stronger sequence estimator is their other main proposal. The existing estimator relies on short contiguous sequences. The analysis of the rule probabilities leads the authors to suspect that useful output evidence tied to syntax could receive a more direct treatment. The paper gives a mathematical interpretation and a possible direction for improvement. It does not measure the effect of changing the sequence estimator.

The authors’ claim about portability is grounded in the reuse of the training procedure. They apply it to Italian and Urdu in addition to the Farsi workshop submission. “Without prior knowledge of the target language” in this setup means that target-specific ordering instructions need not be written by hand. The required information still enters through the aligned examples and target-side sequences for each pair. The method learns from that evidence and is separately trained for the relevant target order.

#### Limits visible in the evaluation

The most important dependency is the information supplied with the workshop data. The procedure starts with source analyses and correspondences from which rules can be extracted, and the deletion variant has advance information about which positions to omit. In a setting that lacks such information, obtaining it would be another part of the system. The paper does not estimate how errors in those inputs would alter the resulting rules or how accurately the system could choose deletions by itself.

The baseline is also deliberately simple. The improvements show how much the system can gain over preserving English order on these datasets. They do not establish its standing against a lexical learner trained on the same cases, an alternative syntax-based reordering system or another search method. In particular, the reason for choosing syntax on a small training collection is an argument about reuse and sparsity. There is no training-size comparison that tests how the advantage changes as the amount of data grows.

The language coverage varies the target order while retaining English as the source. It supports repeating the procedure for the target languages examined. It leaves open how it would behave with a different source grammar, differently structured parses or alignments obtained under other conditions. Those changes could affect the supply of useful rules independently of how much reordering a target requires.

The detailed comparisons are concentrated on Farsi. The Italian and Urdu rows show results for the baseline and the completed system, so they cannot reveal how much those pairs gained from integrated deletion or from MIRA individually. Likewise, only BLEU is available for the test sets. The paper can show that the direction of BLEU improvement generalizes to those held-out examples. The corresponding held-out behavior of the Kendall and Hamming measures remains unreported.

The score tables give one aggregate value per reported setting and metric. They do not characterize variability across samples or tuning runs. The authors describe the improvement over the baseline as substantial, and the numbers show the scale of that change on the reported splits. The smaller differences between the integrated-deletion tuners have no accompanying uncertainty estimates. Their interpretation is therefore tied to the measured configurations and datasets.

Finally, the experimental objective remains source-side reordering. BLEU in this setting rewards movement towards the reference arrangement of English words, and the distance-based measures evaluate ordering agreement. A downstream translation system would also choose target words and handle other differences between the languages. No downstream comparison in the paper measures how the reordered input affects those decisions. The paper establishes the quality of the ordering component in its own task.

### What came after

The documented follow-through is the adoption of the alignment changes in the public Moses repository. The workshop task needed to recover an explicit movement of source positions, which led the authors to extend chart decoding to accept terminal alignments and assemble them through a derivation. Incorporating that change made the alignment output available through the shared toolkit. That is a concrete software outcome of the work.

A later research lineage is undocumented. The proposed changes to rule extraction, syntactic constraints and sequence scoring appear in the paper as future directions, with their effects left open.

## Cite

Cite as Jacob Dlougach and Irina Galinskaya. 2012. Building a reordering system using tree-to-string hierarchical model. Proceedings of the Workshop on Reordering for Statistical Machine Translation.

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

```bibtex
@inproceedings{dlougach2012building,
  title = {{Building a reordering system using tree-to-string hierarchical model}},
  author = {Jacob Dlougach and Irina Galinskaya},
  booktitle = {Proceedings of the Workshop on Reordering for Statistical Machine Translation},
  year = {2012},
  url = {https://aclanthology.org/W12-5904/}
}
```

> 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)
