Long-distance reordering during search for hierarchical phrase-based SMT
Paper · 2012 · Fabienne Braune, Anita Gojun and Alexander Fraser
Summary
A German clause can put an auxiliary near the beginning and its participle near the end. An English translation may need to bring those words together or translate them as a single verb. Either choice can require moving everything that comes between them. Braune, Gojun and Fraser ask how a hierarchical statistical translation system can consider such a move while it builds an English sentence. Their starting point is Hiero, a system that learns bilingual rules with gaps. A rule can translate the words around a gap and move the translation of the gap elsewhere. The usual limit on rule applications keeps the system from using that operation across a sufficiently long German clause. The paper tackles this search problem in machine translation.
The authors give ordinary rules and rules intended for long-distance movement different ranges. Ordinary rules work on spans of 1 to 10 source words. The specialized rules are learned from short training examples too, but can be used on spans of 11 to 50 words when translating a new sentence. The authors select rule shapes that can hold on to the words at the edges of a reordering and divide the intervening text into pieces that can move independently. An additional rule can join several short translations inside a gap. The system keeps long-span rules with a verb on each language side and uses German clause boundaries to prevent a rule from pairing words in different clauses.
The main comparison is with a version of hierarchical Moses that already lets ordinary rules reach spans of up to 50 words. The specialized system improves the reordering-only LRscore by 0.31 on the Europarl test and by 0.4 on the ACL WMT 2009 news test. Its BLEU performance is similar to the widened baseline on Europarl and 0.4 lower on news. The authors attribute most of that decline to poor word choices when rules are used in a different genre. The two measures capture different properties of the output, including how well its order follows the reference and how well its short word sequences match.
The manual analysis shows where the extra reach helps. Among 450 news sentences examined, the authors identify 96 for which the reference calls for a rule over more than 10 source words. The specialized system uses a large-span rule that matches the required source pattern in 34 cases, compared with 17 for the widened baseline. It also uses such rules on 7 sentences outside the selected cases, compared with 14 for the baseline. Of the specialized system’s 34 pattern matches, 24 produce a translation judged correct for the reordering under study. The approach makes it more likely that search will use a long rule in an appropriate place, while leaving open whether the many missed cases require better rules or better scoring of the alternatives.
Deep dive: Long-distance reordering during search for hierarchical phrase-based SMT
Span-specific rules help a German-to-English translation system move words across long clauses while keeping auxiliaries and participles together. · about 38 minutes to read
The problem and its context
When translating the parts changes the verb
An English reader can encounter an auxiliary and its participle in quick succession. In the German constructions the paper studies, the corresponding words can enclose much of a clause. The words between them may name the subject, specify a time, or describe the amount by which something changed. The translation has to make decisions about those pieces as well as the verb. Bringing the verb together may move several pieces at once, and the pieces can require different positions in English.
One of the paper’s examples brings German haben and geeinigt together as English have agreed. The displacement in that example is 5 tokens, within the reach of the ordinary hierarchical system. Its value is to show an operation the system already knows how to perform. A longer stretch of German between the same verbal parts could put their joint translation beyond the permitted span. The distance can grow even when the relationship between the two words, and the reason for placing their translations together, stays the same.
The more difficult example describes a rise in the price of everyday goods. The German clause has ist before the expressions for elapsed time and the amount of the rise, and gestiegen after them. The English reference renders the two verbal parts together as soared. It places the amount before the elapsed time, reversing the order of those two pieces in the German. A single hierarchical application could express both decisions. It could supply one English verb for the German verbal complex and put each intervening phrase in its required place.
With the ordinary span limit, the decoder has to cover the verbal parts through separate applications. A short rule can translate ist with its nearby material, and another can translate gestiegen with different nearby material. Both rules can have reasonable translations elsewhere. In the example, combining their outputs gives the sentence competing pieces of English verb structure. The resulting error involves the relation between words that the decoder has assigned to separate parts of its derivation. Sufficient reach matters because it lets one rule make the lexical and ordering decisions jointly.
The authors also mention German particles that occur at the end of a clause and need to appear near their English verbs. Subordinate clauses can present other ordering problems. The method focuses on movements inside a clause, a scope that still allows a rule to enclose an embedded clause. That focus gives the authors a way to decide what a useful rule should look like and when its apparent anchors belong together.
What earlier systems could do
The paper describes limits on movement in ordinary phrase-based statistical translation. Such a system translates phrases and can change the order in which it uses them. A distortion limit restricts how far it may jump in the source. The authors report that the basic approach handled movement up to six tokens and that allowing larger jumps could reduce translation quality. They describe earlier settings with limits between 6 and 9 words, and discuss a system whose estimates of future cost and distortion improved on a standard phrase-based comparison with a limit of 15. Those distances establish the scale of the problem that motivated the paper. One of the approaches it discusses is A Simple and Effective Hierarchical Phrase Reordering Model.
Another approach reshapes the German sentence before translation. A parser supplies a tree, and hand-written transformations move parts of that tree into an order intended to make the next stage easier. This gives the system a way to move the parts of a long clause without requiring its phrase decoder to make a large jump. The paper identifies two costs. An erroneous parse can lead the transformation to move the wrong material. If the transformation gives wrong phrase correspondences in training, those correspondences can affect the translation probabilities learned from the data. The approach the authors discuss is Clause Restructuring for Statistical Machine Translation.
The timing of the decision matters as well. Once preprocessing has fixed the source order, the translation search sees the result of that choice. A system that makes the ordering decision during search can use evidence from a candidate English sentence while choosing how to translate nearby words. In the price example, it can consider the English context of the verb and the position of the time phrase as parts of the same hypothesis. The component that evaluates the plausibility of English word sequences is the language model.
Hierarchical translation already provides a way to make ordering decisions inside the search. Its rules can contain placeholders for translations built by other rules. Those placeholders can switch positions between the source and target sides. As the rules are put together, a decoder can make a choice about the order of whole translated segments. The same principle works whether the segments are short or long, provided the relevant rule application is allowed and translations of the segments are available. This is the framework described in Hierarchical Phrase-Based Translation.
The paper places Hiero alongside inversion transduction grammars when discussing systems whose working categories lack linguistic labels such as noun phrase or verb phrase. Hiero has a general category for translating an internal segment and a separate symbol for the sentence-level construction. The authors say that systems of this kind often capped applications at between 10 and 15 tokens because wider spans had sometimes produced worse translation. They mention an earlier experiment that expanded the limit to 15 for short sentences. Their point of departure is the restriction common to these grammars, including the line of work represented by Stochastic Inversion Transduction Grammars and Bilingual Parsing of Parallel Corpora.
Some syntax-based systems can use longer rules by requiring a source span to match a constituent in a parse tree. That supplies a reason to prefer some spans over others. The authors also describe work that lets such systems fall back on general Hiero-style rules when linguistic labels impose too strict a condition. German clauses can have varied structures, and the authors are concerned about parse accuracy on long sentences and about finding enough training examples for rules with hard category restrictions. They retain Hiero’s general category and use a more limited piece of syntax to guide long-span applications. The underlying analysis of sentence structure is parsing.
The paper distinguishes its task from prior work that separates a sentence into clauses before translation and puts their translations back together afterwards. That work addresses reordering involving several embedded clauses. Here the main decision concerns which positions inside a clause provide the edges of one bilingual rule. Search keeps the original German sentence as its input and considers the movement as part of choosing an English output. Clause structure enters at the point where the decoder checks whether a proposed long rule belongs at a particular location.
The method, step by step
A rule can leave the middle open
A bilingual hierarchical rule has a German side and an English side. Some symbols stand for particular words or punctuation. These are terminals, which have to match actual tokens when the rule is used. Other symbols are nonterminals. A nonterminal on the German side stands for a stretch of source text whose translation is built separately. Its counterpart on the English side marks where that translation goes. A synchronous context-free grammar connects the two sides so that expanding a source nonterminal also fills its corresponding place in the target. The rule format draws on the context-free grammar.
A useful way to read a rule is to start with the parts it fixes. If a rule names ist at one edge and gestiegen at the other, those words give the decoder places to look for it. The material between them can vary. It may contain translations that need to be computed from completely different rules. As long as the decoder can fill the gaps, the same outer rule can put the English verb and the translated material into the order encoded on its target side.
A gap and the span of an application are related. The gap covers a contiguous stretch within the source. The whole application covers the source terminals written in the rule and all the stretches assigned to its gaps. The written rule can therefore look short while an individual application covers a substantial part of the sentence. The decoder’s span limit concerns the application. A rule with a compact written form can be excluded when its gaps are filled by long stretches.
The paper’s running example can be written as a rule instance with the gap correspondence made explicit.
X → ⟨ist X₁ X₂ gestiegen ↔ soared X₂ X₁⟩
The X before the arrow is the category produced by the rule, and → means that this category may expand into the paired strings inside ⟨ and ⟩. The ↔ separates the German pattern on the left from the English pattern on the right. ist and gestiegen are fixed German terminals, and soared is the fixed English terminal. X₁ and X₂ mark the corresponding gaps, numbered by their source order. The reversal on the English side places the translation of the second German gap before the translation of the first.
In the specific application discussed in the paper, the first gap covers source positions 10 through 14 and contains the time expression. The second covers positions 15 through 19 and contains the amount expression. The authors give the complete rule application a span of 12 words, counting the source terminals too. The ordinary system permits a maximum of 10, so the decoder cannot select that application. The specialized grammar can license it. Whether it is chosen still depends on finding appropriate translations for the gaps and on the scores of the competing derivations.
The workflow combines steps carried out on the bilingual training data with checks made on a new German sentence.
How long-span rules enter translation search
The steps in order.
Find the shapes the long movements require
The authors begin by examining the first 450 sentences of the German-to-English WMT 2009 test set. For each relevant example, they identify the smallest contiguous German segment over which a hierarchical application would have to operate to produce the reference order. They count a case as long-distance when that segment exceeds 10 tokens. This gives them 96 sentence pairs, just over 21% of the sentences examined. The aim at this stage is to identify the rule shapes demanded by the reference translations, independently of the outputs that the altered system will later produce.
In the price example, the required segment begins with ist and ends with gestiegen. Those words have to appear in the outer rule if it is to translate them together. The authors call such fixed words anchors. In their analysis, the pattern of a rule records where the anchors must go and how the text they enclose has to be divided. The labels describe geometry on the German side. The English side of a particular rule still decides what the anchors become and how it orders the translated gaps.
The inflation example makes the need for separate gaps easier to see. German wird occurs before the subject, followed by material about the year and the extent of the increase, with steigen towards the end. The English reference brings the subject in front of the verbal complex. It places the other material after the verb. The segment for the subject and the segment for the remaining material therefore need to be movable independently. Treating the entire stretch between wird and steigen as a single gap would give the outer rule only one translated block to move.
tXXt
Here t denotes a terminal used as an anchor, and each X denotes a separate nonterminal. Juxtaposition gives the source order. The middle XX represents adjacent gaps with no fixed terminal required between them. The first t stands for wird in the example, and the last stands for steigen. The notation records the divisions available to the English side of the rule, which determines where the resulting pieces are placed.
The paper also describes patterns that allow more than one terminal at an edge.
t⁺XXt⁺
The superscript ⁺ means one or more occurrences of the symbol immediately before it. Each t⁺ thus allows a group of terminal anchors. Each X is still an independently expandable gap. A rule with this shape can retain a longer fixed expression at either edge while preserving the same division of the intervening material into adjacent parts.
The broader pattern used to discuss clause boundaries allows a sequence of gaps between anchored edges.
t⁺X⁺t⁺
Here X⁺ denotes one or more consecutive nonterminals, and the two groups of t⁺ denote one or more terminals on each edge. The expression describes their order in the German pattern. It supplies no lexical identities for the terminals and no specification of the order in which the English translations of the gaps will appear.
This pattern analysis connects a linguistic observation to an extraction decision. The observation is that a German construction can have related words separated by several pieces of text. The extraction decision is to preserve the related words in a rule and, when the bilingual examples support it, give those pieces separate nonterminals. The analysis does not require the nonterminals to be assigned categories such as subject or time phrase. Those descriptions explain the example, while the grammar itself represents the pieces with general placeholders.
Learn the specialized rules from short spans
Hiero extracts rules from pairs of sentences with word alignments. An alignment marks which German and English words correspond. It helps identify bilingual phrase pairs and the material within those pairs that can be abstracted into a gap. Under the standard extraction procedure, both sides of a rule must contain an aligned terminal. The specialized procedure adds a condition on the placement of aligned German terminals around the source gaps. The alignment program used in training is GIZA++, associated with A Systematic Comparison of Various Statistical Alignment Models.
Before a gap is split into adjacent nonterminals, each source nonterminal after the first must have an aligned terminal somewhere to its left and somewhere to its right. The first nonterminal has an exception that permits it to start at the left edge. Once the extraction procedure has formed a rule under that condition, it can split a gap into adjacent nonterminals. The order of these steps matters. The split can produce the consecutive gaps needed for the inflation example, where placing a terminal between those pieces would require an anchor the rule has no reason to specify.
The exception for the first gap allows rules beginning with nonterminals and ending with terminals.
X⁺t⁺
X⁺ is a sequence of one or more gaps and t⁺ a sequence of one or more terminals, in German source order. This form can occur because the first gap can lack a terminal to its left and can be split. The extraction does not admit the opposite edge configuration discussed by the authors.
t⁺X⁺
The initial t⁺ again denotes a group of source terminals and X⁺ denotes consecutive source gaps. In this configuration the gaps extend to the right edge. The authors’ extraction condition requires an appropriate terminal to the right of a gap, with the special allowance for the first gap applying at the left edge.
The specialized rules are learned on source spans of 1 to 10 words. The intuition is that a short occurrence can show how an auxiliary and a participle are translated together, or how intervening pieces are placed, even if a later sentence puts much more material in a gap. The anchors and the English arrangement are retained from the training example. The source gaps can be assigned wider stretches at decoding time. A training occurrence thus supplies a reusable relation among pieces, with the amount of intervening material determined when the rule is applied.
The paper gives a practical reason for working this way. The authors found that extraction from longer spans produced many noisy rules and few correct ones. Even when a training sentence contained a relevant long movement, an erroneous word alignment could prevent extraction of the desired rule. Wider extraction also imposed substantial time and disk costs in the experiment with the widened ordinary system. Training on short spans makes it feasible to keep detailed lexical anchors while giving their applications greater reach in new sentences.
The training corpus contains 1,502,301 bilingual sentences after filtering by the ratio of sentence lengths. GIZA++ supplies word alignments, which the system combines with the grow-diag-final-and heuristic. The paper follows the Hiero procedure for scoring rules by maximum likelihood from phrase counts. These scores use the observed bilingual phrase evidence to estimate how well a rule is supported. A rule’s extraction count establishes evidence for its translation pattern, while the span range attached to its grammar table determines where the decoder can use it.
Give each rule family its own span range
The decoder’s original way of distinguishing grammar tables let them have different maximum spans. The new design also needs a lower threshold. A long-span rule learned from a short example is meant to become available once the source span reaches the long range. If it were available on short spans as well, it would compete there with the ordinary inventory, and its use would no longer identify the specific extension the authors intend to test.
Hierarchical Moses looks up rules incrementally. For a given grammar type, the existing lookup relies on smaller spans having been explored. A grammar intended to match only beyond a minimum width therefore needs an explicit lookup mechanism for that lower threshold. The authors add a grammar type that supplies long-span rules only when the source span is large enough, with an upper limit as well. This makes the span range a condition of the search itself.
The ordinary Hiero inventory applies on spans of 1 to 10 words. The specialized inventory applies on spans of 11 to 50 words. The decoder also has the standard sentence-level rules and a separate rule that can combine internal pieces on spans of 1 to 50. These distinctions let ordinary rules do the work for which the system already uses them, while specialized long rules express a limited set of larger movements. They also reduce the number of ordinary lexical rules that would otherwise compete across very wide spans.
It is important to distinguish the width of an outer application from the widths it needs inside. A large rule might cover several gaps, any one of which can itself be wider than the ordinary limit. Allowing the outer application at lookup tells the decoder when it may consider the rule. The decoder still needs a derivation for each of the source segments named by its nonterminals. A derivation is a collection of rule applications that together supply a translation for a span.
Make the long applications reachable
The paper writes an indexed nonterminal to indicate which source positions its translation has to cover.
Xᵢʲ
X is the general internal translation category. The subscript ᵢ marks the start position of the source segment and the superscript ʲ marks its end position. This notation describes a nonterminal in a particular application, with the indices determined by the source text it covers.
The paper discusses the difficulty of covering these gaps in terms of the distance between the positions.
j − i < 11
i and j are the source positions marking the gap, − takes their difference, and < compares that difference with 11. The inequality is the paper’s description of the small-gap case in its discussion of reachability. Its grammar settings specify allowed application widths in source words. The search problem arises when the required gap is too wide for an ordinary hierarchical application.
Suppose the ordinary grammar can translate the start of a gap and the rest of that gap separately. Those successful translations still need to become one candidate of category X so that the outer rule can use them. If assembling that larger candidate requires another specialized rule, the decoder needs an additional anchored long-distance construction inside the gap. A long time expression or another ordinary intervening stretch may have no such construction. Recursing through specialized rules would therefore prevent many reasonable outer applications from ever becoming candidates.
Hierarchical Moses already has sentence-level glue that can append a translated piece to a partial sentence.
S → ⟨S X ↔ S X⟩
S is the sentence-level category. The S inside each side represents the sentence prefix being extended, and X is the next translated segment. The → introduces the paired expansion, the angled brackets enclose it, and ↔ separates the source and target sequences. Both sequences keep the prefix before the appended segment. The output of the rule has category S, so it supports building a sentence from its beginning.
A gap inside a large rule can start far from the beginning of the sentence. It also needs an item of category X as its result. The authors add an internal concatenation rule for that case.
X → ⟨X X ↔ X X⟩
The X on the left of → is the category returned for the joined span. The two occurrences of X on each side inside ⟨ and ⟩ stand for separate adjacent pieces. The first source piece corresponds to the first target piece, and the second source piece to the second target piece. The ↔ divides the source and target sequences, whose order is preserved by this application.
The new rule joins neighboring translations inside an arbitrary span. It can take material translated by ordinary short rules and turn it into a single filler for the gap of a long rule. Its local action preserves the sequence of the pieces it joins. The outer anchored rule can then move their combined translation relative to other parts of the sentence. This division of labor lets the verb move across a stretch whose own translation can be built from familiar short pieces.
The internal rule operates on spans of 1 to 50 words as a grammar setting, subject to actually finding the adjacent items it combines. The paper describes four grammar tables in the completed decoder. One supplies the standard S rules, one the ordinary short-span rules, one the specialized long-span rules, and one the internal joining rule. Together they allow the decoder to build a long translation inside a gap and then use it inside an anchored application.
Keep the long rules focused on verbs
A rule can satisfy a condition on the positions of its terminals while offering little help with the reordering of a German clause. The authors give examples consisting largely of an article or punctuation around a gap. One such rule matches German der and a comma and supplies English the and a comma in the same arrangement. Another matches a comma and a full stop. With a wide gap, these rules can cover a considerable stretch without expressing a useful relationship between lexical anchors.
The authors observed that rules of this kind could receive high translation scores and be used frequently. In tuning with MERT, they found that the weight on the feature counting long-span rule applications became too low for the required movements to be competitive. That feature assigns weight to the use of a family whose members can vary greatly in usefulness. When low-information applications are plentiful, the feature weight has to serve those applications as well as the verb movements the authors want.
Their filter keeps an extracted rule for the large-span grammar only if its written German side and its written English side each include a verb. The test concerns the rule’s fixed words. The decoder does not have to wait to see whether a translation inside one of the gaps happens to contain a verb. The authors label the German and English sides of the parallel corpus with TreeTagger, use the resulting tags to filter rules, and remove the tags afterward. The filter relies on part-of-speech tagging.
The verb condition is a broad restriction. It can retain a rule whose separate German verbal elements become a single English terminal, as in the soared example. It also allows verbs that do not form the desired construction in every new sentence the rule can match. A further check is needed at the point of application, where the decoder can see whether the matched anchors occur in the same clause.
Use clause boundaries to check the anchors
The authors illustrate the danger with a German sentence about a soloist and his career. The first clause uses ist in describing his activity as a soloist. The next uses hat with aufgebaut in describing where he built his career. A long rule with ist and aufgebaut at its edges can find both words in the sentence. A sufficiently wide gap will cover the rest of the first clause and much of the second. If the rule is allowed, it can put built next to the English equivalent of ist, attaching the participle to the wrong verb.
The underlying problem is that lexical matching establishes the presence of the anchors but does not establish their relationship. A tag indicating that an anchor is a verb still leaves the decoder free to select a verb from the wrong clause. The authors address this by parsing each German input and recording where its clauses begin and end. They take the boundary positions from the opening and closing S nodes in the parse, using the parser described in Efficient Parsing of Highly Ambiguous Context-Free Grammars with Bit Vectors.
The resulting clause intervals govern the terminal endpoints of a long rule. When the first terminal is inside a clause, the rule’s last terminal has to be inside that same clause. The check is expressed in terms of the first and last terminals instead of the ends of all gaps. That distinction matters for shapes that begin with a nonterminal. The implementation uses the clause interval to stop the two terminal anchors from straddling the kind of boundary in the soloist example.
In that example, the authors give the first terminal position as 1 and the later terminal position as 12. For a start between positions 0 and 5, the described restriction allows the end only up to position 6. The attempted use of aufgebaut as the later anchor fails this check. The rule can remain useful as a grammar entry in other sentences while being unavailable at this location.
The criterion also allows an embedded clause to occur inside an outer clause. Anchors of a movement within the outer clause can enclose such material. This is important because the intervening words are precisely what the method expects to vary in form and length. The grammar can fill the gap with the translation of embedded material while the clause check governs the placement of the anchors. Apart from this condition, the rules continue to use the general Hiero category.
Score the complete alternatives
For English sequence scoring, the authors train a 5-gram predictor on the English portion of the bilingual training corpus. It supplies evidence about local sequences of English words when the decoder compares derivations. The training text used for this component therefore comes from the target side of the same parallel data used by the translation system. Its basic unit is the n-gram.
The authors tune system feature weights using pairwise-ranked optimization, then use a MERT line search to refine the length penalty. The ranking stage learns weights for preferring some candidate translations to others. The length penalty is the feature singled out for the following refinement. A rule’s presence and its span eligibility make a derivation possible, while the tuned combination of scores governs whether it is selected. The ranking method is described in Tuning as Ranking.
The design consequently addresses several conditions that have to hold in sequence. A suitable bilingual rule has to be extracted. Its source shape and anchors have to match the current sentence. Its application has to fit the span range and clause restriction. The decoder must be able to supply translations for its gaps. Finally, the complete derivation has to compete with alternatives that may use only shorter rules. The method changes the options available at several of these points, giving the evaluation a reason to look at both the chosen rule applications and the English sentences they produce. The authors report releasing changes to Hierarchical Moses and their annotated test set.
Experiments and results
A baseline that can already look farther
The main baseline, Std-50, extracts ordinary hierarchical rules from spans of up to 10 source words and lets them apply to spans of up to 50 at decoding time. This shares a central property with the proposed system. Both can use a short training occurrence to support a much wider application. The comparison tests whether specialized shapes, a separate span range, internal concatenation, verb filtering and clause restrictions together help beyond the reach supplied by a higher maximum.
The authors initially describe widening both extraction and decoding as the direct way to extend an ordinary Hiero system. They found that extracting on spans of up to 50 was impractical in time and disk space. The implemented baseline therefore uses the short extraction range, as does the improved system. This matters when interpreting the experiment. Std-50 represents a feasible extension of the standard grammar to wider applications, based on the same short-span extraction strategy as Improved-50.
The paper also reports automatic results for Std, the ordinary Hierarchical Moses configuration with its maximum rule span of 10. Std provides a point of reference for the effect of broadening search. The detailed manual comparison concerns Std-50 and Improved-50. Those are the two systems with an inventory that can be applied directly over the long spans under study.
The experiments use one news task and one Europarl task. For the ACL WMT 2009 German-to-English task, the experimental setup names news-dev2009a as the development set and news-dev2009b as the test set. For Europarl, test2007 serves as development data and dev2006 as test data. The development sets guide feature tuning, while the test sets supply the sentences scored in the reported comparisons. The paper uses the same training data for the two tasks. It treats Europarl as the test closer in genre to the training material and news as the different-genre test.
Having both tasks helps separate two issues that can arise together. A rule can order the pieces of a construction well but choose an English expression that fits the training style better than the new text. The design tests whether the system can improve order under each genre condition. The manual evaluation then looks inside the news task to ask whether the system actually chooses the long rule applications the authors intended.
What the automatic measures say
The authors use 4-gram BLEU as a measure of overall correspondence with the reference translations. BLEU rewards matching pieces of text, and a better ordering can create more matching local sequences. The paper points out that the occurrence of a matching sequence gives limited information about where that sequence appears in the sentence. A movement that puts an otherwise correct expression far from its reference position needs a measure that takes relative order into account. The first measure is the BLEU score.
The paper’s second measure, LRscore, uses alignments to compare the order of the output with that of the reference. It aligns the German input with the English reference and the same input with the system output. The two sets of correspondences give an order comparison in relation to the source. The paper uses Kendall’s Tau over permutations as its distance measure. For this purpose a permutation is an arrangement of corresponding items, and the distance reflects disagreements between their relative orders. The method comes from Reordering Metrics for MT.
The authors report an interpolated and a reordering-only setting.
α = 0.2623
α is the interpolation parameter that controls the tradeoff with BLEU in LRscore. The = sign sets its value. 0.2623 is the setting the authors use for the interpolated LRscore, following the measure as proposed in the earlier work.
α = 1
α is the same parameter, and = again assigns its value. At 1 the measure reports the reordering component alone. The setting makes it possible to examine ordering performance separately from the BLEU component of the interpolated result.
On the Europarl test, Improved-50 has similar BLEU performance to Std-50. Its reordering-only LRscore is 0.31 higher, and its interpolated LRscore is 0.26 higher. In the test that the paper treats as closer to the training genre, the specialized grammar gives a better ordering result without a comparably clear change in BLEU.
On the ACL WMT 2009 news test, Improved-50 gains 0.4 in reordering-only LRscore and 0.2 in interpolated LRscore compared with Std-50. Its BLEU score is 0.4 lower. The authors attribute the BLEU decrease mainly to poor lexical choices when applying rules across genres. Those scores describe a system whose ordering evidence improves while its local matches to the news references weaken. They give no direct count of long-distance movements, a distinction that motivates the manual analysis.
What the human assessment counts
The manual assessment returns to the 450 news sentences used in the pattern study. Its focus is the translation of the anchor words and the segments represented by the gaps. For the selected cases, the reference has already helped establish what German span and divisions an application needs. The evaluation then checks how the system handles the corresponding material in its actual output.
The stricter count is a reference match. The English words supplied for the anchors have to have the same surface forms as in the reference, and they have to occur in the same order. The translations of the gap segments also have to follow the reference order. This sets a strong standard. A different English expression for the same German verb complex will miss the count even if the sentence handles the construction well.
A human match accepts a different English realization of the anchors if the required reordering of the anchors is achieved. It also accepts a different order for the translations of gap segments if the annotator judges that order correct. Every reference match qualifies as a human match. The manual count of correct cases uses the more inclusive human judgment.
In the price example, a translation can use increased for the verbal complex where the reference uses soared. It can also put the elapsed time before the amount, whereas the reference arranges those phrases the other way around. The authors use such an output to illustrate a human match that fails the stricter reference check. It performs the relevant assembly of the verbal complex and gives the resulting English sentence an acceptable order. The example grounds the distinction in the type of variation a translation system can produce.
The paper also counts pattern matches. A pattern match occurs when a large-span rule is used to match the required pattern on the German side, regardless of whether the English result is correct. This looks at a stage between the availability of a rule and the success of the translation. Once the system actually uses a rule with the right geometry at the right location, the evaluator can ask a separate question about what that rule and its gap translations produce in English.
Required source patterns matched by large-span rules in the 450-sentence news analysis
The specialized grammar matches more of the required German patterns.
The numbers
| System or setting | pattern matches |
|---|---|
| Std-50 | 17 |
| Improved-50 (this paper) | 34 |
Std-50 matches the required source pattern in 17 cases, of which the paper describes 13 as correct translations. Improved-50 matches 34 patterns, and 24 of those give a correct translation by the manual criterion. The authors report that the latter count represents 70% of the improved system’s pattern matches. In their overall comparison of correct long-distance reorderings, they give 24 for Improved-50 and 14 for Std-50. Their account does not reconcile the overall baseline count of 14 with the 13 correct translations they attribute to its 17 pattern matches. The pattern-match counts themselves provide a clear comparison of the systems’ use of a large rule at the required source location.
The authors also count applications of large rules outside the selected sentences requiring a long reordering. Their manual protocol treats these applications as errors. The chart reflects that operational definition. It measures how often the system uses a large-span rule on a sentence where the study’s reference-based selection did not identify the need for one.
Large-span rule uses outside the selected cases in the 450-sentence news analysis
The specialized grammar uses large rules less often outside the selected cases.
The numbers
| System or setting | applications counted as errors |
|---|---|
| Std-50 | 14 |
| Improved-50 (this paper) | 7 |
Some sentences can also achieve a correct long movement through composition of shorter rules. A rule at one edge makes a local movement, a rule at the other edge makes another, and gluing their translations gives an English result that achieves the larger effect. The paper records 9 correct cases from this strategy for Std-50 and 8 for Improved-50. It discusses those cases separately from pattern matches by a rule that spans the construction.
The authors give an upper distance of 22 words for the movements achievable through the edge-gluing strategy they describe. It also depends on the required translation admitting the division. In the inflation example, a short rule can put the subject before will at one edge, while another rule can position the translation of the material near steigen. The price example needs a single English verb licensed jointly by German words at the two edges. Its structure explains why the strategy that works for the inflation example has restricted coverage.
What the ablations show
A larger limit gives the search more opportunities
The paper compares complete configurations and analyzes the rules they use. It does not report separate ablation runs that remove the verb filter, the clause restriction, the internal joining rule, or the geometry constraints one at a time. The comparisons establish the behavior of the combined design and show where particular mechanisms can matter in examples. The numerical contribution of each part remains undetermined.
Std-50 is an important control because it can attempt long applications. A comparison with Std alone would show the effect of changing a system whose ordinary span limit excludes the very applications at issue. By giving the main baseline a maximum of 50, the authors ask a more specific question. Once wide applications become possible, does a grammar built for particular long movements use them more effectively than ordinary rules allowed to cover the same maximum distance?
The manual counts indicate that a higher maximum leaves a considerable selection problem. Std-50 matches 17 of the required source patterns and uses wide rules on 14 sentences outside the selected cases. The actions counted in those two categories answer different questions. One concerns finding a useful source configuration when it is needed. The other concerns how frequently widening the rule inventory produces a wide application where the study expected shorter ones to suffice. A broad increase in reach can affect both counts.
Improved-50 has 34 matches to required patterns and 7 applications outside the selected cases. This is consistent with a rule inventory more focused on the intended configurations and with tighter checks on where that inventory applies. Specific geometry, verb filtering and clause checks can all contribute to that behavior. Internal joining also changes which candidate applications are reachable. Since the configurations differ in all of these ways, the counts describe the aggregate effect of placing all those conditions into one decoder.
The widened baseline is already fairly successful at producing a correct translation once it matches the required source pattern. The paper identifies 13 correct translations among its 17 pattern matches. The improved system produces more matches and more correct translations using that route. Its 24 correct translations among 34 matches show that handling a greater range of source configurations still leaves difficulty in producing the appropriate English result. The central gain in the manual analysis is in making more of the desired source patterns appear in chosen derivations.
The examples locate different points of failure
The ist … gestiegen example isolates the span limit as a reason a desired derivation is unavailable. The paper can specify a rule that encodes the reference behavior and a source application of width 12. With a limit of 10, the ordinary decoder cannot use that application. Once a suitable rule can operate across the wider range, its English side can supply a single verb and move the two gap translations. This shows exactly what an eligible long rule adds to the possible derivations for that sentence.
The discussion of reachability isolates a different problem. A rule permitted on the right span can depend on an internal translation the decoder has no way to assemble as category X. Sentence-level glue can append short translations to a prefix, while the outer rule needs an item for a stretch in the middle. The internal joining rule fills this role. The paper makes a structural argument for its inclusion. It does not present an experimental count of how many applications are recovered solely because it is available.
The verb filter addresses a scoring problem identified during tuning. Weakly informative rule templates can be eligible at wide spans and can receive high rule scores. Their frequency makes the count feature for the long-span family difficult to tune in favor of the movements the authors want. Filtering by fixed verbs on both sides narrows the inventory for that feature. The account identifies why this filter was introduced, while leaving the size of its independent effect on the test sets open.
The example with ist and aufgebaut shows what the clause restriction can reject. The words occur in the positions an extracted rule needs, and their part-of-speech tags can meet a verb-based condition. Joining them gives an erroneous analysis because they sit in different clauses. The clause boundary supplies a reason to block this particular application. This example demonstrates the extra information used by the boundary check, while the system-level experiment leaves its independent effect unmeasured.
The edge-gluing counts give another comparison. With 9 correct cases for Std-50 and 8 for Improved-50 through that procedure, the specialized system’s improvement does not come from an increase in the number of correct movements counted through edge gluing. The larger change is in direct matches to source patterns by long-span rules. Because an output can sometimes have different derivations, the paper’s attention to the route that produced a movement helps connect the observed behavior to the grammar design.
The measurements distinguish order from wording
Reference matches are rare in the widened baseline. The authors chiefly attribute this to differences between the words used for the anchors in the output and the words used in the reference. A strict reference match can require the same choice for an English verb and the same placement of its surrounding phrases. The human count allows acceptable variation in those choices. Its purpose is to establish whether the target construction was translated successfully under a more flexible ordering judgment.
A pattern match then removes another requirement. It establishes that the system used a rule fitting the German configuration, even in cases where the English output fails the manual criterion. Comparing the pattern and human counts shows that rule positioning and translation quality have different failure modes. The improved system is more effective at the first as measured by selected pattern matches, and those extra matches produce more correct translations in the reported manual comparison. Its incorrect translations following correct pattern matches show why source-side geometry is only part of the solution.
The automatic comparison separates the effects differently. Europarl shows better ordering scores for the improved system with similar BLEU. On news, improved ordering accompanies a lower BLEU score. The authors’ explanation centers on lexical choice across genres. Since the test genre changes and rule shapes, rule restrictions and decoding behavior change together between systems, these scores offer evidence about the full translation setup. They do not assign the difference to a specific mechanism, verb type, or class of phrase.
Limitations
Limits the authors identify
Coverage is the most direct limitation. The authors report that 34 matched source patterns represent 35.4% of the selected long-distance cases. Their intervention expands the set of cases in which decoding uses a suitable pattern, yet many of the sentences identified at the start still yield no such match. Extending the maximum span to 50 does not on its own explain which of the missed movements were possible for the trained grammar and which were unavailable.
The authors identify two competing explanations. The required rule may be missing, leaving the decoder without a compatible application. Alternatively, a rule may be available while a derivation that preserves more of the source order receives a higher score. The manual analysis counts the pattern realized in the selected output, so it cannot distinguish these explanations for each missed case. The authors leave that question for further study.
They also leave room to improve translation after a correct pattern has been located. Their reported 24 correct translations from 34 matched patterns show that an appropriate German application can still give an unacceptable English outcome. The source check determines which anchors and gaps the decoder has recognized. A rule’s target terminals, the choice of translations inside its gaps and the resulting order also affect whether the outcome is judged correct. The paper does not give a separate breakdown of all the remaining failures at that stage.
Rule extraction from a wide training span was difficult in the authors’ experiments. They describe resource costs for wider ordinary extraction and noise in rules from long examples. Word alignment mistakes can also keep a promising rule out of the inventory. Learning from short examples offers a practical workaround, with a resulting dependence on whether a long construction has a shorter example from which the needed rule can be recovered.
The authors limit their use of syntactic information because long German sentences are hard to parse reliably and German clauses have varied structures. They expect hard category constraints to suffer from errors and sparsity. Their clause boundary restriction still uses an automatic parse, and their proposed direction is to investigate soft syntactic constraints. They also report that BLEU falls on the news task, where they attribute the decline mainly to poor lexical choices across domains. The result supports improvement on their ordering measure under both task conditions and gives mixed evidence about improvement in overall reference match.
Limits of the evidence
The manual set starts with the first 450 sentences of one news test set. The paper’s statement that just over 21% of those sentences require a long-distance movement concerns that selection and the definition used to annotate it. The procedure identifies movements needed to reproduce a particular reference translation with a hierarchical application. German-to-English translations can differ acceptably in how they express a construction, as the human-match example itself shows. The reported prevalence is best understood as the share meeting the study’s reference-based criterion.
That distinction is especially consequential for applications outside the selected cases. The method of counting assumes any large-span rule use there is wrong. An English rendering different from the reference might have a sound reason to move material widely. The comparison from 14 to 7 still shows that the specialized system uses large rules less often outside the designated set, under a shared protocol. The figure cannot by itself establish that each application so classified produced an unacceptable translation.
The same collection of news sentences serves for analyzing the shapes of long movements and for the manual comparison of the resulting systems. The bilingual rules are estimated from the training data, while the test analysis informs the choice of shapes the system is built to cover. The manual experiment therefore shows how well that design handles this inspected set of constructions. A manual assessment on an independently selected set would answer a further question about how closely the same patterns describe movements elsewhere.
The combined configuration creates limits on causal attribution. Std-50 controls for maximum decoding width and the decision to extract from short spans. Improved-50 changes the rule inventory, the permissible span ranges, the joining operation, the lexical filter and the clause conditions. The comparison indicates that the package improves the reported reordering behavior. The individual estimates needed to compare the importance of these changes would require additional controlled runs.
Clause intervals provide a way to avoid the example of anchors drawn from separate clauses. They depend on the parser finding the relevant boundaries. They also leave open which of several verbs inside a permitted clause belong together. The verb filter and endpoint check establish conditions on words and positions. Further distinctions among constructions would require evidence about the relationships between those words or more selective translation scores.
The experiments address German-to-English translation using the reported training corpus and two test genres. The patterns are motivated by German clause structure and illustrated through particular auxiliary, participle and related reorderings. Their usefulness for different language directions, syntax, training corpora, or movements involving several clauses is untested here. The limit of 50 is the operating range of the experiment. The study gives no estimate of how performance would change if the same scheme were required to cover longer spans.
Finally, the paper’s account of the widened baseline gives 13 correct translations following its matched patterns and separately gives 14 correct long-distance reorderings in an overall comparison. Those figures cannot be safely combined with the separately described gluing cases to derive a new total. The counts support the reported direction of the comparison. The relation among those particular baseline categories remains ambiguous.
What came after
The documented account ends with questions the authors propose to investigate. They want to determine whether missed long-distance movements mainly reflect missing rules or scoring that favors derivations without the intended movement. They also want to improve the English translations produced after the decoder has matched the appropriate German pattern. These are different follow-up problems. The first calls for evidence about which candidates are available and how they rank. The second concerns what a chosen application produces.
The authors suggest adding soft syntactic constraints as a direction for future work. A soft constraint can give a syntactic match weight in a decision while leaving other evidence able to compete. That is a natural extension of a design in which the grammar already uses general placeholders, lexical evidence and a clause filter. The paper points to earlier approaches as precedents for this direction. Soft Syntactic Constraints for Hierarchical Phrased-Based Translation and Learning to Translate with Source and Target Syntax.
The code changes and annotated examples are the means the authors give for others to examine those questions. The paper establishes how its span-specific grammar behaved in the reported search and evaluation. Subsequent adoption of the rules, the boundary check or the annotation scheme remains undocumented here.
Cite
Cite as Fabienne Braune, Anita Gojun and Alexander Fraser. 2012. Long-distance reordering during search for hierarchical phrase-based SMT. Proceedings of the 16th Annual Conference of the European Association for Machine Translation.
@inproceedings{braune2012long,
title = {{Long-distance reordering during search for hierarchical phrase-based SMT}},
author = {Fabienne Braune, Anita Gojun and Alexander Fraser},
booktitle = {Proceedings of the 16th Annual Conference of the European Association for Machine Translation},
year = {2012},
url = {https://aclanthology.org/2012.eamt-1.42/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/braune-2012-long-distance-reordering-during-search/