Pre-Reordering for Machine Translation Using Transition-Based Walks on Dependency Parse Trees
Paper · 2013 · Antonio Valerio Miceli-Barone and Giuseppe Attardi
Summary
A phrase-based translation system can learn how to translate short stretches of text and still struggle to put those stretches in the right order. A verb, for instance, may belong far from its position in the original sentence once the sentence is translated. Antonio Valerio Miceli-Barone and Giuseppe Attardi explore whether some of this work can be done before translation begins. They use dependency parsing to identify grammatical links between source words, then walk through those links to produce a new order. The words themselves stay in the source language. The goal is to give the machine translation system an input whose order is closer to that of the target language.
The walk starts at the root of the dependency tree. At each step it can write the current word to the output, climb to its grammatical parent, or descend to a child. A learned classifier chooses among those actions, and a separate classifier helps select the child when the walk descends. Training uses pairs of source sentences and their translations. Word alignments indicate how to sort the source sentence into a reference order, and a short walk that produces that order supplies examples of the decisions the classifiers should make. Once trained, the reordering system processes the source side of the material used to train, tune and test a phrase-based translator.
The classifiers performed well on individual decisions drawn from training walks. The classifier that chose the action type reached roughly 92% accuracy for both German and Italian in cross-validation. The reordered source sentences also showed measurable agreement with the alignment-derived references, with BLEU scores of 57.35 for German and 68.78 for Italian. These scores measure how closely German or Italian words follow a reference ordering of those same words. On the Europarl translation tests, the German-to-English BLEU score went from 33.78 with the baseline to 32.42 with pre-reordering, and the Italian-to-English score went from 29.17 to 28.84. Italian-to-English NIST was the exception to the overall pattern, rising from 7.1352 to 7.1443.
The authors suggest that a classifier can be accurate on decisions taken from good walks yet have difficulty recovering once it makes a mistake. A wrong move high in the tree can also misplace a substantial part of the sentence. The experiments therefore distinguish three questions with different answers: whether the classifier can predict a reference action, whether a sequence of its decisions produces a good source order, and whether that order improves the final English translation.
Deep dive: Pre-Reordering for Machine Translation Using Transition-Based Walks on Dependency Parse Trees
A study of whether walking a dependency tree to put source words in a target-like order improves German- and Italian-to-English translation. · about 33 minutes to read
The problem and its context
Why word order is a translation problem
Phrase-based translation makes progress by learning correspondences between short segments in a source language and short segments in a target language. A segment can contain its own local rearrangement. If words that need to trade places fit inside a useful segment, the system can learn their translation and their relative order together. The difficulty increases when the words that need to move sit in different parts of the sentence. The decoder, the component that assembles a translation from candidate segments, then has to place those segments appropriately across a larger distance.
The paper characterizes moves of more than four or five words as a point at which phrase-based systems usually struggle. This is a description of the practical problem that motivates the work. It leaves room for variation across sentences and language pairs. A long movement can involve a single word, such as a verb, or change the position of material connected to that word. When several such decisions interact, a system can have good translations for the pieces and still assemble them in an awkward order. The authors cite earlier work by Birch and colleagues identifying the amount of reordering between languages as especially predictive of phrase-based translation accuracy.
The search problem follows from the same observation. A sentence admits many ways of arranging its words, and considering every arrangement is impractical. Grammatical structure offers a way to guide the search. A verb and its object, for example, are connected by their roles in the sentence even when other words come between them. An algorithm using that relationship can treat their proximity in the grammatical tree as important even when they are distant in the written sequence. The question is how much of the available word order to rule out in the interest of making that guidance computationally useful.
Where reordering can happen
The authors place their method upstream of translation. The reordering component receives a source sentence and returns a permutation of its words. The downstream component then translates that reordered input. This arrangement creates an opportunity to handle some long movements before the decoder considers translated phrases. It also changes what the decoder needs to learn. A translator trained on the original source order would have learned phrase correspondences under different conditions from those it would encounter after pre-reordering. In the proposed setup, the source side of the translator’s training corpus is reordered as well.
The intended result is a kind of intermediate sentence. Its vocabulary still belongs to the source language, and its sequence is intended to make the correspondence with a translation easier to learn. A target-like order is consequently evaluated with respect to translation, rather than to the naturalness of the intermediate sentence as German or Italian. A word that occupies an unusual position in that intermediate representation may be exactly where the preprocessor was meant to place it.
The paper situates the approach alongside work that uses grammatical analyses of source sentences to guide rearrangement. Some methods apply manually specified rules or acquire rules from data. The analyses underlying those rules may be constituency parses, which organize words into nested phrases, or dependency parses, which connect individual words to grammatical heads. The authors cite work on phrase reordering by Galley and Manning, parser-based translation work by Xu and colleagues, and work on reordering rules by Genzel and by Isozaki and colleagues. A Simple and Effective Hierarchical Phrase Reordering Model and Using a Dependency Parser to Improve SMT for Subject-Object-Verb Languages are among the works they use to place the problem in context.
The authors also describe approaches by Tromble and Eisner and by Visweswariah and colleagues that formulate reordering as a global optimization problem. In this framing, the system tries to find a complete order that scores well under some objective. Rule-based approaches and global objectives differ in how they represent the task, but the paper identifies a common practical pressure. Keeping training and decoding manageable leads designers to constrain the arrangements a method can consider. The authors want to retain the information in the syntactic analysis while giving the learned decision procedure more influence over the order it produces.
Why moving through a tree is different from moving through a sentence
A dependency tree gives each non-root word a parent. The words attached to a parent are its children, and following child links recursively leads to its descendants. A relation label indicates the kind of attachment. A subject and object may both be children of a verb. A word modifying a noun may sit beneath that noun even if the sentence places intervening material between them. The tree provides a grammatical route to a word that can be very different from counting positions in the source sentence.
The paper draws an analogy with transition-based dependency parsing. A transition-based procedure builds its result through actions that update an explicit state. In earlier parsing work cited by the authors, the actions help construct or revise a grammatical structure. Here, the parser has already supplied the structure. The actions use it to build a sequence of words. The common idea is that a whole prediction can be made through a series of decisions whose immediate context is available at each step. Deterministic Dependency Parsing of English Text is an example the authors cite for that connection.
Separating movement from output is central to using a tree for this purpose. Reaching a word gives the walker the option to emit it or to continue to another node. A walk can pass through a head on its way to material attached beneath it and write the head later. In the abstract formulation, connectedness provides a path between any pair of nodes. The paper combines that observation with conditions on when particular moves are allowed and with a policy that chooses actions from local evidence. The distinction among the connections in the tree, the legal actions, and the policy for choosing them matters throughout the method.
The method, step by step
What goes into the walk
The input consists of the source sentence in its original order and a dependency analysis of that sentence. The original sentence provides a sequence of word positions. The tree supplies a second way to locate them, through heads, children and their relationships. These representations coexist. The classifier can use a word’s position in the input when deciding what to do at a node reached by following grammatical links.
The notation for the input sentence is:
s ≡ (w₁, w₂, …, wₙ)
Here s is the source sentence, ≡ introduces its representation, and the parentheses enclose its ordered list of words. A word at position i is wᵢ. The subscripts run from the initial position 1 to n, the length of the sentence, and the ellipsis stands for the intervening positions. The index identifies an occurrence of a word. Repeated occurrences of the same spelling therefore occupy distinct nodes and can be emitted at different points in the new sequence.
For each wᵢ, the paper uses hᵢ for its head and dᵢ for the type of dependency connecting it to that head. It uses pᵢ for the word’s part-of-speech tag, which identifies a grammatical category such as noun or verb. The optional lᵢ is its lemma, or dictionary form. The optional mᵢ records morphology, such as case, gender, number or tense. The annotations allow decisions to refer both to particular words and to broader categories shared by many words.
The method takes a rooted tree and allows non-projective analyses. A projective dependency tree groups the words of each complete subtree into a contiguous span of the sentence. In a non-projective tree, some subtree has words separated in the input by material outside that subtree. The authors describe English as tending toward projectivity and give Czech as an example where non-projectivity can be substantial. A walk follows edges irrespective of whether their descendants occupy a continuous block in the input. That flexibility concerns the input analysis. The range of output orders also depends on the transition rules and the choices made during the walk.
From aligned training sentences to translated output
The steps in order.
What a step can do
The walk’s state records where it is, which nodes it has emitted and what it did most recently. It starts at the root with an empty list of emitted nodes and no value for the previous action. The state may also track recent visits and actions, along with how many times each node has been visited. This makes it possible to distinguish a return to a node from a first visit, even when the node’s grammatical annotations are identical on both occasions.
x ≡ (i, r, a, …)
Here x denotes the current state and ≡ defines its representation as a tuple. The component i is the index of the current node, r is the ordered list of emitted node indices, and a is the preceding action. The ellipsis leaves room for the additional history and bookkeeping. Because r stores an ordered list, it can serve both as the record of what has already been emitted and as the output sequence accumulated so far.
EMIT appends the current node to the output and leaves the walker at that node. Its prerequisite is that the node has yet to appear in the output. The decision changes the order being built directly. Its availability depends on whether the current word was emitted at an earlier point in the walk. Once it has been appended, a subsequent visit can still use the node for navigation. The earlier output position remains fixed.
UP moves to the parent of the current node and leaves the output list alone. A parent has to exist, so the root offers no upward move. DOWNⱼ goes to a child j of the current node, also without writing a word. The prose description restricts descent to a child whose subtree still contains a word to emit. The displayed transition uses subtree(i), with i denoting the current node, where the prose points to the chosen child’s subtree. The distinction matters because pending words under one child would satisfy a test on the parent’s subtree even if a different child’s subtree were already complete. The description of the intended downward check is clearer in the prose than in that displayed condition.
The paper also presents conditions on the most recent action. In the displayed transitions, an immediately preceding DOWN precludes UP, and an immediately preceding UP precludes DOWN. The authors describe this as a way to prevent the moves from undoing one another and to ensure progress. A fully emitted subtree should have no further reason to attract a downward move under the prose condition. Once all words have been emitted, the final list supplies the permutation, regardless of which node the walk occupies at that moment.
A short illustration shows what the separation between movement and emission buys. Suppose the root is a verb and its children include a subject and an object. The walk can descend to the subject, emit it, climb to the verb, emit the verb, then descend to the object and emit it. A different initial descent makes a different word appear first. The tree gives the walk the same grammatical connections in either case. The decision about which child to visit and when to emit the verb determines the output. If a child has descendants, choices within that part of the tree determine which of its words are written before the walk returns to the head.
The paper calls a complete sequence of states and actions a trace. Several traces can in principle produce the same order because the route and the choice of when to write a word are distinct aspects of the procedure. The output can thus be evaluated as a sequence of positions even when the decisions responsible for it are evaluated as a sequence of actions. In training, the authors use a minimum-length trace for the reference order. At test time, they construct the trace through successive predictions.
How the paper defines a good trace
The general formulation treats reordering as choosing the legal trace with the highest score. If a trace emits a word early, that choice changes the state in which all later decisions are made. The formulation assigns value to the resulting sequence as a whole. It also makes explicit that the object being optimized is a walk through the tree. An order is the output produced by that walk.
τ* ≡ arg max[τ ∈ T(s)] Φ(s, τ)
Here τ is a candidate trace, τ* is a maximizing trace, and the asterisk marks the selected optimum. T(s) is the set of legal traces for the input sentence s. The symbol ∈ says that a candidate must belong to that set. Φ(s, τ) is the numerical score the sentence and trace receive, and arg max returns a candidate trace attaining the largest score. The brackets delimit the candidates over which the maximization runs, and ≡ introduces the definition.
In the paper’s general argument, a connected tree gives a route between successive words of a desired permutation. That observation motivates using the tree as a guide without committing to a specific collection of hard-coded word-order rules. The paper classifies exact optimization in the general formulation as NP-hard and APX-complete, by reduction from the traveling salesman problem. The complexity claim concerns the general problem of selecting a highest-scoring trace. The experiment uses a procedure that chooses each next action directly.
The authors first restrict the scoring function by making the score of a trace the sum of local scores. Each term judges an action in the state where it is chosen.
Φ(s, τ) ≡ ∑ₜ₌₁^{|τ|−1} φ(s, x(τ, t), xₐ(τ, t + 1))
The capital Φ denotes the trace score, and the lower-case φ denotes the score of a single action. The symbol ∑ sums over the step index t, starting at 1 and ending at |τ|−1, where |τ| is the number of states in the trace. The braces delimit the upper bound of the sum. x(τ, t) is the state at step t. Since the most recent action is stored in each state, xₐ(τ, t + 1) is the action component of the following state, which records the transition just taken. The addition in t + 1 advances to that following state. The sentence s appears in each term so that the score can use the input and its analysis. The comma separates arguments, and ≡ defines the trace score in terms of these action scores.
The next restriction represents a local action score as a weighted combination of features. A feature can capture an observation about the current word, its neighborhood, the action or the relevant history. The weighted representation provides a concrete way to prefer an action when an observation associated with it is present.
φ(s, x, a) ≡ ∑ₖ₌₁^{|F|} vₖ fₖ(s, x, a)
Here s is the sentence, x is the current state, and a is the action being scored. In this equation a is the proposed action supplied to the scoring function. The previous action is already available as a component of x. F is the feature set, and |F| is the number of features. The summation index k runs from 1 through |F|. The function fₖ gives the value of feature k for that sentence, state and action. Its weight is vₖ, a real-valued parameter learned from data. Juxtaposing vₖ and fₖ denotes multiplication. The resulting sum defines φ, as indicated by ≡.
These equations express the intended relationship between a good local decision and a good complete walk. They also show why locality alone leaves a search problem. A local score can depend on a limited neighborhood, yet the available actions depend on what has already been emitted. Two visits to the same node can have different legal continuations if earlier decisions produced different output lists. A search procedure that combines partial traces merely because they reach the same node can lose information needed to decide whether they may emit a word or descend into a subtree. This is the dependence on history that the authors identify as an obstacle to applying standard dynamic programming.
How the next action is chosen in the experiment
The implemented procedure makes a greedy choice, advancing on the basis of the current state without first comparing complete alternative continuations. It divides the decision into an action type and, when that type is descent, a destination. First it chooses among EMIT, UP and DOWN. A one-vs-all logistic classifier distinguishes each action type from the alternatives using observations around the current node and information stored in the walk state. The transition system supplies the conditions under which the actions are available.
A DOWN decision leaves the choice of child open. The second stage compares children in pairs. Given a pair in source-index order, a binary classifier votes for one of them. The system counts votes and chooses the child with the most support. When several children compete, each is judged against alternatives in the context of the same parent. The decision can use properties of both children, so a prediction can depend on what the alternatives are as well as on the properties of the eventual destination.
The authors relate this procedure to the max-wins approach used in LIBSVM. The usual count of unordered comparisons among a set of candidates is:
M(M − 1) / 2
M is the number of classes in the comparison the authors use to explain max-wins. In the application to tree descent, the corresponding alternatives are the candidate children. Each candidate has M − 1 others with which it can be paired. Multiplication by M counts each unordered pair from both endpoints, and the slash indicates division by 2 to count it once. The parentheses group the subtraction. The walk uses one shared binary classifier across pairs. The classification instance changes with the two children and their surroundings.
This procedure is related to the trace-scoring equations because it makes decisions using features of a sentence, a state and its possible next actions. Its output is the sequence generated by taking the locally selected moves. In particular, the initial DOWN choice and the vote on a child are separate decisions. The paper explicitly distinguishes that procedure from maximizing the global linear score in the equations. This distinction becomes important when considering the effect of a wrong prediction. Once the procedure has made an emission, later moves proceed with that word already in the output.
How translations become reference orders
The training data contain sentences in the source language paired with translations. To make those pairs usable for training a source-word walker, the authors derive a reordered version of each source sentence. The translation supplies evidence about word order through an alignment, a set of links between source and target word positions. This procedure turns the target sequence into an ordering signal for source words, including cases where the words in the two languages do not match up one for one.
The authors obtain alignments in both directions using GIZA++. They combine the directional results with the grow-diag-final-and heuristic in Moses. The relevant earlier alignment work is Improved Statistical Alignment Models. The combined links provide the basis for assigning each source word a sorting index. When several target words are linked to one source word, the index comes from the leftmost of those target positions. The paper attaches an unaligned source word to the next aligned word in the source sequence.
A stable sort then orders source words by their indices. Stability preserves their original relative order whenever the indices tie. Suppose several source words receive the same target anchor because they are linked to the same position or because an unaligned word was attached to an aligned successor. The sorting rule determines where the group belongs relative to words with other anchors. Within the group, the source sequence resolves the tie. This produces a single reference order that can be used to supervise a walk even when the alignment provides only partial information about how the source words should be arranged.
The reference contains the original source tokens. The target sentence can have a different number of tokens and express some material using different groupings. Since the walk can only place the source words in a new order, the stable sort projects the target-side ordering information into an output the preprocessor is designed to produce. The quality of that projection depends on both the quality of the links and the choices involved in turning them into indices. The authors expect the scheme to produce target-like references where GIZA++ gives reasonably accurate alignments.
How reference orders become classifier examples
For each source training sentence and its derived reference, the authors generate a minimum-length walk that emits the words in the reference order. Every state followed by an action supplies an example for the first-stage classifier. The example contains the observations available at that state, and its label is the action type taken by the reference walk. A downward action contributes the common DOWN label at this stage, irrespective of the child it visits.
A downward move also supplies examples for the second classifier. Suppose its reference destination is child j. Each relevant example contains an ordered pair of children, written by the paper as k and k′, with k earlier in the ordering than k′. If j is k, the example is positive. If j is k′, it is negative. The sign tells the classifier which member of the pair to prefer. A pair containing neither reference destination receives no winner from this rule. The resulting supervision teaches the method how to compare the chosen child with alternatives at that step.
The first classifier sees a decision about what kind of action comes next. The second sees a decision about where a descent should go. This is also a difference in the amount and kind of evidence each reference action provides. An emission or an upward move contributes an action-type example. A descent contributes an action-type example and can yield several comparisons with competing children. Cross-validation of the resulting classifiers therefore measures accuracy on different prediction units.
The authors train both classifiers in LIBLINEAR with L2-regularized logistic regression. Regularization limits how freely the weights can grow to fit the available examples. The authors choose its parameter C through two-fold cross-validation. They also subsample the material used to train the classifiers because the training examples and their indicators impose a practical cost in memory and training time. The translation system later uses the full training corpus.
What the classifiers can observe
The feature inventories combine grammatical information with progress through the walk. For the first stage, the current node contributes its word form, lemma, part-of-speech tag, morphology and dependency relation. Combinations of the lemma, tag and relation let a feature express a more specific observation than any of those labels alone. The state contributes whether the node has been emitted, whether material on the left or right has been emitted, and the node’s visit count. Thus the same word in the same analysis can present different evidence as the walk advances.
The first stage can also see the last two actions. It observes part-of-speech tags, dependency labels and visit counts for the last two nodes visited, and tags and dependency labels for the last two nodes emitted. The authors include bigram and syntactic trigram features using the recently emitted material and the current node. The visit history describes the route just traveled. The emission history describes the output just written. A walk can pass through a node without adding it to that output, so the histories can carry different information.
The inventory extends beyond the current word and the recent history. It includes its left and right neighbors, its parent, the neighbors of its parent, its grandparent, and its left and right children. The observations include lexical, syntactic and state information about those positions and combinations of syntactic features across them. This gives the classifier access to words nearby in the sentence and to words nearby by grammatical attachment. A candidate action can therefore be informed by either kind of proximity.
The comparison between children uses a related range of observations centered on the parent and the pair. It includes state information, lexical and syntactic properties of the children, combinations of features across them, differences in visit counts, and signed distances. A signed distance retains which way a position lies as well as how far away it is. The configuration also uses syntactic triples involving the children, current node, parent, recent emissions and recent visits. The left and right neighbors of each child supply additional lexical and syntactic context. All features in both classifiers are encoded as binary indicators. The authors use the same feature configuration for the German and Italian experiments.
How the preprocessor and translator are fitted together
After fitting the classifiers, the authors run the learned walk on the source side of the full translation training corpus. They also run it on the source side of the development corpus. Those corpora retain their original target sentences. The phrase-based translator trains on pairs whose source member is the prediction of the reordering system and whose target member is the existing translation. For German-to-English, the intermediate input is German vocabulary presented in the order predicted to be useful for English translation.
Using predictions to prepare the translator’s training input is an important detail. The alignment-derived orders teach the walker what to do. The downstream translator learns from what the trained walker actually does. Accordingly, the translator can encounter the walker’s characteristic ordering decisions while it learns phrase correspondences, just as it will at test time. The development corpus serves to tune the downstream system, so the authors have no need to derive a reference source order for it.
The test corpus serves two evaluations. The walker first produces a source order from the parsed source sentence. Comparing that sequence with an alignment-derived reference gives a direct evaluation of the reorderer. Separately, Moses translates the predicted order, and the resulting English is compared with the reference translation. To obtain the alignment for the first evaluation, the authors append the test corpus to the training corpus for the alignment procedure. The resulting test reference supplies a comparison sequence. Running the learned walk on a test source sentence uses its source analysis and the learned classifiers.
Experiments and results
Corpora and translation baselines
The German-to-English experiments use Europarl v7. The authors report a training split of 1,881,531 sentence pairs, a development split of 2,000 sentence pairs and a test split of 2,000 sentence pairs. Development data are used for tuning. German-to-English also has an additional evaluation on a newspaper challenge set supplied for the WMT 2013 translation task. That set contains 3,000 sentence pairs. The challenge evaluation gives the German systems a test on material from a different domain from their training corpus.
For Italian-to-English, the authors assemble a larger training collection by combining Europarl v7, JRC-ACQUIS v2.2 and bilingual newspaper material gathered from news sites. They report 3,075,777 training sentence pairs, 3,923 development sentence pairs and 2,000 test sentence pairs. The main reported test evaluations use Europarl material. The Italian training collection therefore draws on several sources even though the main test has a more specific provenance. The corpus documentation the authors cite for one component is The JRC-Acquis.
The source sides are parsed with Desr. For each translation direction, the authors subsample the training set to 40,000 sentences for fitting the reordering classifiers. The walk uses alignment-derived reference orders and their traces from that training material. The baseline and pre-reordered Moses systems use the full training sets. Thus the subsample determines how much material directly supervises the action policy, while phrase-based translation is learned from the much larger corpora.
The baseline for each direction is Moses trained on the original source order with the default configuration, which includes lexicalized reordering. The decoder already has a mechanism for estimating how phrases should be placed. The experimental comparison asks whether changing the input order and training the translator on that changed input helps beyond the baseline’s existing ability to reorder. The pre-reordered systems are trained and tuned using corpora processed by the learned walk, then evaluated using similarly processed source inputs.
How to read the three levels of measurement
The classifier checks report the proportion of correct labels in two-fold cross-validation over the classifier training material. At the first stage, a label is an action type from a reference trace. At the second, a label is a preference between children on an example generated by a reference descent. These checks concern isolated classifier decisions. They answer whether the observations supplied by the feature inventories help recover labels from the training procedure.
The monolingual reordering evaluation runs the classifier-driven walk on source sentences from the test sets. It then compares the German output with an alignment-derived German order, and the Italian output with an alignment-derived Italian order. The reported metrics are BLEU and NIST. In this use, the scores characterize agreement with the reference sequencing of source words. All the words originate in the source sentence, so reproducing useful stretches in the right order is the accomplishment being measured.
The translation evaluation uses BLEU and NIST to compare English output with the English references for the main tests. The challenge evaluation also reports cased BLEU and TER. At this level, the result reflects the full pipeline, including the phrase-based system’s response to the input it received. Even where the same metric name appears, a score against a reordered source sentence and a score against a target-language reference describe different objects. The German and Italian monolingual results likewise depend on different sentences and alignments, which matters when interpreting the relative scores.
Action prediction and source ordering
Cross-validation on the training set puts the action-type classifier’s accuracy at about 92% for German and about 92% for Italian. The child-comparison classifier reaches roughly 89% on German and 92% on Italian. The latter figures apply to binary comparisons supplied by the reference training procedure. A child chosen by a vote at test time can depend on several such comparisons, and the need to choose a child already depends on the outcome of the first stage.
On the Europarl test sentences, learned German source reordering scores 57.35 BLEU and 13.2553 NIST against the alignment-derived German references. Learned Italian source reordering scores 68.78 BLEU and 15.3441 NIST against the corresponding Italian references. The paper reports these values for the learned orderings. It gives no corresponding source-order scores for leaving the German and Italian test sentences untouched. The two directions establish how closely each system agreed with its own reference orders under these metrics.
The authors also point out that their German monolingual BLEU is above the result reported by Tromble and Eisner for a comparable dataset. Their discussion gives that comparison as context. The comparison to Moses within the paper uses common test data and directly addresses the effect of the preprocessing pipeline on translation, whereas the earlier result concerns source ordering in a separate study.
Translation on the main test sets
Baseline and pre-reordered translation on the Europarl tests, BLEU
The original-order Moses baseline scores higher in both translation directions.
The numbers
| System or setting | BLEU |
|---|---|
| German-to-English Moses baseline | 33.78 |
| German-to-English with tree-walk pre-reordering (this paper) | 32.42 |
| Italian-to-English Moses baseline | 29.17 |
| Italian-to-English with tree-walk pre-reordering | 28.84 |
The BLEU comparisons favor the unreordered baseline in both directions. For German-to-English on the Europarl test, baseline Moses scores 33.78 and Moses with tree-walk pre-reordering scores 32.42. For Italian-to-English on the Europarl test, the corresponding scores are 29.17 and 28.84. These figures evaluate English translations after training and tuning the respective systems. The pre-reordering procedure was applied to the source data used at each of those stages.
Baseline and pre-reordered translation on the Europarl tests, NIST
Pre-reordering raises the Italian-to-English score and lowers the German-to-English score.
The numbers
| System or setting | NIST |
|---|---|
| German-to-English Moses baseline | 7.9664 |
| German-to-English with tree-walk pre-reordering (this paper) | 7.8202 |
| Italian-to-English Moses baseline | 7.1352 |
| Italian-to-English with tree-walk pre-reordering | 7.1443 |
The German-to-English NIST comparison follows the BLEU comparison. On the Europarl test it is 7.9664 for baseline Moses and 7.8202 for the reordered system. For Italian-to-English, the NIST comparison goes the other way, from 7.1352 for the baseline to 7.1443 with pre-reordering. The Italian experiment is therefore metric-dependent. It contains a higher NIST score for the proposed pipeline alongside a lower BLEU score for the same translation direction and test split. The paper’s overall assessment is that the method generally failed to improve the translation scores.
German-to-English on the newspaper challenge
German-to-English translation on the WMT 2013 newspaper challenge, BLEU
The baseline retains the higher score on newspaper material.
The numbers
| System or setting | BLEU |
|---|---|
| Moses baseline | 18.8 |
| Moses with tree-walk pre-reordering (this paper) | 18.1 |
On the WMT 2013 newspaper challenge, the baseline scores 18.8 BLEU and the pre-reordered system scores 18.1. The row labeled BLEU (11b) also gives 18.8 for the baseline and 18.1 for the reordered system. The cased BLEU scores are 17.8 and 17.3, respectively, and the row labeled BLEU-cased (11b) repeats 17.8 and 17.3. The corresponding TER values are 0.722 for the baseline and 0.739 for the reordered system. The direction of the comparisons on this test favors the baseline across the reported criteria.
The authors describe the absolute accuracy on the challenge material as low and attribute it to the change of domain from the training data. Both German systems show this difficulty. The challenge results also document how the comparison between them behaves in the newspaper setting: the explicit preprocessing step leaves the reordered system behind baseline Moses. The evaluation changes the test material rather than adding newspaper-domain training to isolate how the systems would respond to a better match between training and test.
What the ablations show
The paper reports no component-by-component ablation with scores, but it does offer a comparison with baseline Moses, separate checks of classification and source ordering, and an evaluation on newspaper material.
What the baseline comparison isolates
The most informative controlled comparison is between Moses on original-order inputs and Moses on the inputs produced by the learned walk. It tests the preprocessing pipeline as a whole. It includes the effect of changing the source-side phrase sequences that Moses sees during training, as well as the effect of presenting the resulting system with reordered text at test time. Each translator can learn under the input conditions it will encounter in use. This design makes the comparison relevant to deploying pre-reordering in a phrase-based system.
The comparison leaves several causes entangled. A different source order can make some correspondences easier to capture in short phrases while breaking up other source spans that would have made useful phrase units. Errors in an individual walk can also change the input in a way that the downstream system handles poorly. Aggregate translation scores record their combined effect with the benefits of successful moves and the decoder’s existing reordering behavior. The study provides no alternate run in which the same downstream pipeline receives alignment-derived reference source orders throughout. Such a contrast would address a different question about how Moses responds to the intended reordering when errors from the learned walk are removed.
The paper mentions trials of other classification schemes and configurations of features. The authors give the selected setup and say it performed best among the schemes they tried. They provide no comparative scores for the discarded alternatives. Accordingly, the reported configuration establishes the behavior of a complete system with both classifiers and its chosen feature inventory. It offers no measured contribution for visit counts, emission history, a particular neighbor position or the pairwise vote considered on its own.
What the separate evaluations reveal
The isolated classification checks show that the labels derived from reference walks are generally predictable from the selected observations. The source-order evaluation then puts those decisions together in a running system. This changes the nature of the task. A reference decision is scored at a state reached by the reference trace. During a generated walk, an incorrect emission changes the output prefix and the set of remaining words. An incorrect movement changes the current node and can change future visits and the relevant local features. The classifier may therefore have to make later decisions under conditions that were rare in training.
That distinction explains how a high action-prediction score can coexist with weaker evidence at the sentence level. It also shows why averaging classification correctness over examples gives a limited view of translation. The effect of a decision depends on its context. Choosing a less suitable detail inside a small subtree may affect relatively little text. An error near a head with substantial material below it can alter where a much longer stretch appears. The paper raises this possibility while noting that a cursory examination did not suggest that such large misplacements were prevalent.
The monolingual evaluation supplies a useful intermediate observation. The walker can produce source sequences with substantial agreement with the alignment-based references, yet that agreement does not reliably translate into better English scores. The evaluation sequence localizes the questions one can ask about the system. Classification investigates labels at individual states. Monolingual evaluation investigates the result of rolling out the policy. Translation evaluation investigates whether the translator benefits from that result. The experiments measure performance at each level, while evidence about the cause of a particular translation error would require following the decisions and their consequences in individual sentences.
What the contrast between domains reveals
The newspaper test adds a separate check on the German-to-English pipeline. Both systems score lower on it than they do on the main Europarl evaluation, and the baseline retains the higher BLEU score. This supports the direct observation that pre-reordering did not reverse the relative ranking when the test domain changed. Isolating the effect of domain on the reorderer would require measurements that locate the errors before translation as well as a comparison controlling the match between training and test material. The paper reports the challenge results at the translation level.
The authors’ explanations for the observed scores consequently have different standing from the scores themselves. The pattern across tests is measured. The proposed roles of unfamiliar states, high-tree errors, greedy choices and domain mismatch are interpretations of that pattern. The analysis usefully identifies where the mechanisms could matter. The experiments leave their relative contributions open.
Limitations
Limits the authors state
The authors identify the training procedure as a likely weakness. Every action example comes from a trace generated to reproduce a reference order. The learner consequently practices the decisions that arise on those trajectories. It receives less guidance for a state produced by a wrong move or a premature emission. In a generated walk, that state is precisely where it may most need corrective information. Because emission appends a word permanently, some mistakes inevitably constrain the orders still obtainable from the current output prefix.
They also identify greedy action selection as a possible source of error. The implemented policy commits to a choice using the information available at the current step. The paper proposes beam search as a future direction. A beam would maintain several partial walks so that a locally less favored action could remain available for comparison after further steps. The authors also suggest training with structured prediction, naming the averaged structured perceptron and MIRA as possibilities. Those proposals address how the quality of a sequence of decisions might influence training or search. The paper reports results for the greedy classifier-driven system. Online Large-Margin Training of Dependency Parsers is one of the works the authors cite in discussing structured alternatives.
The authors note that a mistake high in the tree can move a whole span to an unsuitable position. They also recognize a practical limit in classifier training, where memory use and running time lead them to subsample the corpus. On the data side, their construction of reference orders assumes reasonably reliable word alignments. The discussion of the challenge set adds a separate concern about the difference between newspaper test material and the German training domain. These limits operate at different points: supervision, learned decisions, the effect of decisions on the sentence, and the relation between training and evaluation material.
Limits visible in the setup
The source-order reference incorporates choices made by the alignment and sorting procedure. A leftmost target anchor is a particular way to handle several aligned target words, and stability is a particular way to handle tied source indices. A source ordering could be helpful for translation while differing from the alignment-derived sequence. Conversely, reproducing the sequence can preserve decisions inherited from inaccurate alignment links. The monolingual evaluation is therefore best read as agreement with a defined reference procedure. Its scores alone cannot establish which input order would yield the best translation.
The design also ties predictions to the dependency analysis from Desr. The syntax determines where the walker can travel and supplies many of the features used to choose its actions. A parser attachment can affect both the available route and the type of grammatical evidence presented at a decision. The authors test the system with those analyses in place. They give no comparison using an alternative parser or independently corrected trees, leaving the sensitivity to parsing errors unmeasured.
A further limit concerns the relationship between the formal transitions and the claim about arbitrary permutations. Connectedness guarantees a path through the tree between nodes. It does not by itself guarantee that every such path is legal under the displayed last-action tests. Consider a tree whose root has children that are leaves. If an intended permutation starts by emitting the root and then proceeds to one leaf, reaching the next leaf requires going back up to the root and then down. The displayed rule bars DOWN just after UP, and the root has already been emitted, so another emission there cannot intervene. This illustrates the tension between the unrestricted reachability argument and the stated action conditions. The experiments concern the practical classifier-driven implementation and do not resolve that formal point.
The accounts of reference-trace generation and action selection also leave implementation details open. The paper states that it uses a minimum-length trace reproducing each reference order, but it gives no detailed algorithm for finding that trace or for handling a reference order when the written transition conditions appear to exclude it. In the child-selection stage, the description explains pairwise voting and the winner by vote count, with no account of how tied vote totals are handled. These details matter for reproducing an implementation faithfully. They also affect the relation between the legal transition system, the data generated for training and the actions taken during evaluation.
Finally, the evidence is drawn from German and Italian inputs translated into English, primarily on Europarl test sentences and with a newspaper challenge in the German direction. The corpora, parses, alignments and decoder together define the scope of the findings. The score tables give point estimates without uncertainty analyses, which limits what can be concluded from the small Italian NIST increase and the other observed comparisons. The supported conclusion is about the reported pipeline under these conditions. The results leave open how a different search policy, training procedure or language direction would affect translation quality.
What came after
The Findings of the 2013 Workshop on Statistical Machine Translation cites the walk-based paper. Both works are dated 2013, and the reordering experiments include the newspaper challenge supplied by that workshop’s translation task organizers. This connects the paper’s German-to-English result to the wider workshop evaluation. The documented connection is the citation and the shared task setting. A citation by itself provides no evidence that the findings paper implemented, extended or tested the tree-walk procedure independently.
The original paper leaves several directions for further investigation. In particular, it proposes retaining alternative walks during search and training with methods that evaluate a structured sequence of decisions. Its experiments establish the performance of the greedy version against Moses and explain why these alternatives might matter. The workshop citation situates those experiments in their contemporary evaluation context. It does not establish a later result for either proposed change.
Cite
Cite as Antonio Valerio Miceli-Barone and Giuseppe Attardi. 2013. Pre-Reordering for Machine Translation Using Transition-Based Walks on Dependency Parse Trees. Proceedings of the Eighth Workshop on Statistical Machine Translation.
@inproceedings{micelibarone2013pre,
title = {{Pre-Reordering for Machine Translation Using Transition-Based Walks on Dependency Parse Trees}},
author = {Antonio Valerio Miceli-Barone and Giuseppe Attardi},
booktitle = {Proceedings of the Eighth Workshop on Statistical Machine Translation},
year = {2013},
url = {https://aclanthology.org/W13-2220/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/barone-2013-pre-reordering-machine-translation-transition/