Syntax-Driven Learning of Sub-Sentential Translation Equivalents and Translation Rules from Parsed Parallel Corpora
Paper · 2008 · Alon Lavie, Alok Parlikar and Vamshi Ambati
Summary
A parallel corpus tells you which sentences are translations of each other. Building a system that can translate new sentences requires finer evidence. Which words belong together as a translation unit? Which parts of the translation can be reused when the words change? Lavie, Parlikar and Ambati answer these questions by combining links between words with grammatical analyses of both sentences. Their work treats the identification of reusable units as a distinct problem in machine translation.
The authors start with sentence pairs that already have word alignments and phrase-structure trees. A word alignment links corresponding words or groups of words. A phrase-structure tree shows how the words in a sentence group into constituents, such as noun phrases and verb phrases. The authors’ algorithm, Prime Factorization and Alignments, assigns numbers to the leaves of both trees and multiplies those values upward. Matching numbers let it find constituents supported by the same word links, even when the words appear in different orders or when some have no counterpart. Each accepted match gives a phrase pair with a grammatical category on each side. The same matches also mark places to cut both trees, leaving fragments that show how translated parts can be combined. The authors turn those fragments into rules for a context-free grammar whose rules build source and target structures together.
On a sample of 30 sentence pairs from a Chinese–English treebank, using verified trees and manual word links, the algorithm obtained precision of 0.8129 and recall of 0.7325 against an expert’s constituent links. Other experiments changed how the input was produced. With manual word links, phrase extraction from automatic parses achieved F-0.5 of 0.8174 against extraction from manual trees. With both automatic parses and automatic word links, the best reported combination achieved F-0.5 of 0.4996 in that phrase comparison. The two experiments use extracted phrases as the reference, whereas the small expert study evaluates constituent links directly.
The extraction pipeline also produced phrase collections with millions of entries and a Chinese-to-English grammar with nearly 100K rules. Only about 4% of the rules occurred more than once in the rule-learning data, yet discarding every rule seen only once hurt translation performance. The authors report that their complete translation system still trailed leading phrase-based systems trained on the same parallel data. The paper’s measured results tell us most about the quality and sensitivity of the extraction process, and its grammar analysis shows why frequency alone is a poor guide to which extracted rules to keep.
Deep dive: Syntax-Driven Learning of Sub-Sentential Translation Equivalents and Translation Rules from Parsed Parallel Corpora
How matching constituents in parallel parse trees yields Chinese–English phrase pairs and reusable translation rules, and how input errors affect both. · about 35 minutes to read
The problem and its context
From whole translations to reusable parts
A source sentence and its translation give a clear example of what can correspond across languages at sentence scale. A translation system has to learn which parts of that example can help with another sentence. A word alignment gives local evidence by linking individual words or groups of words across the pair. A useful reusable unit may contain several such links. To extract that unit, a system has to decide which links belong together, where the source and target spans begin and end, and how much of the surrounding construction to retain.
The authors describe phrase-based statistical translation as the predominant approach at the time. That approach needs a large inventory of paired word sequences, typically extracted from extensive parallel text with automatic word alignments. In that setting, the term phrase refers to an entry in a translation inventory, and grammatical constituency is a separate consideration. A sequence can have a useful translation even if the parse does not identify it as a noun phrase, verb phrase or other complete grammatical unit. The large phrase inventory provides pieces that can be used when assembling translations. The paper takes Statistical Phrase-Based Translation as its reference point for this use of automatically acquired phrase pairs.
The authors want a phrase inventory that also tells the translation system how an entry can fit into a grammatical construction. For this purpose, a constituent is the group of words under a node in a phrase-structure tree. Its yield is those words read in sentence order. A label on the node gives the grammatical category of the group. When an extractor records a pair of these nodes, it can retain both yields and both labels. The source and target labels can differ because the translations can express the corresponding material using different grammatical categories.
Constituent labels also make it possible to state a translation pattern that can apply to many phrase pairs. The words in one sentence pair might demonstrate a particular arrangement of a noun phrase and its modifier. The translation system can use that example to acquire the translations of the words themselves and to learn how corresponding categories are ordered. The lexical information tells the system what pieces are available. The rule tells it what can be assembled from pieces of the appropriate categories. The paper develops a shared source of evidence for both outputs, taking phrase-structure trees as its representation of syntax.
How earlier work aligned trees and learned rules
Earlier work addressed part of the problem by aligning nodes in trees. As the paper describes it, Samuelsson and Volk had human annotators establish those links. This provided a way to build reliable parallel treebanks, collections in which both sentences have grammatical analyses and corresponding nodes are linked. The authors regard the labor involved as impractical for extracting translation resources on the scale of large parallel corpora. Their own procedure automates the node-linking step given the trees and word links.
Tinsley and colleagues used statistical lexicons derived from automatic word alignment to help decide which nodes matched. A lexicon of this kind gives evidence about correspondences accumulated across the data. Lavie and colleagues instead base a constituent decision on the links established for that particular sentence pair. The authors suggest that these links may provide more reliable evidence than the intermediate lexicon. The distinction matters when a word has several translations and the alignment of an individual sentence pair indicates which one the translator used there.
Groves and colleagues also started from word alignments. Their method additionally considered the labels of candidate nodes and aspects of the trees’ structure. Lavie and colleagues ask whether word links can supply the matching evidence without a test of category compatibility or a requirement that the trees have comparable shapes. The trees still decide which spans are eligible candidates. Once those candidates exist, the matching procedure can accept a correspondence between differently labeled constituents. This division lets the authors use the analyses available for each language even when the underlying grammatical conventions differ.
The paper situates its work in a broader effort to use word order and grammatical structure in translation. One approach learned rewrite patterns that rearranged source material before a phrase-based system translated it. Xia and McCord appear in this part of the discussion because such preprocessing can bring the input order closer to the target order. Other approaches introduced hierarchical or syntactic rules during the search for a translation. The paper includes hierarchical phrase-based rules, approaches that relate a string on one side to a tree on the other, and several grammatical formalisms. One of those examples is Stochastic Inversion Transduction Grammars.
The authors also cite earlier work on syntactic transfer, where grammatical structures in one language are mapped to structures in another. Their examples include work by Yamada and Knight and by Imamura and colleagues. In the account given by the paper, many methods for learning transfer or reordering rules draw syntactic information from just one side of the corpus, usually the target. Hearne and Way offer a source-side example. They derive subtrees for reordering from the source analysis and make them available for data-oriented translation.
Of the earlier rule extraction methods, the authors identify the work of Galley and colleagues as the closest in its progression from tree fragments to synchronous rules. The distinctive decision in this paper is how it obtains the points where a rule can be separated from the material it combines. A complete constituent is identified in each tree, and the pair is checked against the word links. An accepted correspondence then designates a boundary in both trees. This gives the paper a way to use syntax on both sides while leaving the word links responsible for establishing which constituents correspond.
The method, step by step
Begin with complementary kinds of evidence
The input is a corpus of sentence pairs with a phrase-structure analysis for each sentence and word links between the sentences. The pairing of the sentences tells the extractor which source and target trees to examine together. The trees give it the available grammatical units. The word links give it evidence for comparing the yields of those units. In this pipeline, the core extraction procedure starts after the word alignments and the trees have been obtained. The experiments change how those resources were prepared so the authors can see how that affects extraction.
To see what a tree contributes, consider a verb phrase containing a main verb and other material. The words beneath the phrase’s node form its yield. A lower node may cover a smaller grammatical group, such as the main verb alone or a constituent headed by that verb. Those are different candidates even when they share some words. The algorithm can test a small group and a larger one because both are present in the parse. A span formed by choosing just some words beneath a node is outside this search. The candidates are contiguous yields of complete constituents, as defined by the available parsing procedure or verified trees.
The other input says which words correspond. A link can connect a word to a single word on the other side or to several words. A word can also have no link. An article, for example, can appear in one language even when its translation has no separate word in that position. It can remain in the surface form of an extracted phrase. What the algorithm has to check is whether the links that do exist support taking the two proposed yields together. This permits ordinary grammatical differences between the languages while still imposing conditions on the evidence for each pair.
From parsed parallel sentences to phrases and rules
The steps in order.
Decide which constituents can correspond
The paper’s test starts with a candidate constituent on each side and inspects the words under those two nodes. If a word in the source yield has a link, its counterpart must be inside the target yield. The equivalent requirement applies in the target-to-source direction. This keeps the selected spans from drawing their alignment evidence from material outside the pair. At least one link must connect the two yields. Otherwise any two spans made up entirely of unaligned words could become candidates on the basis of their shared lack of evidence.
These requirements distinguish an internal change in order from a change in the boundary. The word links inside a candidate pair can connect words in a different order across the sentences. Their order is immaterial to the test for a match. A link reaching outside the chosen spans changes the outcome. One proposed node covers material whose counterpart lies outside the other’s yield. The authors want a matched pair to be self-contained with respect to the supplied links, since the pair may later stand by itself as a phrase or occupy a slot in a rule.
A collection of matches must also respect the nesting of the trees. Once a source node is paired with a target node, links involving the source subtree have to stay within the corresponding target subtree. A source node above the matched source node can be linked only to a node that also dominates the matched target node. To dominate a node is to be above it on a path in the tree. These constraints concern containment. Two smaller constituents inside a larger matched constituent can trade positions between the languages while remaining inside the correct larger spans.
This distinction between containment and order explains why the paper can impose strong constraints and still learn reordering. The matched constituents provide the boundaries for the corresponding units. The translation rule can record that units within those boundaries occurred in a different sequence. The node matching step has no reason to treat that change in sequence as a failure of equivalence. It asks whether the constituents carry the same alignment evidence, with the nested relations needed to take them apart later.
Encode the evidence as products
Prime Factorization and Alignments, abbreviated PFA, implements the comparison by assigning values to the trees. For an ordinary word link, the aligned word leaves receive the same prime on both sides, with a distinct prime for that piece of alignment evidence. An unaligned leaf receives the value 1. The algorithm then works upward from the leaves. Every internal node is assigned the product of its immediate children’s values.
v(n) = ∏ᵢ v(cᵢ)
Here n is an internal node, v is the function that gives a node its numeric value, and cᵢ is the child of n indexed by i. The product operator ∏ᵢ means to multiply the values over all those children, and = assigns their product as the value of n. A child can itself stand for a whole constituent. Its value already incorporates the aligned words below it, so the upward calculation carries the evidence from all the descendant leaves into the result.
The arithmetic relies on unique prime factorization. Distinct products of primes can be equal only when they have the same prime factors with the same multiplicities. As a consequence, equal values across the two trees can identify yields that carry the same alignment evidence. Multiplication also gives the same result when factors are reordered. The calculation therefore ignores the surface order of the alignments while preserving which factors the yield contains. A leaf worth 1 has no effect on the product, so an unaligned word can contribute to the actual text of the phrase without contributing positive evidence to the match.
The treatment of a word aligned to several words preserves the same logic. PFA gives the words on the multiple-word side copies of the same prime. The single word on the other side receives the product of those copies. The two complete groups then contribute equally. If a candidate on the multiple-word side leaves out one of those words, its contribution is smaller, since it has lost a copy of the factor.
v(w) = ∏ᵢ v(uᵢ)
Here w is the leaf on the single-word side, uᵢ is a leaf among its linked counterparts, and i runs over those counterparts. The function v gives the leaf value and the product ∏ᵢ multiplies the values of all the uᵢ, each of which is assigned the same prime in this case. The equality specifies the value assigned to w. This convention is a way to preserve the entire word alignment in the constituent comparison. Which words a human would regard as essential to a phrase is a separate judgment.
With the values propagated through both trees, the basic cross-tree test can be written as follows.
v(Sᵢ) = v(Tⱼ) > 1
Here Sᵢ is a source-tree node indexed by i, Tⱼ is a target-tree node indexed by j, and v gives their computed values. The equality asks whether the nodes encode the same collection of factors. The greater-than sign excludes the value 1, for which the yields contain no positive alignment evidence. Equal values supply the candidates. The algorithm also resolves cases where the same evidence is available at more than one level of a tree.
Break ties in favor of the lower node
A parent with just one child inherits that child’s value. The grammatical analysis may give parent and child different labels even though the yield is identical. Equality across trees then leaves the algorithm with a choice over which level should be linked. The authors choose the lower node. In a unary production, the grammatical term for a parent expanding to a single child, that means choosing the child over the parent.
The same policy handles a different situation in which the parent adds words. If all the added words are unaligned, they still contribute only factors of 1. The parent and lower constituent can therefore have the same product even though their surface yields are different. Choosing the lower node makes the link in the region with direct support from the aligned material. It also means that a valid longer phrase can lose to a shorter candidate when the alignment offers no basis for preferring the wider boundary.
These cases explain why the arithmetic is an encoding of evidence and why the extractor still needs a policy for selecting nodes. An equal product can identify the same group of aligned words at several levels. It cannot tell which grammatical label is most useful or whether unaligned material belongs inside the reusable phrase. The authors describe the lower-node decision as conservative and consider it a source of robustness when alignments are noisy. The evaluation later shows how some similar boundary choices differ from a human annotator’s links.
The paper illustrates the calculation on a Chinese–English tree pair. It places the computed values beside the node labels and uses corresponding marks on the two trees for nodes selected as matches. The illustration makes visible two functions of the tree. Its hierarchy specifies how word-level evidence accumulates, and its labels give a grammatical identity to a matched yield once it is extracted. The values supply a way to make the link even when the internal order or the categories differ across the pair.
Build a table of labeled translations
The phrase-table branch of the pipeline uses each accepted node pair directly. It records the source yield, the target yield, and their respective constituent labels. As the procedure traverses the corpus, it accumulates counts of the extracted correspondences. The yields provide the actual text of the entry, including any unaligned words inside the chosen constituents. The labels are retained for later use in translation. They are the categories through which a phrase can participate in the grammar.
This creates a distinction between matching and subsequent use. PFA can align constituents whose labels differ because the matching is driven by the word links. During translation, those labels matter because the phrase must fit the construction on both sides. A phrase entry conveys a specific relationship between categories together with its words. A transfer rule can then specify what category an input piece needs and what category the corresponding output piece contributes.
The authors use the phrase counts to estimate relative likelihoods for the decoder. Repeated observations supply evidence for ranking candidate translations of a phrase. The count also has a straightforward limit as evidence. It describes observations that survived the word alignment, parsing and node matching decisions. A plausible translation can be absent from the table because either parse lacked the relevant node or because the links led the procedure to select a different boundary. The count is therefore a property of the extracted inventory and its input corpus.
Cut the trees at corresponding boundaries
For rule learning, the algorithm returns to the aligned trees. Suppose that a larger pair of corresponding structures contains a smaller pair of matched constituents. The inner match marks a place where the smaller source and target subtrees can be detached together. Their yields provide an instance of a local translation. At the same time, the two surrounding structures retain a pair of positions indicating where that local translation can be inserted. The smaller pair and the remaining pair provide different pieces of the original translation example.
The operation rests on an assumption about composition. If the larger pair translates together and the removed portions correspond to each other, the material left around those portions is taken to express a corresponding construction. This is what allows one training example to support a rule for future sentences. The rule can replace the particular detached subtrees with corresponding slots. A new translation can use different phrases in those slots while retaining the arrangement of the surrounding construction. The paper relates the paired fragments to the approach associated with Synchronous Tree-Adjoining Grammars.
The extractor starts at the roots and traverses the trees from the top downward. Either tree can guide the traversal. When the procedure reaches a matched node inside the region it is exploring, it detaches the subtree at that node and makes the corresponding cut on the other side. It recursively processes the detached subtrees, so they too can be split at deeper matched nodes. When it reaches a node with no match, it continues down through the structure, potentially reaching the original words. A boundary in one tree is used in tandem with its linked boundary in the other, even if the two subtrees occupy different positions in sentence order.
The result is a collection of minimal paired fragments. Here minimal means that no aligned node remains in the interior of a fragment. Such a node would have offered another decomposition point. A fragment can still contain grammatical structure between its root and the points where traversal stopped. An unaligned constituent can be part of that interior, for instance. The frontier, meaning the outer edge reached by reading through the fragment from its root, consists of cut points and original leaves. The cut points stand for subtrees that could be supplied separately. An original leaf contributes a word of the sentence.
The method can therefore learn both a recurring structural arrangement and the lexical material that travels with it. If matching identifies several corresponding children, the fragment exposes several reusable slots. If part of the construction has no safe boundary of its own, its words can remain within the paired fragment. The resulting templates can have different amounts of fixed wording. The precise balance depends on the node links and, in the next step, on whether the extractor generalizes the remaining words to categories.
Flatten the fragments into transfer rules
Stat-XFER uses the fragment roots and frontiers to create its rules. The label on the root of the source fragment becomes the source parent category. The target root supplies the target parent category. The procedure reads each frontier in its own order to form the corresponding sequence on the right-hand side of the rule. A frontier item can be a category from a matched node or a lexical item from an original leaf. The internal structure between the root and frontier falls away at this point. Flattening keeps the information that this translation system uses when it applies a rule.
The paired constituent positions carry indices. These tell the decoder where a translated unit goes even when the source order differs from the target order. The paper illustrates this with a rule that builds a noun phrase in each language.
NP::NP [DNP NP] → [NP PP] (X2::Y1) (X1::Y2)
Here NP is a noun phrase, PP is a prepositional phrase, and DNP is the category label shown for the first Chinese constituent in the rule. The initial NP::NP gives the source and target parent categories in that order, with :: separating the paired labels. The brackets enclose the frontier sequences, and → separates the source pattern from the target pattern. X marks a position in the source sequence and Y marks one in the target sequence. In (X2::Y1), the source NP in position 2 corresponds to the target NP in position 1. In (X1::Y2), the source DNP in position 1 corresponds to the target PP in position 2. The parentheses group each positional correspondence. The two units are combined in reversed order, and one correspondence changes category.
The example shows why the rule needs both sequences and the cross-links between their positions. Reading only the categories in source order gives no account of which translated unit supplies the first position on the target side. The indices preserve that information when the deeper trees have been discarded. When a place in the rule is occupied by a fixed word, it can be written directly on the appropriate side. Its contribution to the rule then comes from the specified wording rather than from a matched variable position.
The authors generalize some original leaves because their manually word-aligned material for rule learning is limited. When words have a one-to-one alignment, the extractor can replace them with their part-of-speech categories, such as a category for a noun or a verb. Other leaves retain their wording. This latter group includes unaligned words and words involved in one-to-many alignments. The procedure thus makes a distinction between a straightforward word correspondence that can support a category-level generalization and a less direct correspondence whose wording is retained. The categories come from the grammatical analysis, which includes the information used in part-of-speech tagging.
Prepare and use the translation resources
The Chinese-to-English setup uses a broader pool for phrases and a more selective one for rules. The authors extract syntactic phrases from all the available parallel data used in the experiment. For grammar extraction, they require manual word alignments and a parse on each side. Some of those parses are verified and others are automatic. The distinction reflects the authors’ preference for precise rule extraction. A word link can affect both the boundaries of a rule and the variables it learns, so the authors restrict that stage to the more trusted alignment input.
The paper says that the phrase table and grammar are scored together for use in Stat-XFER. Its reported practice is to condition these estimates on the source side and use a constant smoothing factor to reduce sensitivity to noisy counts. The paper gives an example of a scored rule and describes the basis for estimating relative phrase likelihoods. It gives the arithmetic behind node matching in greater detail than the scoring of the finished translation resources.
At translation time, a transfer engine applies the grammar to a source sentence and generates scored translations of its parts. The alternatives are stored in a lattice, a structure that keeps candidate fragments available for further selection. Several features are combined in the scores, and a beam search limits the candidates considered during parsing and transfer. A later decoding stage combines fragments into complete candidates in their lattice order. The grammar’s reordering is already expressed inside individual rules. For instance, the noun-phrase rule can construct its target phrase in the required order before that phrase is considered for combination with other fragments.
Stat-XFER can also use optional constraints on grammatical features. The extraction process in this paper acquires the paired categories, their ordered frontier sequences and the correspondences between constituent positions. Learning additional feature constraints lies outside its scope. This matters when interpreting the claim of automation. From a word-aligned and parsed corpus, the procedure builds the phrase inventory and the synchronous rules used by the framework. The grammar learning demonstrated here still depends on the quality and availability of the annotations with which it starts.
Experiments and results
A direct check against a bilingual expert
The authors first ask whether PFA can recover constituent links that a person would make. They use a Chinese–English treebank, a corpus whose sentences have phrase-structure annotation. The evaluation corpus is described as containing 3342 parallel sentences with manual word alignments. The authors sample 30 sentence pairs, and a bilingual expert from the research group aligns their tree nodes by hand. PFA receives the verified trees and manual word links for those same pairs. Its proposed node pairs are compared with the expert’s pairs. This gives the paper a human reference for constituent alignment on a small portion of the treebank.
Precision measures how many of PFA’s proposed links agree with the reference among the links PFA produced. Recall measures how much of the reference it recovers. The paper reports precision of 0.8129 and recall of 0.7325 on the 30 sentence pairs. The corresponding F-1 is 0.7705 and F-0.5 is 0.7841. Both F measures summarize precision and recall. F-1 treats them symmetrically, while F-0.5 puts more emphasis on precision, the side of the tradeoff the authors consider more important for extraction.
This comparison establishes how close the algorithm gets to an expert under favorable conditions. Manual word links give it fairly direct evidence for each sentence, and verified parses give it the intended set of candidate constituents. The scores still leave room for disagreement. The paper examines some of those cases because they reveal how both the annotation and the extraction policy can affect the result even before any automatic input is introduced.
Replace manual word links and keep the trees
The next experiment uses the entire 3342-sentence evaluation treebank. The authors run PFA with the verified trees and manual word links and use that output as the reference. For the comparison runs, the trees remain the same. The manual word links are replaced with links produced by GIZA++ in both directions. The experiment tests different procedures for combining those directional links.
The change of reference is important. The comparison on 30 pairs measured agreement with a person’s node links. Here the reference is what PFA extracts from manual word links. Holding the trees and the node alignment procedure fixed makes the experiment a check on how changing the word links affects PFA’s output. Its precision and recall are measured against the output under the more trusted input condition.
Precision by word-alignment combination on the 3342-sentence Chinese–English treebank
Union has the highest precision against the manual-word-link PFA reference, and Intersection has the lowest.
The numbers
| System or setting | Precision |
|---|---|
| Intersection | 0.6382 |
| Union | 0.8114 |
| Sym1 | 0.7142 |
| Sym2 (this paper) | 0.7135 |
| Grow-Diag-Final | 0.7777 |
| Grw-Diag-Fin-And | 0.6988 |
Recall by word-alignment combination on the 3342-sentence Chinese–English treebank
Intersection recovers the most reference node pairs, while Union recovers the fewest.
The numbers
| System or setting | Recall |
|---|---|
| Intersection | 0.5395 |
| Union | 0.2915 |
| Sym1 | 0.4534 |
| Sym2 (this paper) | 0.4631 |
| Grow-Diag-Final | 0.3462 |
| Grw-Diag-Fin-And | 0.4700 |
F-0.5 by word-alignment combination on the 3342-sentence Chinese–English treebank
Sym2 leads on the precision-weighted measure the authors used to choose their word-alignment setting.
The numbers
| System or setting | F-0.5 |
|---|---|
| Intersection | 0.6014 |
| Union | 0.5087 |
| Sym1 | 0.5992 |
| Sym2 (this paper) | 0.6045 |
| Grow-Diag-Final | 0.5493 |
| Grw-Diag-Fin-And | 0.6011 |
The ranking depends on which errors count most. The extreme settings exchange the lead when moving from precision to recall. On F-1, Intersection leads with 0.5846, and Sym2 obtains 0.5616. The authors choose Sym2 for their translation experiments based on its F-0.5 of 0.6045, which reflects their preference for precision. Union’s precision lead comes with sufficiently low recall that it fares worse on both reported F measures. The rule-learning decision to favor precision therefore still leaves a substantial role for preserving useful coverage.
Replace the trees and examine the phrases
To study parsing errors, the authors use the Stanford parser to obtain automatic trees for Chinese and English. With the manual word links kept in place, they compare phrase extraction from those automatic trees with extraction from the manual trees. The resulting precision is 0.8749, recall is 0.7227, and F-0.5 is 0.8174. The items in this comparison are extracted phrases. This differs from asking whether the algorithm selects the same pair of tree nodes as a person, since a changed tree can yield different nodes while still making some of the same phrases available.
The authors also test the condition in which the trees and word links are both automatic. They try different ways of combining the directional word alignments, with Sym2 giving the best results in the reported comparison. For phrase extraction in that condition, the paper gives precision of 0.6251, recall of 0.3566, and F-0.5 of 0.4996. The decline from the comparison with manual word links concerns both the fraction of extracted phrases found in the reference and the fraction of reference phrases recovered. The joint test represents the noisier input a large extraction run can face.
Extract resources at translation scale
The translation application uses parallel data released by the Linguistic Data Consortium for the DARPA/GALE program. For a broad phrase inventory, the authors parse both languages with the Stanford parser. From a corpus of about 1.2 million sentence pairs, the procedure builds a table of about 9.2 million entries. From another corpus of about 2.6 million sentences, many of whose entries come from a Chinese–English lexicon, it extracts 8.75 million phrases. These are output inventory sizes. The content of the training sources matters when interpreting them, since a corpus containing many lexical entries offers a different set of opportunities for extraction from a collection consisting of running sentence text.
Rules come from a 10K-sentence manually word-aligned corpus, also released for DARPA/GALE. In the resource-building account, the authors describe this corpus as including 3,343 treebank sentence pairs with verified parses for both languages. The rest of the rule-learning corpus receives automatic parses from the Stanford parser. The paper gives 3342 for the treebank experiment on node alignment and 3,343 in the account of the grammar training data. Those counts belong to their respective descriptions. The rule-learning run applies PFA to the whole 10K-sentence corpus and extracts rules from the resulting node alignments.
The pipeline yields nearly 100K rules. Only about 4% of the rules are observed more than once in the learning data. According to the authors, that repeated group includes highly general and useful mappings between Chinese and English structures. Many singleton rules, those observed just once, contain substantial fixed wording. The authors find noise among them alongside useful rules, and report that deleting all singletons hurts translation performance. They give the direction of that effect without a numerical score for the deletion experiment.
At the level of complete translation, the authors say that the system still performs below leading phrase-based systems trained on the same parallel data. The paper gives detailed numbers for agreement on nodes and phrases, as well as the scale and frequency profile of the extracted resources. The end-to-end comparison is qualitative. The evidence therefore supports a more precise account of the extractor’s behavior than of its effect on complete Chinese-to-English translations.
What the ablations show
Word links can help or hurt at a phrase boundary
The comparison of word-alignment settings holds the verified trees and PFA procedure fixed. It changes the links available to that procedure. Union admits links present in either directional alignment, whereas Intersection keeps the links common to both. In the ordinary word-alignment sense, Union is the more inclusive choice. At the level of constituent alignment, it produces the setting with the highest precision and lowest recall against the reference. Intersection produces the reverse ordering on those two metrics.
This outcome becomes easier to understand when the unit of evaluation is kept in view. The scores count node pairs recovered after the word links have passed through a consistency test. An extra word link can supply evidence for a proposed node pair, but it can also reach outside one of its two yields and make that pair inconsistent. Retaining more links can make it harder for a candidate pair to qualify. Conversely, removing a link can remove an obstacle to alignment. It can also take away the only positive evidence connecting a pair. The charts establish the net pattern in this corpus. The matching conditions explain how a change in the density of word links can produce it.
The intermediate strategies help show why the authors select Sym2. The setting they adopt is associated with the best F-0.5 on verified trees and is also the best in the reported phrase comparison with both inputs automatic. In the verified-tree experiment, the F-0.5 scores of several intermediate settings are close. The comparison supplies a reason for using Sym2 at the authors’ preferred tradeoff. The paper gives no separate translation scores for the different combination strategies, so the evidence for that choice comes from extraction.
Parsing and word alignment affect different parts of the decision
The automatic-parse experiment keeps manual word links. This lets the available constituents change while preserving the evidence used to compare their yields. A parser can change where a phrase begins or ends, attach a word to a different part of the tree, or give the extractor a different arrangement of parent and child nodes. Even with the same links, these changes can alter which contiguous units are eligible and which ties the procedure has to resolve.
The effect of automatic word links is different in kind. When the trees are held fixed, the same constituents are present. Their products can change because the leaves carry different evidence. A previously valid match can disappear, and a new one can become available. These are two ways a seemingly plausible phrase pair can be missed, and they suggest different explanations for an error. A missing constituent is a problem with the candidate set. An unexpected match between available constituents can follow from the links used to compare them.
In the phrase comparison, automatic parses with manual links preserve considerably more agreement with the reference than the condition with both inputs automatic. That comparison demonstrates how sensitive the tested pipeline can be when both forms of input are produced automatically. The paper also reports a word-link experiment using verified trees, but that experiment measures node alignment with PFA output as its reference. Treating all the results as measurements of the same endpoint would conceal the differences in what is counted. The useful controlled observations are what changes when the trees alone are replaced in phrase extraction, and what changes when the word links alone are replaced in node alignment.
Some disagreements come from how equivalence is defined
The inspection of the expert sample provides an explanation for cases where high-quality input still produces differences. The authors give an example in which a Chinese verb is word-aligned to an English auxiliary and a main verb, illustrated with have and put. PFA aligns the Chinese verb phrase with the English verb phrase that includes both linked words. In some cases the expert links the Chinese phrase to a lower English verb phrase containing the main verb. The automatic choice follows the whole word alignment. The human choice can place the boundary around the head verb.
The difference matters for both outputs. It changes the words recorded in a phrase entry, and it changes where the English tree can be cut when a paired fragment is formed. Consequently, a constituent alignment error measured against the expert is not necessarily a random failure to find the relevant words. It can be a systematic disagreement about whether a supporting word belongs inside the unit. The authors attribute many of the inspected discrepancies to one-to-many or many-to-many word links. They also identify inconsistencies or mistakes in the manual word alignments and differences involving traces and fillers in the parses. Traces and fillers represent grammatical relations where the overt material and its interpreted position differ, giving the annotator and the automatic procedure extra structure to reconcile.
The inspection is qualitative. It identifies recurring types of disagreement without assigning a numerical share of the errors to each. Its value is in connecting examples to the method’s assumptions. When PFA receives a word link, it uses it as evidence for a complete correspondence. A human may decide which grammatical material is central to the translation and place the link accordingly. Better input can address a mistaken word link. A mismatch over the right level of grammatical correspondence may persist even when both sides take the word links to be accurate.
Rule frequency is an imperfect filter
The singleton deletion experiment concerns the extracted grammar itself. A plausible filtering policy would keep rules whose repeated observation makes them easier to distinguish from accidental patterns. The authors’ inspection supports part of that rationale. Many of the recurring rules are general, and some rules observed once look noisy. Singletons also include plausible rules with fixed words that the training corpus happened to show in only one construction. Their frequency alone leaves those cases indistinguishable.
Deleting the entire singleton group hurt the translation system. The direction of the result shows that this frequency threshold removed rules that contributed to the evaluated system, even though it also removed noisy entries. The paper does not report the size of the loss, the separate contributions of different kinds of singleton, or a comparison with filters that use additional evidence. The result rules out a simple inference from the frequency profile. A grammar dominated by rules observed once can still benefit from retaining that part of its inventory.
Limitations
Limits stated by the authors
The extraction is intentionally restricted to complete constituents with contiguous yields. This excludes useful translations of partial constituents and expressions whose relevant pieces are separated in the sentence. The restriction follows from using nodes as candidates. It contributes to a close fit with the grammatical categories the decoder expects, and it leaves the procedure dependent on the way each parse brackets the words. An equivalent passage can fail to produce a phrase pair when one tree presents it as a complete constituent and the other supplies no corresponding node.
The authors explicitly place the quality of the word links and parses at the center of the method. The experiment with manual input gives an estimate under favorable conditions, and the automatic-input experiments show that the output can change substantially. The choice to use manually word-aligned data for rule learning reflects this concern. The pipeline automatically extracts a grammar from the chosen input, but its demonstrated rule-learning setup depends on a human-prepared resource. Scaling phrase extraction across millions of sentence pairs is a different achievement from demonstrating equally reliable grammar extraction with fully automatic input.
The paper also limits the form of the extracted grammar. The paired tree fragments can carry internal grammatical structure, and the Stat-XFER rules keep their root categories and ordered frontiers. Any information represented only by intermediate nodes drops out of the final rule. Optional grammatical feature constraints are available in the translation framework, but learning those constraints is beyond the extraction procedure described. The grammar therefore captures a specified set of relationships between constituent categories, variables and lexical material.
Finally, the authors report that the downstream translation system trails the leading phrase-based systems in their same-data comparison. Large inventories and useful extracted patterns can coexist with that performance gap. Whole-sentence translation also depends on how the system scores choices, searches among alternatives and combines fragments. The paper describes the extraction as a resource-building contribution and suggests the resulting phrases and rules can be used in other syntax-based approaches. Its empirical demonstration concerns Chinese–English resources and the Stat-XFER application.
Limits visible in the experimental setup
The only independent set of human constituent links described in the paper comes from a single bilingual expert working on 30 sentence pairs. The experiment measures agreement with that expert’s annotations. It provides no estimate of how another annotator might link auxiliary constructions, traces or constituents separated by unary nodes. Those are consequential choices for this algorithm because a change in level can count as a missed reference link and an extra proposed one. The reported precision and recall should be read as agreement with a particular independently constructed reference on that sample.
The larger input comparisons use a reference produced by extraction from more trusted inputs. That design is suitable for studying how well automatic preprocessing reproduces the result of a manual-input run. The reference shares PFA’s assumptions about which spans can be aligned and its preference for lower nodes. As a consequence, agreement with it cannot reveal cases where manual-input PFA and automatic-input PFA make the same mistake relative to a human judgment. The small expert comparison and the larger input comparisons answer related but distinct questions.
The noisy-input experiments also switch between node pairs and extracted phrases as units of evaluation. Changing the trees can make direct node identity difficult to preserve. Comparing phrases gives a way to observe which lexical correspondences remain available, though it cannot by itself show that the same grammatical boundaries will be available when the system decomposes the trees. The paper reports no parallel set of precision and recall figures for extracted transfer rules. Stronger agreement on phrases is evidence about the phrase inventory and about some of the inputs to rule extraction. It leaves the size of the effect on the grammar undetermined.
There is also a gap between what the method describes for word links and what it encounters in the corpus. It gives a clear construction for one-to-many links, in which the repeated prime on the multiple-word side is matched by a product on the single-word side. The error analysis discusses many-to-many cases as well. The paper does not give a separate, fully specified handling of arbitrary configurations of overlapping word links. Its qualitative analysis instead shows that complex links remain a source of disagreement. The prime representation makes the chosen alignment evidence easy to compare. The linguistic validity of that evidence still has to come from the upstream annotation and from the assumptions about equivalence.
The comparison of large phrase collections likewise has a specific scope. Their sizes show that the procedure produces resources at substantial scale. They give no direct estimate of how often an unseen sentence will have an appropriate labeled entry or how many of the entries will be preferred by the decoder. One of the extraction sources contains many entries from a lexicon, which also limits direct comparisons of phrase productivity across the corpora. For grammar learning, the finding about singleton removal supplies a useful downstream observation, but detailed translation scores would be needed to judge the contribution of the grammar, the labeled phrase table, or individual design decisions in isolation.
The method is designed to tolerate different choices of category labels and tree structure across languages, since label agreement is not a condition for a node match. The evaluations demonstrate it on Chinese–English. Another language pair can offer a different supply of suitable contiguous constituents, a different pattern of word alignment, and different levels of parsing accuracy. The reasoning behind the algorithm makes it applicable to such inputs. How well the resulting phrase table and grammar would work there remains an empirical question.
What came after
The later citing papers take up several questions raised by extracting rules from paired parse trees. Their titles identify the directions they pursue. The citation relationship establishes the connection to Lavie and colleagues’ work, while the degree to which each later method reuses PFA, the extracted grammar or the scoring procedure remains unspecified.
A direct continuation of the paper’s central design question is how to use syntax from both sides of translation. PFA uses both parses during extraction, with word links determining candidate equivalence and the tree nodes supplying boundaries and labels. The later work on learning to translate with source and target syntax addresses the broader problem signaled by that architecture. Both languages can contribute grammatical information, and the translation method must decide how to make those two descriptions work together. That is the focus of Learning to Translate with Source and Target Syntax.
Another direction concerns the grammatical form used for translation. Lavie and colleagues extract paired trees first and flatten them for their decoder. The original fragments can describe intermediate structure that the resulting rules no longer express. A later paper studies synchronous tree adjoining as the translation formalism. This places the treatment of paired tree structure at the center of the translation method and connects to the earlier paper’s comparison between its fragments and related synchronous tree grammars. The application named by the later work is Synchronous Tree Adjoining Machine Translation.
A different question is how fine the grammatical labels should be. In this paper, the labels distinguish the kinds of phrase pairs and variable positions that can participate in a rule. Keeping them creates a grammatical interface between phrase entries and the decoder. It also means that the distinctions made by the parser carry through to the extracted resources. A later citing paper investigates coarsening the label set as a way to improve syntax-augmented translation, directly taking up the choice of how many category distinctions a translation system should preserve. That is the intervention identified by Improving Syntax-Augmented Machine Translation by Coarsening the Label Set.
Tree transducers offer another way to formulate how an input tree is mapped into an output structure. In Lavie and colleagues’ method, the essential operations are to find the points of correspondence, cut at those points and convert the paired fragments into rules with linked positions. The later transducer paper approaches structural translation through a specific class of tree transformations, making the choice of formalism itself part of the question. The direction is stated in Shallow Local Multi-Bottom-up Tree Transducers in Statistical Machine Translation.
The connection among these directions is especially clear at the point where the paper turns one pair of parsed sentences into reusable resources. At that point a system needs to decide which analyses to consult, which fragments of structure to preserve, and what grammatical distinctions to carry into later applications of the rules. The later papers take up those design decisions through source and target syntax, tree-based grammar, category granularity and tree transduction. Lavie and colleagues’ contribution is to make the preceding step explicit and testable. The boundaries for those decisions can be learned from word-linked constituents, and the extraction results can be checked as the quality of the underlying evidence changes.
Cite
Cite as Alon Lavie, Alok Parlikar and Vamshi Ambati. 2008. Syntax-Driven Learning of Sub-Sentential Translation Equivalents and Translation Rules from Parsed Parallel Corpora. Proceedings of the ACL-08: HLT Second Workshop on Syntax and Structure in Statistical Translation (SSST-2).
@inproceedings{lavie2008syntax,
title = {{Syntax-Driven Learning of Sub-Sentential Translation Equivalents and Translation Rules from Parsed Parallel Corpora}},
author = {Alon Lavie, Alok Parlikar and Vamshi Ambati},
booktitle = {Proceedings of the ACL-08: HLT Second Workshop on Syntax and Structure in Statistical Translation (SSST-2)},
year = {2008},
doi = {10.3115/1626269.1626280},
url = {https://doi.org/10.3115/1626269.1626280}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/lavie-2008-syntax-driven-learning-sub-sentential/