Elamur Research

Hierarchical Phrase-based Machine Translation with Word-based Reordering Model

Paper · 2010 · Katsuhiko Hayashi, Hajime Tsukada, Katsuhito Sudoh et al.

Summary

A translation system can know how to move a phrase and still put it in the wrong place. In hierarchical phrase-based machine translation, rules let the system move whole groups of words, including groups that contain other movable phrases. Those rules make substantial changes in order possible. Hayashi and colleagues ask how the system can judge which of the orders available to it makes sense for the particular words it is translating. Their answer is to score the order in which the source words would appear if they followed the structure of a candidate translation.

A conventional rule describes a piece of source text and its counterpart in the target language. The authors add a third description: the same source material arranged to follow the target side of the rule. When the decoder assembles a translation, it also assembles this rearranged source sentence. The English output can then earn credit for reading naturally in English, while the rearranged Japanese words can earn credit for appearing in an order supported by bilingual training examples. Since both scores enter the same search, evidence about wording, translation choices and word order can influence the outcome together.

The reordering score adds up preferences for pairs of Japanese words. A pair can contribute even when its words are far apart in the proposed order. The authors show how to calculate those preferences efficiently during search. If a rule places one group before another, the contribution from pairs that cross between the groups can be determined before the decoder chooses a specific internal arrangement for either group. The extension adds information to existing rules while keeping their number fixed.

The experiment translates Japanese travel expressions into English. The reported test scores for standard Hiero are 39.68 BLEU and 28.09 position-independent word error rate. The integrated move-to-front variant has 39.89 BLEU and 28.85 position-independent word error rate. The authors interpret the BLEU gains in conjunction with the absence of a reported improvement on the position-independent measure, which is consistent with a change in order. The results table and the authors’ account disagree about some of the other comparisons, so the move-to-front comparison gives the clearest numerical support for the central result. The test uses the BLEU score.

Deep dive: Hierarchical Phrase-based Machine Translation with Word-based Reordering Model

A hierarchical translation method scores Japanese word order during decoding and compares joint search with reordering before translation. · about 37 minutes to read

The problem and its context

Generating an order and judging it are different jobs

A translator working between Japanese and English often has to move material as well as replace it. The paper gives a Japanese question whose subject matter is the cost of sending a letter to Japan by airmail. In the Japanese input, the letter and the details about its shipment come before the expression asking how much it costs. The English reference starts with the cost question and gives the shipping details later. Turning each piece into English in its original position can leave a reader with fragments whose intended relationship has to be inferred.

A hierarchical phrase system can represent this kind of movement by treating a group of words as a unit. A rule may place that unit in a different relative position on its English side. The unit can itself contain smaller groups whose positions are determined by other rules. Local and larger movements can therefore result from the same process of assembling a sentence. The bilingual rules define a repertoire of possible moves, and the decoder searches through combinations of them.

That repertoire leaves a question about preference. A rule with a slot can be reused with many different phrases filling the slot. Its stored translation statistics can help the decoder assess the rule, and a score for the resulting English sequence can help it choose among combinations. The specific Japanese words that fill different slots can nevertheless provide additional evidence about how those slots should be ordered. The paper’s intervention is to make that evidence available as a separate signal. It asks what happens when the decoder can inspect the relative positions implied for the original words by the particular derivation it is considering.

This distinction explains the role of hierarchy in the proposal. Hierarchy already supplies a way to move material across more than an immediately neighboring phrase. The new score takes advantage of those existing possibilities. It gives the decoder a way to prefer one legal arrangement over another by looking at the words that the arrangement actually moves. A group can receive credit for its position relative to another group because of the relationship between words inside the groups, even when the grammar rule representing their outer arrangement contains only placeholders for those words.

Earlier ways to prefer a movement

The paper places the method alongside earlier work on lexicalized reordering for phrase-based translation. In that setting, lexicalized means that a preference can depend on the words in the phrases whose order is being decided. A phrase can be considered in relation to another phrase with which it appears in a particular orientation. The authors cite orientation-based work as evidence that explicit reordering preferences were already an established part of ordinary phrase-based translation. One of the examples they cite is the Unigram Orientation Model.

A hierarchical phrase contains words and slots. A slot is filled by a further derivation, which may introduce other slots before it is fully expanded. An orientation score defined for ordinary phrases therefore cannot simply be assigned to a hierarchical rule with the same interpretation. The actual words involved in a move can lie inside the substituted phrases. A score intended to distinguish their placements needs access to those words and to the way the completed derivation puts them in order.

The paper also discusses systems that rearrange the source sentence before translation. In this approach, a procedure looks for a Japanese order closer to the order expected in English. The translation system then receives the rearranged Japanese sentence. Earlier studies cited by the authors used different ways to make this initial decision. Examples in the paper’s account include Clause Restructuring for Statistical Machine Translation and A Probabilistic Approach to Syntax-based Reordering for Statistical Machine Translation.

Preprocessing gives the ordering procedure a clear task. Its choice establishes the input on which the next stage operates. The authors’ concern is that an ordering chosen at that point has yet to benefit from the evidence available when a translation is being constructed. A source arrangement that looks promising to the reordering procedure might fit the available translation rules poorly. Another arrangement might yield better English. Earlier work discussed in the paper considered several candidate reorderings, which gives the translator more room to recover from an uncertain choice. Candidate generation still depends on what the reordering procedure finds promising enough to pass along.

The authors take their pairwise ordering technique from the work of Tromble and Eisner, where the technique had been used for preprocessing. They bring it into a system that works with the original source order and assesses rearrangements as part of translation. This changes the role of the score. A preprocessing system needs the score to identify a useful new input. In the integrated system, the score can contribute a preference to a decision that also has bilingual rule evidence and English fluency evidence available.

The place of grammar and syntax

A hierarchical rule associates source and target strings in a context-free grammar. The grammar is synchronous because a rule expands material on both sides together. Corresponding slots denote parts of the same bilingual construction, even if the slots appear in different positions on the two sides. A rule can therefore encode a relation between distant pieces of the finished sentence through a local decision about the order of its slots. The paper places its method in the hierarchical line of work that also includes Left-to-Right Target Generation for Hierarchical Phrase-Based Translation.

The authors discuss earlier rule extensions that incorporate dependency structure for the source or target string. These are related because they also put information about word relationships into the machinery that constructs a translation. Hayashi and colleagues build the added source order from bilingual alignments. Their construction uses no dependency annotation in the rules. The word-level scoring features still include grammatical word classes, so there is a difference between using a word’s class and supplying an analysis of which words are syntactically connected. The related work includes A New String-to-Dependency Machine Translation Algorithm with a Target Dependency Language Model.

The core design question is how to expose a useful ordering signal at the point where the decoder makes its choices. Placing the signal before translation puts it in charge of choosing an input. Putting it after translation would give it a completed sequence to assess. The authors make a choice about representation so that a decoder building a partial translation can already calculate part of the relevant score. The representation specifies the rearrangement each rule implies, while the choice of which rule and which fillers to use remains part of decoding.

The method, step by step

What the decoder constructs

The paper begins by writing the two-stage translation procedure as a sequence of transformations.

S → S′ → T

S is the original source sentence. S′ is a sentence made from the source words in an order intended to resemble the target order. The first arrow means that the source is rearranged. The second arrow means that the translation system uses that rearranged input to produce T, the target sentence. The prime on S′ distinguishes the changed order from the original one.

The proposed system treats the rearrangement and the translation as paired products of a single derivation.

S → (S′, T)

S again denotes the original source sentence. The arrow now represents the hierarchical decoder’s transformation from that input to a pair of outputs. Within the parentheses, S′ is the implied rearrangement and T is the target translation. The comma groups the two products of the same rule applications. The paper evaluates translation quality on T, and the additional scoring feature inspects S′.

For a reader following a particular Japanese sentence, the distinction is practical. In preprocessing, a rearranged sentence exists before the translator starts assembling an English output. In joint decoding, one candidate English output can imply one Japanese rearrangement, and a competing derivation can imply another. Each candidate has a translation score, and the order of the original Japanese words contributes to it. The Japanese rearrangement thus supplies evidence about the derivation that yielded it.

From bilingual examples to jointly scored translations

The steps in order.

From bilingual examples to jointly scored translationsStep 1: Align words in Japanese and English training sentences1. Align words in Japanese and English training sentencesStep 2: Extract bilingual hierarchical rules2. Extract bilingual hierarchical rulesStep 3: Add a target-ordered Japanese side to each rule3. Add a target-ordered Japanese side to each ruleStep 4: Learn preferences for ordered pairs of Japanese words4. Learn preferences for ordered pairs of Japanese wordsStep 5: Build English and reordered Japanese in parallel5. Build English and reordered Japanese in parallelStep 6: Score rule combinations during decoding6. Score rule combinations during decodingStep 7: Return the English from the highest-scoring derivation7. Return the English from the highest-scoring derivation

The ordinary hierarchical rule

A hierarchical rule has a label on the left and a matched description of source and target material on the right. Some of its symbols are terminals, the actual words written into the rule. Other symbols are nonterminals, the slots standing in for phrases that the decoder will build separately. The following is the paper’s starting rule form.

X → ⟨γ, α, ∼, w⟩

X is the nonterminal expanded by the rule. The arrow denotes a production that expands it. The angle brackets enclose the components of the rule. γ is the source-side sequence of source words and slots. α is the target-side sequence of target words and slots. ∼ records the one-to-one correspondence between slots on those two sides. w is the weight associated with the rule. The commas separate the components.

The correspondence is needed because a slot can move. The bilingual rule in the paper’s example has an opening slot and another slot near the end of its Japanese side. There is a Japanese particle after the opening slot, and a word aligned to the English copula appears after the later slot. The English rule also begins with the opening slot, but places the copula before the later slot. Other Japanese words that come before that later slot have English counterparts after it. The positions of the English slots say where the translated fillers go. The correspondence tells the decoder which source phrase supplies each filler.

A derivation is the collection of rule applications that accounts for an input and produces an output. A derivation can build a small piece of the input with one rule and plug the result into a larger rule, then continue until it accounts for the whole sentence. The baseline chooses the best-scoring derivation under the constraint that its source side reproduces the actual input. The paper’s objective can be written with the derivation choice as a separate line for readability.

D* = argmax_{D : S(D) = S} w(D); T̂ = T(D*)

D ranges over candidate derivations. S(D) is the source sequence built by a derivation, and the condition after the colon requires that sequence to equal input S. w(D) is the derivation score, as distinct from the individual rule weight w. argmax selects a derivation that maximizes that score. D* denotes the selected derivation. The semicolon in the notation separates selection from output. T(D*) is the English sequence generated by the selected derivation, and T̂ denotes the resulting translation. Parentheses indicate the argument to a function, and the hat marks the selected output.

The distinction between derivation and sentence matters here. The score is defined for the route through the grammar that produces the output. That route identifies the particular rule applications and slot substitutions contributing to the rearranged Japanese sequence. The method can therefore assess the rearrangement licensed by a candidate derivation while comparing that derivation with competing ways of translating the input.

Adding the reordered source side

The extended rule makes the target-oriented Japanese sequence an explicit component.

X → ⟨γ, γ′, α, ∼, w⟩

X is the nonterminal the production expands, and the arrow expresses that expansion. The brackets contain the sequences and other rule information. γ is the original sequence of Japanese terminals and slots. γ′ is a permutation of those same terminals and slots that follows the order indicated by the English side. α is the English sequence. ∼ identifies corresponding slots, and w is the rule’s weight. The prime identifies the rearranged sequence. Commas delimit the rule components.

The original Japanese side still determines where the rule can apply. The rearranged Japanese side determines what that application contributes to the auxiliary output. When the decoder substitutes a child derivation into an English slot, it also substitutes the child’s rearranged Japanese material into the corresponding slot on the auxiliary side. Since the auxiliary rule places the slots in target order, the source-side output reflects the nesting of the English derivation. It retains Japanese words, including Japanese words for which the training alignment supplied no English counterpart.

The extra sequence is constructed after ordinary rule extraction, using the bilingual word alignments available at that point. If the rule stored only its original sides, a decoder trying to reconstruct the rearrangement would need enough alignment information to decide where the source words go. Here the decision about the order associated with a particular rule is made when preparing the rule. At decoding time, the system can use the sequence directly. The authors describe this as adding a field to an extracted rule, with the same rule count for a given grammar.

The extended decoding objective chooses a derivation for the original input and reads off both products.

D* = argmax_{D : S(D) = S} w(D); (Ŝ′, T̂) = (S′(D*), T(D*))

D denotes a candidate derivation and D* a maximizing choice. S(D) must equal the original sentence S, as specified by the condition after the colon. argmax maximizes w(D), which in this system can include the auxiliary reordering score. The semicolon separates that choice from the output pair. S′(D*) and T(D*) are the rearranged source sequence and the English sequence that the chosen derivation generates. Ŝ′ and T̂ are their selected forms, marked with hats. The prime distinguishes the reordered source, and the parentheses and commas group the outputs.

A useful way to follow the change is to consider what a partial derivation carries forward. It accounts for a stretch of the original Japanese sentence. It supplies an English expression for that stretch, and it supplies a target-oriented ordering of the Japanese words in the stretch. A larger rule can then decide where the entire expression goes relative to other material. With repeated applications, changes within a phrase and changes between larger phrases both become visible in the rearranged source.

Where the rule gets its order

The authors start from alignments obtained with GIZA++ and the Grow-diag-final alignment procedure. A word alignment records which word positions in paired sentences correspond. The alignment can contain gaps, which matters because some Japanese words may have no individually linked English word. GIZA++ is associated in the paper with A Systematic Comparison of Various Statistical Alignment Models.

For the aligned material, the procedure is shared by both implementations. Place aligned Japanese terminals and corresponding slots in the order of their English counterparts. The paper’s illustrated rule gives English counterparts for the romanized Japanese words jinsei, no and da. They are associated with the English words life, of and is, respectively. Since the English rule puts is before the later slot and of before life after it, the auxiliary Japanese sequence puts da before that slot and no before jinsei after it. The source terminals now follow the target sequence even though their Japanese forms are retained.

The rule also contains wa, which has no aligned English terminal in the example. The target order therefore gives no direct instruction about its placement. The paper tries two conventions for keeping such words in the sequence. The move-to-front convention places unaligned source terminals before the aligned material, which puts wa before the opening slot in the illustrated rule. The attach convention associates an unaligned terminal with the nearest already aligned terminal or slot. In the illustration, attachment leaves wa immediately after the opening slot. The two examples agree on the relative order of the aligned material.

The two variants consequently assign different evidence to a derivation even where its English wording and alignment links agree. Moving wa changes its order relative to the material contributed by the opening slot. If the slot contains a long phrase, the change affects the relative order of wa and every word in that phrase. This is one reason the rule representation and the word-pair score need to be considered together. A decision about a small unaligned terminal can influence multiple terms in the auxiliary score.

Each variant constructs one additional source-side sequence for an extracted rule. The experiment uses separate systems for the alternatives. Within either system, the extension preserves the alternatives that came from rule extraction while giving the decoder more information for ranking them. The choice of convention governs the auxiliary sequence. It has no direct instruction to insert an English word wherever an unaligned Japanese word appears.

Scoring pairs of words

Once a rule system can construct an auxiliary Japanese sentence, it needs a way to judge the result. The paper uses a score based on ordered pairs. For every pair of positions, the scorer takes the earlier word and the later word and looks up the preference for seeing them in that order. The words can occur together or be separated by other words. The complete score adds all of these pair contributions.

score(S′) = ∑_{i,j : 1 ≤ i < j ≤ n} B[s′ᵢ, s′ⱼ]

score(S′) is the reordering score of candidate source sequence S′. ∑ denotes summation. i and j are positions in that sequence, and n is its length. The inequalities specify earlier–later pairs, beginning at position 1 and ending within the sentence. In s′ᵢ and s′ⱼ, s denotes a source word, the prime indicates the reordered sequence, and the subscripts identify the selected positions. B gives the score of placing its first word before its second. The square brackets enclose that ordered pair of arguments.

An arrangement receives credit or a penalty from the order it gives to each pair. If the decoder exchanges two groups of words, it can reverse the order of all pairs with one member in each group. Words within either group can keep the same relative order they already had. A rule rearranging groups can therefore make a large change to the overall word order, and the pairwise score can recognize it without relying on any one pair of neighboring words. A smaller local exchange is evaluated by the same definition.

Each pair score is a weighted combination of binary features.

B[s′ₗ, s′ᵣ] = θ · ϕ(s′ₗ, s′ᵣ)

B is the ordering score. s′ₗ is the word proposed for the earlier, left-hand position of the pair, and s′ᵣ is the word proposed for the later, right-hand position. These words need only be ordered relative to each other. θ is the vector of learned weights. ϕ is the feature vector evaluated on the ordered pair. The centered dot is the dot product, which multiplies each feature value by its corresponding weight and adds the products. The brackets and parentheses delimit the arguments of B and ϕ.

Binary features indicate whether a particular property of the pair holds. The feature inventory looks at individual source words and at combinations of their identities and grammatical classes. In the paper’s terminology, a unigram feature uses information about one endpoint. A bigram feature combines information from both endpoints. Here a bigram feature can use two words that are separated in the resulting sentence. Those feature names describe how much of the pair a feature observes. The grammatical class used at a position is its part-of-speech tag.

A feature can identify the word on the left, the class of that word, or the word together with its class. There are corresponding features for the other endpoint. Features spanning the endpoints can identify both words, both classes, or different combinations of words and classes. A fully lexical feature can learn a preference that is specific to the words at hand. A feature that uses grammatical classes can contribute evidence for a more general pattern shared by different words. The total pair score combines whatever learned preferences apply.

The paper also illustrates features that would look at part-of-speech tags around the endpoints, in addition to the tags of the endpoints themselves. The reported system omits those surrounding-tag features after preliminary experiments in which the authors found them unhelpful. Their omission matters for the decoder design. With features of the pair itself, changing the order inside a child phrase leaves the score for an already ordered cross-phrase pair intact. A feature using the new neighborhood around one of the words could make the same pair’s contribution depend on how its child phrase was arranged.

Learning and combining the scores

The bilingual training material serves several purposes. The authors extract the hierarchical rules, train the English sequence scorer and learn the pairwise Japanese ordering preferences from that corpus. For the ordering preferences, the supervision comes from rearrangements inferred from bilingual alignments. The training task is to give useful scores to orders of Japanese words that reflect the order of their English counterparts. This definition of the desired order does not require an independently authored Japanese sentence in the new order.

The authors follow Tromble and Eisner in using a perceptron to learn θ. At a general level, perceptron training changes feature weights when the order selected under the current weights differs from the training order. Features supported by the training order can then have more influence relative to features supporting the competing prediction. Across examples, the weights encode recurring preferences about which words or grammatical classes tend to come earlier in the target-oriented arrangement. The paper identifies the algorithm and feature types. Its account gives the level of detail needed to distinguish this supervised training from the later tuning of the translator.

The reordering score is one feature of the decoder’s log-linear scoring function. A log-linear scoring function combines features by giving each a weight and adding their weighted contributions. The weights within the pairwise scorer decide which word-order patterns are favored. The decoder’s weight for the reordering feature decides how much the resulting sentence-level signal counts alongside its other evidence. Training the former and tuning the latter serve different purposes. The framework is associated in the paper with Discriminative Training and Maximum Entropy Models for Statistical Machine Translation.

The shared decoder features include target-side sequence probability, lexical translation scores in both directions, rule translation probabilities in both directions, a word penalty and an arity penalty. The target-side probability assesses the English words as a sequence. The lexical translation scores provide evidence about correspondence at the word level, while the rule probabilities concern the source and target sides of a rule. The word penalty responds to the amount of output. The arity penalty concerns the number of slots in a rule. Together, these signals allow a derivation with a well-supported Japanese arrangement to be judged in light of how it translates and what English it produces.

The paper writes the target probability as follows.

P_LM(T)

P denotes a probability and LM identifies the target-language sequence component that supplies it. T is the candidate English sentence. The parentheses mark T as its argument. The implementation estimates this probability with a language model.

The paper writes the lexical translation features in the two directions separately.

P_w(γ | α)

P_w denotes a lexical, or word-level, translation score, with subscript w marking that level. γ is the source rule sequence and α the target rule sequence. The vertical bar indicates the conditioning direction, here from the target side to the source side. The parentheses enclose the arguments.

P_w(α | γ)

P_w again denotes the lexical translation score. α is the target rule sequence, γ is the source rule sequence, and the bar marks the source side as the conditioning information. The parentheses delimit the two arguments.

The rule translation features use the same two directions at the level of whole rule sides.

P(γ | α)

P here denotes a rule translation probability. γ is the source side whose probability is assessed, and α is the target side after the conditioning bar. The parentheses group the two sequences.

P(α | γ)

P again denotes a rule translation probability. α is the target side being assessed, and γ is the source side after the conditioning bar. The parentheses delimit the arguments. These conditional scores concern the ordinary bilingual rule, which remains in use alongside the new reordering feature.

Decoding uses CKY-style parsing and cube pruning. CKY-style search organizes partial derivations around the intervals of the source sentence they cover. A chart item represents a candidate for an interval. A rule can build a larger item by combining items for smaller intervals, with the rule specifying how their translations are placed in the larger expression. The paper illustrates this with source spans [1,3] and [4,7], which provide children for an item spanning [1,7]. The numbers mark positions in the illustrated source sentence.

A single interval can have several candidate items, and several rules may apply to a particular division of a larger interval. Cube pruning limits the number of combinations the decoder explores by working with ordered alternatives and examining promising combinations first. Some score contributions are known before combining items. Others depend on how the pieces meet. The English sequence score, for instance, can contain a contribution at a boundary where the right edge of one child meets the left edge of another. Its value depends on the words those children actually produce near that boundary. The paper illustrates this with a 2-gram score and a 1-gram heuristic. An n-gram is a sequence of adjacent words of a specified length.

The direct implementation treats the new score as another interaction between children and their parent rule. Each chart item retains its reordered source segment. When the decoder builds a larger item, it combines the segments and the rule’s source terminals in the order dictated by the auxiliary rule side. It then adds the contributions from pairs whose relative order becomes known through that combination. Pairs lying wholly within a child already contributed at the stage when the child was built. The new terms are calculated alongside other costs of combining items.

The proposed implementation moves these new terms earlier. Suppose a rule positions the first child entirely after the second in the auxiliary sequence. The source spans already say which words each child contains. Every word from the second child precedes every word from the first in the combination, whatever internal order the decoder eventually chooses for either child. The same reasoning applies to a terminal that the rule places before or after a child. The rule and its source spans therefore determine the newly introduced pair scores under the feature set used in the experiment.

This decomposition depends on what the feature can see. The overall sequence can change when child hypotheses change, so features tied to a word’s neighbors in the reordered sequence can change too. Under the reported pair features, a pair that crosses between groups can be scored from its members and the direction the rule gives it. Features whose values depend on the eventual distance or intervening order would need to preserve this independence for the same calculation to apply. The paper makes the efficient computation conditional on the design of the ordering features.

The decoder can calculate the applicable reordering contribution for a rule and source spans before sorting rule alternatives for cube pruning. Reordering evidence can therefore affect which combinations are considered early, in addition to affecting the scores of completed candidates. This calculation uses the current input, so preparation for pruning happens during decoding. Storing the auxiliary sequence in the grammar and computing the sentence-specific rule contribution in the decoder are separate steps.

Experiments and results

The translation task and the data split

The authors test Japanese-to-English translation on the basic travel expression corpus, BTEC. They choose this language direction because they expect the differences between Japanese and English word order to make reordering important. The test is an evaluation of travel-expression translation. The Japanese side supplies the input, and the English side supplies the reference against which each system’s output is scored.

The corpus statistics list 200.8K sentences on each side of the training split. The Japanese training side contains 2.4M words, with a mean length of 12.0 words per sentence. The English training side contains 2.3M words, with a mean length of 11.5. The training split is used for the hierarchical grammar, the 4-gram English sequence scorer and the word-based reordering scorer. Both the bilingual rule information and the ordering supervision therefore come from the training material.

The development split contains 1.0K sentences per language. Its Japanese side contains 10.3K words and has a mean length of 10.3 words per sentence. Its English side contains 9.8K words and has a mean length of 9.8. The authors use single-reference development data for minimum error rate training, or MERT. This procedure tunes the decoder’s combination of features using its performance on development translations. It serves a different role from perceptron training, which estimates the preferences inside the reordering feature.

The test split also contains 1.0K sentences per language, with one English reference for each Japanese input. The Japanese side contains 14.2K words and has a mean sentence length of 14.2. The English side contains 13.5K words and has a mean sentence length of 13.5. The table’s sentence lengths describe the material on which the systems were evaluated. They do not by themselves establish how the method behaves on much longer inputs or on a corpus with a different distribution of constructions.

The systems being compared

The baseline is a standard Hiero system using the Joshua decoder. It combines the target sequence feature, the directional lexical and rule features, and the two penalties described above. Its hierarchical rules already support reordering. The baseline thus tests whether an explicit word-order score helps a decoder that can already change the position of phrases.

The preprocessing condition applies Tromble and Eisner’s reordering approach before Hiero translates the input. This condition addresses the placement of the reordering decision in the pipeline. The score first helps determine the Japanese sequence sent to the translator. In the integrated conditions, the score is available to a decoder operating on the original Japanese input while it considers its translation options.

The integrated move-to-front and attach systems add the word-pair reordering feature to the baseline inventory. Each builds its auxiliary rule side according to the convention in its name and uses the proposed implementation for incorporating the reordering score into cube pruning. The paper reports the same beam-width setup across systems. A beam controls how many candidates are retained during approximate search, so sharing that setup holds one important decoding setting fixed.

The comparison addresses several questions at once. Baseline versus integrated search tests the contribution of the added rule representation and scoring feature as a package. The two integrated variants test choices about unaligned Japanese material within that approach. The preprocessing condition addresses the practical effect of committing to a rearranged input before translation. These comparisons have different interpretations even though all systems translate the same test material.

What the metrics distinguish

BLEU assesses the overlap of word sequences in a translation and its reference. Because it gives credit for matching consecutive words, a change in arrangement can affect BLEU even if many of the individual words remain the same. The paper uses it to evaluate the final English outputs and also, in a separate diagnostic, to compare two ways of obtaining reordered Japanese. The authors cite the work that introduced BLEU.

Position-independent word error rate, abbreviated PER, discounts position when comparing output words with the reference. A system can therefore place words more suitably and improve BLEU while receiving little or no corresponding benefit on PER. Lower PER is better. The two measures provide a way to ask whether a gain in consecutive reference overlap comes with a gain in recovery of the reference words themselves. The authors cite An Evaluation Tool for Machine Translation.

Neither measure identifies exactly which move caused an individual translation to improve. BLEU can respond to a lexical substitution as well as a move, since changing a word also changes the sequences containing it. PER can reward a set of words even when they form a poor sentence. A pattern across the two measures can support an interpretation about ordering. Assessing the cause more directly requires looking at the actual candidate and reference or measuring ordering separately.

The test comparison

The clearest result in the displayed test table is the comparison between standard Hiero and the integrated move-to-front system. Standard Hiero has 39.68 BLEU on the BTEC test split. The move-to-front system has 39.89. On PER, standard Hiero scores 28.09 and move-to-front scores 28.85. This combination supports the authors’ account of a BLEU gain without a corresponding improvement in the position-independent measure.

Standard and integrated Hiero on BTEC test BLEU

The move-to-front variant ranks highest among the Hiero systems as the test table presents them.

Standard and integrated Hiero on BTEC test BLEUStandard Hiero: 39.68Standard Hiero39.68Hiero with move-to-front (this paper): 39.89Hiero with move-to-front (this paper)39.89Hiero with attach: 39.43Hiero with attach39.43
The numbers
System or settingBLEU
Standard Hiero39.68
Hiero with move-to-front (this paper)39.89
Hiero with attach39.43

Standard and integrated Hiero on BTEC test PER

Standard Hiero has the lowest position-independent error among these systems.

Standard and integrated Hiero on BTEC test PERStandard Hiero (this paper): 28.09Standard Hiero (this paper)28.09Hiero with move-to-front: 28.85Hiero with move-to-front28.85Hiero with attach: 29.25Hiero with attach29.25
The numbers
System or settingPER
Standard Hiero (this paper)28.09
Hiero with move-to-front28.85
Hiero with attach29.25

The test table presents the attach system with 39.43 BLEU and 29.25 PER. Read against the baseline in the same table, the BLEU figure places attach below standard Hiero. The accompanying discussion says that both integrated variants beat the baseline on BLEU. Those parts of the paper give different accounts of attach. The charts preserve the displayed figures, and the claim that both variants improved should be read with that discrepancy in mind.

There is a second conflict involving preprocessing. In the displayed metric order, the preprocessing row reads 45.27 BLEU and 17.32 PER on the BTEC test split. Those would be favorable scores relative to the baseline on both measures. The authors describe preprocessing as poor and conclude that integration outperformed it. If the two preprocessing figures were assigned to the opposite metrics, the resulting direction would fit that description. The paper leaves their correct assignment unresolved, and the preprocessing comparison is excluded from the charts.

These discrepancies matter because the experimental questions differ in strength. The table and narrative agree on the direction of the move-to-front BLEU result against the baseline. That comparison is enough to show an instance in which the added scorer accompanies higher test BLEU under the reported setup. A numerical claim that both integrated systems improve, or that integration decisively beats preprocessing, needs consistent assignments for the affected rows. The absence of a PER gain for the integrated variants is consistent with the authors’ interpretation, although the reported comparison does not quantify how frequently the observed BLEU differences would recur.

What the Japanese diagnostic measures

The paper reports another result on the development data. The authors compare Japanese sequences predicted by the reordering scorer with Japanese sequences rearranged using GIZA++ alignments. The resulting BLEU score is 26.2 on the BTEC development split. This is a comparison between Japanese sequences with different orders. The BTEC test scores concern English translations and should be understood as a separate evaluation.

The diagnostic asks how closely a rearrangement chosen by the word-pair scorer matches a rearrangement recovered from the bilingual alignment. A correct English translation can differ in wording and organization from a reference, just as a useful ordering preference can be valuable to the translation decoder without reconstructing the entire alignment-derived Japanese sequence. The diagnostic is therefore evidence about the noisiness of the standalone ordering signal. It illustrates why the authors were interested in having other evidence available when that signal is used.

The training data contain 34.7% unaligned Japanese words, according to the authors. They point to those words as a likely reason for the low diagnostic score. An alignment can indicate the target order for a source word with a linked English counterpart. For an unaligned word, the system falls back on a placement convention. The reported proportion describes how frequently the Japanese training material lacked that direct supervision. The paper does not separately quantify how much of the development BLEU shortfall comes from this cause.

What the ablations show

The contribution tested by turning on reordering

The paper’s controlled comparisons consist of the baseline, the preprocessing pipeline, and the two ways of constructing the auxiliary rule side. These are system-level comparisons. They tell us what happens when explicit reordering is introduced in different ways. They leave finer-grained questions about individual feature templates, tuning and search to the analysis of how the algorithm works.

The comparison between standard Hiero and integrated move-to-front is the most direct test of the paper’s central addition. Both systems start from hierarchical translation rules and use the shared set of translation and target-sequence features. The integrated variant adds a reordered source side, a trained scorer and its use in pruning. Its higher BLEU shows that the package can help the baseline in this experiment. Because the additions are introduced together, the score comparison attributes the observed change to the integrated system as a whole.

There are several ways the package could affect the final choice. It may favor a derivation that the baseline would have considered but ranked lower. It may also move a promising rule combination earlier in cube pruning, so the decoder has a better chance of reaching it within the beam. The code path described by the paper allows both effects. The comparison gives total translation scores, so it does not assign a separate share of the gain to final ranking or to changes in the explored candidates.

The fact that the baseline already allows a rule to reverse groups of words is important when interpreting this test. The result concerns the use of search and scoring to select among rearrangements. Since adding the auxiliary sequence preserves rule count, an improvement does not require an expanded inventory of bilingual rules. The test connects the increase in the move-to-front BLEU score to a new criterion for choosing among derivations licensed by the grammar.

The choices for unaligned words

Move-to-front and attach use the same principle for ordering aligned terminals. Their difference is what they do with source words that lack a target link. This makes the comparison useful for seeing whether that part of the representation matters to the full translation system. The displayed scores place move-to-front ahead of attach on both test measures. That is a comparison of complete systems using the different conventions. It does not identify which particular unaligned tokens account for the difference.

The example with wa gives the comparison a concrete interpretation. Moving the particle to the opening of the auxiliary rule and leaving it after the opening slot expose the evaluator to different ordered pairs. Consider an opening slot that the decoder fills with a multiword group. Every source word in that filler has its relative order with the particle reversed when the particle moves from just after the slot to just before it. Therefore, even when the arrangement of all aligned units agrees, the score can change substantially across the set of pairs affected by the unaligned token.

The paper’s discussion emphasizes more fluent examples from attach, while its displayed aggregate scores favor move-to-front. Sentence examples and test averages answer different questions. An attach example can reveal how the integrated scorer helps a particular derivation even when attach scores lower across the test set. The examples also establish a narrower point than the claim that both variants improve overall, since the attach BLEU figure and the prose summary of test performance conflict.

What the examples say about order and wording

The authors present a question concerning plans to start selling products in the United States. In the baseline version, the sales material appears before a delayed question about the plan. In the attach version, the question about planning comes first, with the product and place information following it. That organization is closer to the English reference. The output still has a problem expressing the intended sales action. The example demonstrates how a more appropriate arrangement can make the structure of a question clearer while leaving lexical content imperfect.

In the example about an airmail letter, the baseline places the shipping material before a separate question about price. The integrated attach version starts with the question about cost and places the letter and destination after it. That move makes the general structure closer to the reference. The reference supplies a verb for sending the letter that the candidate lacks. The comparison makes the authors’ metric interpretation tangible. A translation can match longer stretches of the reference after substantial movement even if a needed English word is absent.

The examples compare full outputs from the two systems. They illustrate the kind of change the authors attribute to the reordering feature, and the presence of wording changes means they cannot isolate the contribution of order alone. A closer match in English sequence can reflect altered phrase choices, different placement, or both. The position-independent score provides a corpus-level complement to that observation by making order less important in the evaluation.

What the diagnostic and implementation comparison add

The low development BLEU for standalone Japanese reordering provides context for the preprocessing experiment. A scorer that only roughly matches alignment-derived orders can still give good advice about many pairs. During integrated translation, those preferences enter a larger decision that takes account of the rules available and the English being formed. A useful contribution from the scorer therefore requires less than successful reconstruction of the entire rearrangement in isolation. The paper’s explanation is consistent with a scorer that has limited reliability on its own but supplies information that complements the other features.

The authors attribute some of the difficulty to unaligned words. Their training statistic shows that these words were common enough for the handling convention to affect a meaningful part of the material. The paper does not report a comparison that scores reordered Japanese with and without unaligned words, or that isolates performance on sentences with different proportions of them. The link between alignment gaps and the diagnostic result is the authors’ explanation, grounded in the construction of the supervision, instead of a measured decomposition of the error.

The paper describes a direct and an earlier-scoring implementation for cube pruning. The comparison establishes where the pair contributions can be computed and what information they depend on. The earlier method uses the fact that the rule and spans fix the order of cross-group pairs, and can put the resulting contribution into the rule ranking. A timing experiment or matched quality comparison between those two implementations is absent. The paper likewise describes the surrounding-tag features as unhelpful in preliminary work, without supplying numbers from a controlled feature-removal experiment.

Limitations

Limits the authors identify

The authors identify unreliable standalone reordering as a weakness. The Japanese development evaluation measures agreement with an order derived from bilingual alignments, and the score is low in their assessment. They connect this weakness to the substantial presence of unaligned Japanese words in the training corpus. The design makes the problem easy to locate. Aligned words get an ordering cue from positions on the English side, while an unaligned terminal needs a convention for its placement. Learning a preference from that constructed order inherits the uncertainty of the construction.

The efficient decoding method also has a condition stated in the paper. The new cross-group contribution has to be determined before the decoder knows the selected internal order of each child. Neighboring-tag features tied to that eventual arrangement break the simple independence argument. The reported implementation uses a feature inventory chosen in part for compatibility with this computation. The paper’s own preliminary assessment gives the authors a reason to omit surrounding context, while the experimental record leaves the behavior of richer context features open.

The authors also observe that the integrated systems yield no reported improvement on the position-independent measure. They interpret the BLEU behavior mainly through changes in order. The illustrative sentences support that interpretation at the level of individual cases, where questions move into a more natural position but wording problems persist. The evidence concerns translation under a combined set of features. The paper has no independent, comprehensive test that labels each movement in the English outputs as correct or incorrect.

Finally, the paper’s future-work discussion distinguishes the representation from the particular use tested. The authors suggest scoring the reordered Japanese as a word sequence in its own right, using the ordinary and rearranged source sides to define further translation features, and exploring rearranged target material. They also propose using the rearranged source in tuning, motivated by a hypothesis that a more fluent auxiliary order would accompany more fluent English. The experiments test the pairwise feature and its integration. The proposed uses describe the scope of the representation beyond those experiments.

For the proposed rule features, the paper gives the two conditioning directions.

P(γ′ | γ)

P here denotes a proposed rule-level probability. γ′ is the reordered source side being scored, and γ is the ordinary source side after the conditioning bar. The prime distinguishes the rearrangement. The parentheses group the two sides of the probability expression.

P(γ | γ′)

P again denotes a proposed rule-level probability. Here γ, the ordinary source side, is the sequence being scored, and γ′, the rearranged source side, supplies the conditioning information after the bar. The parentheses delimit those arguments. In both directions the probability would describe a relationship between two Japanese sequences associated with a rule. The tested bilingual rule probabilities concern source and target, and serve a separate purpose.

Limits visible in the comparisons

The scope of the translation evaluation is a single language direction and one type of material. BTEC travel expressions provide examples for the authors’ question about Japanese and English order, and the English test set has one reference per source sentence. This makes the measurements interpretable within that corpus. An estimate of how the method transfers to other genres, reference choices or language directions would require evidence from those conditions. The paper’s corpus statistics do not establish such a transfer.

The metric disagreement in the results table limits the quantitative conclusions more directly. The evidence for a higher move-to-front BLEU score than baseline is internally consistent. The interpretation of attach depends on whether greater weight is given to the displayed row or the authors’ account, and the literal preprocessing row conflicts with their interpretation of that condition. A reconstruction that swaps the preprocessing metrics would be plausible, but it would still be a reconstruction. The exact size and direction of a comparison should follow from a stable mapping of values to metrics.

The paper reports aggregate scores and describes the PER difference as lacking significant improvement, without giving a significance procedure or uncertainty estimates for the BLEU comparisons. The scores therefore describe the tested runs. The evidence for the move-to-front result is directional, and its stability across other tuning samples or test sets remains unknown. Selected translations reveal changes worth interpreting, while their selection and small scope leave the frequency of those changes undetermined.

The preprocessing comparison asks what happens when the reordering work is done earlier. It also changes the representation on which the translator operates. Since the integrated system matches its grammar to original source order, the ways in which translation choices depend on the source input can differ between the pipelines. A result from the comparison would describe the pipelines considered in the paper. It would not by itself say how all possible preprocessing methods compare with integrated scoring, such as methods that offer a richer candidate set or use a better standalone preference.

Rule count and decoder work are distinct quantities. Keeping the same table of rules means that adding the auxiliary string does not produce additional rule alternatives by construction. The stored rules do contain extra information, and the decoder must calculate reordering contributions. Since those contributions also affect candidate ranking under a beam, two decoders with the same inventory may explore different parts of it. The paper gives a structural reason to move the pair calculation earlier. It does not supply wall-clock times, memory measurements or explored-candidate counts that would establish the practical size of an efficiency gain.

The phrase “target order” also has a specific scope in this study. It is obtained by carrying relative order across the bilingual links available in a training sentence and supplementing those links with a convention for unaligned material. The rearranged Japanese can be evaluated against another sequence obtained by this procedure. Its usefulness as evidence for an English derivation can be assessed through translation. Neither evaluation provides a human judgment of the rearranged Japanese as an independent sentence, which matters when considering the authors’ future hypothesis about fluency on the auxiliary side.

What came after

Soft Dependency Constraints for Reordering in Hierarchical Phrase-Based Translation cites Hayashi and colleagues and returns to the problem of guiding reordering within a hierarchical translator. Its title identifies its approach as soft dependency constraints. Hayashi and colleagues guide the choice among derivations with pairwise preferences on an auxiliary sequence of source words. The later work’s stated emphasis is on dependency relationships as a source of guidance. Both address the question raised by having a grammar that can generate several orders and needing evidence to rank them.

The citation connects the papers at the level of that problem and the use of additional ordering guidance. The later work’s title and citation establish neither reuse of Hayashi and colleagues’ reordered source side nor a direct experimental comparison with their system. Its specific training, decoding and evaluation choices remain unspecified here. The link is consequently best understood as a continuation of the reordering question, with a different stated basis for the extra constraint.

Cite

Cite as Katsuhiko Hayashi, Hajime Tsukada, Katsuhito Sudoh, Kevin Duh and Seiichi Yamamoto. 2010. Hierarchical Phrase-based Machine Translation with Word-based Reordering Model. Proceedings of the 23rd International Conference on Computational Linguistics (Coling 2010).

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

@inproceedings{hayashi2010hierarchical,
  title = {{Hierarchical Phrase-based Machine Translation with Word-based Reordering Model}},
  author = {Katsuhiko Hayashi, Hajime Tsukada, Katsuhito Sudoh, Kevin Duh and Seiichi Yamamoto},
  booktitle = {Proceedings of the 23rd International Conference on Computational Linguistics (Coling 2010)},
  year = {2010},
  url = {https://aclanthology.org/C10-1050/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/hayashi-2010-hierarchical-phrase-based-machine-translation/