Prior Derivation Models For Formally Syntax-Based Translation Using Linguistically Syntactic Parsing and Tree Kernels
Paper · 2008 · Bowen Zhou, Bing Xiang, Xiaodan Zhu et al.
Summary
A translation system can reuse an expression by leaving room for words that change from sentence to sentence. The resulting rule may apply to many inputs, but its open slots can hide differences that matter for translation. A slot filled by a noun phrase in one sentence may take a prepositional phrase in another. If those uses call for different word orders in Chinese, the English rule alone gives the system little reason to prefer a particular way of breaking down the sentence. This paper asks whether the structures seen in earlier uses of a rule can help make that choice in statistical machine translation.
The authors keep a hierarchical translation grammar learned from aligned English and Chinese text. Its rules use a generic symbol for material that can be translated separately. They add a score learned by parsing the English training sentences and collecting the pieces of those parses that correspond to phrases replaced by the generic symbol. A tree kernel measures how much structure those pieces share. A rule is favored when the past fillers of each of its slots tend to have similar structures. The decoder uses this preference alongside its existing bilingual scores and its score for fluency in Chinese.
On a held-out test set of travel conversations, the phrase-based system scored 42.11 on character-level BLEU. The hierarchical baseline scored 43.75, and adding the derivation preference raised the score to 44.51. The comparison with the hierarchical baseline was statistically significant at p < 0.05 in the authors’ sign test. The result concerns the translation system as a whole: it shows that the added score improved the reported benchmark, while the examples explain why English syntactic variation might be relevant to Chinese word order and word choice.
Computing the score requires comparing many pairs of parse fragments. The authors use a fast kernel implementation and assign a low purity score directly to especially large fragment collections. They also suggest using the resulting scores to rank rules before removing some of them to save memory. The experiments establish the translation result on the travel task. They leave the savings and translation effects of removing rules for further study.
Deep dive: Prior Derivation Models For Formally Syntax-Based Translation Using Linguistically Syntactic Parsing and Tree Kernels
This paper uses English parse trees to score hierarchical translation rules and tests the approach on English-to-Chinese travel conversations. · about 34 minutes to read
The problem and its context
What a hierarchical rule leaves open
A phrase-based translator can learn that a consecutive sequence of words on one side of a bilingual text corresponds to a consecutive sequence on the other. Such pairs let it translate groups of words together. The authors describe hierarchical translation as retaining that treatment of local expressions while giving the system a way to build larger translations out of smaller ones. A larger rule may contain a fixed expression, a position for another translation, and more fixed words farther along. The Chinese realization can place the translated pieces in a different order from their English counterparts.
The paper describes this ability using a synchronous context-free grammar. A grammar rule expands a symbol on both sides at once, giving a source pattern and a target pattern. Linked positions tell the system which piece in one pattern corresponds to which piece in the other. A rule can specify a rearrangement even when some of the participating pieces have yet to be translated. The paper presents this additional generative capacity as an advantage over the finite-state machinery associated with phrase-based approaches. Its discussion of that baseline draws on Statistical Phrase-Based Translation.
A position in a hierarchical rule can be highly general. The systems this paper calls formally syntax-based induce their grammar from parallel text without first requiring linguistic categories to determine the rules. A general-purpose nonterminal can stand for a range of expressions. The rule thus describes how to assemble a bilingual structure without naming the linguistic function of each of its components. The paper places both inversion transduction grammars and Chiang’s hierarchical approach in this family. Stochastic Inversion Transduction Grammars and Bilingual Parsing and Hierarchical Phrase-Based Translation
The other family the authors discuss uses linguistic syntax to guide grammar extraction. In this approach, a parser analyzes at least one side of the bilingual text, and the rule inventory is derived with that analysis in view. The categories and structures have a basis in linguistic theory and annotation. The paper names Yamada and Knight’s work and the work of Galley and colleagues as examples. In this setting a syntactic distinction can be part of the representation from which the bilingual rule is learned. A Syntax-based Statistical Translation Model
Why learn the grammar and score it separately?
The authors give practical reasons for keeping the formal grammar. Its extraction procedure can be applied without a suitable annotated resource for the language pair. They also describe decoding as simpler for the binary grammars normally used in this family. During decoding, the system has to keep track of the words at the edges of a partial Chinese translation so it can score the fluency of joining that translation to another. As grammatical rules combine more pieces at once, the work of synchronous parsing and keeping the relevant boundary information becomes more demanding. The authors cite earlier work that made decoding with linguistic rules more practical by binarizing rules where possible. Synchronous Binarization for Machine Translation
The formal grammar leaves open a problem of evidence. A concrete phrase pair is observed in the parallel text. A more general rule obtained by abstracting away part of that pair is a construction made by the extraction procedure. A single observed phrase pair can license several such constructions. Conversely, different phrase pairs can license the same construction. The bilingual corpus supplies the concrete examples, while the training procedure still has to decide how much credit each induced rule receives.
In the hierarchical estimation procedure that the authors start from, an occurrence of a phrase pair contributes a count that is divided among the rules it yields. Relative frequencies built from those fractional counts give the translation scores in each direction. This is a practical way to estimate parameters for a large grammar. The authors’ objection is that the equal division is a heuristic about which abstract rules account for the observations. It gives the same share of a particular instance to the rules derived from it even when the structures those rules generalize differ in consistency across training examples.
That distinction matters at decoding time. The baseline can judge an English rule together with a proposed Chinese counterpart. It can also favor a fluent Chinese string. Within the paper’s account, it lacks a separate syntactic preference for the English derivation before the Chinese counterpart is specified. The question is whether the training corpus contains evidence that some abstract English patterns make more coherent units for translation than others.
A second concern concerns the size of the rule inventory. A hierarchical grammar includes concrete phrase pairs and multiple ways to turn them into templates. Automatic extraction can produce redundant rules, and the paper identifies the resulting memory demand as a challenge for real-time use. A score that grades the structural coherence of a rule’s earlier uses could serve a second purpose if it helped identify which rules could be dropped. Translation quality and rule removal are distinct questions. The experiments address the former, and the paper discusses the latter as a possible application.
What the tree comparison adds
Keeping the original extraction procedure makes it possible to use syntactic evidence as a preference inside the same search. The parser supplies evidence about the phrases a slot has stood for. It does not have to decide whether all the phrase boundaries accepted by the bilingual extractor are constituents. That choice matters because a contiguous sequence that translates usefully as a unit can cut across branches of an English parse tree.
To measure patterns within the fragments the authors borrow the tree-kernel approach of Collins and Duffy. A tree kernel compares trees through their shared substructures. The set of possible substructures is large, but the comparison can be computed without constructing an explicit list of all of them. The work of Moschitti supplies a faster implementation strategy. The paper’s contribution is to turn these comparisons into evidence about how to use induced translation rules. For that purpose, the important comparison is between several examples of what fit into the same slot of a rule.
The method, step by step
From word links to reusable bilingual patterns
The procedure starts with sentence pairs. Word alignment links words across the pair, giving the extractor evidence about which portions belong together. The authors run GIZA++ in both directions and retain a link if it appears in either of the resulting best alignments. Using the notation from the alignment discussion, the combined alignment is as follows. Improved Statistical Alignment Models
Aᵁ = Aᵉ²ᶠ ∪ Aᶠ²ᵉ
Aᵁ is the symmetrized alignment. Aᵉ²ᶠ and Aᶠ²ᵉ denote the best alignments estimated in the opposing directions between the two sides, labeled e and f. The operator ∪ takes their union. It includes links found in either directional alignment.
The extractor looks for pairs of contiguous spans below its length limit. A pair is consistent with the links when an aligned word inside either span has its partner inside the other span. A link pointing out of the selected pair would break that consistency. The result is a bilingual phrase inventory, denoted BP in the paper. These entries are also the fully lexical rules in the grammar. Each can produce its source and target words without having to substitute a smaller translation into either side.
A hierarchical rule can be obtained when a phrase pair contains a smaller pair that is itself in the inventory. The extractor replaces the smaller pair with a shared variable. In a larger pattern, this preserves some lexical context and leaves an opening for material that can vary. The paper requires the corresponding subphrases to be aligned to one another in the original phrase pair. It also applies constraints from Chiang’s extraction procedure and permits at most two nonterminal occurrences in an induced rule. That bound concerns the number of openings in a production. A completed derivation can use these productions repeatedly.
The rule set is denoted R. It contains the phrase pairs in BP and the abstract rules derived from them. In this terminology, a terminal is an actual word in a rule pattern, and a nonterminal is the symbol that can be rewritten or replaced by an expansion. The production notation is as follows.
X → ⟨γ, α, ∼⟩
X is the generic nonterminal expanded by the rule. The arrow marks the rewriting operation. The angle brackets hold the paired patterns γ and α, with γ on the source side and α on the target side. Either pattern can contain words and occurrences of X. The correspondence ∼ pairs the nonterminal occurrences across the two sides. In examples it is represented by putting the same subscript on corresponding occurrences, so it can be left implicit when the indices are shown.
The paper gives paired alternatives around the English expression enjoy reading. With the rule displays below, the Chinese words are romanized and the corresponding openings are indexed.
X → ⟨X₁ enjoy reading X₂, X₁ xihuan yuedu X₂⟩
The left-hand X is what the production expands. X₁ and X₂ are occurrences of the generic symbol, with subscripts identifying which expansions must correspond across languages. The order of the English words is fixed in γ. On the Chinese side α, xihuan corresponds to enjoy and yuedu to reading. The words produced by the second opening follow yuedu in this alternative.
X → ⟨X₁ enjoy reading X₂, X₁ xihuan X₂ yuedu⟩
The arrow and paired patterns have the same meaning as before, and the subscripts again link the corresponding openings. This production has the same γ and changes α by placing the expansion of X₂ before yuedu. The paper uses the alternatives to illustrate how a fixed English pattern can participate in different Chinese orders depending on the role of material inside a slot. The rule notation records the alternatives without encoding that role as a label on X₂.
The decoder also has an implicit glue rule. It can translate stretches separately and join their translations in source order.
X → ⟨X₁ X₂, X₁ X₂⟩
X again denotes the category being expanded, and it also serves as the sentence start symbol. The two indexed occurrences mark the paired subtranslations. Their sequence is the same on both sides, so this construction links pieces serially. The baseline assigns glue use its own feature so the decoder can learn how to weigh serial joining against the other ways a rule can expand a nonterminal.
How the baseline chooses a translation
A derivation specifies the rules used to cover the source sentence and their nesting. Because the grammar is synchronous, the rule choices determine how the target is assembled at the same time. The same English input can have several derivations, which may organize the English words into different pieces or commit to different Chinese patterns. The baseline compares the resulting candidates in a log-linear scoring framework.
P(D) ∝ P_LM(e)^λ_LM × ∏_{r ∈ D} ∏ᵢ φᵢ(r)^λᵢ
D is a candidate derivation, and P(D) is its score up to the proportionality indicated by ∝. The output string e is the hypothesized target sentence in this scoring notation. P_LM(e) is the score from the target language model and λ_LM is its weight. The first product, marked ∏ with r ∈ D, runs over rule applications in the derivation. Here r abbreviates a paired production. The product indexed by i combines the feature values φᵢ(r), each raised to the power given by its weight λᵢ. Multiplication combines this rule evidence with the target sentence score.
Two rule features estimate conditional probabilities for the paired patterns, one for each direction.
P(γ | α)
P denotes a conditional probability and the vertical bar means “given.” This feature scores the source pattern γ conditional on the target pattern α.
P(α | γ)
The same symbols in the opposite order give the complementary estimate. This feature scores the target pattern α conditional on the source pattern γ.
The authors estimate those probabilities from counts produced by the extraction heuristic. Each observed phrase-pair occurrence receives a count of one. Its count is divided equally among the rules derived from it. The accumulated fractional counts are treated as observations of how often the rules occur, and the corresponding relative frequencies supply the two directional estimates. A rule induced from many occurrences may receive evidence from each of them, but the share of any one occurrence remains determined by the extraction heuristic.
There are also lexical weights in both directions, written P_w(γ | α) and P_w(α | γ). The subscript w marks the lexical scores, which provide word-level evidence for the paired patterns in addition to the conditional probabilities for the patterns as wholes. The baseline includes the output word count, written |e|, and the derivation’s rule count, written |D|. The vertical bars denote a count in these expressions. A score for the Chinese string comes from the target n-gram language model, and a glue penalty controls the use of serial combination.
The authors add an abstraction penalty to this hierarchical baseline. It lets the system learn a preference among fully lexical rules and rules with different numbers of open slots.
Nₐ = ∑_{r ∈ D} n(γᵣ)
Nₐ is the total number of nonterminal occurrences contributed by rule applications across the derivation. The summation ∑ runs over the rules r used in D, counting their applications. The source pattern of application r is γᵣ. The function n counts the nonterminals in that pattern.
exp(−Nₐ)
The function exp is the exponential, and the minus sign makes the feature smaller as Nₐ increases. The corresponding feature weight determines the preference learned for using more or fewer openings. The abstraction feature belongs to the baseline on which the later derivation preference is tested. It counts the use of nonterminals without looking at the syntactic structures that previously filled them.
To search, the decoder builds translations for spans of the input from the bottom up using a modified CKY parser. An entry records the span it covers, its root, and boundary words for the target fragment. The paper writes the entry in the following form.
[X, i, j; e_b]
X is the root nonterminal of the partial derivation. The positions i and j bound the source span already covered. The notation e_b stands for the target fragment’s boundary words, with b marking the boundary information. The semicolon separates that target-side information from the category and source span recorded in the item.
The boundary words let the search account for fluency across joins. The decoder fills cells for smaller spans before using them to build larger ones, and it uses a pruning procedure similar to cube pruning to limit the combinations explored. A complete item covers the entire sentence. The selected tree tells the system how to assemble the Chinese output by carrying the target-side arrangements through the linked nonterminals. The paper’s chart example illustrates the distinction between coverage and order: the English words are covered in their source spans, while the Chinese pieces can be emitted in a different sequence.
Collecting the syntax behind each opening
The added procedure asks how the English phrases represented by an opening in a rule looked in their original sentences. The authors parse the English side of the parallel corpus with a constituent parser. A constituent tree records how a sentence is grouped into nested phrases. A phrase extracted from an aligned sentence pair can then be associated with the relevant portion of that sentence’s tree. Because the same English words can occur in multiple sentences and with several structures, the extracted phrase is associated with a list of fragments.
A phrase fragment is the smallest collection of pieces of the sentence tree whose leaves cover exactly the words of the phrase. When the span corresponds to a constituent, the relevant tree already has a common root. The paper illustrates this with reading books. If the phrase cuts across constituent boundaries, covering exactly the selected words can require separate pieces. In the example enjoy reading, the span yields such an incomplete fragment. The authors put an artificial parent labeled INC over the pieces so the tree comparison can work with a single rooted object.
The system retains the phrase pairs for which this treatment is needed. Phrase extraction reflects alignment and span boundaries, so there is no requirement that an English span accepted there coincide with a phrase recognized by the parser. If the parser fails on a sentence, phrases extracted from it receive an EMPTY root in their fragment lists. Those phrases remain in the translation inventory, and the marker records the absence of a parsed structure for that occurrence.
Now consider an abstract production derived from several original phrase pairs. For a particular opening, each derivation of the production identifies a subphrase that was removed and replaced by that occurrence of X. The fragment lists associated with those removed phrases are collected into a forest for the opening. The term forest here means a collection of trees, each providing an example of a possible filler. It is separate from the decoder’s forest of alternative derivations for an input sentence.
An opening is identified by its position in the rule. That matters because the useful structures at X₁ can be different from the useful structures at X₂. Combining their fragments into a single collection would answer whether the two positions tend to take the same kinds of filler. The score asks instead whether each individual position behaves consistently across its own examples. The authors describe the collection of fragments associated with the abstractions in a rule as its rule forest, and the scoring step evaluates the individual nonterminal forests.
Learning and using an English derivation preference
The steps in order.
Comparing two fragments without listing every feature
The tree comparison uses subset trees, structural patterns that can occur inside a larger tree fragment. A subset tree contains more than one node. If it expands a node, it must include the complete production at that node. In other words, the pattern can stop before expanding some branches, but it cannot include an expansion while dropping selected children of that expansion. This gives a way to match partial structures with a clear relationship to the parser’s productions.
The authors’ example for reading books shows several subset trees associated with the noun phrase. The point of considering multiple depths is that trees can have a meaningful common part without matching everywhere. A shared production near the root is evidence of a match at that level. Where corresponding children have further matching structure, the comparison includes patterns that extend into those children as well. Unlike a comparison based only on the category at the root, this representation can distinguish fragments that share a broad category while differing in their internal organization.
Conceptually, a fragment can be described by a count vector.
h(T) = (c₁, …, c_M)
T is a tree fragment and h maps it to the vector of subset-tree counts. M here is the number of possible subset-tree types under consideration. It is unrelated to the length-limit notation in the phrase extraction discussion. The component cᵢ counts occurrences of type i in T, and the ellipsis stands for the intervening components of the vector.
An inner product of the count vectors would add up the contributions of patterns present in both fragments. The feature space is large, so the authors compute matches using the nodes where they can be rooted. They define an indicator Iᵢ(n) for whether subset-tree type i is rooted at node n.
C(n₁, n₂) = ∑ᵢ Iᵢ(n₁) Iᵢ(n₂)
The nodes n₁ and n₂ belong to the respective fragments. Iᵢ(n) is 1 when the subset tree indexed by i is rooted at n and 0 otherwise. C is the contribution from those two roots. The summation over i adds a contribution when the same pattern occurs at both nodes. This expresses what the common-pattern comparison counts before introducing the recursive decay.
K(T₁, T₂) = ∑_{n₁ ∈ N₁} ∑_{n₂ ∈ N₂} C(n₁, n₂)
T₁ and T₂ are the two fragments, and N₁ and N₂ are their node sets. The symbol ∈ indicates which set a summation index belongs to. The two sums add the contributions C over pairs of nodes across the fragments. K is the resulting tree kernel, which rewards shared subset-tree structure wherever it occurs.
The recursion for C has a base case when the productions disagree.
C(n₁, n₂) = 0
Here the zero applies when the productions at n₁ and n₂ differ. A subset tree rooted at those two nodes cannot match because its root expansion would have to contain both of those different productions.
C(n₁, n₂) = 1
The value 1 applies when the productions agree and both nodes are preterminals. A preterminal is a node immediately above a word in the parse. This case records the matching expansion at that level.
C(n₁, n₂) = λ ∏_{j=1}^{nc(n₁)} (1 + C(chⱼ(n₁), chⱼ(n₂)))
This is the case for matching productions above the preterminal level. The function nc gives the number of children of n₁. The index j ranges over child positions, and chⱼ(n) selects the child in position j under a node n. The product ∏ combines the contributions at the corresponding positions. The 1 in each factor represents stopping before expanding that child, while the recursive C term provides the choices that continue into it. The decay factor λ satisfies 0 < λ ≤ 1 and discounts patterns that extend farther into the trees. This λ is a parameter of the tree kernel, distinct from the feature weights used to rank translations.
The direct bound given for the computation is as follows.
O(|N₁| × |N₂|)
O denotes an asymptotic complexity bound, the bars give the number of nodes in each set, and × multiplies the two sizes. Many node pairs can never contribute because their productions differ. The implementation used in the paper follows Moschitti by first identifying corresponding productions and considering candidate node pairs from those matches. The authors describe that kernel implementation as running in linear time on average. This claim concerns a fragment comparison and leaves the number of fragment comparisons in a forest as a separate cost.
The magnitude of a raw kernel can also reflect how many substructures a tree possesses. The authors scale the cross-fragment kernel by the fragments’ self-kernels.
K′(T₁, T₂) = K(T₁, T₂) / (√K(T₁, T₁) × √K(T₂, T₂))
K′ is the normalized similarity of T₁ and T₂. The numerator is their cross-fragment kernel, and the denominator uses the square roots of their self-kernels, K(T₁, T₁) and K(T₂, T₂). The square root is marked √, × multiplies the two factors, and / denotes division. The normalized measure is intended to range from 0 to 1. Its role is to judge how much structure two fragments share relative to the structure each contributes by itself.
From fragment similarity to a rule preference
The authors summarize the evidence for an opening with a quantity they call purity. It is the average normalized similarity over distinct pairs of fragments in the opening’s forest.
Pur(X) = [2 / (N(N − 1))] ∑ⱼ ∑_{i < j} K′(Tᵢ, Tⱼ)
Pur(X) is the purity of the forest for a particular occurrence of X in a rule. N is the number of fragments in that forest. Tᵢ and Tⱼ are the fragments at indices i and j. The restriction i < j makes each distinct pair contribute once and excludes self-comparisons. K′ is the normalized kernel. The coefficient in brackets divides the accumulated similarity by the number of eligible pairs. A higher average indicates that the fragments in this particular collection tend to share more structure.
The central assumption is that an English derivation requiring structurally varied fillers can create more ambiguity for the target realization. The paper illustrates the motivation with English patterns built around pass. Among the extracted Chinese counterparts are gei for giving, jingguo for traversing, and piao for a ticket. In the rules shown, the Chinese word is placed between the translations of the two openings. The authors point out that a baseline can derive a reasonable output for a sentence such as my pass expired. For my pass to the zoo, the ticket reading also needs an order that the displayed rules do not supply. With a prepositional phrase in the second opening, the paper gives the desired order as the two slot expansions followed by piao.
The issue in that example is both lexical and structural. The alternatives have several senses available, yet the displayed template for the relevant sense lacks the required arrangement. The diagnostic example motivates a preference for a different source analysis when one is available. The score does not supply the missing Chinese production. It changes how attractive the derivation using the ambiguous English pattern is relative to competing derivations assembled from the grammar.
The rule cost uses the least pure of its openings. For the case with two openings, the paper writes the cost in the following form.
L(X → ⟨γ, *⟩) = −log((min_{X₁,X₂ ∈ γ}(Pur(X₁), Pur(X₂)))^k)
L is the cost assigned from the source side of the production, γ is the source pattern, and the asterisk is any compatible target pattern. X₁ and X₂ are the nonterminal occurrences whose forests are scored. The minimum, written min, selects the smaller of their purity scores. For a rule with a single opening, that opening supplies the purity. The exponent k is the degree of smoothing, with k ≥ 1. The minus sign and logarithm, log, convert smaller positive purity into larger cost.
L(·) = 0
This is the separate definition for a fully lexical phrasal rule. The dot stands for that rule as an argument to L. Such a rule has no opening to evaluate, and the authors assign it zero derivation cost.
Taking the minimum gives a straightforward interpretation to the rule score. If one slot commonly abstracts a recurring syntactic structure and another stands for a mix of very different structures, the recurrence at the first slot cannot compensate for the variation at the second. The paper’s assumption concerns a rule’s ability to support an entire bilingual combination, so it treats an unpredictable slot as enough to make that combination less reliable.
The authors also interpret the extra preference as a way to smooth the bilingual estimates. Several Chinese rules can share the same abstract English pattern. The source-side assessment applies to all of them, leaving their direct bilingual scores available to distinguish their merits. An English pattern whose slot histories indicate substantial variation can therefore be discounted even if the heuristic counts made one of its Chinese counterparts look strong. The decision still depends on the other features and on the complete derivation in which the rule appears.
Putting the preference into search
The paper extends the baseline expression by adding a source-side term to each rule application. Written with r again standing for the full production, the expression is as follows.
P(D) ∝ P_LM(e)^λ_LM × ∏_{r ∈ D} [(∏ᵢ φᵢ(r)^λᵢ) L(X → ⟨γᵣ, *⟩)^λ_L]
D is the derivation and e is its target sentence. P(D) and ∝ denote the derivation score up to proportionality. P_LM and λ_LM are the target fluency score and its weight. The outer product runs over rule applications r in D, while the inner product combines their baseline feature values φᵢ with weights λᵢ. The source pattern of r is γᵣ. The expression with L depends on that source pattern and the generic category X, with * leaving the target counterpart unspecified. The weight λ_L governs the contribution of the added derivation feature.
The paper uses L in both this multiplicative expression and the definition of a negative-log cost. Those forms leave a detail of the numerical implementation unclear. In particular, literal multiplication by a positive power of a zero phrasal cost would yield a zero factor. The intended preference is clear from the cost definition and surrounding discussion: a low-purity opening should make a rule more costly, while a fully lexical rule has zero added cost. The displayed expressions give the structure of the extension without fully specifying how that cost is represented as a factor in the decoder.
The preference changes with the derivation because different ways of covering the input use different rules. It can affect the boundaries of pieces the system translates together, in a manner analogous to a preference over source segmentations in phrase-based translation. Hierarchical rules also specify where the pieces may go on the Chinese side, so favoring one way of deriving the English input can change the reorderings available to the decoder. The score used for this purpose is learned from the historical fillers of a rule’s openings. The described decoder looks up that preference during search, alongside the bilingual and target-side evidence.
The most expensive part of scoring a forest is the pairwise comparison. Even with the faster kernel, the work for the purity calculation grows quadratically with N. The authors expect large, heterogeneous forests to receive poor scores and give especially large collections a floor purity value rather than computing every comparison. The cut between the collections scored explicitly and those assigned the floor is part of the experimental setup. Forest comparisons can be distributed across processors because scoring a rule’s forest does not require the pairwise work for another rule’s forest to finish first.
Experiments and results
The corpus and evaluation
The experiments translate English travel conversations into Chinese. The training material comes from conversations that were transcribed and translated by people. It contains 482,017 aligned sentence pairs, with 4.4M words reported for the English side. After segmentation, the reported vocabulary counts are 37K for English and 44K for Chinese. Chinese is automatically split into words in training, development, and testing. This word representation is used by the translation machinery and by the Chinese fluency score.
A held-out pool of 2755 sentence pairs is split by alternating which pair goes into development. The development set contains 1378 pairs and the test set 1377 pairs. The authors report about 15K running English words in each. The development set is where minimum-error-rate training chooses feature weights by maximizing BLEU. Those fitted weights are applied to the test set for the reported comparisons.
The authors score Chinese at the character level to reduce the dependence of evaluation on choices made during word segmentation. They use BLEU up to 4-grams for tuning and test reporting. The test calculation uses 2 references. Thus there are two different granularities in the setup. The system’s Chinese language model uses segmented words, while the evaluation looks at character sequences in the completed outputs and references. All systems use the same Chinese word-level 4-gram language model, trained on the Chinese portion of the parallel corpus reported to contain around 2M segmented words.
The data yield 3.7M phrase pairs, with a limit of 8 words on the Chinese side in the initial extraction. These pairs support the phrase-based system and provide the concrete starting points for inducing the hierarchical grammar. Abstracting subphrases produces a substantially larger inventory. The hierarchical baseline is reported to use 15M rules. For the syntactic analysis, it also matters how many differently paired rules share the same English side. The authors report around 8M rules distinguished by their English patterns.
The two baselines
The phrase-based system uses the phrase inventory in a configuration with 8 features. Many of its features are shared with the hierarchical baseline, and it has a lexicalized reordering component trained from the aligned bilingual text. The glue and abstraction penalties are specific to the hierarchical system. Consequently, the phrase-based comparison tests two complete system designs, each with a way of modeling order appropriate to its representation.
The formal syntax baseline has 9 features and uses the hierarchical grammar, including the abstraction and glue features. It furnishes the decoder, rule inventory, and baseline scoring framework for the system with the derivation preference. This comparison directly addresses the central question of the paper. The extra feature is estimated from English parse fragments and incorporated into a system that already has hierarchical reordering, bilingual rule estimates, and the same Chinese fluency score.
The English sentences are tokenized in a style consistent with the treebank data used by the Stanford parser. The parser learned from the Penn Treebank’s Wall Street Journal section. The authors submit 482,017 English sentences to it, and parsing fails on 1221 long sentences, reported as less than 0.3% of the submitted set. The paper gives the parser’s accuracy and speed as reasons for choosing it. It reports no separate parse-accuracy measurement on these travel conversations.
What the parse inventory looks like
After alignment and extraction, the authors obtain 2.2M unique English phrases. About 34K have an empty tree in their associated lists because of parsing failures. The count describes phrases with an empty-tree entry. A phrase occurring elsewhere can also have entries from sentences that were parsed successfully. The inventory includes 2.5M unique tree fragments, of which 750K are marked as incomplete. That distinction matters for understanding the added feature: a global parser failure produces an EMPTY marker, while a phrase that crosses the boundaries of a successful parse produces a structured fragment with the extra INC root.
For forest size, the paper reports how many rules fall in successive bands of fragment counts. It lists 3,636,766 rules in the band above zero through 10 fragments, and 81,060 rules above 150 fragments. The exception for large forests is motivated by this distribution and by the cost of the pairwise calculation. The authors apply floor purity to rules with more than 150 unique fragments. Generic templates with little fixed lexical material can have particularly large forests. Their example is a template anchored by a, where the first opening alone has more than 100K trees.
On a single machine using the fast kernel implementation, training with the added derivation component takes about five times as long as baseline training. This is a training comparison. It does not quantify the speed of decoding with the new feature. The authors note the potential to run the forest computations in parallel and argue that multiple CPUs can relieve the training bottleneck. They give no separate parallel timing.
Test scores
The character-level BLEU score on the held-out English-to-Chinese travel test set is 42.11 for phrase-based translation and 43.75 for the hierarchical baseline. The authors report an absolute improvement of 1.6 points and significance at p < 0.01 using the sign test described in an earlier translation study. Adding the English derivation preference gives 44.51. The paper reports this as an additional absolute improvement of 0.8 point over the hierarchical baseline, significant at p < 0.05. Clause Restructuring for Statistical Machine Translation
English-to-Chinese travel test results on character-level BLEU
The hierarchical system with the source derivation preference has the highest score.
The numbers
| System or setting | BLEU |
|---|---|
| Phrase-based baseline | 42.11 |
| Hierarchical baseline | 43.75 |
| Hierarchical with derivation preference (this paper) | 44.51 |
The first comparison shows an advantage for the hierarchical configuration over the phrase-based one in this test. The feature comparison shows that the derivation preference improves the result of the hierarchical system even though that system already uses abstract rules and a penalty for the number of openings. The shared target language model also means that the improved system did not gain a different Chinese fluency scorer. The new feature changes the evidence used to select a derivation under the reported tuning and test protocol.
The metric measures the resulting output strings. It does not directly score whether the selected English pieces are grammatically appropriate, whether the reordered Chinese spans are the ones a linguist would choose, or whether the English forest purities are calibrated probabilities. Those are different properties from the reported agreement of complete Chinese outputs with their references.
What the ablations show
What changes when the preference is added
The paper gives a comparison with and without the derivation feature in its hierarchical system, along with a full-system comparison against phrase-based translation. It does not present separate ablations of the ingredients used to calculate the new score. The closest controlled comparison is between the hierarchical baseline at 43.75 and the version with the derivation preference at 44.51 on the same Chinese character-level BLEU test. Both use a formal grammar, so the experiment tests the addition of the English structural score in an already hierarchical setting. The reported p < 0.05 refers to that comparison.
This matters because the baseline’s abstraction penalty already registers how many open slots a derivation uses. Where two candidates use the same number of openings, a count of those openings gives the same value. The added feature can distinguish the candidates if they use different rules with different histories of slot fillers. The comparison establishes a benefit from adding the complete feature under the paper’s configuration. It does not identify how often the extra distinction changes the chosen translation or which other feature weights shift when the system is tuned with it.
The phrase-based comparison answers a broader question. At 42.11 on the same test, the phrase-based system has a lower score than either hierarchical configuration. It uses a different representation for combining phrases and has lexicalized reordering in its feature set. That comparison shows how the configurations rank in the experiment. It cannot isolate the effect of rank, glue, reordering, or abstraction individually, because the systems differ in several respects at once. In particular, the syntactic preference is evaluated most directly against the formal grammar that already offers a way to assemble and rearrange nested translations.
What the structural examples and counts establish
The English enjoy reading example demonstrates a property of the grammar: one source pattern can be paired with target patterns that place an expansion in different positions. The pass example illustrates a more specific difficulty. Several Chinese words associated with the English form are present in the grammar. The authors can still identify a use for which the displayed productions offer no adequate Chinese order. Together the examples make the claim about ambiguity concrete. They do not form a count of resolved reordering errors or an evaluation of how frequently the new feature selects the intended sense.
The fragment inventory demonstrates that the procedure extends beyond spans that form a constituent in the parser’s analysis. The 750K incomplete fragments among the 2.5M unique fragments are part of the input to the approach as designed. This count establishes that incomplete fragments are a substantive part of the representation in this corpus. There is no alternate run that removes those fragments, assigns them a different structure, or constrains extraction to constituent boundaries. The paper therefore leaves open how much of the gain depends on retaining spans with the INC representation.
The forest-size distribution provides a separate analysis of training work. Above the cutoff of 150 unique fragments, the direct pairwise calculation would be especially expensive. Large collections can arise from patterns with a very common word as their only fixed anchor, as the example with a illustrates. The paper uses size as a practical signal for skipping the comparison and using floor purity. The distribution establishes how many rules are in the large-forest tail. It does not show how their exact purities would compare with their assigned floor values, or how BLEU would change under another cutoff.
Which choices are tested together
The feature comparison puts several choices into effect at once: English constituent parsing, fragments that preserve alignment-based spans, kernel similarity, averaging within a forest, the least-pure-slot rule score, and the shortcut for large forests. The gain belongs to this combined procedure. The paper reports no run replacing the tree kernel with a comparison based only on root categories, for example. It likewise supplies no comparison with a score that averages the purities of the different openings instead of selecting the smallest. Those alternatives would distinguish contributions that the main experiment groups together.
Nor does the paper report a separate condition in which rules are removed according to the syntactic scores. The decoder does prune the search, as in the hierarchical baseline, and the scoring procedure avoids expensive comparisons for some forests. These are different operations from shrinking the stored grammar. The reported quality comparison is evidence for scoring candidate derivations. The claim that the scores might support a smaller grammar remains a proposed application.
Limitations
Limits identified by the authors
The authors evaluate the source-side preference in an English-to-Chinese task within the travel domain. They point out that the feature design can instead depend on the target side of a rule, and they express interest in using the approach for translation into English. The paper provides no result for that direction or for target-side scoring. Moving the score to another side is possible in the formal expression. Whether that change is beneficial depends on an experiment for the relevant search and data conditions.
The authors also identify the storage costs of large hierarchical grammars as part of the motivation for ranking rules. They propose pruning with the score as a way to reduce memory use in online translation. They do not report the size of a grammar obtained that way, the memory it uses, or the translation quality after the removals. The single-machine training slowdown and the use of a floor for especially large forests are measured or specified parts of the experiment. The potential memory savings and practical parallel speed remain unmeasured.
The baseline extraction procedure motivates an issue that the new feature only partly addresses. A low-purity English rule can be discouraged if the grammar already has another way to cover and translate the same input. The paper’s pass example shows why this qualification matters. A preferred ordering absent from the shown productions cannot be obtained from those productions just by assigning them new scores. The method is a way of choosing among derivations licensed by the existing grammar.
Limits visible in the evidence
At the level of a particular English input, the prior comes from earlier uses of the matched rule. The system does not use a separately computed constituent analysis of that particular input to decide which sense its opening has in the current sentence. Instead it brings an aggregate statistic from the training corpus into the existing search. A rule whose past fillers span diverse structures will be treated as costly across its uses. That general preference can be helpful in aggregate while offering limited guidance about an individual instance where a structurally diverse rule is appropriate.
Purity is a measure of resemblance among English fragments. The association with uncertainty in Chinese is the authors’ motivating assumption. The paper does not measure a distribution of target choices and compare its uncertainty directly with each rule’s purity. This distinction leaves several possibilities unresolved. An English opening with similar-looking fillers could still have a range of Chinese realizations, and a varied set of English structures could coincide with a stable target pattern. The test result shows the value of the feature in the full scoring system without establishing how closely purity tracks either of those cases.
The feature relies on analyses of travel conversations produced by a parser trained using the Penn Treebank’s Wall Street Journal section. The reported failure count tracks sentences for which no parse was returned. It gives no estimate of the correctness of analyses returned for the others. Some phrase spans also need an INC parent because their boundaries come from bilingual alignments. The approach accounts for these cases operationally. The paper does not test the sensitivity of the result to another parser, to parser accuracy on this domain, or to another way to represent phrases that span multiple constituents.
Several mathematical boundary cases are left unspecified. The written average is over distinct pairs, so a forest with only one fragment supplies no pair and makes its normalizing denominator zero. The normalized kernel requires positive self-kernel factors for the division shown, while the rule cost requires a positive purity for a finite logarithm. The paper describes EMPTY markers and the floor applied to large forests, but does not state a general convention for all such cases. It also leaves open the feature encoding that turns the displayed negative-log cost into a contribution in the multiplicative decoder score. These details matter to reproducing the computation exactly from the definitions.
The experiment also puts limits on how specifically the gain can be interpreted. Its outcome is test BLEU with 2 Chinese references, measured at character level. The score and reported sign test support a comparison on this held-out data. They give no breakdown by construction, ambiguity type, or rule forest size. There is no accompanying human judgment of adequacy or fluency, and no systematic account of which English derivations changed. The rule examples offer a plausible causal explanation. The experiment measures the combined effect of adding the feature on the final translation strings.
Finally, the stated computational advantage of the fast kernel applies inside each fragment comparison. Normalizing and averaging across a forest still require many comparisons, and the largest forests use an approximation. The overall training time reported for the task reflects the authors’ implementation and that shortcut. It does not establish a general scaling curve as corpus size, grammar size, or processor count changes. The practical reach of the training method beyond this setup is therefore an open empirical question.
What came after
The paper ends by pointing toward two extensions: using the derivation score to rank rules for removal, and testing a derivation preference on the target side. In the first, the score would guide decisions about what the decoder stores. In the second, it would assess the structure associated with target-side rule patterns. The English-to-Chinese experiment tests neither extension.
There are no later citing works with documented follow-up results to discuss here. The reported finding remains the comparison on English-to-Chinese travel conversations, where an English structural preference improved the score of a hierarchical translator whose rules were induced from bilingual alignments.
Cite
Cite as Bowen Zhou, Bing Xiang, Xiaodan Zhu and Yuqing Gao. 2008. Prior Derivation Models For Formally Syntax-Based Translation Using Linguistically Syntactic Parsing and Tree Kernels. Proceedings of the ACL-08: HLT Second Workshop on Syntax and Structure in Statistical Translation (SSST-2).
@inproceedings{zhou2008prior,
title = {{Prior Derivation Models For Formally Syntax-Based Translation Using Linguistically Syntactic Parsing and Tree Kernels}},
author = {Bowen Zhou, Bing Xiang, Xiaodan Zhu and Yuqing Gao},
booktitle = {Proceedings of the ACL-08: HLT Second Workshop on Syntax and Structure in Statistical Translation (SSST-2)},
year = {2008},
doi = {10.3115/1626269.1626272},
url = {https://doi.org/10.3115/1626269.1626272}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/zhou-2008-prior-derivation-models-formally-syntax/