Elamur Research

Modeling Syntactic and Semantic Structures in Hierarchical Phrase-based Translation

Paper · 2013 · Junhui Li, Philip Resnik and Hal Daumé III

Summary

A translation can use the right words and still give the wrong account of who did what. A system might place the phrase naming the person who gave permission where an English reader expects the person receiving it. Hierarchical phrase-based machine translation can move whole pieces of a sentence, which gives it the flexibility to handle differences in word order. The authors ask how to guide that flexibility so the pieces reflect grammatical structure and their placement preserves the relationships expressed in the source sentence.

Their first change controls where a Chinese sentence can be divided. A translation span can follow a branch of its grammatical tree or group neighboring branches under a common parent. The authors also flatten parts of the tree so that a head, the word around which a phrase is organized, and its modifiers can be grouped more flexibly. These restrictions on span shape are strict, but the eligible spans can extend beyond the baseline's fixed length limits. A revised set of combination rules allows two completed pieces to stay in their original order or switch places, subject to the same restrictions on which source words can be grouped.

The second change uses semantic role labeling to identify what each phrase contributes to the event or state expressed by a verb. The authors estimate how an argument, such as the thing being conveyed, tends to move relative to its verb, and how two arguments of the same verb tend to move relative to each other. The system infers their positions in a candidate English translation from the links between source and target words. It can also represent an argument that goes untranslated. These patterns give the decoder, which searches for a translation, an extra basis for choosing among candidates.

Across the Chinese-to-English test sets, the baseline averaged 36.10 on BLEU, a score based on matching word sequences in reference translations. The system with the final syntactic restrictions averaged 36.71, and the system with the semantic reordering feature reached 37.13. The semantic feature significantly improved scores on NIST MT 2004 and 2005 relative to the system with reorderable combination rules, while the score on NIST MT 2002 fell slightly. The syntactic changes also reduced the number of extracted rules from 193M to 60M. The comparison shows how a grammar can admit longer, structurally useful pieces while giving the decoder fewer rules and spans to consider.

Deep dive: Modeling Syntactic and Semantic Structures in Hierarchical Phrase-based Translation

How tree boundaries and semantic roles help a hierarchical phrase-based system choose and reorder Chinese-to-English translations. · about 34 minutes to read

The problem and its context

A grammar for building translations

A phrase-based translation system learns which stretches of words tend to correspond in a collection of paired sentences. To translate a new sentence, it can combine pieces that have turned up in other sentences. This reuse is central to the approach. A phrase pair can be valuable because it captures an expression whose translation works reliably across many settings, even when the words in that expression do not form a complete phrase in a linguistic analysis. A translation system therefore has a reason to learn from the boundaries suggested by bilingual evidence, while a grammatical analysis has a reason to put the boundaries somewhere else.

Hierarchical Phrase-Based Translation extends this idea by allowing rules to contain slots. A rule can translate some words directly and leave an intervening stretch to be translated by another rule. A corresponding slot in the output says where that smaller translation goes. A rule with several slots can put their translations in a different order. This makes the same translation pattern reusable across different words and lets the decoder build up an output through nested decisions. A piece that is large from the perspective of the full sentence may consist of a few fixed words surrounding a much larger substitution.

The formal machinery is a synchronous context-free grammar. Its rules build a source expression and a target expression together. The standard hierarchy comes from the nesting of these rules. The standard rules use a general-purpose category for their slots, so a substitution can be legal without corresponding to a noun phrase, a verb phrase, or any other particular grouping a linguist would recognize. A derivation can therefore have a tree shape in the formal sense while cutting across the grammatical tree of the sentence.

That flexibility creates a problem for semantic information. A semantic analysis identifies a predicate, usually a verb in the experiments, and assigns roles to the phrases that take part in what it expresses. Those phrases occupy stretches of the sentence. If a translation rule cuts through a role-bearing stretch and attaches parts of it to unrelated material, tracking the role through a derivation becomes awkward. Even coherent pieces can be assembled in a misleading order. The paper's approach is to make grammatical boundaries govern which translation units can be assembled and then use semantic roles to evaluate the arrangements that those units produce.

What earlier approaches allowed

The authors revisit a question posed in Statistical Phrase-Based Translation. That work asked whether bilingual phrases that look peculiar from a grammatical perspective are actually helpful. Its experiment on Europarl required each side of an extracted phrase pair to fit a complete subtree. The restriction hurt translation because it removed too many phrases. A plausible fragment can contain words that work together in translation even if the parse groups them with additional words. Requiring a complete constituent on both sides therefore puts a substantial burden on both parses and on the correspondence between their boundaries.

Later work described in the paper often gave syntax a softer role. Chiang and Cherry used scores to favor hypotheses that agree with grammatical boundaries or to penalize violations. A decoder could still select a candidate that crossed a boundary if its other evidence was strong enough. Soft Syntactic Constraints for Hierarchical Phrased-Based Translation distinguished among types of constituent when applying such preferences. The paper also describes work by Xiong and colleagues that learned phrase boundaries from aligned bilingual data. These approaches preserve room for translation units that fail a literal constituent test, while bringing more information to the choice of where translation boundaries should fall.

Tree-based translation offered other ways to accommodate those units. The tree-to-tree work by Cowan and colleagues allowed certain source pieces that were smaller than constituents and used phrase-based translation for clause modifiers. Marcu and colleagues' SPMT and the work by Galley and colleagues introduced artificial nodes so useful stretches could be treated as constituents. Work that reorganized trees into binary branches, along with Forest-Based Translation, could also cover some stretches outside the original constituent inventory. The common issue was how to let the translation grammar reach pieces that the original tree did not isolate.

The paper contrasts its constituency-based method with the work of Shen and colleagues, which used dependency parsing structure to characterize some partial constructions that translation rules could cover. Constituency concerns which words form a larger grammatical unit. Dependency structure concerns which words are linked as heads and dependents. Both offer ways to say that a stretch has enough internal structure to be useful even if it falls short of a complete phrase. The paper's own treatment is distinctive in letting eligible source spans extend beyond a fixed phrase-length maximum.

Why semantic roles are a plausible guide

Grammatical arrangements can change when the same event is expressed in another language. The verb may come earlier or later, and a participant that is stated explicitly on one side may be left implicit on the other. But a participant can retain the same relationship to the event despite a change in its position. The paper cites a study by Fung and colleagues that reported approximately 84% consistency in semantic role mappings across English and Chinese translations. It also describes how Zhuang and Zong used cross-language consistency to improve frame recognition on both sides of paired Chinese and English text. Those findings motivate using roles as a basis for relating structures across languages while allowing for departures from a direct correspondence.

Previous translation work had already approached role order in several ways. Wu and Fung rearranged arguments in a translated output to seek a closer match between its frame and the source frame. Liu and Gildea used semantic role features in tree-to-string translation and considered changes in order and deletion. In a system built from labeled tree templates, some semantic information can already follow from the construction. The paper points to a template with a form of give and successive noun phrases. The template itself suggests which phrase identifies the recipient and which identifies what is given. An unlabeled hierarchical rule has less of that information available from its shape alone.

Xiong and colleagues' earlier predicate–argument approach assumed that an argument was translated as a unit and examined where that unit moved relative to its predicate. The authors of the present paper also want to know which of two arguments comes first. This can matter even when the positions of both phrases relative to the verb are already settled. Two objects can both follow the verb, for instance, while their internal order determines which phrase an English reader takes to have which function. A description of the positions relative to the verb leaves that choice unresolved.

The possibility of omission raises a different question. In a language where a participant can be left unspoken, translating into English can require a different pattern of explicit arguments. Conversely, there are source arguments whose words may have no target counterparts in a candidate. The paper treats observed omission as one of the ways a source pattern can be realized. That makes the semantic component relevant to the presence of material as well as its order. The evidence it uses comes from the roles identified in the source sentence and the candidate translation's word links, a distinction that becomes important when interpreting what the experiments established.

The method, step by step

Start with aligned sentences and nested rules

The starting point is a collection of sentence pairs in Chinese and English. A word alignment connects words or groups of words that correspond across a pair. The initial phrase extraction looks for a stretch on each side that contains at least one linked pair of words. It also requires the links from words inside either stretch to stay within the paired stretch on the other side. Imagine selecting a Chinese fragment and its apparent translation, then noticing that a word in the English fragment is linked to Chinese material outside the selection. The proposed pair fails the extraction condition because it cuts a known connection.

An initial phrase pair supplies the material for a hierarchical rule. Some words remain visible in the rule as vocabulary items. A smaller paired stretch can become a matching slot on both sides. Once the decoder finds a translation for a new source stretch that fills that slot, it inserts the result where the target side places the corresponding slot. The form of a standard rule is as follows.

X → ⟨γ, α, ∼⟩

Here X is the general nonterminal category on the left of the rule. A nonterminal is a symbol that stands for material to be expanded. The arrow gives the expansion, and the angle brackets enclose its linked source and target parts. The string γ is the source pattern and α is the target pattern. Each can contain ordinary words and slots. The symbol ∼ specifies the one-to-one correspondence between the slots in the two patterns. This correspondence lets the grammar move a subtranslation without changing which slot it is meant to fill.

The baseline evaluates rules with phrase translation probabilities in both directions. It also uses lexical translation probabilities in both directions, which supply evidence from words within the phrase pair. The rule penalty affects the preference for using more or fewer rules in a derivation. A target language model scores the words produced in English, and a target word penalty affects the preference for output length. These kinds of evidence come together in the score for a complete derivation, the sequence of linked rule applications used to construct a translation.

P(d) ∝ ∏ᵢ φᵢ(d)^λᵢ

P(d) is the probability assigned to derivation d up to normalization, as indicated by ∝. The product ∏ᵢ runs over feature indices i. Each φᵢ(d) is the value of feature i for the derivation, raised to the corresponding weight λᵢ. The weight determines how strongly that feature contributes. In log space the product becomes a weighted sum. That is the sense in which the authors describe the translation score as log-linear, and it gives them a way to add a semantic reordering contribution alongside the existing evidence.

The restrictions introduced next apply before this scoring can settle a choice. A natural reading of the output or a high phrase translation probability can help an eligible rule, but structural eligibility determines which spans the system gets to score in the first place. This difference matters in both training and decoding. During training, the restrictions govern the source stretches from which the grammar learns. During decoding, they govern the source stretches for which a translation can be assembled.

From aligned training sentences to a scored translation

The steps in order.

From aligned training sentences to a scored translationStep 1: Align bilingual training sentences1. Align bilingual training sentencesStep 2: Parse and flatten source trees2. Parse and flatten source treesStep 3: Extract rules from eligible source spans3. Extract rules from eligible source spansStep 4: Label source predicates and arguments4. Label source predicates and argumentsStep 5: Estimate reordering from bilingual alignments5. Estimate reordering from bilingual alignmentsStep 6: Combine eligible spans during decoding6. Combine eligible spans during decodingStep 7: Score role arrangements from candidate word links7. Score role arrangements from candidate word links

Choose where the grammar may put boundaries

The basic syntactic restriction accepts a span if its words are the yield of a subtree. The yield is the sequence of words beneath a node. If a noun phrase node covers a determiner, an adjective and a noun, the full sequence qualifies. A fragment consisting of the determiner and adjective will qualify only if the original tree happens to give that fragment a node of its own. The authors use this basic setup as a comparison and then make eligible spans less dependent on where individual nodes happen to fall.

Their first relaxation is to admit a group of sibling subtrees. Siblings share a parent node in the parse tree. The example uses English on the source side to make the tree easy to read. The full noun phrase is the red car, and the Chinese side has a corresponding full phrase. The shorter pairing for the red is also reusable, since the translation system can combine it with another noun. If the determiner and adjective are siblings inside the noun phrase, the rule can use their combined stretch even though that stretch has no node of its own. The contiguity of the source span and the relationship between its branches both matter.

Sharing a parent still depends on how deeply the parser nests a construction. The paper notes that Chinese parses can distribute a head and its modifiers over several levels. Even in the illustrative English sentence involving like and the red car, the original tree puts the subject, the word still, the verb, the object and the phrase very much at different levels. A fragment such as still like can consequently fail a sibling test in spite of involving the verb and a modifier. A system that uses the original tree literally has to live with the parser's decisions about which layer houses each piece.

The authors flatten the relevant structure to place a head and its modifiers at a common level. In their illustration, like shares a level with the subject pronoun, still, the object phrase and very much. The flattening preserves these pieces as groups while changing how they sit next to one another in the tree. A sequence such as I still like then becomes available as a stretch of sibling branches. The authors also argue that flattening can remove some bracketing mistakes. A decision that put a modifier at a particular internal level matters less once the head and its modifiers are brought together.

This procedure retains a practical difference between a boundary and a category. A translated span can have a sound grammatical boundary even if the grammar labels its translation slot with the general symbol X. The method uses the source tree to decide what X can cover. It need not give every translation rule separate nonterminal labels for the grammatical categories of both languages. This lets the authors add a linguistic constraint while preserving the general form of hierarchical phrase-based rules.

The last change in this stage concerns length. Chiang's baseline can use a fixed maximum, such as 10, for the spans from which initial phrase pairs are extracted. A related decoding restriction limits how much source text a nonterminal can cover. Such caps keep training and search manageable in a system with a large inventory of alignment-consistent spans. They can also exclude a reusable rule when a substitution makes the total source stretch too long. The paper illustrates this with a rule that translates the beginning of the like construction and leaves its remainder as a slot. Under the example's cap, the rule becomes unavailable if that slot covers 8 or more words.

Once grammatical screening has removed many spans, the authors can lift the fixed limits at extraction and decoding. A longer stretch still has to pass the alignment and syntactic conditions. The length change therefore extends the grammar in one respect while the tree narrows it in another. The key consequence is that length becomes a poor proxy for whether a usable unit will be admitted. A short stretch that cuts across the wrong branches can be rejected, and a longer, grammatically coherent stretch can supply a rule or a substitution.

Give the final combinations grammatical boundaries too

A conventional hierarchical decoder has a fallback for assembling chunks when an ordinary translation rule cannot cover a stretch. It takes completed translations and stitches them together in source order. A first rule can turn an X translation into an S item, and another can append a following X item to an S sequence. These are called glue rules. They make a full output possible even when ordinary rules operate over smaller pieces of the sentence.

Fixed left-to-right stitching presents two difficulties for this paper. Sometimes the target sentence needs the two chunks in reverse order. The left-to-right procedure also builds intermediate stretches that can end at accidental positions in the source tree. The paper illustrates the problem with a stretch combining like and the following determiner the. Each word can be translated in isolation, yet the combined stretch cuts into the object phrase in a way that makes it a poor grammatical unit. A restriction on the ordinary translation rules is insufficient if the fallback can immediately assemble their results into such spans.

The authors replace the conventional glue rules with a set that builds a T item. The first rule carries a completed ordinary translation into this part of the grammar.

T → ⟨X₁, X₁⟩

T is the category used for the new combinations, and X is the ordinary translation category. The index ₁ links the ordinary translation slot across the source and target sides. The arrow introduces the rule, and the angle brackets hold its two sides. This conversion introduces no change in order. The authors set its translation probability to 1.

T → ⟨T₁ T₂, T₁ T₂⟩

In this rule, T₁ and T₂ are adjacent chunks on the source side. Their indices maintain the correspondence between the source chunks and their translations. The rule produces them in the same order on the target side, an arrangement the paper calls monotonic. The unindexed T is the category of the combined chunk. The arrow and angle brackets have the same functions as in the conversion rule.

T → ⟨T₁ T₂, T₂ T₁⟩

The indexed T symbols refer to the same two chunks, and the source order is still T₁ T₂. On the target side the T₂ translation precedes the T₁ translation. This is the inverted rule. The authors estimate the probabilities of the monotonic and inverted rules from training data.

During extraction and decoding, a source span covered by T must satisfy the syntactic condition, just as a span covered by X must. This check concerns the larger span formed by the combination, in addition to the eligibility of the pieces that go into it. It gives the fallback a flexible choice about output order while maintaining the source structure that the semantic component will use. A decoder can now reach a larger meaningful span through the glue grammar, even if there was no single ordinary translation rule for that span.

Represent an event on both sides of a translation

The semantic stage begins with the source verb and the roles attached to it. The authors use the conventions of PropBank. These include core roles labeled A0 through A5 and adjunct labels such as AM-TMP for a time expression and AM-MNR for manner. The core labels identify positions in a verb's frame. A reader can understand them by seeing which stretch fills a role with a particular verb, without assuming that a numbered role has an identical meaning for every verb.

In the English illustration, like is the predicate. The pronoun I takes the A0 role, the object the red car takes A1, still is labeled as temporal, and very much is labeled as manner. A predicate–argument structure, abbreviated PAS, records the predicate and the relative arrangement of such elements. The source representation also identifies a predicate by its part of speech. The paper specifically motivates this information by the difference between Chinese adjective verbs and other verbs. Keeping the tag in the pattern lets the system distinguish their structural behavior.

For an English output candidate, the authors would ideally like a comparably reliable role analysis. Reliable target labeling earlier in the search would require coordinating translation with target semantic analysis, and the authors identify no efficient way to do so. They instead use projection. A source argument has known source words. The links supplied by the translation derivation identify the target words corresponding to those source words. The system can then recover the candidate's order of projected roles. At this stage, an English piece is treated as the counterpart of a role because the derivation connects it to that source piece. The target sentence has no independent role analysis in this feature.

In the example, the manner expression moves to a position before the verb in the Chinese rendering, while the object stays after the verb. The representation uses indices to identify the same pieces across the change in order. An index can also disappear when its source role has no translation. The paper uses the hypothetical omission of the source pronoun to illustrate this. The order of the remaining projected pieces can still be described. The statistical question is how probable that target arrangement is, given the known arrangement on the source side and the predicate involved.

P(PAS-T | PAS-S, PRE=p)

P denotes a conditional probability. PAS-S is the source predicate–argument structure, and PAS-T is the projected target structure. The vertical bar separates the event whose probability is estimated from the information used to estimate it. PRE is the predicate identity field, and p is the particular predicate value in that field. An arrangement of target indices, potentially with omissions, is the outcome scored by the probability.

Estimate smaller patterns from observed orders

An entire frame is a large unit to estimate. Some sentences distribute a predicate and its arguments over several levels of the translation derivation. Optional adjuncts can make frames for the same verb look different across examples, even when the local order of interest is the same. If the system learned only whole-frame patterns, an example that contains a time expression and an example that lacks it might contribute to different entries despite sharing the same verb–object order. Smaller patterns allow evidence about that recurring order to be reused.

The predicate–argument component takes a predicate and one of its arguments. Consider like and the object the red car. In the source pattern, the predicate is first and carries the tag VBP. The object is second and carries the role A1. In the projected target pattern for this pair, the predicate again precedes the object. Estimating a probability for this arrangement requires a count for the particular outcome and a total count over the possible target outcomes under the same source conditions.

Pₚ₋ₐ(PA-T=X₁ X₂ | PA-S=VBP₁ A1₂, PRE=like)
= Count(PA-T=X₁ X₂, PA-S=VBP₁ A1₂, PRE=like)
  / ∑ₜ∈Φ(PA-S) Count(PA-T=T, PA-S=VBP₁ A1₂, PRE=like)

Pₚ₋ₐ is the predicate–argument reordering probability. PA-S is the source pattern for this pair and PA-T is the target pattern. In VBP₁ A1₂, VBP is the verb's part-of-speech tag and A1 is the argument label. The subscripts ₁ and ₂ identify the source pieces. Thus X₁ X₂ is the target arrangement in which the projected predicate comes before the projected argument. The X entries here mark projected items by their indices. PRE=like fixes the predicate to the word like, and the vertical bar marks the conditioning information.

Count gives the observed frequency of the events inside its parentheses. The slash divides the count for the indicated output by the total for the same source pattern and predicate. The summation runs over T, a possible target pattern in the set Φ(PA-S). The membership sign ∈ indicates that the summation includes the target patterns in that set. Here T is a variable ranging over arrangements. It serves a different purpose from the grammar category used in the glue rules. The normalization asks how often this particular order occurs among outcomes for the same source configuration.

The identity of the verb can make the estimate more specific, but specificity reduces the amount of data available per entry. The authors describe retaining individual predicate words when they occur frequently enough, giving 100 as an example threshold. For rarer predicates, the estimate uses the predicate's part of speech in place of its word identity. The paper applies the same substitution when a source pattern is too rare even for a frequent predicate, giving less than 10 as an example. This smoothing lets evidence from verbs of the same part of speech support a pattern for which counts tied to one word would be sparse.

The argument–argument component considers two arguments, with their shared predicate included in the pattern. The distinction matters because the relation between two arguments is anchored in the event they share. In the illustration, the object the red car precedes very much on the source side. The Chinese rendering places the manner phrase before the verb and the object after it. The corresponding order of the three projected items is as follows.

Pₐ₋ₐ(AA-T=X₃ X₁ X₂ | AA-S=VBP₁ A1₂ AM-MNR₃, PRE=like)

Pₐ₋ₐ is the argument–argument reordering probability. AA-S and AA-T are the source and target patterns for the argument pair and its predicate. On the source side, VBP₁ marks the first piece as the verb, A1₂ marks the second as the core argument, and AM-MNR₃ marks the third as the manner argument. On the target side, X₃ X₁ X₂ places the projected manner argument first, the verb next and the core argument last. PRE=like again identifies the predicate, and the vertical bar separates the outcome from the source information. The paper uses the same distinction between frequent and infrequent predicates and patterns to smooth these probabilities.

Both kinds of pattern have a use even when several arrangements share much of their evidence. The predicate–argument component can learn the placement of an object relative to a verb without needing a particular adjunct to be present. The argument–argument component can distinguish competing arrangements in which the same verb and arguments occur but the arguments trade positions. Including the predicate in this second pattern keeps the estimate tied to a frame. The decoder receives evidence about the smaller decisions as the corresponding source pieces become available.

Score each relationship when the decoder can see it

The system uses a CKY-style decoder. Its chart organizes partial translations by the stretch of the source sentence they cover. Shorter translations can fill slots in rules for longer stretches or be joined by the glue grammar. An entry can carry different hypotheses for the same source span, since the same source words may have several candidate translations or arrangements. The syntactic test determines which spans can have entries. The semantic feature depends on what a particular hypothesis does with the material those entries cover.

When a new hypothesis is built, the decoder looks for predicates within its source span. For each such predicate it collects the arguments that are fully contained in the same span. Partial containment supplies too little information for the stated scoring procedure. A hypothesis that has the predicate and one complete argument can contribute the corresponding predicate–argument score. A larger hypothesis that brings another complete argument into view can make an argument–argument score available. The source parse and role annotation supply the stretches to look for, while the translation derivation supplies their projected positions.

The algorithm guards against scoring a relationship that has already been evaluated lower in the derivation. For an eligible pair of predicate and argument, it checks whether that pair's reordering contribution has been computed. For an eligible pair of distinct arguments sharing the predicate, it applies the analogous check. The check matters because a relation can remain in view as its containing hypothesis is embedded in progressively larger spans. Counting it again every time would tie its influence to the number of assembly steps above it. The decoder adds the log probabilities for eligible relationships that have become available and uses the result as the semantic feature contribution.

This is why the semantic feature cannot be stored offline as an ordinary score on a phrase pair. Training can produce tables of reordering probabilities. During translation, the system still has to decide which table entries a particular hypothesis calls for. The same phrase pair may appear in derivations involving different predicates, and the target position of a role depends on how a rule and its children arrange the words. The score therefore uses information from actual candidate derivations. It can influence search while the sentence is being assembled, with the feature's weight mediating its effect alongside the other translation evidence.

Experiments and results

Training, tuning and testing

The authors reproduced Chiang's hierarchical phrase-based system as the baseline and tested their changes on Chinese-to-English translation. The bilingual training corpus contained 1.5M sentence pairs, with 39.4M Chinese words and 46.6M English words. They ran GIZA++ in each alignment direction, following the alignment work of Och and Ney, and combined the results using the refinement procedure named grow-diag-final-and. The resulting links provide the bilingual evidence for phrase extraction and for relating source role spans to target material in training.

The authors used the Berkeley Parser trained on Chinese TreeBank 6.0 to analyze the source sentences. They then applied a Chinese semantic role labeler to the source parses, marking arguments for verbal predicates. To score English, they trained a 5-gram language model with the SRI toolkit using Gigaword’s Xinhua subset. A 5-gram is a word sequence of the indicated length. The English scoring component uses such local sequences to evaluate how plausible candidate output is. Minimum error rate training, abbreviated MERT, tunes the relative feature weights on the development data.

The development set was the 2003 NIST MT evaluation set, with 919 sentence pairs. The reported tests used the 2002, 2004 and 2005 NIST MT evaluation sets. They contained 878, 1788 and 1082 sentence pairs, respectively. The development set serves a different purpose from those test sets. It provides feedback for choosing the weights that govern the decoder's decisions. The test comparisons then measure the results of the different configurations on separate sentences.

The evaluation used version 11b of the NIST BLEU script, with case-insensitive word sequence matching up to length 4. Scores provide a corpus-level comparison with reference translations. The authors assessed differences through paired bootstrap testing, following Statistical Significance Tests for Machine Translation Evaluation. In such a comparison the competing systems are assessed on matched resamples of the test items. This ties the comparison to the same source sentences and references for both outputs. The reported tests use thresholds of 0.05 and 0.01.

Results across the test sets

The progression starts with the baseline, adds the final syntactic restrictions, changes the glue grammar, and then adds semantic reordering. The syntactic configuration in this progression uses flattened trees and removes the fixed length limits for initial phrases during training and for X spans during decoding. It scores 36.71 on average across the test sets, against 36.10 for the baseline. With reorderable glue the average is 36.79. Adding the semantic feature brings it to 37.13. The authors report the full system's average improvement over the baseline as 1.03 BLEU points.

Average NIST BLEU across MT 2002, 2004 and 2005 by translation system

The system with semantic reordering has the highest average in the comparison.

Average NIST BLEU across MT 2002, 2004 and 2005 by translation systemBaseline hierarchical phrase-based system: 36.10Baseline hierarchical phrase-basedsystem36.10Final syntactic constraints: 36.71Final syntactic constraints36.71Syntactic constraints and reorderable glue: 36.79Syntactic constraints and reorderableglue36.79Syntactic constraints, reorderable glue and semantic reordering (this paper): 37.13Syntactic constraints, reorderable glueand semantic reordering (this paper)37.13
The numbers
System or settingBLEU
Baseline hierarchical phrase-based system36.10
Final syntactic constraints36.71
Syntactic constraints and reorderable glue36.79
Syntactic constraints, reorderable glue and semantic reordering (this paper)37.13

On MT 2002, the baseline yielded 40.00 BLEU and the final syntactic configuration 40.01. The system with reorderable glue reached 40.70, which was significant against the baseline at 0.05. When the semantic feature was added, the score was 40.41. That score also carried significance against the baseline at 0.05. The paper describes the drop relative to the reorderable glue system as nonsignificant, with p > 0.05. The best configuration on this set therefore depends on which of the added components are present.

On MT 2004, the baseline scored 35.33 and the final syntactic configuration 36.24. The latter was significant against the baseline at 0.01. The reorderable glue system scored 36.00, with significance against the baseline at 0.05. With semantic reordering, the score reached 36.73, significant at 0.01 against both comparison systems used for the significance marks, the baseline and the system with reorderable glue. The intermediate fall and the final increase are both visible when configurations are compared on the same set.

On MT 2005, the baseline obtained 32.97, the syntactic configuration 33.65 and the reorderable glue configuration 33.67. Both of the latter scores carry significance at 0.05 against the baseline. The full system scored 34.24. That result is significant against the baseline at 0.01 and against the reorderable glue system at 0.05. Taken together with the MT 2004 result, it shows where the statistically supported gains from adding semantic reordering occur. The authors report an average gain of 0.34 BLEU points for that addition across the test sets.

The syntactic changes also affect the scale of the translation problem. The final syntactic configuration extracted 60M rules, compared with 193M for the baseline. The smaller inventory is consistent with the kind of screening used at extraction. An initial stretch can remain alignment-consistent and still be ineligible because its source boundary fails the tree test. Lifting length limits therefore coexists with a much smaller set of learned rules.

The chart shows a related change at decoding time. On the 2002 NIST test data, where the paper reports an average sentence length of 26 words, the baseline filled 239 cells per sentence on average. The final syntactic configuration filled 108. These numbers count cells, meaning source spans with chart entries. The paper also reports less decoding time for the constrained system. The cell counts give a direct measure of how much of the chart the decoder needed to populate under each span policy. They leave open how the work inside each occupied cell is distributed.

What the ablations show

A strict subtree test is costly

The syntax experiments change the coverage of the constraint, whether the input tree is flattened, and whether fixed span limits are used. The simplest comparison tests the idea that every eligible source span should correspond to an entire subtree. With training and decoding limits both at 10, basic subtree constraints averaged 31.91 BLEU, compared with the baseline's 36.10. Lifting the caps raised the basic system to 32.90, which still trailed the baseline. These results are particularly informative because the basic constraint in this experiment is already source-side. The damage from requiring complete subtrees persists even without the additional burden of requiring a target subtree.

Allowing neighboring sibling branches changes the result substantially. With unflattened trees and the fixed limits, the authors' constraints averaged 35.04. Under the same caps, that is higher than the average for the basic subtree test. With the caps lifted, the unflattened configuration using the authors' constraints averaged 36.21, near the baseline's 36.10. The comparison gives evidence for the role of the sibling relaxation, since both constrained settings use the original trees and differ in what can count as an eligible grouping. Translation can recover valuable spans without every span having to be the yield of a single node.

The paper reports that removing the paired length caps improved the constrained configurations by about 1.0∼1.2 BLEU points on average. The change covers both the extraction of initial phrases and the spans that X can occupy in decoding. It therefore shows the value of relaxing the two limits together. The table does not separate the effect of supplying additional training rules from the effect of letting the decoder use longer spans. The result fits the authors' rationale for admitting long grammatical groupings, with both stages involved in making such groupings useful.

Flattening raises the average for the revised constraints in each length regime. With the caps in place, the average moves from 35.04 to 35.46. With the caps removed, it moves from 36.21 to 36.71. The authors describe this as an average gain of 0.4∼0.5 BLEU points. The comparison supports flattening as part of the configuration. The scores alone cannot identify how much of the gain comes from opening up desired spans and how much comes from neutralizing particular bracketing errors. Both effects follow from changing which branches sit side by side, and the experiment evaluates their combined consequence.

Average NIST BLEU across MT 2002, 2004 and 2005 under syntactic and length settings

The revised constraints gain from longer spans and from flattening the source trees.

Average NIST BLEU across MT 2002, 2004 and 2005 under syntactic and length settingsBaseline hierarchical phrase-based system: 36.10Baseline hierarchical phrase-basedsystem36.10Basic subtree constraint, capped spans: 31.91Basic subtree constraint, capped spans31.91Basic subtree constraint, uncapped spans: 32.90Basic subtree constraint, uncapped spans32.90Revised constraint, original trees, capped spans: 35.04Revised constraint, original trees,capped spans35.04Revised constraint, original trees, uncapped spans: 36.21Revised constraint, original trees,uncapped spans36.21Revised constraint, flattened trees, capped spans: 35.46Revised constraint, flattened trees,capped spans35.46Revised constraint, flattened trees, uncapped spans (this paper): 36.71Revised constraint, flattened trees,uncapped spans (this paper)36.71
The numbers
System or settingBLEU
Baseline hierarchical phrase-based system36.10
Basic subtree constraint, capped spans31.91
Basic subtree constraint, uncapped spans32.90
Revised constraint, original trees, capped spans35.04
Revised constraint, original trees, uncapped spans36.21
Revised constraint, flattened trees, capped spans35.46
Revised constraint, flattened trees, uncapped spans (this paper)36.71

Longer sentences benefit most clearly

The authors anticipated that allowing longer spans would help especially on longer sentences. To investigate, they pooled the test sets and grouped sentences by length. This analysis recomputes BLEU on groups of sentences, so it answers a different question from the averages across the individual MT test sets. The pooled comparison contains 3748 sentences. For all of them together, the baseline scored 35.73 and the constrained system scored 36.39, with significance at 0.01.

The group with lengths 1-10 contained 337 sentences. Its baseline score was 32.21 BLEU, compared with 31.70 under the constraints. In the 11-20 group, which contained 1001 sentences, the scores were 37.51 and 37.57. The 21-30 group contained 1052 sentences, with scores of 36.71 and 37.10. This progression shows that the advantage of the constrained system becomes clearer as the source sentences offer more room for different segmentations and combinations.

The 31-40 group covered 768 sentences and scored 34.96 for the baseline and 36.20 for the constrained system. The 41+ group covered 590 sentences and scored 35.00 and 35.78, respectively. Both longer groups carry significance at 0.01. The two shorter positive comparisons do not carry that mark. The length analysis is thus consistent with the authors' explanation that longer sentences are where the new span policy helps most. Since it compares the full syntactic configuration with the baseline, the explanation involves a combination of removing caps, flattening trees and changing eligibility.

A Chinese translation example gives the length analysis a concrete counterpart. The baseline uses a rule containing the Chinese material rendered as the development of together with a slot for following source material. Its boundaries take part of a subtree and place the resulting English material around another stretch. The subtree's translation becomes discontinuous, contributing to an inappropriate rendition. The constrained derivation uses source boundaries that respect the grammatical grouping and produces a better segmentation in that example. The example identifies a rule through which a boundary decision affects an output. It illustrates the failure that the restrictions are designed to prevent, while the grouped evaluation measures the outcome over many sentences.

Glue inversion has an uneven effect

The glue comparison starts from the system with the final syntactic constraints and lifted length caps. Replacing the old glue rules changes which adjacent chunks can be combined and permits a combined target order that reverses them. It also maintains the grammatical test on the resulting T span. On MT 2002 the authors report an improvement of 0.7 BLEU points over the syntactic configuration. The printed scores for MT 2004 and 2005 show a small drop and a small gain, respectively. This is weak evidence for a broad accuracy benefit from replacing the fallback on its own.

The authors offer an explanation based on the estimates for the two possible combination orders. The monotonic glue rule has an estimated training probability of 95.5%. Where monotonic combination is strongly favored, permitting inversion can change the search without changing much of what the search eventually chooses. The paper uses this imbalance to account for the modest effect. The probability describes the training estimate for the glue rule. It gives the reader a reason to expect inversion to have a limited role, without giving a measured frequency of inversion in final translations.

The comparison also clarifies the place of glue in the full method. Its role is to construct eligible larger spans through which a decoder can track phrases and their positions. The semantic experiment evaluates its feature on top of that configuration. The experiment with glue by itself measures the consequence of changing the combinations before adding semantic evidence. The semantic comparison then asks what an additional preference over projected roles contributes once those combinations are already available.

Semantic scores affect order and omission

The semantic comparison keeps the reorderable glue configuration in place. Adding the semantic feature improves MT 2004 and MT 2005 with statistical significance and slightly reduces the score on MT 2002. The authors suggest that the unusually strong glue result on MT 2002 leaves less room for an additional gain on that set. This is their interpretation of the pattern of scores. The experiment establishes a difference between the configurations, while the reason that the feature behaves differently across the test sets remains open.

The first of the paper's semantic examples centers on a predicate translated as convey. The source labeler identifies A0, A2 and A1 arguments. In the compared outputs, the main change is which of A1 and A2 comes first. The semantic feature favors the source-tagged pattern VV A1 A2. This is the kind of choice the argument–argument component is designed to address. Looking only at whether each argument follows the predicate could leave the internal order of the two arguments unspecified. In the comparison shown, the semantic feature favors a different ordering within that part of the translation.

The second example involves a predicate translated as allow. Without semantic reordering, the source phrase glossed as them and labeled A1 is omitted. The phrase glossed as China, labeled A0, appears immediately after the English verb and occupies the position of the direct object. The result changes the apparent identity of the participant that receives permission. The comparison with the semantic feature shows how a score over projected roles can bear on which pieces appear, as well as on their order. A candidate with a missing argument has a different pattern to score, even if the rest of its English words are locally plausible.

The examples make distinct errors visible. In one, relevant phrases appear but their order changes. In the other, an omission contributes to a misleading grammatical placement for a surviving phrase. These observations explain the types of behavior the authors sought to influence. The quantitative comparison adds the complete semantic feature at once. It leaves the separate contributions of predicate–argument scoring, argument–argument scoring and omission handling unmeasured.

Limitations

Limits identified by the authors

The syntactic test consults source constituency. The authors show how this can block a useful rule even when its English side would fit the same kind of grammatical criterion. They return to the example involving the development of and identify a larger alternative rule whose English pattern contains a slot followed by depends on. The arrangement is intuitive on the English side, but the source boundary excludes the rule. The tradeoff follows from making acceptance depend on one side of the bitext. The authors propose admitting rules whose source or target structure satisfies the condition. They present that as an extension rather than as part of the tested system.

The intended semantic comparison is between the frames actually expressed in both languages. In practice, only the source receives role labels for scoring candidates. The authors explain that effective target-side labeling would have to occur after the translation is available, given their decoding setup. Projection supplies a usable estimate during search. Its interpretation depends on the correspondence established by the translation itself, however. It can describe that a source argument is associated with certain English words or has gone unaligned. It cannot independently establish which role an English reader or an English semantic analysis would assign to those words.

Sparse counts also limit the precision of the reordering evidence. Backing off from a particular verb to a part-of-speech tag broadens the evidence pool. A tag can group verbs whose arguments behave differently. The authors suggest verb classes as a way to share evidence among predicates more selectively. They also suggest adding argument context, including head words and syntactic categories. Their time-expression example contrasts a short expression naming a weekday with a clause that locates an event in the speaker's past. Both can share the temporal role label, while their size and internal structure can affect placement. The tested patterns do not include that distinction.

Limits visible in the evaluation

The translation results cover Chinese as the source language and English as the target, with the development and test sets from the NIST evaluations named in the paper. The English-to-Chinese examples that introduce the method are illustrations. They make it easier to read the source trees and alignments, while the measured results concern the opposite direction. The experiments establish that the approach can help this hierarchical system under the studied conditions. Different language pairs or reverse-direction inputs could present different relationships between useful phrase boundaries, head positions, omitted arguments and parse structure.

A second issue is the measurement of semantic adequacy. BLEU can reward an output whose word sequences agree better with a reference, and the examples show errors a reader can recognize as semantic. The article's source evidence does not include a separate corpus-wide score for correct role preservation or an evaluation that counts omissions of each role. A BLEU gain therefore supports a translation-quality improvement on the reported metric. The examples support the plausibility of the proposed semantic mechanism, without measuring how consistently it corrects each error type.

The source-side labels and trees are produced automatically. The effects of parse quality and role-label quality are consequently part of the observed system behavior. Flattening may remove some erroneous bracketing, as the authors suggest. The experiments do not compare corrected source trees with automatic ones or separate errors in argument boundaries from errors in translation alignment. When a useful argument receives a poor boundary or word correspondence, the projected order and the score can depend on that earlier mistake. The study evaluates the pipeline that produced the reported results, with these sources of error acting together.

Finally, the comparison supports semantic reordering on top of the chosen syntactic and glue configurations. The motivation for layering the method this way is clear: source spans that respect grammatical groupings give the decoder a more coherent setting in which to find complete arguments. The tables compare stages in that order. They leave open how much of the semantic improvement would survive under the original baseline boundaries, or how strong the feature would be with a different glue grammar. Similarly, the smaller grammar and sparser chart are measured for the final syntactic configuration against the baseline. Those figures alone cannot establish the decoding cost of adding role scoring to an individual hypothesis or to a complete translation run.

What came after

The paper ends with proposed directions for extending both stages. On the syntactic side, it suggests allowing a rule when either language offers a suitable grammatical grouping. That change would address the specific case where a useful English construction is excluded by its Chinese boundary. On the semantic side, it suggests using verb classes to share evidence and adding details such as argument heads and syntactic categories to distinguish reorderings that have the same role labels. These are proposals from the authors. No later study is documented here as having implemented or evaluated them.

Cite

Cite as Junhui Li, Philip Resnik and Hal Daumé III. 2013. Modeling Syntactic and Semantic Structures in Hierarchical Phrase-based Translation. Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.

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

@inproceedings{li2013modeling,
  title = {{Modeling Syntactic and Semantic Structures in Hierarchical Phrase-based Translation}},
  author = {Junhui Li, Philip Resnik and Hal Daumé III},
  booktitle = {Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},
  year = {2013},
  url = {https://aclanthology.org/N13-1060/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/li-2013-modeling-syntactic-semantic-structures-hierarchical/