Soft Dependency Constraints for Reordering in Hierarchical Phrase-Based Translation
Paper · 2011 · Yang Gao, Philipp Koehn and Alexandra Birch
Summary
A translation can get the words right and still put them in an order that obscures who did what, or which phrase belongs with which verb. This is especially hard when a phrase needs to move across a large part of the sentence. Gao, Koehn and Birch study that problem in Chinese-to-English machine translation. Their starting point is a hierarchical phrase-based system, which can move whole translated pieces by putting them into larger rules. The authors give that system more evidence about when such a move makes sense. They use dependency parsing to identify which Chinese words govern others, then use those relationships to score possible translations.
The first score asks whether a word and its grammatical head tend to appear in the same relative order in English or in the opposite order. The authors learn those preferences from Chinese sentences paired with English translations and linked by word alignments. A second score charges the system each time it builds an incomplete translation that leaves an aligned word waiting for its head. This encourages the system to put related material together early enough to move it as a unit. A third score discourages leaving source words unaligned, which can otherwise allow a candidate to avoid the other scores. These are soft constraints. A candidate can lose points on one feature and still win on the strength of the other evidence.
The authors test the method on NIST MT02, MT05 and MT08. With BLEU as the tuning objective, the strongest depth grouping raises average test BLEU from 31.44 to 32.28, a gain of 0.84 points. Tuning the same feature set with LRscore, which gives word order more direct weight, brings average test BLEU to 32.65. Compared with the original baseline, the authors report final average improvements of 1.21 BLEU and 1.30 LRscore, along with a decrease of 3.36 in translation edit rate. Their paired bootstrap test finds the BLEU gains of both versions statistically significant against the original baseline.
The direct analysis of word movement qualifies the overall scores. With BLEU tuning, adding the constraints raises reordering precision but lowers recall on average. With LRscore tuning, the augmented system raises average precision by 6.9 absolute points and recall by 0.3 absolute points over the original baseline. On MT08, precision improves across the source-side distances examined, with larger gains for medium and long movements. Recall improves for longer movements, while the shortest ranges in the analysis see no gain. The clearest result is that the augmented system makes more reliable ordering choices, particularly where related material has to move far.
Deep dive: Soft Dependency Constraints for Reordering in Hierarchical Phrase-Based Translation
How soft constraints from Chinese dependency trees help a hierarchical translation system choose better English word order, especially over long distances. · about 35 minutes to read
The problem and its context
Why a rule that can move a phrase still needs ordering evidence
Translating a phrase and deciding where it belongs are related decisions. An expression can have a plausible English translation in isolation, yet placing it on the wrong side of a verb can make the sentence awkward or attach it to the wrong material. The problem becomes more visible when the phrase contains several words. The system has to recognize what should travel together, then place the resulting expression in relation to the rest of the translation.
The earlier phrase-based approach described by the authors learns correspondences between stretches of source and target text. A hierarchy adds a way to write a translation rule with a slot for another translated stretch. A rule can place that slot on different sides of surrounding words in the source and target. During decoding, the search for an output translation, the system fills the slots with smaller translations. A single application of a larger rule can therefore change the position of an entire embedded phrase. The system can build these larger units recursively without labeling their parts with grammatical categories. The paper takes ordinary phrase-based translation as its starting point for explaining this capability. Statistical Phrase-Based Translation
A decoder still has to choose a sequence of rule applications. The rules supply possible orders and ways to construct them. Their flexibility leaves open which construction fits the current sentence. The earlier comparison the authors cite by Birch and colleagues found that hierarchical translation handled medium-range movements better than phrase-based translation. Long-distance movement remained difficult in both. The paper relates this to the constraints needed to keep hierarchical decoding efficient. The grammar makes larger movements possible in principle, while the rules and search available for a particular sentence limit the candidates the system actually considers.
This distinction shapes the research question. The authors retain the hierarchical grammar and ask whether source syntax can help the decoder choose among its candidates. The syntax needs to be local enough to score partial translations and informative enough to guide movements that span larger structures. A grammatical relation between words offers a clue at both scales. It can identify a small choice, such as which side of a verb a preposition occupies, even when that choice reflects the placement of a much longer expression.
What a dependency adds to a hierarchical rule
A dependency analysis describes a sentence through links between words. A link identifies a dependent, the head it is attached to, and the grammatical relation between them. The head is the word that anchors the relation. A preposition attached as a modifier to a verb gives the system a concrete pair of positions to examine. The label identifies the kind of attachment, and the two words provide lexical information about the particular instance.
The authors use this representation at a point where the translation system already has another structure. The hierarchical rules determine which source spans combine and where their translations go. The dependency tree describes grammatical connections in the original source sentence. The two structures can agree, as when a rule translates a group of closely related words together. They can also cut across each other. A rule can cover a coherent fragment while leaving one grammatical link to be completed at a larger span. This distinction lets the decoder use the parse as evidence while keeping the existing rule inventory.
One earlier line of work put syntax directly into the translation rules. In the approach exemplified in the paper by Galley and colleagues, the slots carry labels drawn from phrase structure, a representation that groups words into nested constituents. These labels can guide reordering because they give a slot a grammatical identity. The authors point out a practical cost. Given the output of standard parsers and aligners, strict labels can restrict which rules can be extracted, and making the system work well may require substantial optimization.
A related line keeps hierarchical translation flexible while scoring how good a syntactic fit a rule provides. Chiang's early constituency feature asks whether a rule's source span matches a constituent. Marton and Resnik and other work discussed by the authors use finer distinctions on the source side. Zollmann and Venugopal apply syntactic information on the target side with more tolerance, and Chiang examines how to use source and target syntax while relaxing conditions on rule extraction and substitution. The question for the present paper is what becomes easier to express when the units of evidence are head–dependent links. Soft Syntactic Constraints for Hierarchical Phrased-Based Translation · Syntax Augmented Machine Translation via Chart Parsing · Learning to Translate with Source and Target Syntax
Earlier meanings of cohesion and orientation
Dependency information had already been used in translation in several ways. Some systems incorporated dependency structure directly into the translation mechanism. The paper places dependency treelet translation and dependency-based grammars in this line of work. It also discusses a string-to-dependency system by Shen and colleagues. In that study, filtering the phrase table for well-formed target dependency structures yielded no improvement, while an additional score over target dependencies did. Gao and colleagues interpret the latter result as an example of the value of scoring direct connections between words. Their own features take those connections from the source tree. Dependency Treelet Translation · Machine Translation Using Probabilistic Synchronous Dependency Insertion Grammars · A New String-to-Dependency Machine Translation Algorithm
Earlier phrase-based work by Cherry and by Bach and colleagues used dependency cohesion to discourage interruption. During a left-to-right search, a source subtree could be translated in pieces with unrelated target material inserted between them. The cohesion check encourages the decoder to finish the subtree together. The paper traces this approach to Fox's work on phrasal cohesion and describes its value in a search that can select among source positions within a movement limit. Phrasal Cohesion and Statistical Machine Translation
Hierarchical decoding builds candidates in a chart organized by source spans, combining smaller entries under its rules. The authors argue that a more relevant question in this setting is how those combinations divide source syntax. A translation can keep the words of a subtree together in the output and still build them through a series of fragments that repeatedly leave particular words apart from their heads. Conversely, a fragment that crosses a constituent boundary can immediately bring a word together with its head. The proposed cohesion penalty measures those unresolved links as the derivation proceeds. Subtree interruption and unresolved links can coincide, and the paper treats them as distinct criteria.
The orientation feature also has precedents. Quirk and colleagues scored where a modifier falls relative to its head in dependency treelet translation. Gao and colleagues reduce that prediction to the direction of the relation: whether the dependent stays on the same side or crosses to the other. Chang and colleagues used Chinese grammatical relations as evidence for how successive phrase pairs are ordered in phrase-based decoding. The unit of prediction here is the source dependent and its own head. Hayashi and colleagues had also considered word order within hierarchical translation, treating pairwise orientations more generally. A dependency tree selects the grammatical pairs on which the new feature will concentrate. Discriminative Reordering with Chinese Grammatical Relations Features
The authors relate orientation prediction to conspicuous ordering patterns previously studied in Chinese-to-English, German-to-English and Japanese-to-English translation, and in translation from English into languages with subject–object–verb order. Those studies motivate looking for recurring syntactic patterns. The method in this paper gets its preferences from aligned sentence pairs. Its basic question can be applied wherever the input has a dependency analysis and the training translations supply word correspondences. How well the learned preferences carry over to another translation direction is an experimental question. Chinese Syntactic Reordering for Statistical Machine Translation · Clause Restructuring for Statistical Machine Translation · Using a Dependency Parser to Improve SMT for Subject-Object-Verb Languages
The method, step by step
From a source dependency to a training example
Start with a Chinese sentence and its English translation. A word alignment records which positions in one sentence correspond to positions in the other. The Chinese dependency tree supplies a different kind of link, from a word in that sentence to another Chinese word that serves as its head. Putting these two kinds of links together lets the authors ask how an observed translation orders the English counterparts of a Chinese grammatical pair.
For an example, the paper analyzes a sentence about Australia and diplomatic relations with North Korea. Its Chinese preposition yu, corresponding to English with, is attached as a prepositional modifier to you, the verb corresponding to have. If the preposition occurs before the verb in Chinese and its translation follows the verb in English, the pair provides an example of reversal. The intervening words may form a substantial expression. The training label still depends on the placement of the two aligned endpoints.
The authors generate the Chinese trees with the Stanford Parser. Its dependency analysis is extracted from a phrase-structure analysis. The corpus is aligned by GIZA++, so the class labels are obtained from automatic annotations on both sides of the training procedure. The root, the top word of the source dependency tree, has no head and contributes no head-relative orientation example. A usable orientation example for another word requires a target position for the dependent and one for its head. Where a source word has several target alignments, the authors take the first target position for the classification. They use the same convention when interpreting a candidate translation for this feature.
From aligned training data to scored translations
The steps in order.
Defining the orientation label
The orientation rule can be written with subscripts to distinguish the two words and the two languages.
c = R if (j_dep − j_head)(i_dep − i_head) < 0, and M otherwise
Here c is the class assigned to the pair. R means reversed and M means monotone, the term the authors use for preserving direction. The i positions are in the source sentence and the j positions are in the target sentence. The subscript dep identifies the dependent and head identifies its grammatical head. Each subtraction gives a signed positional difference. The comparison with 0 tests whether the product of those differences is negative. A negative product means the pair has opposite directions in the two strings. Every other case is put in M by the rule as written, including a tie at the chosen target positions.
The equation makes no use of the magnitude of the product. An aligned pair can keep its direction while becoming farther apart, or switch direction while remaining close together. Both cases can be decided by the same criterion. This is what makes a head-relative class usable for movements of entire phrases. If a phrase moves across the translation of a governing verb, its movement may be visible in one change of direction even though many words change position. The class describes that change without requiring the classifier to predict each word's new position.
The direction is also relative to the source example. The M class can describe a dependent that precedes its head in both strings or one that follows its head in both. Similarly, R does not name a fixed English order. It names a switch from whatever order the source pair has. The score learned for R says how plausible that switch is for a pair with the observed lexical and grammatical cues.
Learning a probability for each choice
The classifier uses maximum entropy training. In this setting it learns how strongly each observed cue should favor one orientation class or the other. A cue can associate the word in the dependent position with its relation label, or associate the word in the head position with that label. The paper gives a general probability equation with room for target-side information as well.
p(c | f, d, e*, a*) =
exp(∑ₙ₌₁ᴺ λₙ hₙ(f, d, e*, a*, c)) /
∑_{c′ ∈ {M, R}} exp(∑ₙ₌₁ᴺ λₙ hₙ(f, d, e*, a*, c′))
p is the conditional probability of orientation class c. The bar separates the predicted class from its conditioning information. f is the source context and d is its dependency analysis. e* denotes the target context produced up to the current point in decoding, and a* denotes the alignment produced up to that point. The asterisk marks information available from the candidate so far. N is the number of classifier features, n indexes those features starting at 1, hₙ is a feature value for the given context and class, and λₙ is its learned weight. The product of a weight and its feature value contributes to the inner sum. exp exponentiates that sum. In the denominator, c′ ranges over M and R, and the outer sum adds the exponentiated scores for those alternatives. Dividing by that sum makes the two class probabilities total one.
In the actual experiments, the only cues are source-side combinations. One pairs a dependency relation with the dependent word, and the other pairs the same relation with the head word. For yu attached to you, the paper represents the cues as prep DEP yu and prep HEAD you. The distinction between DEP and HEAD matters because the two positions have different roles even when the same relation is involved. Classifier training can learn different evidence from a word used as a modifier and from a word serving as the head of that modifier.
The equation conditions on e* and a* to allow a broader design. In the implementation, the lexical cues that determine the probabilities come from f and d. The candidate's target alignment still determines which probability to use. For a particular source pair, the probabilities can be available in advance. One target arrangement calls for the probability of M, and a different arrangement calls for the probability of R. This separates the evidence used to predict the class from the evidence used to identify the class realized by a hypothesis.
The training corpus contains 2.1 million Chinese–English sentence pairs. The authors obtain 33.8 million orientation examples from the parsed and aligned training material and fit a classifier with 1.1 million features using MegaM. The examples are dependency pairs with observed class labels. The classifier features are the cues whose weights are estimated across those examples. Neither count tells how many extra scoring terms the decoder sees for a complete candidate. The decoder receives a score derived from the resulting probabilities, with separate versions of that score if the tree is divided by depth.
Applying the orientation score to a rule
At decoding time, a hierarchical rule describes a source pattern and the target string or pattern it produces. Some entries are literal words. Others are nonterminals, symbols standing for translations supplied by smaller rules. Paired indices identify aligned words and corresponding slots across the two sides. The authors preserve the alignment of the literal words as well as the alignment of the slots when extracting the rules. By assembling the alignments along with the words, they can tell which orientations a partial translation actually realizes.
In the example about diplomatic relations, the paper shows a rule that translates the characters represented by yu Beihan you bangjiao with the English verb before the phrase about North Korea. A second rule puts the phrase about North Korea first. The first arrangement reverses yu relative to you and receives the learned probability of 0.55 for that dependency. The second retains their Chinese order and receives 0.45. For Beihan, the source expression for North Korea, each arrangement realizes a monotone relation to its head and receives 0.88. For bangjiao, corresponding to diplomatic relations, both receive 0.83 for the monotone class. The rules thus differ on the relation of the preposition to the verb, while the other scored relations contribute the same evidence.
The word you also has a role as a dependent in a larger construction. Its own head is zhiyi, associated with one of, and neither candidate rule covers that word. The score for yu relative to you is available within the smaller hypothesis. The score for you relative to zhiyi has to wait. The paper calls a word in that situation unresolved. The decoder carries it forward until an enclosing hypothesis translates its head and the resulting alignment allows the orientation to be scored.
The feature adds the log probability of each realized head-relative orientation. Logarithms let the evidence from the individual words enter as an additive feature in the larger translation score. For the rule alternatives just described, the shared terms reward the same local choices in both candidates. The different term gives the ordering with the reversed preposition an advantage. The feature contributes to the overall ranking alongside the decoder's other scores, so that advantage need only be strong enough in the context of the full candidate.
The paper calls orientation stateless in a specific scoring sense. If two derivations cover the same source span and realize the same orientations, they get the same orientation score for that evidence. One derivation can use a rule that produces a whole phrase directly. Another can translate smaller pieces, then establish the same orders when it combines them. The orientation score depends on the realized relations, regardless of how many intermediate steps occurred before each relation could be scored. The decoder still has to track unfinished relations while assembling hypotheses.
Charging for delayed resolution
The cohesion penalty uses the same unresolved links for a different purpose. Each step can create new unresolved words by translating them before their heads become available. A step can also inherit unresolved words from its children. Both kinds count toward the penalty. If a link is still unresolved at a later step, it is counted again at that step. When the link becomes available for orientation scoring, the dependent stops adding to the cohesion count for that unresolved relation.
The penalty captures something that the orientation score leaves out: how the decoder got to a given arrangement. A rule that brings related words together immediately saves the intervening charges. Breaking a phrase into several pieces can incur a cost even when the eventual arrangement is identical. This is the sense in which the paper calls cohesion stateful. The total depends on the history of the derivation. The root is exempt because it has no head to wait for.
The alternative derivations in the North Korea example show both effects. In the derivation that puts the English verb before the prepositional phrase, a small rule translates yu, and another translates Beihan. A rule combines those pieces before a larger rule introduces you and translates the diplomatic-relations material. The paper assigns this derivation a cohesion count of 4. The dependent yu waits at its own translation step and again when the prepositional phrase is assembled. Beihan and you each contribute one unresolved occurrence. The you occurrence remains because its head is outside the illustrated span.
In the comparison derivation, Beihan is first translated with you, and the next rule adds the diplomatic-relations material. The rule that adds yu comes later. The paper assigns this derivation a cohesion count of 5, with 2 occurrences from Beihan and 3 from you. The shared output order within each arrangement can be scored by orientation whether it came from a single rule or from these combinations. The cohesion counts make the choice of intermediate combinations visible as additional evidence. In the authors' example, the lower count favors the derivation that builds the prepositional phrase before placing it around the verb.
As a way of ranking derivations, this is different from charging for glue rules. A glue rule lets the decoder join material when building a larger translation. A glue penalty encourages use of hierarchical rules, but it assigns its cost based on the kind of rule applied. The cohesion penalty inspects which grammatical relations remain open at each step. A plausible derivation can incur a glue charge and still keep related words together. A derivation assembled with hierarchical rules can leave several dependencies open. The new feature can distinguish those cases because it follows the author-assigned head of each dependent in the input tree.
When a fragment is cohesive
A dependency-based penalty can give favorable treatment to fragments that lack a matching constituent in the phrase-structure analysis. The paper illustrates this with German es gibt, rendered as there is, and Chinese Aozhou shi, rendered as Australia is. The grammatical connection of es and the connection of Aozhou are resolved within the respective rules. Neither word attracts an extra cohesion charge in those examples. A strict source-span constituency check could charge for the fragments because it asks a different question about the span.
The authors also give a case that exposes the asymmetry of the approach. The Chinese words shaoshu guojia, translated as few countries in the example, are neighbors that share a head outside the rule. Translating them together makes sense as a local operation. Their respective links to that head are still open, so the current penalty lacks a way to recognize the benefit of keeping the siblings together. This follows from checking where a dependent meets its head. A feature that looked at how each head is translated with its children would provide evidence about a different aspect of the grouping.
These examples make cohesion a precise term. It is a preference for resolving particular source dependencies during construction. It gives the decoder a signal about the grammatical organization of a derivation, and its usefulness depends on how that organization interacts with the available rules. The authors expect the preference to help longer movements when early combinations form pieces that a useful higher-level rule can move. Cohesion does not itself specify the target order of those pieces. The orientation probability supplies evidence about that choice.
Leaving a source word unaligned
The orientation and cohesion features apply to aligned source words. This creates an incentive the authors want to counteract. If the decoder leaves an important word unaligned, it can lose the word's lexical contribution while also avoiding charges associated with it. A candidate can then look better to the dependency features because it has removed a difficult decision from their scope.
The unaligned penalty charges for leaving a source word without a target alignment. It applies throughout the dependency tree, including words without a head-relative relation to score. The authors present it as an auxiliary feature intended to mitigate search errors encouraged by the other scores. It gives the decoder a reason to retain words that provide evidence for translation and ordering. A separate tuned weight lets the system balance that preference against other considerations, including the possibility that an acceptable translation has no direct alignment for a particular source word.
Together, the features score different parts of one decision. Orientation says how plausible the target order is for a realized relation. Cohesion records how long that relation had to wait while the derivation formed. The unaligned term accounts for a word that the candidate leaves outside that scoring process. Learning orientational cues from aligned data would have little control over this last choice on its own, because the training labels concern pairs with identifiable positions in the translation.
Letting tree depth affect the weight
The authors try dividing the source dependency tree into depth bands, which they call bins. Each occurrence of a feature contributes to the band containing the relevant source word. Each band then has its own weight for that feature in the translation system. With 1 bin, the system adds 3 features, corresponding to orientation, cohesion and the unaligned penalty. With 2 or 3 bins, those groups of features are duplicated for the respective depth bands.
The source tree for the Australia example shows how the grouping works. With 2 bins, depths 1 and 2 go into Bin 1, and depths 3, 4 and 5 go into Bin 2. This is a division by levels. It leaves the words at a given level together even if the parser assigns different numbers of words to different depths. An orientation probability still concerns a particular head and dependent. Binning determines which tuned weight applies to the resulting score from the dependent.
The reasoning involves both movement and parse reliability. Higher parts of the tree tend to govern larger units that can be involved in longer movements. Lower levels more often describe local relationships. Separate weights allow the decoder to distinguish those signals. The authors also want the weights to accommodate differences in how trustworthy the scores are at different levels. The bands give tuning a way to respond to those differences without making an explicit assessment of the parser's accuracy for each link. Tree depth provides an indirect guide to movement distance, which is later measured separately in the output analysis.
Training the translation weights
The probabilities of the orientation classifier and the final weights of the translation system come from different training steps. MegaM estimates the classifier weights from the observed monotone and reversed examples. The decoder then consumes the resulting log probabilities as features. Minimum error rate training, or MERT, sets the decoder's feature weights using translation scores on held-out data. These weights control how the orientation probabilities and the two penalties interact with one another and with the original translation features.
The authors implement the features in the Moses hierarchical phrase-based system. They retain terminal alignments alongside the nonterminal correspondences during rule extraction and produce word alignments with the output translations. The classifier's cues can be prepared from the source sentence, so the authors use preprocessing to speed decoding with the additional features. At rule application time, the resulting target order and alignment determine when a dependency can be scored, which orientation it takes, and whether a word attracts an unaligned penalty. The grammar supplies possible compositions. The new terms affect how those compositions are ranked.
Experiments and results
Training material, tuning data and test sets
The experiments translate Chinese into English. The parallel training corpus of 2.1 million sentence pairs supplies examples for estimating translation rules as well as the aligned and parsed material for orientation training. To score the fluency of English candidates, the authors train three 5-gram estimates with modified Kneser–Ney smoothing. A 5-gram estimate uses sequences of up to five words as evidence about an English continuation. The training sources are the English half of the parallel corpus, the Xinhua portion of Gigaword and the AFP portion of Gigaword. The authors interpolate the estimates, choosing their mixture for fit to the tuning data. N-gram
The tuning split is NIST MT06, with 1664 lines. The test splits are MT02, with 878 lines, MT05, with 1082 lines, and MT08, with 1357 lines. MERT uses the tuning split to choose feature weights. Test data are used to assess the resulting translations. In the reported comparisons, the baseline is Moses with standard hierarchical phrase-based settings. The augmented systems keep that starting point and add the dependency features in different combinations or with different depth groupings. The full configuration with 2 bins is called bin-2, and -lr marks a system whose feature weights were tuned using LRscore.
What the metrics measure
BLEU compares a translation against references by looking for matching sequences of words. It rewards a system for producing words and short sequences similar to the references. Movement can affect those matches, and the authors point out that BLEU offers limited sensitivity to some changes over longer distances. Two translations can share much of their local wording while arranging larger pieces differently. The experiment therefore compares tuning for BLEU with tuning for a metric that includes direct evidence about word order. Bleu: a Method for Automatic Evaluation of Machine Translation
The paper's LRscore combines a lexical measure and a reordering measure by linear interpolation. The lexical component in these experiments is BLEU. The ordering component comes from Kendall's tau permutation distance, which compares the relative positions of words in an output with their order in the reference. A long move can reverse a word's order relative to many intervening words while leaving much of the local wording intact. That property motivates using the distance in a tuning objective for reordering. The comparison depends on word alignments that establish which positions are being compared.
The authors additionally report translation edit rate, or TER. It measures the edits required to bring an output into agreement with a reference, so lower values are better. BLEU and LRscore are reported with higher values as better. Because BLEU enters into LRscore, gains on those two metrics share some evidence. TER gives another view of whether the output improves when the tuning objective changes. The paper also analyzes the movements themselves by checking which reorderings of source material are reproduced in the reference translations.
Results when tuning for BLEU
With the original baseline and the augmented system both tuned for BLEU, the depth grouping matters. The full feature set with 1 bin reaches 31.58 average test BLEU, and the version with 3 bins reaches 31.84. The full system with 2 bins reaches 32.28, against 31.44 for the baseline. That system gives the strongest BLEU result among the tested groupings on each test set. The single-band setting, by comparison, reaches 32.13 BLEU on MT05, below the baseline's 32.23 on that split.
Average BLEU by depth grouping on NIST MT02, MT05 and MT08
The full feature set performs best when the tree is divided into two depth bands.
The numbers
| System or setting | BLEU |
|---|---|
| Moses baseline | 31.44 |
| Full features, one bin | 31.58 |
| Full features, two bins (this paper) | 32.28 |
| Full features, three bins | 31.84 |
On MT02, the 2-bin system reaches 35.04 BLEU, compared with 34.01 for the baseline. The paper reports a gain of 1.03 points there. On MT05, the corresponding scores are 33.18 and 32.23. On MT08, they are 28.63 and 28.09. The reported average gain is 0.84 BLEU points. These are tests of the dependencies as additional scoring evidence within the same basic translation setup, with a common choice of tuning objective.
The BLEU-tuned feature set also improves the other reported aggregate measures. Average LRscore is 40.94 in the 2-bin system and 39.84 in the baseline. Average TER is 65.51 and 67.97, respectively. Those gains precede any decision to tune directly for word order. The direct reordering measurements in the next section show how differently precision and recall can respond even when the aggregate translation scores improve together.
Results when tuning for LRscore
The authors also tune both the baseline and the full 2-bin system with LRscore. The baseline with the new objective reaches 31.50 BLEU, 39.98 LRscore and 67.56 TER on average across the three test sets. The augmented system with LRscore tuning reaches 32.65 BLEU, 41.14 LRscore and 64.61 TER. Comparing the two LRscore-tuned settings keeps the choice of objective fixed. Comparing the two 2-bin settings instead shows what changes when the dependency features are already in place and the objective changes.
Average LRscore by feature set and tuning objective on NIST MT02, MT05 and MT08
The dependency features raise LRscore under either objective, and the augmented system scores highest with LRscore tuning.
The numbers
| System or setting | LRscore |
|---|---|
| Baseline tuned for BLEU | 39.84 |
| Two bins tuned for BLEU | 40.94 |
| Baseline tuned for LRscore | 39.98 |
| Two bins tuned for LRscore (this paper) | 41.14 |
For the augmented system, the authors report that switching the objective yields an average increase of 0.20 LRscore and 0.37 BLEU, together with a decrease of 0.90 TER. Relative to the original BLEU-tuned baseline, the combined result is an average gain of 1.21 BLEU and 1.30 LRscore and a reduction of 3.36 TER. Those final gains describe a comparison that changes the features and the tuning objective. The BLEU-tuned comparison supplies the separate result for adding the full feature set with the original objective held fixed.
The augmented system tuned for LRscore reaches 35.42 BLEU on MT02, 33.44 on MT05 and 29.10 on MT08. On the same splits its TER values are 64.82, 64.88 and 64.14. Its LRscore values are 43.25, 41.80 and 38.38, respectively. The authors point to the consistent drop in TER when the augmented system switches objectives as evidence that its improvement extends beyond the measure used to tune its weights. The original Moses baseline provides another instructive comparison. Switching its objective changes average BLEU and LRscore only slightly, and its MT08 BLEU is 27.99 with LRscore tuning and 28.09 with BLEU tuning.
The reported statistical test is for BLEU. The authors use paired bootstrap resampling, where corresponding outputs are resampled together when comparing systems on the same evaluation material. They report p < 0.05 for both the BLEU-tuned and LRscore-tuned 2-bin systems against the original baseline. Those are the comparisons covered by the reported significance result. The individual changes in TER, the reordering counts and the difference between the two augmented settings are presented as measured results under their respective conditions. Statistical Significance Tests for Machine Translation Evaluation
What the ablations show
Adding orientation, cohesion and the unaligned penalty
The incremental feature experiment holds the depth grouping at 2 bins and uses BLEU as the tuning objective. It begins with the original Moses baseline. It then adds orientation, adds cohesion on top of orientation, and finally adds the unaligned penalty to complete the feature set. This order follows the design of the system. The minimum configuration directly rewards likely head-relative order. The next adds a preference for composing related words sooner. The last restores a cost for a way the search can avoid the dependency evidence.
Average BLEU as dependency features are added on NIST MT02, MT05 and MT08
Average BLEU rises at each stage of the incremental feature comparison.
The numbers
| System or setting | BLEU |
|---|---|
| Moses baseline | 31.44 |
| Orientation | 31.64 |
| Orientation and cohesion | 31.96 |
| Orientation, cohesion and unaligned penalty (this paper) | 32.28 |
Orientation alone reaches 34.26 BLEU on MT02 and 32.58 on MT05, compared with 34.01 and 32.23 for the baseline. On MT08 it reaches 28.07, while the baseline scores 28.09. The average improvement shows that the observed ordering of head–dependent pairs supplies useful evidence across the evaluation. The individual split shows that this evidence alone does not reliably improve every set in the study.
Adding cohesion brings MT02 to 34.47 BLEU, MT05 to 32.81 and MT08 to 28.61. Under this configuration, the change on MT08 puts the system above the baseline there. It is consistent with the idea that knowing which direction to favor can be more useful when the decoder also has evidence about how to compose the pieces. In the reported setup, however, a cohesion-only system is absent. The result measures the effect of introducing cohesion into a system that already has the orientation score.
Adding the unaligned penalty brings MT02 to 35.04 BLEU and MT05 to 33.18, while MT08 reaches 28.63. The authors describe the contributions as roughly similar on average. The per-set pattern gives that observation some context. The unaligned penalty changes the MT08 BLEU very little after cohesion has been added, while the final step produces a clearer improvement on MT02 and MT05. The comparison supports keeping the auxiliary term in the reported package. It leaves open how much the same penalty would contribute if introduced first, or which specific alignments changed as a result of its weight.
The feature experiment answers an incremental question. Each row changes the configuration by adding the next score, and all are evaluated on the same splits. The sequence tells whether that next score helps in the presence of the earlier ones. Because the scores can interact in decoding and tuning, the sequence does not assign independent shares of the final gain to individual mechanisms. For example, leaving a word unaligned changes whether it is available to the orientation feature. The effect of charging for that decision can depend on whether orientation and cohesion already influence the search.
Changing the depth grouping and the tuning objective
The comparison across bin counts asks whether the contribution depends on where a word lies in the parse. Moving from a single weight per dependency feature to separate weights by depth gives the tuning process additional flexibility. The 2-bin setting has the strongest test results. The 3-bin system falls behind it on every test split, although the authors report slightly higher BLEU on the tuning data for that setting. They interpret the pattern as overfitting. The additional distinction between depths helps fit the tuning split more closely, while the ordering of configurations on the test data favors the coarser grouping.
That comparison establishes the value of a particular degree of separation in these experiments. It does not tell which learned weights drive the effect. The paper does not report the relative importance of individual bins or measure parsing quality separately at each level. The experiment varies how the tree is partitioned and how many weights the tuner can adjust at the same time. Its result supports the tested 2-bin arrangement without identifying the best way to assign depths in another training or evaluation setting.
The tuning comparison separates another pair of decisions. The authors can change the metric used to choose weights while leaving the features in place, or change the features while tuning with a shared objective. The baseline gains little in average LRscore from switching objectives compared with the gain from adding dependency features under BLEU tuning. Among the augmented systems, switching to LRscore yields the strongest aggregate scores. The behavior is especially clear in the direct measurements of reordering precision and recall, which respond differently to the feature set and to the objective.
Measuring the movements realized in a translation
The authors check whether a movement in a candidate output also occurs in a human reference. Precision divides the number of reproduced reorderings by all reorderings in the candidate. It asks how often the system's ordering changes have a counterpart in the reference. Recall divides the same kind of match count by all reorderings in the reference. It asks how many of the reference movements the candidate reproduces. The paper averages the precision and recall values over four reference translations. Agreement is evaluated against each reference before the values are averaged.
This evaluation needs a decision about alignments with several links. The authors retain the first alignment for a source or target word with multiple alignments in the reordering analysis. For orientation classification, they likewise use the first target alignment when a source word links to several target words. The paper says its analysis convention leads to more extracted reorderings than the earlier measurement procedure it cites. The reported precision and recall should therefore be read in terms of this alignment convention and the particular set of movements it defines.
The BLEU-tuned baseline has an average reordering precision of 36.0. The 2-bin system with the same objective reaches 40.7, which the paper reports as an improvement of 4.7 absolute points. Average recall is 35.6 for the baseline and 34.8 for that augmented system, a drop of 0.8 points. The precision gain holds across the test sets, and the reported recall values for this comparison are lower on each split. The system's moves more frequently agree with a reference, while the system covers a smaller share of the reference movements.
The LRscore-tuned baseline has average precision of 35.5 and recall of 34.9. In the full 2-bin system tuned with LRscore, the figures reach 42.9 and 35.9. The paper reports that the augmented system gains another 2.2 precision points when it switches objectives. Against the original BLEU-tuned baseline, the final gains are 6.9 precision points and 0.3 recall points. At the precision shown in the table, final recall is higher than the original baseline on MT02 and MT05 and is the same on MT08, where both values are 33.2. The aggregate evidence for improved recall is modest. The precision improvement is larger and visible on each test split.
Looking at the distance of a move
The authors break down the MT08 reorderings by width on the source side. The figure covers widths 2–15. Width in this analysis concerns the span involved in an observed reordering in the source sentence. This is distinct from tree depth, which only determines how the decoder weights a feature. A movement grouped with other long moves in the evaluation can be affected by several choices in the source tree and in the derivation.
The precision curves show improvements across widths when the dependency features are used, with stronger gains over medium and long ranges. The recall curves show a narrower result. For short reorderings up to Width 4, the feature-augmented system offers no recall improvement. For longer reorderings, recall improves consistently in the breakdown the authors describe. The augmented system tuned with LRscore gives the strongest overall reordering measurements. This analysis is what supports a claim about longer movements specifically. Aggregate BLEU, LRscore and TER do not say which source widths account for a change.
These measurements also give a more precise interpretation of the BLEU-tuned feature set's average recall drop. A single value pools movements of different widths. The MT08 breakdown shows improvements for longer movements even though overall recall for the BLEU-tuned system is lower than the baseline on that split. The system's behavior therefore depends on which subset of reorderings the evaluation asks it to reproduce. The authors' goal was to address a weakness already observed for hierarchical translation at longer distances, and the width analysis connects the performance change to that goal.
How a longer movement changes an actual translation
An MT08 example concerns Abbas's satisfaction with relations between the Palestinian National Authority and the European Union. In the Chinese input, dui introduces the material about the relations. Its head, gandao, is the verb corresponding to feel and comes later. The relevant English wording puts the expression of satisfaction before the material specifying the relations. The translation therefore has to keep the description of the relations coherent while moving it with respect to the verb.
The baseline produces a fragmented rendering. It translates dui with wording equivalent to of the, separates pieces of the description, and uses more glue applications to assemble the result. In the feature-augmented output, the organizations remain together in the description of the relations, and the expression of satisfaction comes first. The decoder applies a hierarchical rule with a slot for the intervening Chinese material. The English side orders the material corresponding to gandao and manyi first, then the preposition corresponding to dui, then the translation in the slot.
Here a short grammatical description accounts for a large visible move. The orientation of dui with respect to gandao says which side of the verb the attached expression should occupy. The slot gives the decoder a way to move the full expression in one rule application. The authors use this case to illustrate how more cohesive composition and a better ordering decision can occur together. The example shows the route available to the augmented system in one sentence. The feature comparison and width breakdown carry the evidence about frequency and aggregate improvement.
Limitations
Limits and extensions identified by the authors
The paper highlights a structural blind spot in the cohesion penalty. It can reward a dependent, such as the subject in the Australia fragment, for being translated with its head. It has no comparable reward for neighboring words that share an uncovered head. The few countries example shows why that matters. A useful translation fragment can keep two siblings together while each still counts as unresolved. The authors propose a complementary feature that looks from each head toward its children. That feature is a direction for extension, and its effect is outside the reported experiments.
The implemented penalties also group words broadly. The authors suggest making them sensitive to grammatical relations or to particular words. With that refinement, the system could treat an unresolved or unaligned punctuation mark differently from a missing content word. It could even learn to favor the absence of an alignment for some function words in some contexts. The paper observes that introducing many relation-specific features would substantially enlarge the space of weights to tune. It names online large-margin training as one way to handle such a space. Online Large-Margin Training of Syntactic and Structural Translation Features
Word alignment quality is another stated dependency. Alignment determines the training labels for orientation, establishes the positions a decoder candidate uses for scoring, and supports the permutation calculation used in LRscore. The authors single out function words as difficult cases because a word in one language may have several plausible correspondences or a weak one in the other. They propose trying syntactically informed aligners in place of GIZA++. Choosing a first target alignment makes the present orientation rule straightforward to apply. The paper does not compare that choice with alternative ways to represent a multiword correspondence.
The authors also distinguish the quality of a preference from the supply of rules that can act on it. Their constraints can favor useful derivations among those the grammar and search make available. The conclusion points to related studies that relax hierarchical rule extraction conditions or give rules more selective lexical information about function words. Combining those rule improvements with the dependency scores is proposed as a way to obtain further gains. The experiments measure the dependency features within the stated Moses setup.
Limits of the experimental evidence
The quantitative evidence concerns Chinese-to-English translation on the stated training, tuning and test data. The paper discusses word-order differences in other translation directions as motivation. Its classifier can be defined without a manually specified ordering rule for Chinese or English. Transfer to another language pair would nonetheless depend on the quality of the available parser, alignments and training examples, as well as which movements the grammar can express. The experiments do not establish a result for those other directions.
The source dependency analysis is an automatically produced input to the features. A link can only provide relevant evidence if it identifies a relation that matters to the ordering choice. The classifier can learn how much to trust recurring lexical and grammatical cues, and bin weights can vary the influence of different depths. The study does not compare parsers, use alternative parses for the same sentence, or measure which parsing errors lead to translation errors. The benefit of binning is therefore evidence for the scoring configuration, instead of a measurement of how parse accuracy varies through the tree.
The design also makes the levels of evidence important. Average translation scores are available across all the test sets. The source-width breakdown comes from MT08, and the close reading of a translation shows a possible mechanism in a particular instance. The reported significance test covers the stated BLEU comparisons against the original baseline. The paper supplies no equivalent test for the small recall improvement, or for the difference between tuning objectives within the 2-bin system. These results have different scopes even though they come from the same experiments.
Finally, the evaluation describes agreement with reference translations. A reference can express the same content using another acceptable order or another alignment. Precision and recall here measure the recovery of reference movements under the paper's procedure. They do not amount to a direct judgment of every possible English ordering. BLEU, LRscore and TER supply complementary ways to compare the candidate sets, but they also depend on the outputs, references and correspondences used in the evaluation. The most specific empirical conclusion is that the added dependency scores improve the tested hierarchical system's choice of order, with the strongest direct evidence in precision and in the analysis of longer movements.
What came after
Subsequent adoption of the method is undocumented here. The paper itself leaves several research questions open, including whether scoring the grouping of a head's children improves cohesion, whether better alignment makes orientation estimates more reliable, and whether a richer inventory of hierarchical rules lets the decoder act more frequently on those estimates. These are proposed extensions, distinct from the gains measured in the Chinese-to-English experiments.
Cite
Cite as Yang Gao, Philipp Koehn and Alexandra Birch. 2011. Soft Dependency Constraints for Reordering in Hierarchical Phrase-Based Translation. Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{gao2011soft,
title = {{Soft Dependency Constraints for Reordering in Hierarchical Phrase-Based Translation}},
author = {Yang Gao, Philipp Koehn and Alexandra Birch},
booktitle = {Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing},
year = {2011},
url = {https://aclanthology.org/D11-1079/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/gao-2011-soft-dependency-constraints-reordering-hierarchical/