Using Syntactic Head Information in Hierarchical Phrase-Based Translation
Paper · 2012 · Junhui Li, Zhaopeng Tu, Guodong Zhou et al.
Summary
A translation system that works with phrases has to decide which words to translate together and where to put the resulting pieces. Hierarchical phrase-based machine translation can learn patterns with gaps, so an expression can keep its overall translation pattern while the phrases inside it vary. The standard grammar uses the same category for every gap. That makes the patterns broadly reusable, but it also allows a phrase to fill a gap even when its grammatical role makes it a poor fit. At the same time, the rules that assemble translated pieces at the end of a derivation are more restrictive. They preserve the source order and cannot build a piece for use inside another translation pattern.
The authors change both parts of the grammar. They use dependency parsing to find the heads of a Chinese word span. A word counts as a head of the span when its governor lies outside that span. The authors join the heads’ part-of-speech tags to form a category that tells the translator something about what can fill a gap. The category can describe an ordinary grammatical constituent or a fragment with several heads. Separately, the authors learn rules that combine adjacent pieces and can reverse their order in English. A phrase built this way can itself fill a gap in a larger translation rule.
Across four Chinese-to-English NIST test sets, the resulting system, HD-HPB, improves on the authors’ implementation of the standard hierarchical system at both training sizes. The reported average gain is 1.32 BLEU on the smaller training corpus and 1.91 on the larger one. The BLEU gain over that baseline is statistically significant on every test set at both sizes. HD-HPB also beats a comparison system that uses the same reordering mechanism but labels phrases with constituent-based categories. The full head-driven system takes longer to decode than the standard implementation.
The component comparisons show why the training size matters to the interpretation. With the smaller corpus, most of the gain appears when the new reordering rules are available. With the larger corpus, the head-based categories improve translation even with ordinary glue rules, and flexible reordering raises the average further. A separate extension that records unlabeled dependency links within rules raises average BLEU again on the larger training condition. The results distinguish the value of labeling the pieces a rule can accept from the value of giving the translator more ways to assemble them.
Deep dive: Using Syntactic Head Information in Hierarchical Phrase-Based Translation
How a Chinese-to-English translation system uses syntactic heads to choose phrase rules, reorder phrases, and improve scores on NIST tests. · about 37 minutes to read
The problem and its context
What a hierarchical phrase can express
A phrase-based translator learns from paired source and target sentences. A word alignment records which words in one sentence correspond to which words in the other. From these links, the translator can collect pairs of contiguous word sequences that behave as translations of one another. A phrase in this sense is defined through the aligned sentences. It can happen to be a noun phrase or another grammatical constituent, but the extraction procedure can also identify useful sequences whose boundaries differ from those in a syntactic tree. That freedom matters when the source and target languages package the same material differently. The paper builds on the extraction tradition represented by Statistical Phrase-Based Translation.
Chiang’s approach adds reusable patterns to these concrete phrase pairs. If a pair contains a smaller aligned phrase pair, the smaller pair can be replaced by a gap on both sides. The surrounding words remain in the rule. When the rule is used, a translation for the source phrase that fills the gap also supplies the corresponding target phrase. If a rule has several gaps, their order on the English side can differ from their order on the Chinese side. Many word sequences can therefore share a translation pattern even when the complete phrase pairs never recur in the training corpus. The paper takes this machinery from Hierarchical Phrase-Based Translation.
The grammar expresses those patterns as a synchronous context-free grammar. Each rule gives a source expansion and a target expansion together, with a correspondence linking their gaps. A word written directly into a rule is a terminal. A category that stands for a piece to be expanded is a non-terminal. Applying a sequence of linked rules creates a derivation, which describes how the input is covered and how its translation is put together. Several derivations may account for the same source sentence. The rules they use, their groupings, and the strings they place on the target side can differ.
Why the standard grammar is permissive in one place and restrictive in another
Chiang’s hierarchical rules ordinarily use X for the category of a phrase. A rule can require particular surrounding words, and the decoder can score different ways to translate its gaps. At the point of matching a gap, however, the category itself supplies the same answer for every phrase it can describe. A span centered on a verb and one centered on a noun can both meet the category requirement. The authors identify this as a source of overgeneration. The grammar can admit derivations whose combinations of pieces are poorly suited to the sentence, leaving the scoring and search procedures to sort them out.
The glue rules serve a different purpose. They let the translator assemble pieces that it has already translated, even when a learned hierarchical rule does not cover the larger span. The ordinary glue mechanism joins these pieces in the order in which they appear in the source. It also puts the resulting combination into a distinct part of the grammar. Once glue has been used, the rules above that point are glue rules as well. As a consequence, a glued result cannot fill an ordinary gap in a hierarchical rule.
The paper illustrates the difference with a short Chinese sequence in which the word for yesterday precedes the words for attending a meeting. The English order under consideration puts yesterday at the end. If the entire predicate has already been translated as a piece, the ordinary glue operation cannot place it ahead of the translation of the initial time expression. Another possible derivation would build the predicate from separately translated pieces and then insert that predicate into a larger rule that moves the time expression. That route, too, is outside the standard glue mechanism, because the intermediate combination needs to be available as an ordinary phrase. The example identifies derivations that the grammar excludes. A different rule covering the relevant words could still produce the intended order.
Overgeneration and these missing compositions concern different choices. The first asks which spans a particular gap can accept. The second asks which operations can create a span that will later fill a gap. A more informative category can improve the first decision while leaving the glue restrictions intact. More flexible composition can address the second while leaving the original X category as broad as before. The authors’ method changes both decisions, and the experiments include comparisons that help explain their separate roles.
The alternatives the authors build on
Earlier approaches had already tried to give these categories linguistic content. The paper describes syntax-augmented machine translation, or SAMT, as a way to derive labels from constituency analysis. A constituency tree groups a sentence into nested phrases. The labeling scheme uses information from those groups and can also label spans that correspond only partly to them. Other work discussed by the authors used tags assigned to words, word classes inferred without supervision, or rich categories associated with words in combinatory categorial grammar. The paper also describes an approach that uses distinctions among complete constituents, concatenations, partial constituents, and phrase pairs where applicable. The comparison in this paper draws specifically on the categories in Syntax Augmented Machine Translation via Chart Parsing.
For reordering, the authors discuss earlier work that replaced monotone glue with bracketing transduction rules and trained a separate classifier to predict how neighboring phrases should be ordered. The method in this paper puts information about the two phrases into the reordering rule itself and makes the result available to subsequent hierarchical rules. The earlier approach is described in connection with A Polynomial-Time Algorithm for Statistical Machine Translation.
A further line of work used linguistic evidence as soft constraints. A soft constraint can favor or disfavor a derivation through a feature score while leaving the derivation available. The authors instead make the head category part of the rule inventory, so the category participates directly in determining which rules can combine. They say the two approaches can coexist, since the system could also score additional syntax-based features. The earlier work they discuss includes Soft Syntactic Constraints for Hierarchical Phrased-Based Translation and Soft Dependency Constraints for Reordering in Hierarchical Phrase-Based Translation.
The choice to summarize a span by its heads draws on earlier work in parsing. A head can carry useful information about a larger unit even when some of the words around it vary. For translation, the authors extend that intuition to fragments chosen by alignment. Such fragments may cut across grammatical groupings, so a useful category has to describe both a span organized around one head and a span that contains several independent parts. The authors point to A Maximum-Entropy-Inspired Parser and Head-Driven Statistical Models for Natural Language Parsing as inspirations for the use of heads.
The method, step by step
From aligned sentences to labeled spans
The training material gives the authors two descriptions of each Chinese sentence. Word alignment connects Chinese words to their English counterparts. A Chinese dependency tree says which words govern which other words within the source sentence. The alignment determines which source and target strings can be extracted together. The dependency tree supplies a category for an already identified source span. This division lets the same extraction procedure continue to find useful translation fragments even when their boundaries cut across the syntax.
Training and decoding in the head-driven system
The steps in order.
To find a span’s heads, consider each word inside the span and inspect its governor in the dependency tree. A governor is the word on which that word directly depends. When the governor lies outside the span, the dependency passes across its boundary, and the word inside counts as a head. A word with its governor inside the span contributes no head tag to that span’s label. The relevant boundary is the boundary of the span under consideration. The same word can therefore contribute a tag to a short span and cease contributing it when the span grows to include its governor.
fᵢⱼ = fᵢ … fⱼ
Here f denotes the Chinese sentence, and fᵢⱼ denotes its contiguous span beginning at position i and ending at position j. The terms fᵢ and fⱼ are the words at those two boundaries. The dots indicate any intervening words in their original order.
i ≤ k ≤ j
Here k is the position of a candidate head fₖ. The inequality and its ≤ signs say that k can range from the starting position i to the ending position j, including both. The additional condition for accepting fₖ is that its governor be outside fᵢⱼ. The procedure does not choose a single representative when several words meet that condition.
In the paper’s example containing ouzhou baguo lianming, the heads are baguo and lianming. The word ouzhou depends on baguo, which is inside the selected span, so it contributes no tag. The remaining head tags are NN and AD, yielding NN-AD. In the same sentence, the span lianming zhichi receives VV. In this span, lianming depends on zhichi and therefore contributes no separate tag. These examples show what a boundary change can do. The label summarizes the dependency structure of the selected portion of the sentence, so it can change when that portion changes.
The tags name grammatical classes and can therefore be shared by occurrences with different head words. The system joins all retained tags into a source-side category. NN can characterize a span with a single nominal head, whereas VV-NR preserves a distinction between a verbal head and a second head tagged as a proper noun. Each such category is still one non-terminal, even if its printed label contains several tags. English continues to use the generic X. Translating into English requires producing a compatible English string under the linked rule, with no corresponding head-category test on that side.
The grammar and its two kinds of rule
The grammar needs an inventory of words and categories for each language, together with a set of rules that relate them. Its definition in the paper allows separate non-terminal inventories for the source and target. The head-tag inventory is the source-side choice used in the main experiments. The grammar can still assign the same target category to source spans with quite different labels.
⟨Σ, N, Δ, Λ, ℛ⟩
The angle brackets enclose the components of the grammar. Σ is the source terminal inventory, and N is the source non-terminal inventory. Δ and Λ are the corresponding target inventories. ℛ is the set of translation rules.
γ = ⟨Pₛ → s, Pₜ → t, φ⟩
Here γ is an individual member of ℛ. Pₛ and Pₜ are the categories being expanded on the source and target sides, respectively. The arrows indicate rewriting. The right-hand sequences are s for the source and t for the target. φ is a one-to-one correspondence between the non-terminal occurrences in those sequences. It identifies where the translation of a chosen source child will appear, including when the target places that child in a different position.
Pₛ ∈ N, Pₜ ∈ Λ
The membership sign ∈ places the source parent Pₛ in the source category inventory N and the target parent Pₜ in the target category inventory Λ. The comma separates the requirements on the two sides.
s ∈ (Σ ∪ N)⁺, t ∈ (Δ ∪ Λ)⁺
Here s and t are the sequences on the right of the respective rules. ∪ means the union of the two inventories in parentheses. The superscript ⁺ means a nonempty sequence drawn from that inventory. Thus each expansion can contain words, categories, or both, as allowed by the particular rule type. The correspondence φ operates on occurrences. If the same category appears at several positions, the decoder must still know which child goes in which target position.
The two types of rule differ in which material they supply. A head-driven hierarchical rule, or HD-HR, contains words on both sides. It can directly translate a phrase, or it can translate particular words while combining them with the translations supplied by its gaps. A non-terminal reordering rule, or NRR, contains only categories on both sides. It translates a larger span by composing already translated pieces. Its distinctive choices are the types of children it accepts, the category it produces, and the order it gives the children on the target side.
Extracting the rules that contain words
The authors first collect initial phrase pairs from aligned training sentences using the phrase-extraction criterion adopted by earlier phrase-based systems. For an extracted pair, the source and target portions have to agree with the word links. An alignment from a word inside one portion to a word outside the paired portion would cross the boundary of that candidate. This initial extraction provides both complete phrases that a rule can translate directly and smaller phrase pairs that can be made into gaps.
For a hierarchical rule, the authors find a phrase pair that contains a smaller pair. They remove the smaller source and target portions together and put corresponding non-terminal occurrences in their places. The category for the outer Chinese phrase comes from its heads. Each gap also receives the category of the corresponding Chinese subphrase. The English parent and gaps use X. The occurrence correspondence is inherited from the identity of the removed pair, even if the source and target place the gap differently.
Take the pair in which celie translates as stand. On the Chinese side it receives NN. It can occur as a rule with words alone. A larger extracted phrase includes the Chinese material translated as against Iraq and the embedded phrase that translates as stand. In the hierarchical version, the Chinese words dui yi remain in the rule and the position of celie becomes an NN gap. On the English side, the corresponding gap comes before against Iraq. The rule can now be used for another admissible NN span while retaining the learned placement of the surrounding English words.
The larger example in the paper combines zhichi meiguo with dui yi celie. The first portion, whose English translation is support America’s, has the category VV-NR. The celie portion supplies the NN gap. If both are factored out, the Chinese rule still contains dui yi. The corresponding English rule retains against Iraq. The whole Chinese expansion carries the label VV. This shows why a parent’s category and the categories of its children have to be assigned at their own span boundaries. A child can expose several heads even when its enclosing span yields a single retained head.
Head labels create distinct rule entries for patterns that would be merged under X. A rule over the same surviving words can now have a different parent or require other categories in its gaps. The authors keep Chiang’s filters on hierarchical rules to limit the resulting inventory. They also discard rules with a non-terminal representing more than four heads. In the experiments, the maximum initial phrase length is 10. The word-bearing source pattern has at most 2 non-terminals and at most 5 items when terminals and non-terminals are counted together. Two gaps cannot be adjacent on that side of a hierarchical rule. Adjacency is central to the separate reordering rules.
Learning what to do with neighboring phrases
To extract reordering rules, the authors look at initial phrase pairs whose source spans touch. This has a precise meaning in the indexing of the paper. With inclusive boundaries, the second source phrase begins immediately after the last word of the first.
k = j + 1
Here j is the last source position of the left phrase, and k is the first source position of the right phrase. The plus sign and 1 indicate the next word position. The equation is a source-side condition. The positions of the paired English phrases determine the reordering pattern.
The right-hand English portions can occur in the same order as their source partners or in the reverse order. In either case, they can touch or have a gap between them. This gives the training procedure the following patterns. The authors write Y as a variable for a head-informed Chinese category, with subscripts tracking the child occurrences.
⟨Y → Y₁ Y₂, X → X₁ X₂⟩
This is the monotone pattern. Y is the Chinese category of the combined span, and Y₁ and Y₂ are the categories of its left and right children. The English X is the parent category. The linked child occurrences X₁ and X₂ are the translations of Y₁ and Y₂. The arrows introduce the expansions, and the angle brackets pair the Chinese and English rewrites. Here the English children are adjacent and preserve the source order.
⟨Y → Y₁ Y₂, X → X₁ … X₂⟩
This is the discontinuous monotone pattern. Y and X are the parent categories, and Y₁, Y₂, X₁, and X₂ are the linked child occurrences. The arrows give the source and target expansions within the angle brackets. The dots represent a gap between the English spans in the alignment. The occurrence associated with the left Chinese child still comes first in English.
⟨Y → Y₁ Y₂, X → X₂ X₁⟩
This is the swap pattern. The Chinese parent Y expands into Y₁ followed by Y₂. The English parent X expands into adjacent children in the reverse order, X₂ followed by X₁. The subscripts preserve the correspondence to the Chinese children through the reversal. The angle brackets enclose the linked rewrites, each introduced by an arrow.
⟨Y → Y₁ Y₂, X → X₂ … X₁⟩
This is the discontinuous swap pattern. The Chinese parent Y expands into the children Y₁ and Y₂ in source order, while the English parent X puts X₂ before X₁. The dots mark a gap between the target spans. The subscripts again indicate correspondence, and the angle brackets and arrows give the paired expansions.
The training procedure extracts and assigns probabilities to all of these patterns. The decoder uses the adjacent monotone and swap types and limits a reordering rule to 2 non-terminals in its expansion. The distinction between extraction and decoding matters. The experiment explores the benefit of reversing contiguous target phrases and of making combined phrases reusable inside larger rules. The discontinuous alignments inform the training inventory, but the reported decoder does not construct a target sequence with either of the discontinuous operations.
For the neighboring phrases translating as support America’s and stand against Iraq, the given alignment yields a monotone rule. The Chinese children carry VV-NR and NN, the result carries VV, and the English translations appear in the same order as the Chinese children. Unlike a hierarchical rule containing dui yi, this rule contributes no words of its own. Its input pieces already provide the English content. The rule determines how to combine them and what Chinese category the combined hypothesis will carry.
The last point changes the role of composition in the derivation. An NRR produces the same kind of head-informed category that a hierarchical rule can expect in one of its gaps. A later NRR can also use it. This is what allows a combination made during reordering to participate in more translation. It also lets the decoder extend beyond the original phrase-length limit by composing shorter hypotheses, because the limit is applied to hierarchical rules and the reordering rules may cover longer spans.
Scoring a derivation
The grammar determines which derivations are eligible. The authors rank the eligible derivations with a log-linear score, following the discriminative scoring approach they cite. The presentation uses a product of feature values raised to learned weights. In its logarithmic form, each log feature value contributes in proportion to its weight. The score can bring together evidence from the phrase pair, the individual word correspondences, the reordering choice, and the resulting English string. See Discriminative Training and Maximum Entropy Models for Statistical Machine Translation.
P(d) ∝ ∏ᵢ Øᵢ(d)^λᵢ
Here d is a derivation from source sentence f to target sentence e, and P(d) is its probability as expressed up to proportionality. ∝ marks that proportional relationship. The product sign ∏ᵢ ranges over feature indices i. Øᵢ(d) is the value of feature i on the derivation, λᵢ is its learned weight, and the exponent gives the contribution of that weight in the product. For ranking derivations under the same scoring setup, the proportional form is sufficient.
For the head-driven hierarchical rules, the feature set has translation probabilities in both directions, written Pₕd₋ₕᵣ(t|s) and Pₕd₋ₕᵣ(s|t). Here s and t are the Chinese and English expansions of the rule, the subscript identifies the rule type, and the vertical bar marks conditioning. The two features ask how the expansions are associated when starting from opposite sides. The lexical probabilities, Pₗₑₓ(t|s) and Pₗₑₓ(s|t), use the same direction convention but measure evidence at the word level. lex identifies those lexical features.
The reordering feature Pₙᵣᵣ(t|s) scores the target expansion t given the source expansion s. The subscript identifies a non-terminal reordering rule. The actual decoder has a choice of preserving or reversing the order for these terminal-free combinations. The authors give that choice a source-to-target probability only. They also use separate penalties for applications of the two rule types, allowing the tuning procedure to give each rule count its own weight.
Pₜᵧₕd₋ₕᵣ = exp(−1)
Here Pₜᵧₕd₋ₕᵣ is the penalty feature for an application of a head-driven hierarchical rule. The ty portion identifies the penalty notation, and the remaining subscript identifies the rule family. exp is the exponential function, and −1 is its argument. Repeated applications contribute repeatedly to the derivation score under the learned weight for this feature.
Pₜᵧₙᵣᵣ = exp(−1)
Here Pₜᵧₙᵣᵣ is the separate penalty feature for a non-terminal reordering rule. The exponential function and its argument are the same as for the hierarchical-rule penalty. The distinction resides in the feature index, so tuning can assign different weights to the two penalties.
The English fluency feature is Pₗₘ(e), where e is the target sentence and lm identifies the feature that scores English word sequences. It gives the decoder evidence about which concatenations read naturally on the target side, including a concatenation that crosses a boundary between translated pieces. The word penalty provides a separate dependence on target length.
Pₜᵧwₒᵣd(e) = exp(−|e|)
Here Pₜᵧwₒᵣd(e) is the word-penalty feature evaluated on the English sentence e. The vertical bars in |e| give the number of words in that sentence. The minus sign negates the length before exp applies the exponential function. The weight of the feature is tuned with the other weights.
Preparing the data and searching the chart
The authors produce word alignments with GIZA++ in both directions. They merge those directional alignments using the grow-diag-final-and refinement. This yields the bilingual word links used to collect phrase pairs. For the syntactic analysis, they parse Chinese with the Berkeley Parser trained on Chinese TreeBank 6.0, then convert the analysis into dependencies with the Penn2Malt toolkit. The dependency analysis used at decoding time gives a category to spans of the Chinese input, using the same head test as in training. The paper points to Improved Statistical Alignment Models for the alignment work and Improved Inference for Unlexicalized Parsing for the parser.
The authors train the target fluency component with the SRI toolkit on the Xinhua portion of Gigaword. It uses a 5-gram, a sequence of words of the specified length. During decoding, this component helps score the placement of English words supplied by different children of a rule. The feature weights are tuned using minimum error rate training, or MERT, on the development translations. The aligned training sentences supply evidence for the rules, the Xinhua material supplies evidence about English sequences, and the development set is used to choose the weights that balance the features.
The decoder uses a bottom-up chart. A chart cell represents a contiguous span of the input and holds candidate derivations for that span. Shorter spans are processed first so that their hypotheses can supply children for rules covering larger spans. For a hierarchical rule, the decoder matches its source words and checks the labels of the spans that would fill its gaps. For a reordering rule, it looks for hypotheses covering adjacent source portions and combines them in one of the eligible English orders. The derivation created in either case can be stored and reused when a subsequent rule covers a larger span.
The initial phrase-length limit is called K in the decoder description. A hierarchical rule can generate a hypothesis only within that source-span limit. The reordering rules can combine neighboring hypotheses in longer spans. A candidate over such a span is created by a rule that uses already translated pieces, so the decoder can cover the full input without requiring an extracted word-bearing rule that covers it all at once. Within spans short enough for hierarchical rules, a combination created by an NRR can serve as a child of one of those rules.
d* = arg max_{d ∈ D} P(d)
Here D is the set of candidate derivations for the input, d is an individual derivation, and ∈ marks membership in that set. P(d) is the derivation score from the proportional expression above. The operator arg max returns a derivation attaining the largest score. The star marks that selected derivation as d*. Its English yield is the translation returned by the decoder.
Beam search makes this objective practical by restricting the hypotheses retained in each cell. The beam threshold is 10⁻⁵ times the best score in the cell. The beam size b is 200, limiting how many derivations the cell can hold. The decoder also uses cube pruning to explore promising combinations of child hypotheses while integrating the English fluency score. A cell can have many potential combinations because each child span may have several translations. Exploring the ranked combinations selectively keeps the work bounded. The returned hypothesis is the best one found in the full-sentence cell after these search decisions.
Experiments and results
Data, baselines, and measurement
The experiments translate Chinese into English. The smaller training corpus is FBIS, with approximately 240K parallel sentence pairs. The larger training condition uses approximately 1.5M sentence pairs from LDC data. These conditions test whether the additional distinctions introduced by head labels can be learned across corpora of different sizes. The inventories of rules and their probabilities are collected separately for each training condition.
The development set is the 2002 NIST MT evaluation data and contains 878 sentence pairs. The test splits are NIST MT 2003, 2004, 2005, and the news portion of 2006. They contain 919, 1788, 1082, and 616 sentence pairs, respectively. The tables refer to these test sets as MT 03, MT 04, MT 05, and MT 06. The development sentences are where the feature weights are tuned. The reported test scores apply to the separate evaluation sets.
The principal baseline, HPB, is the authors’ own implementation of Chiang’s hierarchical phrase-based grammar. They also report the Moses implementation, which uses the same alignment refinement procedure, a maximum phrase length of 10, and the recommended defaults for its other settings. The Moses run provides an implementation check on the scale of the BLEU results. Comparisons within the authors’ implementation use matched settings for the hierarchical rules and search where applicable, including the initial phrase length, rule-size restrictions, and chart beams.
The source-side SAMT-HPB comparison uses categories built from constituent structure. It shares the head-driven system’s reordering mechanism. This is the comparison that addresses which source-side categories work better under the more flexible composition regime. The authors also run an HD-HR+Glue configuration, which keeps the head-driven hierarchical rules and substitutes monotone glue adapted to their labels. The glue configuration is a component comparison, so its results are examined separately below.
The evaluation reports NIST and BLEU scores from version 12 of the NIST BLEU script with default settings. The paper describes case-insensitive n-gram matching for sequences up to length 4. These measures compare output with reference translations. They give each system an aggregate outcome on a whole test set and supply a common basis for comparison across the variants. An example of improved English ordering can help explain a result, while the aggregate numbers measure reference match across many sentences and constructions.
To test differences, the authors use a paired bootstrap. The pairing preserves the correspondence between systems’ translations of the same test sentences when their scores are compared on resampled data. In the main result tables, ** marks a p-value below 0.01 and * marks a p-value in [0.01, 0.05). The comparisons marked in those tables use the authors’ HPB implementation as the baseline. The separate statement that HD-HPB beats the source-side SAMT variant uses its own pairwise comparison. See Statistical Significance Tests for Machine Translation Evaluation.
Results with FBIS training data
Average BLEU across the NIST Chinese-to-English tests with FBIS training
The head-driven system has the highest average BLEU with the smaller training corpus.
The numbers
| System or setting | BLEU |
|---|---|
| Moses HPB | 30.42 |
| HPB | 30.64 |
| SAMT-HPB | 30.09 |
| HD-HPB (this paper) | 31.96 |
With FBIS training, the authors report an average gain of 1.32 BLEU and 0.16 NIST for HD-HPB over HPB across the test sets. On MT 03, HD-HPB scores 31.01 BLEU against 29.75 for HPB. On MT 04, the scores are 35.11 and 34.06. On MT 05, they are 31.57 and 30.09, and on MT 06 they are 30.15 and 28.64. Each of these BLEU comparisons is marked as significant below 0.01.
The NIST score also rises on each split. On MT 03, the comparison is 8.308 for HD-HPB and 8.137 for HPB. On MT 04, it is 9.211 and 9.050. On MT 05, it is 8.426 and 8.264, and on MT 06 it is 7.930 and 7.788. The respective averages are 8.469 and 8.310. Moses HPB has average NIST of 7.483, and SAMT-HPB has 7.964. The average BLEU scores of the authors’ baseline and Moses are close in this condition. Their NIST scores show why it is helpful to keep the metrics distinct when describing that baseline check.
The inventory figures show the effect of splitting X into many categories. The full FBIS-trained HPB inventory contains 39.6M rules. HD-HPB has 59.5M head-driven hierarchical rules and 0.6M reordering rules in the full table. The authors describe the full head-driven inventory as about 1.5 times the size of HPB’s. A pattern shared by several source categories can now appear in multiple entries, even when the surviving words are identical.
Filtering the tables against the input of a particular test set changes that comparison. On MT 04, HPB has 4.7M rules after filtering. HD-HPB has 3.4M hierarchical rules and 0.2M reordering rules. The authors characterize the filtered head-driven table as about 0.8 times the size of HPB’s. They attribute this in part to refined patterns required by the test set that have no corresponding training example. The smaller filtered table is therefore evidence about applicability. Some distinctions introduced during training make individual rules more specific to the input, and some test combinations have no suitably labeled entry.
The FBIS timing comparison goes in the other direction. HD-HPB takes 15.1 seconds per sentence, compared with 11.0 for the authors’ HPB implementation. The reordering rules themselves account for a small part of the total inventory. Their applications can still generate many hypotheses because they combine translations of spans already in the chart. The authors attribute most of the extra decoding time to that freedom of composition.
Results with the larger LDC training data
Average BLEU across the NIST Chinese-to-English tests with large LDC training
The head-driven system leads the hierarchical baselines with the larger training corpus.
The numbers
| System or setting | BLEU |
|---|---|
| Moses HPB | 32.54 |
| HPB | 32.95 |
| SAMT-HPB | 33.54 |
| HD-HPB (this paper) | 34.86 |
With the larger corpus, the authors report average gains over HPB of 1.91 BLEU and 0.35 NIST. On MT 03, HD-HPB scores 35.50 BLEU and HPB scores 33.59. On MT 04, the scores are 37.61 and 35.39. On MT 05, they are 34.56 and 32.20, and on MT 06 they are 31.78 and 30.60. As in the smaller training condition, each BLEU comparison against HPB is significant below 0.01.
The corresponding NIST scores on MT 03 are 8.885 and 8.583. On MT 04, they are 9.494 and 9.114. On MT 05, they are 8.871 and 8.465, and on MT 06 they are 7.839 and 7.532. The test-set averages are 8.772 for HD-HPB and 8.423 for HPB. The Moses and source-side SAMT averages are 7.697 and 8.493, respectively. Both automatic metrics thus give a favorable result for the main head-driven system over the original hierarchical baseline in each training condition.
The full rule inventories grow substantially with the larger corpus. The HPB inventory has 206.8M rules. The corresponding figures for HD-HPB are 318.6M hierarchical rules and 2.3M reordering rules. As in FBIS, the comparison reverses after test filtering. MT 04 retains 17.6M HPB rules, compared with 12.2M hierarchical rules and 0.4M reordering rules in HD-HPB. The pattern illustrates how the inventory available across all observed training phrases can grow while the inventory eligible on a particular input remains more selective.
Average decoding time with large training data is 16.6 seconds per sentence for HD-HPB and 13.7 for HPB. SAMT-HPB takes 19.1 seconds. The authors emphasize that the HD-HPB timing rises only from 15.1 to 16.6 seconds when moving to the larger corpus, in spite of growth in the rule inventory and a stronger BLEU result. These are measurements under the decoding settings in the paper. They describe the cost of the reported runs, with both the rule eligibility restrictions and the search limits in place.
Comparing head categories with constituent categories
The constituent-based SAMT variant behaves differently at the two training sizes. Its average BLEU falls below the authors’ baseline in the FBIS condition, then rises above that baseline with LDC training. HD-HPB has the higher average in both conditions. The authors report that its improvement over SAMT-HPB reaches p < 0.01 on each test set. Because the two variants have the same flexible reordering mechanism, that difference gives more direct evidence about the category design than the comparison between HD-HPB and original HPB.
The inventories provide a concrete reason to consider data sparsity. On FBIS, SAMT-HPB has 70.1M hierarchical entries in the full table, while HD-HPB has 59.5M. With the larger corpus, the corresponding totals are 371.0M and 318.6M. A larger inventory can capture finer distinctions, but it can also distribute occurrences among less frequently observed patterns. The authors connect the larger SAMT tables to longer decoding time. Its FBIS time of 17.3 seconds per sentence exceeds the corresponding head-driven time of 15.1.
The span lianming zhichi illustrates what is counted separately. In the head-driven system, zhichi contributes the label VV, since the adverb lianming has its governor within the span. The SAMT labeling scheme uses ADVP:AD+VV, retaining information about the partial constituency structure. That label could be useful for a rule that depends on this particular configuration. It also distinguishes the span from more cases in which a basic verbal category could be shared. Additionally, the authors find that 28% of the initial phrases in the SAMT training analysis fall back to X because they do not fit the pre-defined labeled categories. The comparison therefore concerns how label specificity and coverage work together under these extraction and decoding procedures.
What the ablations show
Replacing flexible reordering with glue
The HD-HR+Glue comparison keeps head-informed categories on the hierarchical rules and uses monotone glue fitted to those categories. It tests what happens when the head-tag distinctions remain while the new reordering mechanism is removed. In particular, this operation removes both the reversal available to an NRR and the ability to use the result of an NRR freely inside subsequent rules. The paper measures the joint effect of those properties through this comparison.
On FBIS, HD-HR+Glue averages 30.39 BLEU and 8.095 NIST across the test sets. The corresponding HPB averages are 30.64 and 8.310. The authors find no statistically significant difference between the glue configuration and the original hierarchical baselines in this condition. With the flexible rules restored, average BLEU reaches 31.96. The authors consequently attribute most of the small-corpus improvement to NRRs. They suggest that rule sparsity may make the refined hierarchical patterns hard to exploit on the smaller corpus.
With the larger LDC corpus, HD-HR+Glue averages 34.01 BLEU and 8.737 NIST, compared with 32.95 and 8.423 for HPB. Its BLEU improvement over HPB is significant below 0.01 on MT 03, MT 04, and MT 05. The MT 06 improvement carries no significance mark. In the authors’ account, the hierarchical rules supply more than half the average improvement over the hierarchical baselines in this training condition, and adding the NRRs supplies the remainder. This pattern is consistent with the proposal that a larger corpus makes the distinctions among labeled rules easier to learn.
The timing contrast is particularly clear. HD-HR+Glue uses 5.4 seconds per sentence after FBIS training and 6.7 seconds after large LDC training. The full system takes 15.1 and 16.6 seconds, respectively. The authors give two reasons the glue system can be fast. The head labels reduce the number of applicable patterns in filtered tables, and monotone glue avoids the extra search required by the flexible rules. In this implementation, the search work saved by restricting composition is large enough for the glue variant to decode faster than ordinary HPB.
The authors also count how the systems actually construct their outputs. The full head-driven system uses an average of 16.6 hierarchical rules and 5.2 NRRs per sentence. The ordinary hierarchical system uses 15.9 hierarchical rules and 3.6 glue rules per sentence. The counts show regular use of the new composition operation. They are descriptive counts of the selected derivations. The score and timing comparisons with HD-HR+Glue supply the evidence about what changes when that operation is removed.
Changing what each head label records
The primary label scheme preserves the original part-of-speech tag of each head. In the large training corpus, the authors find 63K different refined categories among the initial phrase pairs, using 33 part-of-speech tags. The number of whole categories can be large because a category can contain a sequence of head tags. That raises two questions. Some distinctions may occur too rarely to help at decoding time, while other features of a head may encode evidence about how its span attaches to the rest of the sentence. The authors investigate these two possibilities by replacing and augmenting the tag inventory.
C-HPB groups the original 33 tags into 11 coarse classes. For instance, several verb tags map to a verb class and several nominal tags map to a noun class. The resulting inventory falls from 63K to 3K categories. Coarser labels should allow a rule to be shared by more phrases, but they also admit substitutions that the finer labels would distinguish. On the large-corpus tests, C-HPB averages 33.75 BLEU. The paper reports a reduction of 1.1 BLEU on average relative to the original head-driven tag scheme. The authors take this as evidence against the particular grouping tested and propose that context-sensitive grouping deserves investigation.
DL-HPB gives each head the label of its incoming dependency rather than its part-of-speech tag. Such a label is meant to characterize an attachment to a governor elsewhere, so this changes the type of information available in a rule. Penn2Malt supplies 9 types of dependency label for Chinese in this setup. The authors note that some more specific relations, including subject and object labels, depend on function tags absent from their automatic parses. DL-HPB averages 32.54 BLEU with large-corpus training, compared with 34.86 for the original head scheme. The authors suggest the low granularity of the available dependency labels as a reason for the result.
POS-DL-HPB keeps the original part-of-speech tags and appends the incoming dependency information. This lets an attachment distinction subdivide a grammatical category while preserving the identity of the head’s original tag. The large-corpus average is 33.61 BLEU. On MT 04, this combination reaches 36.78, compared with 37.61 for the original head categories. On MT 05, the corresponding scores are 33.14 and 34.56. The comparison shows that preserving a useful cue while adding more detail can still weaken the translation system as a whole. A training occurrence assigned to a narrower category can no longer supply evidence to all of the instances that shared its original label.
Average BLEU for head-label variants across the NIST tests with large LDC training
The original head tags outperform the tested coarser and dependency-label alternatives.
The numbers
| System or setting | BLEU |
|---|---|
| C-HPB | 33.75 |
| DL-HPB | 32.54 |
| POS-DL-HPB | 33.61 |
| HD-HPB (this paper) | 34.86 |
These variants test the effect of changing the signature of a span. Coarsening merges previously distinct signatures. A dependency label on its own changes which spans count as similar. The combined label adds another condition for sharing a rule. The scores show that each of those changes weakens the tested system relative to the original head tags. They leave room for other ways of representing dependency context, including the structural representation investigated next.
Adding the connections among words and heads
The authors also test whether the rules can benefit from retaining the dependency links among the words they represent. They call this variant HD-DEP-HPB. It starts from the original head tags. Its additional information records unlabeled links among the source words still visible in a rule and the actual head words represented inside its non-terminal occurrences. The rule keeps track of who governs whom among those words without assigning a relation name to each link.
Pₛ → s₁ … sₘ
Here Pₛ is the source parent category. The arrow introduces the source expansion. In the authors’ description of this variant, s₁ through sₘ are the relevant terminals and the head tags exposed by the non-terminals, with each sᵢ corresponding to a source word for the dependency representation. i indexes those items and m is their total number. The dots cover all intermediate positions. The additional structure records the unlabeled dependencies among the words represented by these items.
In the larger rule that retains dui yi, the VV-NR gap supplies the heads zhichi and meiguo. The NN gap supplies celie. The extension preserves the unlabeled relations among those heads and the visible words dui and yi. In the original scheme, the head tags distinguish the types of phrases allowed in each gap. The extension can further distinguish the dependency configurations within the rule, even when the sets of head tags and the visible words coincide.
The variant averages 35.21 BLEU with the large training corpus. The authors report gains of 0.35 over HD-HPB and 2.26 over the HPB baseline. The split results qualify the average. On MT 03, HD-DEP-HPB scores 35.48, close to the original head-driven score of 35.50. On MT 04, it reaches 38.17 compared with 37.61. The scores are 34.81 and 34.56 on MT 05, and 32.38 and 31.78 on MT 06. The paper reports these as score comparisons and gives no corresponding significance marks for this table.
This structural extension captures something different from the incoming-label experiment. A label such as NMOD describes a type of dependency. An unlabeled link within a rule identifies the specific structural relationship between two represented items in that rule. The experiments show that the latter representation can improve average BLEU when added to the head categories, even though the tested ways of inserting dependency labels into the category itself reduce the score. The result is specific to these different uses of dependency information.
Inspecting the order of translation decisions
The authors manually compare outputs from the ordinary hierarchical system and HD-HPB trained on the larger corpus. They examine the source-side derivations as trees to see which phrases each system groups and translates before building larger units. This order of composition controls which English material is available when a later rule applies. It gives the authors a way to trace an awkward English string back to a grouping decision, beyond identifying the words that appear out of order in the output.
Their MT 04 example concerns a Chinese delegation sent to the United States to buy high-technology equipment. The HPB output places the ideas of the destination, dollars, and purchasing in an awkward sequence and lacks a main verb for the delegation’s action. The head-driven output makes the trip and the purpose of buying equipment recognizable. Its source derivation groups the relevant words in a way that better follows the Chinese analysis. Both English versions still handle the monetary expression poorly. The example makes the reordering improvement visible even with that remaining error.
The groupings are also compared with spans in the syntactic parse. The paper calls the structure produced by decoding a translation parse tree. This tree gives the source spans from which the translator derives English pieces. The syntactic parse tree is produced from the Chinese input by the treebank-trained parsing procedure. When the two trees contain constituents covering exactly the same words, the authors count a span match. In the ordinary HPB derivations, 37.9% of the phrases match a constituent span. In HD-HPB, the rate is 43.2%.
The head-driven derivations continue to use phrases with several heads. Those with one head account for 64.9% of the phrases, those with two for 23.1%, those with three for 8.8%, and those with four for 3.2%. These frequencies matter because the method can favor groupings that align with syntax while keeping the freedom to use useful fragments from word alignment. The syntax comparison measures agreement at the level of boundaries. The manual example shows how a difference in grouping can affect a particular translation, while the phrase counts describe the kinds of grouping the system uses across its analyzed output.
Limitations
Limits the authors identify
The principal head-driven grammar uses source-side categories. English non-terminals keep the generic category X. The authors identify coordinated refinement on the source and target sides as future work, along with more systematic ways to build the categories using syntactic and semantic information. The experiments therefore establish the behavior of an asymmetric grammar. They leave open how to collect and match categories on both sides so that the bilingual rules would generalize well.
The authors also describe the practical restriction placed on reordering. Training considers separated as well as adjacent target spans. Decoding uses adjacent monotone and swap rules with 2 children. In principle, a header category built from heads could describe a larger combination, but the work measured here comes from the stated binary operations. The restriction is motivated by decoding cost. The timing comparison with glue indicates why broader use of reordering would need to be assessed together with runtime.
For category design, the authors point to the dependency annotation available from the automatic analysis. The labels used in the tested alternatives are coarse, and subject and object labels require information absent from those parses. They call for experiments with finer dependency labels. Their conclusion also suggests distinguishing how a verbal span relates to a governor elsewhere in the rule. The existing comparison measures replacement or augmentation with the available labels. It leaves the proposed finer annotations as an open empirical question.
Limits of what the comparisons establish
The data vary in corpus size and test split, while the translation direction remains Chinese to English. The findings are consequently grounded in a particular language pair, source parser, and set of training resources. The general head test can be stated for any dependency tree. The experiments give no cross-language estimate of how often the associated tags will produce useful categories, how reliable the required parses will be, or how much the decoder will benefit from swap rules in a different translation direction.
The small and large training conditions use different corpus collections. Their comparison gives evidence about the performance of the same designs with the two resources. It does not isolate size from differences in what the corpora contain. Similarly, the comparison with SAMT-HPB controls the reordering mechanism and several decoder settings, while the labeling methods differ in category inventory, fallback behavior, and the syntactic analyses they use. The result supports the implemented head categories over the implemented constituent categories. It cannot assign the full difference to a single property of the linguistic analysis.
The original HPB comparison changes the label inventory and the composition rules together. HD-HR+Glue identifies the behavior of head-driven hierarchical rules with monotone glue, and the move from that configuration to HD-HPB measures the addition of NRRs in the presence of head labels. The paper does not report a configuration with the flexible reordering rules and a uniform source category. It also does not isolate the permission to swap from the permission to reuse the composed phrase in a later rule. These gaps matter if the aim is to estimate the contributions of those mechanisms independently.
The output inspection offers a plausible account of some translation improvements. The paper does not give a count of errors by type or a systematic human evaluation of fluency and adequacy. The exact-span match statistics indicate how frequently derivations agree with constituent boundaries. They cannot determine whether a matching grouping produced a sound translation or whether a fragment crossing such a boundary produced an error. The statistical tests establish the reported differences in automatic test score under the tested settings. The examples and span counts give a more local view of the changes behind them.
Finally, the decoder uses approximate search. The rule inventory gives a space of permissible derivations, while the beam determines which hypotheses survive for further composition. Changing a label or adding an NRR can change both the set of eligible derivations and the candidates presented to the beam. The results apply to the complete decoding procedure as implemented. They do not separately measure the quality of the extra derivations under exhaustive search.
What came after
No later study is documented as testing or adopting the method. The authors’ proposed continuation was to learn the source and target categories more systematically and to represent how a span’s head attaches to a governor elsewhere in a rule. That proposal follows from the contrast within their own experiments. The head tags helped identify which phrases could fill a gap, and recording the unlabeled links among heads and visible words gave an additional average gain. Whether richer attachment labels can preserve that benefit while providing enough examples for each rule remains open.
Cite
Cite as Junhui Li, Zhaopeng Tu, Guodong Zhou and Josef van Genabith. 2012. Using Syntactic Head Information in Hierarchical Phrase-Based Translation. Proceedings of the Seventh Workshop on Statistical Machine Translation.
@inproceedings{li2012using,
title = {{Using Syntactic Head Information in Hierarchical Phrase-Based Translation}},
author = {Junhui Li, Zhaopeng Tu, Guodong Zhou and Josef {van Genabith}},
booktitle = {Proceedings of the Seventh Workshop on Statistical Machine Translation},
year = {2012},
url = {https://aclanthology.org/W12-3128/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/li-2012-syntactic-head-information-hierarchical-phrase/