Constituency to Dependency Translation with Forests
Paper · 2010 · Haitao Mi and Qun Liu
Summary
A translation system can use the structure of a source sentence to decide which words belong together and where their translations should go. The translated sentence then poses a different problem. Its words have to fit together according to the grammar of the target language, sometimes across several intervening words. Haitao Mi and Qun Liu address both problems in a single system. For Chinese input, they use a constituency forest, a compact representation of alternative ways to group the sentence into phrases. For English output, they build a dependency tree, which records which words act as heads and which words depend on them. The work asks what a translation system gains from giving each side a different syntactic representation. Machine translation
The authors learn translation rules from pairs of Chinese and English sentences whose words have been aligned. A rule connects a fragment of a Chinese constituency tree to a piece of an English dependency tree. An eligible English fragment can have a single attachment word or several words that all attach to the same head outside the fragment. The second option admits some useful partial structures that an earlier dependency-based approach would exclude. At translation time, the system matches rules against the alternative parses of the Chinese sentence. It assembles the matched pieces from the bottom up and scores the English candidates both by their consecutive words and by the words linked in their dependency trees. Language model · N-gram
The experiments reveal a cost to enforcing the dependency-fragment rules during extraction. The inventory of syntax-based rules can shrink considerably while preserving much of the baseline’s performance, provided the system keeps its full set of ordinary bilingual phrases. Applying the same filter to those phrases removes much more of their coverage. The authors recover it by parsing the English side of each ordinary phrase pair and using the resulting fragments during translation. This gives the dependency scorer a structure to work with while retaining phrase pairs that would have failed the extraction filter.
On the 2005 NIST Chinese-to-English test set, the resulting system scores 34.88 BLEU, compared with 34.17 for the forest-based constituency-to-string baseline. The authors report a gain of +0.7 BLEU points, significant at p < 0.05, with fewer translation rules. A comparison using the same restricted rule inventory also favors the dependency-based system, which scores 33.25 against 32.48 for the string-output system. That comparison supports a contribution from target dependency scoring, while the strongest overall result depends on recovering phrase coverage. The authors identify this as the first result to show a significant performance advantage for a tree-to-tree approach over its tree-to-string counterpart. The measured outcome is a gain in agreement with reference translations. BLEU score
Deep dive: Constituency to Dependency Translation with Forests
Constituency-to-dependency translation uses packed source parses and target word dependencies to improve Chinese-to-English translation. · about 37 minutes to read
The problem and its context
A parse can help on either side of translation
A phrase on the source side can tell a translation system that words form a unit or that a rearrangement should apply to a larger construction. A tree on the target side can tell it which word a modifier belongs to or which head governs a group of dependents. These uses of syntax come at different points in translation. Source structure helps identify the pieces available to translate and the rules that can apply to them. Target structure helps assemble the pieces and decide whether the resulting words work together. The authors organize earlier statistical translation systems around where in this process a linguistic tree is available. Syntax and grammar formalisms · Parsing
In the paper’s terminology, a string-based system begins with the words of the sentence in order. Part of translation is to discover a structure for those words using a synchronous grammar, a grammar that relates source constructions to target constructions. A tree-based system begins with the work of source parsing already done. Its translation rules can look for configurations in the supplied parse. The distinction concerns the input to the translator. Either family can assign structure to the output, and a tree-based system that emits a string can use quite detailed source syntax along the way.
The tree-to-string systems discussed by the authors took advantage of this division of work. A separate parser assigned syntactic categories and phrase boundaries, and translation rules could refer to that analysis. The source grammar could be chosen for parsing while the translation grammar was learned for transfer between languages. The paper also emphasizes that tree-based decoding can work with source constructions that branch into several children. In the string-based setting the authors compare it with, a grammar in binary branching form supports the search. Binarization rewrites rules so that combinations can be made through pairs of constituents, which adds a constraint on how the grammar is represented. Tree-to-String Alignment Templates · Syntax-Directed Translation · Synchronous Binarization
The paper cites a linear-time versus cubic-time contrast for tree-based and string-based decoding. Its motivation is that a source parse already identifies candidate constituents and their combinations. A decoder operating on the source string has to consider those combinations during translation. The speed argument is about how each search is organized. A separate issue arises once a tree-to-string rule emits English words. The system can rank their sequence using a word-based scoring mechanism, but the English output of that rule carries no explicit head or dependent information. The translator therefore has no direct way to ask whether a modifier produced by one rule has a plausible head produced by another. Syntax-Directed Translation
String-to-tree systems addressed the latter issue by building linguistic structure on the target side. The paper distinguishes work that produced target constituents from work that produced target dependencies. Both gave the decoder access to syntax when ranking English output. The authors place these approaches alongside Hiero, a hierarchical phrase-based system whose grammar gives translation a recursive structure, and describe prior comparisons in which target syntax was beneficial. Their concern with the string-to-tree family is that the decoder still starts from an unparsed source and performs its source-side structural search during translation. Syntactified Target Language Phrases · String-to-Dependency Translation · Hierarchical Phrase-Based Translation
Why the input is a forest
Using a source parse creates a dependency on the parser’s decisions. A rule that expects a particular kind of phrase can fail to match when the parser chooses a different boundary or category. The best parse under the parser’s own scoring can also be a poor starting point for translation. For instance, an analysis that seems less likely based on the Chinese words alone may expose a construction for which the translator has much better English evidence. The decision to admit alternatives is therefore important even when the translation decoder keeps the basic organization of a tree-based search.
A packed forest makes these alternatives share structure. If several parses agree on the analysis of a phrase, the forest stores that part in common and records the differences where the analyses diverge. Packing can represent many full trees without listing each tree separately. The paper distinguishes earlier work that used forests to represent alternatives in decoding and rescoring from work that used a forest of source parses to drive translation directly. Forests had also been used during rule extraction, so that a training sentence could contribute rules from beyond its parser’s preferred analysis. The present system inherits both uses of source-side packing. Forest Rescoring · Forest-Based Translation · Forest-Based Translation Rule Extraction
Earlier tree-to-tree work had already made it possible to give both sides linguistic structure. The authors describe approaches that used a single type of tree on both sides, including work with dependencies and work with constituents. They also discuss a forest-based constituency-to-constituency system whose focus was the coverage of tree-to-tree rules. Coverage matters because a translation rule has to be found in training and then be applicable to a fragment of new input. The more conditions a rule imposes, the fewer occasions satisfy all of them. A forest can help on the source side by making additional analyses available. An English phrase with an unsuitable target structure still presents a separate obstacle. Synchronous Dependency Insertion Grammars · Dependency Treelet Translation · Tree-to-Tree Translation with Packed Forests
Mi and Liu assign different jobs to the two kinds of tree. Chinese constituency supplies labeled phrase patterns for rule matching. A single pattern can reach across multiple levels of the source tree and specify how several translated pieces fit together. English dependency structure supplies a way to connect words that need to be scored together even when their positions are far apart. The authors also draw on prior work on how well phrases remain together across languages as motivation for expecting English dependencies to yield useful fragments. The design question is whether these two uses of syntax can coexist with the broad phrase coverage that made the forest-based string-output system effective. Phrasal Cohesion
The method, step by step
From aligned sentences to a translation
The training input is bilingual text in which the system has marked links between corresponding Chinese and English words. A Chinese parser supplies alternative phrase structures for each source sentence. On the English side, the authors take a preferred constituency parse and convert it into word dependencies using rules for identifying heads. The alignment lets them look from a Chinese phrase to the English words associated with it. They then ask whether those words make up a dependency fragment with a usable boundary. Dependency parsing
The accepted boundaries determine where the authors can divide a sentence pair into reusable pieces. A small rule might translate a word and assign it a place in a dependency structure. A larger rule might recognize a Chinese clause with several open positions and state how the translations of those positions attach in English. The system learns larger rules by composing smaller ones. It also retains ordinary bilingual phrases by parsing their English sides directly. That gives the decoder access to phrases whose English words failed the more restrictive test in the context of a full training sentence.
For a new Chinese sentence, the system parses the input into a forest again. It matches the learned rules to that forest and records the possible applications in a translation forest. It works upward from smaller pieces to larger ones, keeping promising combinations of words and dependencies. At the root, it traces the selected combination back through the applied rules to recover an English sentence and its dependency tree.
Learning and applying constituency-to-dependency rules
The steps in order.
What the source forest contains
A constituency parse groups adjacent words into labeled units such as noun phrases. The source parser works with a context-free grammar, whose rules specify how a category can expand into a sequence of children. A node in the forest records a category and the boundaries of the words it covers. More than one grammar expansion can lead to the same node. The forest represents each possible expansion as a hyperedge, which can connect a list of child nodes to their parent in a single step. Context-free grammar
Fᶜ = Gᶠ = ⟨Vᶠ, Hᶠ⟩
Here Fᶜ is the constituency forest for the Chinese input, and Gᶠ is the same object viewed as a hypergraph. The superscript ᶜ denotes the source side, and ᶠ denotes the forest representation. Vᶠ is the set of forest nodes, and Hᶠ is the set of hyperedges. The angle brackets group the node and edge sets into an ordered pair.
Xᵢ,ⱼ covers cᵢ₊₁ … cⱼ in c₁ … cₘ
X is a syntactic category and Xᵢ,ⱼ is a node bearing that category at source boundaries i and j. The c symbols are Chinese words indexed by position. The covered words begin immediately after boundary i and extend to boundary j. m is the number of source words. The ellipses stand for the intervening positions. This boundary convention lets adjacent constituents meet at a boundary without claiming the same word.
hᶠ = ⟨tails(hᶠ), head(hᶠ)⟩
hᶠ is a forest hyperedge. Its tails are the list of child nodes required by the expansion, while its head is the parent that those children derive. The head of a forest hyperedge is thus a labeled span in the source parse. The English dependency head introduced below is a word.
IN(vᶠ) = {hᶠ ∈ Hᶠ : head(hᶠ) = vᶠ}
vᶠ is the forest node under consideration, and IN returns the hyperedges that derive it. The braces collect all edges hᶠ belonging to Hᶠ, as indicated by ∈, for which the edge’s head equals vᶠ. The colon introduces that condition. Choosing an incoming edge specifies one way to analyze the span. Recursively choosing edges for its children determines the corresponding parse beneath it. The forest’s distinguished goal is TOP, the start category S spanning the complete input, written S₀,ₘ.
The running example shows why the incoming edges matter. In one analysis, the Chinese word yǔ is a conjunction between the noun phrases naming Bush and Sharon. The forest has an expansion that joins these parts into a larger noun phrase. Another analysis gives yǔ a prepositional role, with the corresponding phrase grouped with the verbal material. The alternatives share a verbal subtree that contributes the translation involving the talk. Sharing allows this subtree to participate in both analyses, while the different higher attachments expose different rule patterns.
What the English tree contains
In the English tree, each node represents a word, and an arc goes from a dependent word to its head. The paper writes dependents in parentheses around their head, with nesting for dependents that have children of their own. In the running example, held has Bush on its left and talk and with on its right. The determiner a belongs beneath talk, and Sharon belongs beneath with. In the surface sentence, held and with are separated by other words. The arc still records their direct relationship. This is the kind of connection the dependency scorer can use.
Dᵉ = Gᵈ = ⟨Vᵈ, Hᵈ⟩
Dᵉ is the English dependency tree and Gᵈ is its hypergraph representation. ᵉ identifies the target side, and ᵈ identifies the dependency representation. Vᵈ is the set of target word nodes, and Hᵈ is the set of dependency arcs. Each arc can also be written as a pair of tail and head, with a single word node at its tail. A word’s left and right children form separate sequences, written Lˡ and Lʳ. Within either sequence the children are ordered starting with the closest one to the head.
The tree representation used for extraction is projective. In this setting, the arcs can be drawn above the words without crossing. Projectivity describes the full tree. Extraction has a finer question to answer about a selected substring of it. A contiguous group of English words may include a modifier while leaving out its head. To become a reusable translation fragment, that group needs a clear account of how its words connect to the surrounding tree.
Which dependency fragments are usable
The authors define two ways for a contiguous group of words to have an acceptable attachment boundary. A fixed fragment has a single word whose head lies outside the group. The heads of all its other words lie inside it. The externally attached word serves as the root of the piece, and the rest of the piece can be connected through it. In the example, the fragment containing held and the noun phrase headed by talk can be fixed. Talk depends on held, and the determiner depends on talk.
A floating fragment has several words whose heads lie outside the group, with the extra requirement that they all depend on the very same outside word. Any words beyond these externally attached roots still have their heads inside the fragment. Thus a floating fragment can supply a group of siblings to a head that will be supplied by another rule. From the running English tree, talk and with Sharon can form such a fragment. The two outward attachments go to held, and Sharon attaches inside the piece to with. An English phrase including a can also fit this pattern when it includes talk, the determiner’s head.
h(v) ∉ I and h(u) ∈ I for every u ∈ I ∖ {v}
This is the fixed condition written using a head function. I is the set of word positions in the chosen target interval. v is its designated outward-attaching node, and u ranges over its other nodes. A word node is identified here with its position. h maps a word node to its head. ∉ means outside the set, ∈ means inside it, and ∖ removes the designated node from the set checked for internal attachments. The braces around v indicate a set containing that node alone.
h(v) = x ∉ I for every v ∈ M, and h(u) ∈ I for every u ∈ I ∖ M
This is the floating condition. I and h have the same meanings as in the fixed condition. M is the group of nodes inside I with outward attachments, v ranges over that group, and x is their shared outside head. u ranges over the remaining nodes. The equality requires an identical outside head for every member of M. Merely having several outgoing attachments would permit pieces that depend on unrelated parts of the sentence.
The relaxation relative to Shen and colleagues is visible in the fragment with talk and with Sharon, leaving the determiner a outside. The paper identifies it as admissible under its own criterion and identifies the earlier criterion as excluding it. The authors’ conditions check where the included words attach. That check can admit an included head whose dependents extend beyond the fragment. A fragment containing held and a without talk fails for a different reason. The determiner’s head is missing and supplies an outward attachment that cannot be accommodated by the fragment’s interface. String-to-Dependency Translation
How a source node becomes a rule boundary
The extractor begins with the words under a forest node. It collects their aligned English words and checks whether those words can act as the English equivalent of the source node. The set of source leaves under a node is called its yield. The corresponding aligned English set is its target span in the paper’s extraction notation. A span in this sense can initially have gaps. Contiguity is a separate test.
span(vᶠ) = {eᵢ ∈ e₁:ₙ : ∃ cⱼ ∈ yield(vᶠ), (cⱼ, eᵢ) ∈ a}
span(vᶠ) collects English words eᵢ from the target sentence e₁:ₙ, where n is the target length and i is an English word index. cⱼ is the Chinese word at position j. yield(vᶠ) gives the source leaves of forest node vᶠ, and a is the word alignment, a set of source–target word links. The parentheses group each linked pair. The existential sign ∃ says that at least one source leaf must link to the target word. The colon separates the candidates from the condition for inclusion.
The paper calls the corresponding dependency structure dep(vᶠ). A structure is faithful to its source node when it passes three checks. First, the aligned target words must form a continuous substring. Second, every alignment link into those target words must come from within the source node’s yield. This prevents a prospective rule boundary from dividing up the source material that accounts for an English word inside it. Third, the selected English structure must satisfy the fixed or floating condition. The three checks concern different information: English word positions, bilingual alignment, and English head relations.
∀ eᵢ ∈ span(vᶠ), (cⱼ, eᵢ) ∈ a ⇒ cⱼ ∈ yield(vᶠ)
∀ means that the condition applies to every English word eᵢ in the proposed span. For each link from any Chinese word cⱼ to that English word, ⇒ requires the Chinese word to belong to the node’s yield. a, span, yield, and vᶠ retain their meanings from the preceding formula. The condition differs from the span calculation because it checks all links to a target word after that word has entered the set.
The running example shows why the checks are kept separate. The Chinese noun phrase grouping Bush with Sharon aligns to the English material Bush and with Sharon. The English words intervening between those pieces belong to the verbal part of the sentence. The source node therefore fails the continuity check, even though its aligned English material is interpretable. The Chinese verb node gives another kind of failure. Its aligned English words include held and a, which are adjacent in the example, but the determiner’s attachment to talk prevents their use as a faithful fragment. The node for the prepositional phrase corresponding to with Sharon supplies a usable English piece with an internal head relation.
The collection of nodes that pass is the frontier set. These are allowed cut points for extraction. If a smaller Chinese node and its English counterpart make a faithful pair, a larger rule can leave that pair as a variable. If a candidate cut fails, extraction can continue further down through that source node so that the larger rule accounts for the material. This is how the method can learn a larger structural reordering in cases where a plausible-looking source constituent has no eligible English equivalent by itself.
How fragments become rules
A rule has a Chinese tree fragment on its left and an English dependency fragment on its right. The Chinese fragment can contain source words at its frontier, and its internal nodes bear categories such as noun phrase or verb phrase. Open positions are represented by variables. The right-hand side can contain English words and the same variables, arranged in dependency structure. Each variable occurs once on each side, so the matched Chinese piece has a designated position on the English side. The rule also records the source category required at each open position.
r = ⟨lhs(r), rhs(r), φ(r)⟩
r is the rule, lhs(r) is its Chinese fragment, and rhs(r) is its English fragment. φ(r) maps each variable in the rule to its required source nonterminal, a syntactic category that can dominate further structure. The angle brackets gather these fields into a tuple. The paper uses X for the variable inventory and indexed x symbols for individual variables.
Consider the composed rule for yǔ. The source pattern has a clause with a noun phrase containing yǔ and two open noun positions, followed by an open verbal position. The English pattern attaches the first noun translation on the left of the verbal head. It attaches with on the right, with the second noun translation under with. The rule therefore captures a change in function as well as a change in placement. A source word recognized as a conjunction can produce an English preposition in the appropriate structure.
IP(NP(x₁ CC(yǔ) x₂) x₃) → (x₁) x₃ (with (x₂))
IP is the clause category used in the example, NP is its noun phrase category, and CC is the conjunction category. yǔ and with are literal words. x₁ and x₂ stand for source constituents of category NPB, the noun phrase category required at those positions. x₃ requires VPB, the example’s verbal category. The arrow separates source from target. On the left, the parentheses enclose the children of source categories. On the right, they mark the dependents of the item heading each group, and x₃ occupies the head position for the whole fragment.
To extract minimal rules, the algorithm treats each frontier node in turn as a candidate root. It begins with a fragment still to be expanded at that node. Whenever a node needs expansion, each incoming hyperedge offers a possible continuation. The algorithm creates a separate candidate for each edge and adds that edge’s children to the list of places requiring work, except where a child already belongs to the frontier set. An eligible descendant can serve as an open position. Because expansion follows the stored forest edges, alternatives can yield different rules even when their root is the same node.
newexps = exps ∪ (tails(hᶠ) ∖ fs)
exps is the collection of expansion sites still pending after the current site is removed. newexps adds the children made pending by choosing edge hᶠ. tails(hᶠ) gives that edge’s children, and fs is the frontier set. ∖ excludes children where the algorithm may stop, and ∪ joins the remaining children to the other pending sites. A fragment is complete when this collection becomes empty. The algorithm emits a rule from the selected edges and continues until it has processed the other candidates in its queue.
Composition starts from the resulting minimal rules. The example rule has a structural precursor that leaves the conjunction as an open position. A separate minimal rule translates yǔ as with. Inserting the lexical rule into the conjunction position of the larger one fixes that choice while leaving the noun and verb slots open. This increases the context represented by a rule. The decoder can then recognize the larger structural pattern and apply its lexical choice together with its attachment decisions. The method extends earlier forest-based extraction by adding the target dependency tests to the process of finding and composing source fragments. Forest-Based Translation Rule Extraction
How rules receive probabilities
A training sentence pair with a Chinese forest can support more than one source parse. The paper first gives a probability for a forest paired with a particular target tree. It accumulates the contributions of possible source trees and the ways to translate each of them into that English tree. A complete choice of rules that carries out a translation is called a derivation. Several derivations may yield the same English words and structure, for example when one uses a composed rule where another uses smaller rules.
P(Fᶜ, Dᵉ) = ∑_{Cᶜ ∈ Fᶜ} P(Cᶜ, Dᵉ)
= ∑_{Cᶜ ∈ Fᶜ} ∑_{o ∈ O} P(o)
= ∑_{Cᶜ ∈ Fᶜ} ∑_{o ∈ O} ∏_{r ∈ o} P(r)
P denotes probability in the paper’s factorization. Fᶜ is the source forest, Dᵉ is the target dependency tree, and Cᶜ ranges over source constituency trees represented in the forest. In each inner sum, O comprises derivations taking the selected Cᶜ to Dᵉ, and o is one such derivation. r is an applied translation rule. ∑ adds contributions over alternative trees or derivations, and ∏ multiplies the rule probabilities for a derivation. The equation describes the alternatives underlying a pair. The decoding objective below selects a best-scoring derivation.
During extraction, the authors assign a fractional count based on the probability of the source fragment. The calculation uses inside and outside probabilities. An inside probability accounts for ways to derive the words beneath a node. An outside probability accounts for the surrounding parse connecting the node to the sentence’s goal. For a particular fragment, the internal expansions are already specified by its edges. The calculation therefore uses probabilities for those edges and leaves the alternatives below its frontier and above its root to the inside and outside terms.
αβ(lhs(r)) = α(root(r)) · ∏_{hᶠ ∈ lhs(r)} P(hᶠ) · ∏_{vᶠ ∈ leaves(lhs(r))} β(vᶠ)
αβ(lhs(r)) is the source fragment weight used for the fractional contribution of that occurrence of r. α gives the outside probability of root(r), the root of the rule’s source fragment. P(hᶠ) is the probability of edge hᶠ, and the first product ranges over the edges selected within lhs(r). β(vᶠ) is the inside probability of node vᶠ. The last product ranges over leaves(lhs(r)), the frontier nodes of this fragment. The centered dots denote multiplication. This gives rule occurrences supported by less probable fragments less influence on the estimated counts.
P(r | lhs(r)) = c(r) / ∑_{r′ : lhs(r′) = lhs(r)} c(r′)
c(r) is the fractional count of rule r. The prime distinguishes a comparison rule r′ from the rule being scored. The colon in the summation index restricts the denominator to rules sharing r’s Chinese fragment. The slash means division, and the vertical bar introduces the conditioning context. This estimate asks how much of the count observed for that source fragment belongs to the full rule r.
P(r | rhs(r)) = c(r) / ∑_{r′ : rhs(r′) = rhs(r)} c(r′)
Here rhs(r) is the English fragment of r. The denominator sums fractional counts c(r′) over rules with that same target fragment. The other symbols retain their previous meanings. The comparison group now consists of rules that produce the same English structure, potentially from different Chinese fragments.
P(r | root(r)) = c(r) / ∑_{r′ : root(r′) = root(r)} c(r′)
root(r) identifies the root of the source fragment for the rule. The denominator groups rules by that root rather than by their entire source or target fragment. c again gives the fractional count, r′ indexes the comparison rules, and the probability is conditional on the root. All three groupings supply features to the decoder.
How the decoder searches and scores
At test time, rule matching starts from the Chinese constituency forest. A successful match recognizes a rule’s source pattern within the forest. It constructs a translation hyperedge whose open positions can be filled by translations from the corresponding source nodes. A forest of these applications preserves the possibility of competing derivations. The decoder can share work across combinations that depend on the same smaller piece.
A matching failure can interrupt this process. If there is no translation hyperedge at a node, a larger application that needs a translation from that node can lose its derivation. For this case the authors construct pseudo-rules from the node’s incoming parse edges. A head rule chooses one of the source expansion’s children as the head, and the fallback arranges the child variables as a dependency fragment. In the conjunction analysis of the running example, the final noun phrase is selected as the head of the expansion NP → NPB CC NPB, and the other children are placed as its dependents. This supplies a structural combination based on the parse edge. It is a different fallback from parsing the English sides of ordinary phrase pairs. Statistical Decision-Tree Parsing
The decoder traverses the translation forest from children to parents. At each node it needs to combine available translations for the children, apply the rule, and update the scores. The number of combinations makes exhaustive scoring costly. The authors use cube pruning to generate promising combinations of partial hypotheses. A partial hypothesis here is a candidate translation for part of the source, with the information needed to combine and score it higher up. Once the goal is reached, the selected derivation can be recovered by tracing its choices through the forest. The paper also describes a lazy search for further ranked derivations that starts at the root and computes additional alternatives when needed. Hierarchical Phrase-Based Translation · Forest Rescoring
o* = arg max_{Tᶜ ∈ Fᶜ, o ∈ O} [
λ₁ log P(o | Tᶜ)
+ λ₂ log Pₗₘ(e(o))
+ λ₃ log Pᴰᴸᴹw(Dᵉ(o))
+ λ₄ log Pᴰᴸᴹp(Dᵉ(o))
+ λ₅ log P(Tᶜ(o))
+ λ₆ ill(o) + λ₇ |o| + λ₈ |e(o)|
]
o* is the selected derivation. arg max identifies the derivation that maximizes the bracketed score over source trees Tᶜ in Fᶜ and their available derivations o in O. The coefficients λ are tuned feature weights, and log takes a logarithm. P(o | Tᶜ) scores the rule choices given the source tree. Pₗₘ(e(o)) scores the surface English string e(o). The two terms marked DLM score the dependency tree Dᵉ(o), with w denoting the version based on words and p the version based on part-of-speech tags. P(Tᶜ(o)) gives the source parser’s probability for the tree used by o. ill(o) counts ill-formed structures for the corresponding penalty. The vertical bars give lengths, with |o| measuring derivation length and |e(o)| measuring translation length. Addition combines the weighted features, and the signs of the learned weights determine how the corresponding values affect ranking. Part-of-speech tagging
P(o | Tᶜ) = ∏_{r ∈ o} P(r)
P(o | Tᶜ) is the translation contribution in the full score. The product multiplies P(r) for all rule applications in o, given its source tree Tᶜ. This decomposition lets a rule’s contribution enter when that rule is applied. The separate source parse feature preserves a way for the parser’s preference to influence the final selection.
P(r) = P(r | lhs(r))^(λ₉)
· P(r | rhs(r))^(λ₁₀)
· P(r | root(lhs(r)))^(λ₁₁)
· Pₗₑₓ(lhs(r) | rhs(r))^(λ₁₂)
· Pₗₑₓ(rhs(r) | lhs(r))^(λ₁₃)
P(r) is the weighted rule factor used in the derivation product. The first three factors use the fractional-count estimates, with root(lhs(r)) spelling out that the relevant root is on the rule’s source side. Pₗₑₓ denotes lexical translation probability. The two lexical terms consider opposite directions between the source and target fragments. Each caret marks exponentiation by its weight λ, and the centered dots multiply the factors. When computing lexical probabilities, the authors use only terminals, the literal words occupying parts of the rule. For rules with no terminals, the lexical probability is set to 1. Statistical Phrase-Based Translation
What the dependency scorer sees
The dependency scorer follows Shen and colleagues in using the children of a head as two sequences, one for each side. Each sequence runs from the nearest child to the farthest. This changes what counts as context. A word can appear next to another item in the scorer’s sequence because they share a head, even when the surface sequence contains material from other parts of the tree. In the example, talk and with are successive right children of held. Looking at those children uses their relationship to held directly. String-to-Dependency Translation
P(Lˡ, Lʳ | eₕ§) = P(Lˡ | eₕ§) · P(Lʳ | eₕ§)
eₕ is the English word at the head node, and § marks it as the head in the scorer’s context. Lˡ and Lʳ are the ordered sequences of left and right children, respectively. The comma on the left joins the child sequences in a joint probability. The product on the right treats the sequences separately conditional on the marked head. A word occurring as a head is thereby distinguished from the same word occurring as a child.
P(Lˡ | eₕ§) = P(eˡ₁ | eₕ§) · P(eˡ₂ | eˡ₁, eₕ§) · … · P(eˡₙ | eˡₙ₋₁, eˡₙ₋₂)
The eˡ symbols are children on the left, indexed from the nearest child through child n, where n in this equation is the length of that sequence. The first child is conditioned on the marked head. The second child is conditioned on the first child and the marked head. The ellipsis covers the continuing trigram factors, where the history consists of the preceding two children. The final displayed factor shows that history for child n. The right sequence is handled in its own order with the same construction. This is a trigram over the dependency-based sequence, distinct from the English surface scorer’s contiguous word sequence.
A score based entirely on words can run into sparse evidence. The authors also store English part-of-speech information in rules so the decoder can construct a tagged dependency tree alongside the word tree. The tag version substitutes the part-of-speech tag t(eᵢ) for a word eᵢ in the dependency scoring operation. Here t returns the word’s tag and i denotes the position of the word being replaced. The tagged version shares evidence across words with the same category. Its separate weight lets the decoder use that evidence together with the more specific word dependencies and ordinary English word order.
Experiments and results
Training, development, and test data
The task is Chinese-to-English translation. The bilingual training corpus contains 239K sentence pairs, with about 6.9M Chinese words and 8.9M English words. The authors align the corpus with GIZA++ and use grow-diag-and to refine the links. The same aligned sentence pair then supplies the two syntactic views needed by extraction. The Chinese parser of Xiong and colleagues produces a constituency forest. For training, the authors prune those forests with a threshold of 3 to keep them relatively small. Improved Statistical Alignment · Statistical Phrase-Based Translation
On the English side, the authors use Charniak’s parser to get a 1-best constituency tree for each training sentence. They convert it to dependencies with Magerman’s head rules and retain the part-of-speech information for the words. Those trees support both rule extraction and the estimation of the English dependency scores for words and tags. For the conventional surface score, they use the SRI Language Modeling Toolkit to train a 4-gram with Kneser–Ney smoothing. The source of its text is the opening third of Gigaword’s Xinhua section. English training trees and the English text for the word-sequence score thus serve distinct roles. Maximum-Entropy-Inspired Parser · Statistical Decision-Tree Parsing
At decoding time, the input is again parsed into a forest. The authors use a pruning threshold of 10 for these input forests. They tune the feature weights on the 2002 NIST MT Evaluation set using minimum error-rate training, with development BLEU as the optimization target. They report the main comparison on the 2005 NIST MT Evaluation test set. In both cases the pertinent metric is BLEU-4. The evaluation uses mteval-v11b.pl with its default case-insensitive n-gram matching. A system’s BLEU score reflects how closely sequences in its output match sequences in reference translations, with separate provision in the metric for output length. Bleu: a Method for Automatic Evaluation
The baseline and the rule inventories
The primary baseline, forest c2s, translates a Chinese constituency forest into an English string. Its c2s rules pair Chinese constituency patterns with English strings. Its s2s rules are bilingual phrase pairs, with string material on both sides. The baseline uses 31.9M c2s rules and 77.9M s2s rules extracted on the training corpus and reaches 34.17 BLEU on the 2005 NIST test set. The baseline’s use of a source forest makes it an informative comparison for a paper whose main new commitments concern target dependencies and the rules that carry them. Forest-Based Translation
The dependency extraction procedure yields 13.8M c2d rules. These pair a constituency pattern with a well-formed dependency fragment, and their count is reported as 43% of the c2s inventory. The authors can also require the English side of a bilingual string pair to satisfy the fragment conditions. This gives the s2d inventory of 9.0M rules, reported as 11.6% of the original s2s inventory. These are counts of extracted rules on the training corpus. They record how much the inventories shrink, while the test scores show what happens when the resulting rules are actually used.
The authors test what happens when they remove the dependency structure from each c2d and s2d rule and run the restricted inventories in the string-output baseline. That setting reaches 32.48 BLEU. They then restore the complete s2s inventory while keeping the constituency rules filtered by the c2d extraction. The string-output score rises to 34.03 BLEU, close to the original 34.17 on the same test. This comparison shows where the dependency filter has its larger consequence for the baseline’s coverage.
Results with dependency output
The forest c2d decoder using the restricted c2d and s2d inventories scores 33.25 BLEU. It uses the corresponding rule choices with their English structures intact and scores the dependencies during decoding. Thus the same restriction on which bilingual pieces are available yields a higher result with the dependency decoder than with the version in which the English structures are stripped. The restricted dependency system still falls below the baseline that has access to all of the ordinary bilingual phrases.
For the strongest forest c2d setting, the authors parse the target strings of the original s2s rules and supply dependency fragments for them. They call the result s2s-dep. The 77.9M rules in this inventory preserve the bilingual phrase coverage of s2s. Together with the 13.8M c2d rules, they yield 34.88 BLEU. The ordinary phrase pairs therefore remain available to the decoder, and they now carry structure for the target dependency scorer. The larger c2s inventory used by the baseline is unnecessary in this configuration.
Translation settings on the 2005 NIST Chinese-to-English test set by BLEU
The dependency system leads when it retains the full bilingual phrase inventory.
The numbers
| System or setting | BLEU |
|---|---|
| Forest c2s with c2s and s2s | 34.17 |
| Forest c2s with stripped c2d and s2d | 32.48 |
| Forest c2s with stripped c2d and full s2s | 34.03 |
| Forest c2d with c2d and s2d | 33.25 |
| Forest c2d with c2d and s2s-dep (this paper) | 34.88 |
The authors report the improvement of the strongest forest c2d system over forest c2s as +0.7 BLEU points. They give p < 0.05 for that comparison using the sign test suggested by Collins and colleagues. The test addresses the difference between the two complete systems on this evaluation. The paper’s other rows help interpret the change by varying the rules and output structures, while the stated significance result concerns the headline comparison. Clause Restructuring for Statistical Machine Translation
The older tree-to-tree comparison
The paper also discusses an earlier forest-based constituency-to-constituency system reported at 30.6 BLEU. That result came from a larger training corpus described as FBIS plus 30K, and the earlier system had comparable reported performance to Moses. The authors also mention that this setup omitted named-entity translations and cite a gain of +1 BLEU points when that component is used. It is a historical point of comparison with a different training and system setup. The comparison that supports the new system’s headline improvement is the direct test against forest c2s. Tree-to-Tree Translation with Packed Forests
What the ablations show
Phrase coverage bears most of the cost of the filter
There are two distinct effects of imposing a dependency requirement. It changes which Chinese-to-English patterns qualify for extraction, and it gives the decoder additional information when those patterns are applied. The authors separate these effects partly by taking the dependency-extracted rules, deleting the structures on their target sides, and using them in the existing forest c2s system. This keeps the string-output decoder while altering the eligibility of the rules it receives. The result shows what the filter alone can cost before the decoder gets any use from English head relations.
The comparison starts with 34.17 BLEU for the baseline on the 2005 NIST test set and 32.48 for its version with both restricted inventories. The paper reports the loss as 1.7 BLEU points. Rule totals give one reason to look more closely at the two inventories. The filter retains 43% of the constituency rules and 11.6% of the ordinary phrases, measured against the corresponding training inventories. A count on its own cannot tell which entries matter for new sentences. A large inventory may contain patterns that contribute little, while a much smaller collection can supply common expressions used throughout the test set. Restoring one of the inventories helps identify which loss the baseline is more sensitive to.
With the filtered constituency rules still in place, restoring s2s brings the string-output setting to 34.03 BLEU. That outcome suggests that the constituency restriction is relatively inexpensive in this setup when ordinary phrases are plentiful. The available phrases may cover material that some removed constituency rules would also have translated. The experiment establishes the near-baseline result of the combined inventory on this test. It leaves open how frequently those phrases compensate for the missing rules in individual sentences.
Dependency scoring helps under the same restriction
The restricted string-output setting and the restricted dependency setting draw from the same extracted c2d and s2d inventories. For forest c2s, the target dependencies are removed, which allows the baseline to use the rules as string-output rules. Forest c2d keeps the structure and incorporates its dependency scores. The 2005 NIST test scores are 32.48 and 33.25 BLEU, respectively. Because the extraction filter has selected the same available rule material, this comparison avoids attributing the difference to recovery of the discarded bilingual phrases.
The authors interpret the result as a benefit of using the dependency language model and describe the increase as less than 1 BLEU point. The comparison most directly measures the effect of using the dependency decoder with its target representations and features. That package includes word and tag dependency scores, along with the scoring and search needed to handle structured output. Its value for the experiment is that coverage is held closer to constant. Assigning a separate contribution to the word score, the tag score, or the handling of ill-formed structures would require finer comparisons.
This restricted setting also illustrates the size of the coverage problem in practical terms. A system can benefit from English dependencies and still be worse overall than a strong string-output system that can draw on the complete phrase inventory. The 33.25 BLEU result for restricted forest c2d remains below 34.17 for the full forest c2s baseline. The authors’ next experiment therefore asks how to retain ordinary phrases while making them usable by a decoder that expects dependency structure.
Parsing phrases restores access to bilingual material
The s2s-dep intervention changes where the dependency structure for an ordinary phrase comes from. Extraction of s2d requires the phrase to be a permissible piece of the English tree for the full aligned sentence. Building s2s-dep gives the English phrase its own parse. A phrase can therefore stay in the inventory even if its occurrence in the full sentence failed the strict dependency-fragment criterion. The two approaches encode different evidence. One relies on a fragment having suitable attachments in its sentence context. The other prioritizes retaining the phrase pair and giving it a structure with which the decoder can work.
Replacing s2d with s2s-dep in the dependency system increases the inventory from 9.0M restricted phrase rules to 77.9M parsed phrase rules, with the c2d inventory held at 13.8M. The resulting 34.88 BLEU is the strongest tested setting. This comparison shows the benefit of the phrase strategy as implemented, including the parsed structures that make the recovered rules available. It leaves the independent effect of how those phrases were parsed undetermined. The measured gain is for using the broader, structured phrase inventory as a whole.
The collection of comparisons explains why the strongest improvement appears in that final configuration. The string-output controls show that aggressive phrase filtering hurts coverage. The restricted-inventory comparison then shows that the dependency system can improve the score given the same source of rule material. Finally, the parsed phrases let the system use both the English dependencies and the broader bilingual inventory. The paper also gives structural examples of what its looser fragment definition admits. Those examples establish the difference in eligibility from the earlier definition. The score comparisons vary inventories and decoder configurations, leaving the BLEU contribution of that particular relaxation unmeasured.
Limitations
Limits and open questions identified by the authors
The authors explicitly identify target-side parse coverage as unfinished work. Training uses 1-best English dependency trees obtained from constituency parses. A source sentence can contribute several analyses from its forest, but the target fragment test is tied to one dependency analysis of each English training sentence. If that analysis chooses an attachment that makes a phrase ineligible, an alternative English parse cannot support the phrase during strict extraction. The authors propose using target dependency forests to increase coverage. They also propose a more direct study of rule coverage against the forest-based constituency-to-constituency approach. Tree-to-Tree Translation with Packed Forests
The paper recognizes a coverage conflict even within the chosen setup. Strict dependency fragments are useful as rule outputs, yet applying the same requirements to the ordinary phrase inventory removes much of that inventory and damages test performance. Parsing target phrases gives the system a practical way to retain them. This means the best system embodies both a tight extraction criterion for some rules and a phrase-based mechanism for supplying a broader range of English pieces. Questions about the quality of those phrase-level parses, and about which fallback rules matter most, remain outside the reported analysis.
Limits visible in the evaluation
The measured quality improvement is specific to the medium-scale Chinese-to-English setup and the 2005 NIST test set. The 2002 NIST set serves a different purpose, namely selecting feature weights. A held-out test is valuable evidence within this setting. Robustness across language pairs, corpora, or levels of parser accuracy is still open. These factors can affect the approach through both sides of extraction. A change in the Chinese analyses changes the source patterns available to match, and a change in English head assignments can change whether an aligned fragment is eligible at all.
BLEU measures reference agreement through surface sequences. The paper’s use of the term grammaticality is best understood in light of what the system represents and what the evaluation measures. The output structure exposes English attachments to the scorer, and extraction admits fragments with defined attachment behavior. The decoder also includes a penalty for ill-formed structures and mechanisms to keep derivations available when direct rule matching fails. An evaluation of the grammaticality claim in the ordinary linguistic sense would need judgments about completed sentences or a direct analysis of their grammatical errors. The test results reported here quantify BLEU, leaving the frequency and kinds of grammatical improvements open.
The speed argument likewise has a specific scope. Parsing the source before translation supplies the decoder with candidate constituents and combinations, and the decoder uses pruning to limit the combinations it explores. The paper motivates this design with the complexity contrast discussed for earlier tree-based and string-based approaches. Its main empirical comparison reports rule inventories and translation quality. End-to-end timing, the cost of source parsing, and the additional cost of maintaining target dependencies are therefore unquantified in that comparison. Rule counts show how many entries the system extracts, while actual runtime also depends on which entries match and on how expensive their hypotheses are to combine and score.
The analyses support the usefulness of the design without isolating every feature. In particular, the dependency system uses both word and part-of-speech information, and the experiment with matched inventories enables that system as a whole. Likewise, restoring phrase coverage involves replacing the restricted phrases with parsed versions of the original inventory. The individual effects of the two dependency scorers, the relaxed fixed and floating criteria, and the phrase parses would need separate evidence. The older constituency-to-constituency comparison also relies on results from a different setup. The authors’ strongest evidence for a tree-to-tree advantage is the significant head-to-head result against the forest c2s baseline they evaluate directly.
What came after
The later citing work places dependencies at several possible points in translation. Mi and Liu put constituency on the Chinese input side and dependencies on the English output side. The cited titles indicate other choices about where structure enters the process and which decision it serves. The citation relationship establishes a connection to this paper. The details available for these works support describing their stated scope, with the extent of direct algorithmic reuse left open.
Soft Dependency Constraints for Reordering in Hierarchical Phrase-Based Translation (2011) focuses on using dependency constraints to guide reordering inside a hierarchical phrase-based system. Its stated use of soft constraints points to dependencies as guidance in a reordering decision. That is a different role from the English dependency fragments in Mi and Liu’s rules, where target attachments are carried forward as pieces of the structure scored during decoding. The connection is the use of head relations to inform a translation decision that depends on how words fit together. Soft Dependency Constraints for Reordering
Augmenting String-to-Tree Translation Models with Fuzzy Use of Source-side Syntax (2011) addresses the source-syntax question from the string-to-tree direction. Its stated aim is to add source-side syntactic information to a translation approach that already builds a target tree. The title’s emphasis on fuzzy use concerns how to incorporate that source evidence. Mi and Liu instead make source constituency analyses the input to rule matching and retain several alternatives in the forest. The two approaches share an interest in making source syntax and structured target output available in the same translation process. Fuzzy Use of Source-side Syntax
Translation with Source Constituency and Dependency Trees (2013) puts the two kinds of syntactic analysis on the source side. Its scope is therefore the source information available for translation. The connection to Mi and Liu is the use of constituency and dependency as distinct representations. In the forest paper, those representations give the two sides different interfaces. The later title points to another arrangement in which phrase groupings and head relations both characterize the input. Translation with Source Constituency and Dependency Trees
Cite
Cite as Haitao Mi and Qun Liu. 2010. Constituency to Dependency Translation with Forests. Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics.
@inproceedings{mi2010constituency,
title = {{Constituency to Dependency Translation with Forests}},
author = {Haitao Mi and Qun Liu},
booktitle = {Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics},
year = {2010},
url = {https://aclanthology.org/P10-1145/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/mi-2010-constituency-dependency-translation-forests/