A General-Purpose Rule Extractor for SCFG-Based Machine Translation
Paper · 2011 · Greg Hanneman, Michelle Burroughs and Alon Lavie
Summary
A pair of translated sentences can teach a system how to translate smaller pieces of text and how to put those pieces together. The challenge is deciding which pieces to learn. A phrase may have a clear counterpart in the other language even when a parser groups its words differently. An extractor that follows just one way of matching and dividing the two sentences can lose useful examples. Hanneman, Burroughs and Lavie develop a way to recover more of those examples while preserving the constituent boundaries marked by the input parsers. Their goal is to increase the coverage of a grammar used for machine translation.
The method starts with a parse tree for each sentence and links between corresponding words. It lets a group on one side have several possible counterparts on the other. It also forms new groups out of adjacent children of the same parent, calling them virtual nodes. In the paper’s French–English example, the French noun and adjective in voitures bleues can form such a group and match blue cars. The larger French phrase, including its unaligned article, can match the same English phrase. The extractor keeps both possibilities and tries different ways of breaking the trees into reusable pieces. A rule can memorize the words of a translation or leave slots for smaller translations, as part of a synchronous context-free grammar.
On the Chinese–English FBIS training corpus, the largest extraction setting produces 2,970,403 distinct phrase pairs and 15,750,695 distinct hierarchical rules. The Stat-XFER baseline produces 1,929,641 and 767,573, respectively. The larger settings also supply substantially more phrase pairs that match the NIST MT 2003 test set. The best test result on BLEU, 26.08, and the lowest translation edit rate, 64.32, come from the shorter of the two settings that use virtual nodes, with separate frequency cutoffs for fully abstract rules and rules containing words. The highest METEOR score, 54.77, comes from Stat-XFER with that same filtering scheme. BLEU score
The experiments expose a distinction between finding a rule in training and making good use of it during translation. More phrase pairs give the decoder more ways to cover the test input. More hierarchical rules can also help, but different rules can lead to the same output, and highly reusable patterns can apply in contexts where they are a poor fit. The authors’ results support broad extraction alongside selective use of the resulting grammar. They leave open how to choose the rules that offer the most useful alternatives at translation time.
Deep dive: A General-Purpose Rule Extractor for SCFG-Based Machine Translation
How a syntax-based translation rule extractor finds more bilingual rules within parse trees, and how grammar filtering affects translation quality. · about 34 minutes to read
The problem and its context
Learning from a translated sentence
A parallel corpus pairs sentences in one language with their translations in another. For grammar extraction, each sentence pair supplies evidence at several scales. Individual words may correspond. A group of words may have a translation that is worth keeping together. A larger expression may illustrate where to put those groups when producing a sentence in the target language. A grammar needs a way to represent all of these possibilities, and an extraction procedure needs a way to decide which ones the observed pair supports.
A synchronous grammar builds structures in the two languages together. Its rules have a source part and a target part. Some specify the actual words on both sides. Others contain matching slots, so that whatever fills a slot on the source side has its translation placed in the corresponding target slot. The slots can occur in different orders on the two sides. A rule can therefore record an ordering pattern that applies to other sentences, provided that suitable rules exist to fill its slots. The extracted inventory determines which of these combinations a decoder has available.
The word alignment and the parse trees provide different evidence about where a rule might begin and end. A word alignment records which positions in the source and target sentences correspond. A constituency tree groups the words of one sentence into nested units. A node in such a tree covers its yield, the sequence of words beneath it. Alignment can indicate that two spans translate each other, while the trees can indicate that the spans are organized differently. What counts as a good translation unit under the word links can thus be wider or narrower than a unit explicitly named in one of the trees.
This matters because an extraction choice affects everything that follows. If the two spans must both match existing nodes, a useful bilingual expression can be missed when only one parser represents it as a constituent. If one correspondence is chosen for a node, another correspondence may disappear even though it agrees just as well with the word links. If a sentence pair is divided into a single set of small rules, the grammar acquires enough pieces for that analysis of the sentence, but it can miss larger patterns or alternative ways of leaving parts of the sentence open for substitution. Each decision limits what evidence reaches the decoder.
The authors take the boundaries in both trees seriously while asking how much freedom remains within them. For example, adjacent children of a noun phrase can supply a translation unit even if the parse tree gives that particular grouping no node of its own. This is a way of using more of a tree’s structure without making the parser’s exact choice of groupings the final word on what can enter the grammar. The other source of flexibility is bilingual. A grouping may have several structurally eligible counterparts, and those alternatives can support different rules.
What earlier extractors treated as fixed
The paper describes a range of approaches that differ in which evidence they use. Some require word alignments alone. The authors discuss Hiero as an example where the extractor can work with consistent spans without consulting a parse tree. Other approaches parse the source side, the target side or both. Many still use word links for each sentence pair, while the paper also notes a procedure that instead makes use of a statistical lexicon estimated over the corpus. These choices determine what the extractor knows when it decides whether a bilingual unit is eligible.
The relevant precedent from phrase-based translation is an alignment consistency check. Roughly, a span can be paired with a span on the opposite side if its links stay inside that pair. Unaligned words give the span boundaries some latitude. A phrase can sometimes be extended to include an unaligned neighbor while remaining consistent with its translation. The new extractor carries that idea into a setting where the trees restrict the available expansions. The paper draws this connection to Statistical Phrase-Based Translation.
Stat-XFER provides the closest baseline for the paper’s tree-to-tree comparison. As the authors describe its rule learner, it respects the input tree structure and selects a unique counterpart for each aligned node. It produces a single decomposition of a tree pair. The authors also discuss a Stat-XFER variant that can align a virtual node with an original node. The experiments in this paper use a basic Stat-XFER baseline restricted to original nodes, so that baseline represents a particular configuration within the line of work. Syntax-Driven Learning of Sub-Sentential Translation Equivalents and Translation Rules from Parsed Parallel Corpora
The composed version of GHKM offers a precedent for retaining multiple derivations, or ways to build a larger construction out of rules. The paper credits that work with motivating alternative decompositions for probability estimation. The authors also draw on Hiero’s way of obtaining a hierarchical rule from a larger bilingual unit by replacing smaller units inside it with slots. Their own extractor searches for similar possibilities with aligned tree nodes as the units it can replace. It limits the size of the resulting right-hand side, which lets a rule draw on material at varying depths as the shapes of the trees change.
Other syntax-aware procedures expand coverage by permitting spans that cross boundaries in the input trees. The authors put SAMT and Chiang’s source-and-target syntax approach in this group. These methods can assign syntactic information to rules over a wider set of spans. The extractor in this paper pursues coverage by keeping alternative alignments, sibling groupings and decompositions within the trees’ boundaries. The comparison concerns extraction constraints, including whether a method permits virtual nodes and alternative derivations. The methods also differ in which trees they take as input, so their output rules need not have the same form. Syntax Augmented Machine Translation via Chart Parsing · Learning to Translate with Source and Target Syntax
A central question follows from these earlier approaches. A parser’s boundaries may carry useful information about where a construction begins and ends, while insistence on exact matches to existing nodes can restrict grammar coverage. The paper asks how far it can widen coverage while retaining the boundaries, and whether the additional choices can be turned into better translation. Those are separate empirical questions. An extraction procedure can find many structurally licensed rules, and the resulting decoder still has to decide which ones to use.
The method, step by step
From aligned words to aligned subtrees
The input is a source tree, called S, a target tree, called T, and a Viterbi word alignment connecting their leaves. A leaf is a position in the sentence, and the supplied Viterbi alignment is the selected set of word links for that pair. The extraction procedure treats those links and both trees as given. When only one side has a real parse tree, the authors say that a flat surrogate tree can supply the missing input. The translation experiments use parses on both sides.
From aligned sentence trees to synchronous grammar rules
The steps in order.
The first task is to find nodes whose yields agree with the word links. Consider a source node s and a target node t. Every link from a word under s must land under t. Every link from under t must also land under s. Words with no alignment link can belong to either yield. Both directions matter. A check beginning only on the source side could accept a target span with an extra word linked to source material outside the proposed pair.
In the French–English illustration, the French noun phrase containing les voitures bleues is consistent with the English noun phrase blue cars. The noun and adjective have counterparts within the English phrase, and les has no word link. The alignment criterion consequently allows a French yield containing the article even though the English yield has no corresponding word. The phrase pair can carry evidence that the article occurs in this particular French context without contributing a word to the English side.
More than one alignment may satisfy the checks for the same node. In the example, the French noun phrase Ma mère can be aligned to the English node tagged NNP and to the English NP above it. Both English nodes yield Mother. The matching surface word and its position are the same, but the labels belong to different nodes. Keeping both alternatives lets the extractor build rules that relate the French phrase to each available English category.
The resulting node alignments describe possibilities for extraction. When building an individual rule, the extractor must choose how a given node participates. That distinction matters when a higher and a lower node in one tree have the same allowable counterpart in the other. In the illustration, the English NNS over cars can align to the French N over voitures and to the virtual D+N over les voitures. If both alignments were used in the same rule with the English NNS as the root and as the slot, the target node would be doing both jobs. The authors call this a triangle rule, and their procedure excludes it. The restriction concerns an occurrence in the input tree. Category labels can recur on genuinely separate nodes.
Adding virtual nodes within a parent
The extractor also considers intervals of adjacent children that have the same parent. If a group of such siblings can align consistently to a node on the other side, it can be represented as a new node. The same procedure can match a sibling group on one side to a sibling group on the other. A virtual node is thus a way of giving an eligible span a structural identity so it can take part in extraction just as an original node can.
In the French noun phrase, the determiner D, noun N and adjective phrase AP are siblings. The group N+AP covers voitures bleues. It can match the original English NP over blue cars. In tree terms the virtual grouping sits under the French NP and above the two children it groups. The English NP now has an alignment option that includes the French article and another that leaves the article outside. The example shows how allowing unaligned words in a yield and creating a new eligible boundary can work together.
A virtual node can match another virtual node. The paper illustrates this with the French verb and adverb avait toujours, and with had always on the English side. The French labels are V and ADV, while the English children have the labels VBD and ADVP. Both groups can match by the same consistency standard used for the original nodes. This case matters because the extractor can find a bilingual constituent even when neither parse gives exactly that span a node to begin with.
Some permissible groups overlap. Higher in the example trees, the French groups NP+VN+NP and VN+NP+PU share children. Each has a corresponding grouping on the English side. Both remain available because they can support separate ways of decomposing the sentence pair. When an eventual rule uses one grouping to cover a region, the other grouping remains a candidate for a different decomposition. The point of keeping the overlap is to preserve alternatives until rule construction decides which pieces belong together.
The same-parent requirement controls where this flexibility applies. The elements grouped together are complete children, so a new group can span across siblings without cutting one of those siblings into pieces. The procedure checks possible virtual groupings within the tree and alignment constraints, and the user of the extractor can cap how many children any grouping may take. The authors explain that a cap of two limits the search to synchronous binary groupings consistent with the word alignment. In the full experimental settings, a group may combine up to four adjacent siblings.
The authors label a virtual node by concatenating the labels of the grouped children, using + between them. In N+AP, the components preserve a record of which categories make up the virtual node. Such a label can appear in the heading of an extracted rule or on a slot within it. Because the notation records the whole sequence of category labels, new sibling combinations can add new categories to the grammar. That choice has consequences for the number of distinct labels available to the decoder.
Finding cuts through the source tree
Once node alignment is complete, extraction works upward through the source tree. The procedure visits a source node’s descendants before constructing rules rooted at that node. It caches their rules, so a higher node can build with pieces already derived below it. The authors divide the work at each source root into decomposition and combination. Decomposition identifies the pieces from which a rule can be made. Combination works out how much material each piece should contribute and in what order it appears on each side.
A decomposition for s is a selection of descendants that together cover its yield. It amounts to choosing where to stop following branches down from s. Where a span can be used as an aligned node, the minimal decomposition can leave that span as a unit. Where there is no such unit available on the branch, the selection can reach an unaligned word. The locations chosen at this stage define candidate pieces for a minimal rule. Later composition can expand some of those pieces and expose more of their internal structure.
D = {d₁, d₂, …, dₙ}
Here D is a particular decomposition of the source node s. The braces indicate a set. Each dᵢ is one selected descendant, i indexes the selected descendants, and n is the number selected. The ellipsis stands for any intervening descendants in the enumeration. The yields of the selected descendants together span the yield of s. Each selected descendant has a node alignment or is an unaligned terminal, a word at a leaf. A selected descendant has no node-aligned ancestor strictly between itself and s in the tree decomposition. This last condition describes the minimal cut. Deeper alternatives can still enter when the pieces are expanded through their cached rules.
Virtual nodes make the set of cuts richer than it would be in an ordinary tree with fixed children. In the French NP, a cut can separate the virtual D+N from AP. Another cut can leave the determiner les by itself and take the virtual N+AP. Both cuts cover the French NP. The D+N option combines the determiner with the noun before any larger rule is built. The N+AP option combines the noun with the adjective phrase and leaves the article to be added independently. These different choices change which parts can remain abstract in a higher rule.
The candidate headings for rules rooted at s come from its alignments. The paper writes the available target roots as a set.
Tₛ = {t | s is aligned to t}
Tₛ denotes the collection of target nodes aligned to the source node s. The variable t ranges over target nodes. The vertical bar means “such that,” so the set contains each t for which the alignment condition holds.
{s} × Tₛ
{s} is the set containing just the source root, and × denotes the Cartesian product, here the set of pairs formed by taking s with each element of Tₛ. Each pair gives a possible left-hand side. In a synchronous rule that left-hand side identifies the category of the source unit and the category of its target counterpart. In the worked French NP example, the original French root has just the English NP as an aligned root, so the headings of rules extracted there pair NP with NP.
A left-hand side describes the whole bilingual unit. A right-hand side describes how that unit is built. On either side of a rule, a terminal is a literal word and a nonterminal is a category that can be filled by applying another rule. An extracted phrase pair has only terminals on its right-hand side. A hierarchical rule has at least one nonterminal there. When a rule leaves corresponding nonterminals open, the source and target categories can differ. The correspondence tells the decoder that the two slots must be filled by the same bilingual substitution.
Building rules from cached pieces
A selected descendant can contribute a slot, a complete lexical translation, or a more detailed pattern containing both. Its direct alignments supply the slot options. Rules already extracted from it supply expanded right-hand sides. The function the paper calls rhs collects those possibilities. For a terminal, the extractor consults its word links in place of node alignments. An unaligned terminal such as les has no bilingual piece of its own and is restored when the surrounding right-hand side is assembled.
R = rhs(d₁) × … × rhs(dₙ)
R is the set of combinations of component pieces for one decomposition. rhs(dᵢ) denotes the available bilingual right-hand-side pieces for descendant dᵢ, including its direct alignment options. The × signs indicate that a combination chooses one piece from each participating set, and the ellipsis covers the intervening descendants. The unaligned-word case is handled separately from this product of bilingual choices. In the worked example the paper writes rhs(les) = ∅, where rhs(les) is the collection for the French article and ∅ is the empty set. Its emptiness leaves the article to the insertion step and still lets the extractor form rules from the aligned sibling piece.
The combine operation takes one such combination and brings the pieces into a complete bilingual right-hand side. Source material is placed in source order and target material in target order, following the positions supplied by the two trees. If more than one piece contributes a pair of slots, their local indices are reassigned so that each slot pair is distinct within the combined rule. The source and target occurrences of a corresponding slot keep the same index after that reassignment. The final assembly also inserts unaligned words on the side to which they belong.
The paper’s D+N and AP decomposition makes this procedure concrete. From D+N, the extractor can use a slot for D+N matched to NNS, or it can use the lexical piece les voitures matched to cars. From AP, it can use an AP slot matched to JJ, an A slot matched to JJ, or the literal pair bleues and blue. The A option comes from farther down inside the adjective phrase. Its availability illustrates how a cached descendant rule lets composition produce a right-hand side that is more detailed than the minimal decomposition would suggest.
With lexical choices for both pieces, the grammar gets les voitures bleues paired with blue cars. With a lexical choice on the noun side and a slot on the adjective side, the source puts the slot after les voitures and the target puts it before cars. If the noun piece is represented by a slot and the adjective piece by its words, the English blue comes before the NNS slot. Finally, choosing slots for both pieces produces a fully abstract pattern. The abstract alternatives can keep AP as the adjective category or expose A. These cases illustrate different ways of retaining the same order change while varying how much of the original vocabulary or internal structure a rule keeps.
combine([D+N¹] :: [NNS¹], [A¹] :: [JJ¹]) = [D+N¹ A²] :: [JJ² NNS¹]
combine assembles the two bilingual pieces listed in its parentheses, with the comma separating those inputs. Square brackets enclose a sequence on one side, and :: separates the source sequence from the target sequence. D+N is the virtual group of determiner and noun, NNS is the English noun tag here, A is the French adjective category, and JJ is the English adjective tag. The superscript ¹ initially identifies the linked slots within each piece. In the combined sequence the noun slots keep ¹ and the adjective slots receive ². The positions of the indices show that the adjective goes after the noun group in French and before it in English.
The alternative decomposition leaves les separate and starts the aligned part with N+AP. The cached options for that virtual node range from a reference to the whole group, paired with an English NP slot, to the fully lexical voitures bleues paired with blue cars. They also include versions with individual noun and adjective slots, or with one lexical piece and one slot. In every case involving this cut, the French article is restored outside the N+AP contribution. Thus a rule can keep the article as a literal word while leaving the whole noun-and-adjective grouping to a later substitution.
combine([N+AP¹] :: [NP¹]) = [les N+AP¹] :: [NP¹]
combine here takes one aligned piece for the chosen decomposition. N+AP denotes the virtual group of noun and adjective phrase, and NP denotes its English noun phrase counterpart. The superscript ¹ links their slots across the separator ::. Square brackets enclose each side’s sequence. The literal les is the unaligned French article inserted before the source slot. The target sequence consists of the NP slot.
Adding the paired root categories turns each assembled right-hand side into a rule. The paper gives an instance in which the French noun material is fixed while the adjective remains open.
NP :: NP → [les voitures A¹] :: [JJ¹ cars]
NP :: NP is the pair of root categories, in source-to-target order. The arrow introduces the expansion of that paired root. The bracketed sequences are its source and target right-hand sides, separated by ::. les voitures and cars are literal words from the sentence pair. A and JJ designate the source and target adjective slots, and ¹ links them. The resulting rule retains the French article, uses the observed noun translation, and specifies where an adjective translation goes on each side.
This distinction between cuts and composition explains why the procedure can produce rules beyond the minimal pieces needed to reconstruct an observed tree pair. A cut supplies possible boundaries. The choices from cache determine which boundaries stay visible as slots and which are expanded into their internal material. Different cuts can also expose different groupings. Together, these operations make the same sentence pair evidence for lexical translations, partially lexicalized patterns and patterns without words on their right-hand sides.
Bounding the search and preparing the grammar
The choice of several expansion options at each piece can make the search grow quickly as trees get larger. The paper expresses the potential growth in terms of the branching and depth of the parse.
O(2^(b^h))
O is big-O notation for growth on the stated scale. b denotes the branching factor of the tree, h its depth, and ^ denotes exponentiation. The expression puts b raised to h in the exponent of 2. It describes the potential growth of the number of extracted rules as combinations proliferate. It is a growth expression for rule count, separate from the measurements of grammar size in the experiments.
The extractor can stop building a right-hand side when it would exceed a configured size. The paper uses maxₚ for the maximum number of right-hand-side items in a phrase pair and max𝓰 for the corresponding limit on a hierarchical rule. A hierarchical rule can fit substantial sentence material into a bounded right-hand side if a slot stands for a large constituent. The limit therefore controls the resulting rule’s form even when the parser places useful structure deep in a tree. The extractor can also exclude parallel unary rules, whose entire expansion consists of a pair of linked nonterminals. The experiments vary these choices along with permission to use virtual nodes.
For translation, the authors also make corrections to the parsed input and prune labels in the extracted output. Before extraction they standardize the labels assigned to English terminals consisting entirely of numerals and to selected punctuation in Chinese and English. They had observed parsing errors for these categories. After extraction, they group rules by right-hand side and rank the corresponding left-hand-side labels by frequency. To reduce competition between labels for a given expansion, they discard the 10 percent of labels that occur least often.
Rule scores use counts from the extracted grammar. The feature set includes conditional maximum-likelihood scores in both translation directions at the word and phrase levels. In frequency terms, these scores express how strongly the observed counts favor one side given the other. Other scores condition the left-hand-side label on the whole right-hand side or on part of it. The authors include binary features marking frequency ≤ 3, where ≤ means “less than or equal to,” and five additional binary features for properties of the right-hand-side form, including whether it contains only slots. They omit features designed for non-syntactic rules because the grammar used here is built from syntactically licensed rules.
At translation time, the decoder applies the scored rules to the source string while evaluating the sequence of words they produce in the target language. A synchronous parse combines both tasks. It describes a way of covering the source under the grammar and yields target text through the paired rule expansions. Several parses can produce the same text. That fact makes grammar selection consequential even after extraction and scoring are complete. The authors perform this stage with Joshua.
Experiments and results
Training data and extraction settings
The extraction experiments use the FBIS corpus of roughly 302,000 Chinese–English sentence pairs. The Chinese and English sides are parsed with the corresponding grammars from the Berkeley parser. The authors use GIZA++ for word alignment. These steps create the two input trees and the word links the extractor requires for each training example. The French–English examples explain the mechanics, while the reported extraction counts and translation evaluations come from the Chinese–English setup. Improved Inference for Unlexicalized Parsing · A Systematic Comparison of Various Statistical Alignment Models
The baseline, xfer-orig, uses the basic Stat-XFER extraction procedure and permits original nodes only. It produces a minimal hierarchical rule for an aligned node and can also produce a phrase pair when the yields fit the phrase limit. The new extractor’s compatible setting also uses original nodes only, but permits the alternative alignments and decompositions of the new procedure. Both full settings allow virtual nodes formed from up to four adjacent siblings. The settings are summarized below. The caps apply to right-hand sides, and a parallel unary rule is an expansion containing just a linked pair of slots.
| Extraction setting | Phrase cap | Hierarchical cap | Virtual nodes | Parallel unary rules |
|---|---|---|---|---|
xfer-orig | 10 | ∞ | No | Yes |
compatible | 10 | 5 | No | Yes |
full-short | 5 | 5 | Yes | No |
full-long | 7 | 7 | Yes | No |
Here ∞ denotes the absence of a hierarchical size cap in the baseline. The settings test progressively broader extraction procedures, but several constraints change across the comparisons. The full settings, for instance, introduce virtual nodes and simultaneously exclude parallel unary rules. The comparison between the two full settings keeps those decisions fixed while changing both size caps.
Rules found in FBIS
The authors count rule instances and distinct rule types. An instance is an occurrence found during extraction. A type is the rule identity counted once, regardless of how frequently it appears. This distinction matters because a new extraction procedure can find additional evidence for an existing rule as well as discover different rules. The authors report these counts separately for phrase pairs and hierarchical rules.
Distinct hierarchical rules extracted from Chinese–English FBIS
The original-node-only extension expands the hierarchy, and the full settings make the inventory larger still.
The numbers
| System or setting | distinct hierarchical rules |
|---|---|
| Stat-XFER baseline, xfer-orig | 767,573 |
| compatible | 3,590,184 |
| full-short | 8,313,690 |
| full-long (this paper) | 15,750,695 |
On FBIS, the distinct phrase-pair counts are 1,929,641 for xfer-orig, 2,016,227 for compatible, 2,877,650 for full-short and 2,970,403 for full-long. Phrase-pair instances number 6,646,791 for the baseline, 8,709,589 for compatible, 10,190,487 for full-short and 10,288,731 for full-long. Thus the setting limited to original nodes expands the observations of phrase pairs, while the settings with virtual nodes also generate a larger inventory of distinct phrase translations at shorter phrase caps.
The hierarchical instance counts on FBIS are 1,876,384 for xfer-orig, 6,657,590 for compatible, 14,190,066 for full-short and 22,479,863 for full-long. The paper reports that full-long yields 1.5 times as many distinct phrase pairs and 20.5 times as many distinct hierarchical rules as xfer-orig. The difference in scale fits the construction of the two kinds of rules. Candidate phrase pairs depend on eligible spans. Hierarchical rules can also vary in which smaller pieces are exposed as words or kept as slots, so the number of choices grows much more quickly.
The counts characterize an inventory before the final selection for translation. The hierarchical chart measures how broadly extraction searches the training corpus under each configuration. The translation experiment asks whether the decoder benefits when given a filtered portion of that inventory. The full-long setup ranks first on the count of distinct hierarchical rules, while the highest test scores on BLEU and TER occur with full-short under a particular filtering scheme.
Tuning, testing and hierarchical selection
The development split for tuning is NIST MT 2006. The authors use Z-MERT for minimum error-rate training, which adjusts the weights of the decoder’s features on the tuning data. The held-out evaluation is on NIST MT 2003. Each split has four reference translations. The same extraction family can therefore be evaluated under different choices of what grammar to pass to the decoder, with weights tuned for the resulting systems.
The filtering scheme treats the two rule families differently. For a given tuning or testing split, the authors include all matching phrase-pair rules. For hierarchical rules, they compare a cutoff of the 10,000 most frequent distinct rules, called 10k, with a cutoff of the 100,000 most frequent, called 100k. A third scheme ranks fully abstract hierarchical rules separately from partially lexicalized rules and retains the 5,000 most frequent abstract rules and the 100,000 most frequent partially lexicalized rules. It is called 5k+100k. A fully abstract rule has only slots on its right-hand side. A partially lexicalized hierarchical rule also contains literal words that constrain where it can apply.
On NIST MT 2003, the numbers of matching phrase pairs are 244,988 for xfer-orig, 520,995 for compatible, 766,379 for full-short with its phrase cap of 5, and 776,707 for full-long with its phrase cap of 7. These values concern the test input, whereas the earlier phrase-pair counts describe the full FBIS extraction. Since all matching phrase pairs enter the test grammar, a change in coverage at this stage carries through to what the decoder can use. The hierarchical portion is subject to frequency selection even if many additional rules were found in training.
The authors evaluate the output case-insensitively on BLEU, TER and METEOR. BLEU rewards overlap of word sequences with the reference translations. TER measures how much editing is needed to reach a reference, so a lower value is preferable. METEOR evaluates matches between a translation and references, allowing the configured matching procedures to recognize related word forms as well as exact words. The paper uses METEOR version 1.0 tuned to HTER, with exact, stemming and synonymy matching enabled. Each metric captures a different aspect of agreement with the references, and their rankings differ across the reported systems.
Chinese-to-English BLEU on NIST MT 2003 by extraction and filter
Separate frequency cutoffs give full-short the highest BLEU and also improve the Stat-XFER baseline.
The numbers
| System or setting | BLEU |
|---|---|
| xfer-orig, 10k | 24.39 |
| xfer-orig, 5k+100k | 25.95 |
| compatible, 10k | 24.28 |
| full-short, 10k | 25.16 |
| full-short, 100k | 25.51 |
| full-short, 5k+100k (this paper) | 26.08 |
| full-long, 10k | 25.74 |
| full-long, 100k | 25.53 |
| full-long, 5k+100k | 25.83 |
Under the common 10k filter, full-long records the highest BLEU of the settings compared at that quota. Compatible shows why phrase coverage and a test score should be read separately. It contributes many more matching phrase pairs than xfer-orig, and its BLEU is 24.28 against the baseline’s 24.39. Full-short and full-long reach 25.16 and 25.74 under the same filtering policy. The authors report significant BLEU and TER improvements over the 10k Stat-XFER baseline for both full configurations. They regard the corresponding METEOR scores as likely statistically equivalent.
Chinese-to-English TER on NIST MT 2003 by extraction and filter
Full-short has the lowest edit rate with separate frequency cutoffs for abstract and partially lexicalized rules.
The numbers
| System or setting | TER |
|---|---|
| xfer-orig, 10k | 68.01 |
| xfer-orig, 5k+100k | 66.27 |
| compatible, 10k | 65.30 |
| full-short, 10k | 66.25 |
| full-short, 100k | 65.56 |
| full-short, 5k+100k (this paper) | 64.32 |
| full-long, 10k | 65.52 |
| full-long, 100k | 66.24 |
| full-long, 5k+100k | 64.55 |
TER gives the original-node comparison a different ordering. At 10k, compatible reaches 65.30, the lowest TER among the configurations at that cutoff. Both full settings also improve on the baseline TER of 68.01 at 10k. Under separate filtering, both full settings reach lower TER than any of the 10k results. For full-long, the 100k run has higher TER than its 10k run, an example of performance depending on which inventory the larger frequency cutoff admits.
On METEOR, xfer-orig scores 54.35 at 10k and 54.77 at 5k+100k. Compatible scores 53.58 at 10k. With the filters in the order 10k, 100k, then 5k+100k, full-short scores 54.33, 54.15 and 54.58. In the same order, full-long scores 54.55, 53.68 and 54.35. These are all results on NIST MT 2003. The best recorded METEOR belongs to the separately filtered baseline, and the separately filtered full-short has the best recorded BLEU and TER. The results support gains under particular measures and settings, while the choice of a top configuration depends on which outcome is being evaluated.
What the ablations show
How much can change while using original nodes
The closest comparison for studying broader extraction within the supplied trees is xfer-orig against compatible. Both are restricted to original nodes, both have a phrase cap of 10, and both allow parallel unary rules. The new procedure can preserve several eligible node alignments and several ways to derive rules. The baseline chooses a single decomposition and has an unrestricted hierarchical size cap, while compatible caps the hierarchical right-hand side at 5. The authors find a much larger hierarchical inventory with compatible, even with this size restriction.
That comparison links the rule-count increase to the way the new procedure searches over existing tree structure. It also provides a check on an explanation based entirely on new categories. An increase in distinct hierarchical rules is already visible without virtual nodes. At the same time, the experiment bundles several ways of obtaining more rules. It establishes what the original-node version can produce as a whole. A separate estimate for multiple alignment alone would require keeping the other extraction choices fixed and varying just that feature.
Phrase pairs change less in the training inventory than hierarchical types do in this comparison. A phrase pair records a complete lexical translation for its two spans. A hierarchical rule records choices about which descendants are retained as slots and which are expanded. Allowing additional cuts and combinations adds many chances to change that right-hand side, even when the phrase yields and the set of node labels are drawn from the same original trees. This gives a structural explanation for why the gain in hierarchical inventory can be so much larger than the gain in distinct phrase pairs.
The test-set match counts tell a complementary story. The extra phrase translations found by compatible are well represented among the phrases matching NIST MT 2003. With the shared 10k cutoff, the resulting grammar improves TER relative to the baseline while recording lower BLEU and METEOR. The comparison shows that expanding the inventory makes different translations available. The metrics supply mixed evidence about how those alternatives affect the quality of the output.
What virtual nodes contribute
The full settings test a larger extraction space. Their grammars include virtual-to-original, original-to-virtual and virtual-to-virtual alignments in addition to original-to-original alignments. The authors examine how many rule types still consist entirely of alignments between original nodes. On FBIS, that share is 60% for full-short and 54% for full-long. Virtual groupings therefore participate in a substantial part of the observed rule inventory. Their role extends well beyond the small examples used to explain the method.
The authors also inspect the case in which both aligned nodes are virtual. In full-long, roughly 8% of the extracted rules have a virtual-to-virtual alignment as their heading. A similar share have such an alignment on the right-hand side. Those observations show that pairing two previously unnamed sibling groupings contributes to the inventory in both places where it can enter a hierarchical rule. A rule can meet both descriptions, so the percentages describe separate views of the grammar.
The comparison between compatible and either full setting gives evidence about the combined expansion. It changes permission to use virtual nodes along with rule-size limits and the treatment of parallel unary rules. The composition figures based on original and virtual nodes answer a narrower question directly. They show which alignments the extracted rules actually use. Test scores for the full configurations then evaluate those grammars as packages. They do not assign a translation gain to any particular kind of virtual alignment.
Full-short and full-long provide a comparison with much more held fixed. The procedure for grouping children is the same, and parallel unary rules are excluded in both. The phrase and hierarchical caps both move from 5 to 7. FBIS then yields many more distinct hierarchical rules and comparatively few additional distinct phrase pairs. The caps change together, so the comparison addresses the effect of relaxing the two limits in that extraction setup. At run time, the larger extract leads on BLEU among the 10k runs, while the smaller extract provides the highest BLEU and lowest TER under the separate filter. The useful size of an extraction thus depends partly on how the decoder receives it.
How often the additional rules are seen
The authors inspect the frequency of rules because a larger grammar might consist mainly of marginal observations. All the extraction settings show a long-tailed, Zipfian distribution. A small group of rule types is seen often, while many types occur only once. For xfer-orig, full-short and full-long, the paper reports that between 82% and 86% of phrase-pair types, and between 88% and 92% of hierarchical types, are singletons on FBIS. The narrow ranges relative to the changes in grammar size show that exhaustive extraction adds many singletons without greatly changing their prevalence. Zipf’s law
Compatible differs somewhat on phrase pairs, with 80% observed once. The authors suggest that this is related to having multiple alignments and decompositions while using original nodes only. That is an interpretation of the distribution. The comparison does not change just one extraction feature or separately identify the reason for the lower singleton share.
The authors also report the average count per rule type. For phrase pairs it is 3.5 in xfer-orig and remains at 3.5 in the two full settings. For hierarchical rules it is 2.4 in xfer-orig, 1.7 in full-short and 1.4 in full-long. The larger hierarchical inventories therefore come with fewer observations per type on average. A frequency cutoff can keep the most established patterns, but frequency is an indirect measure of how helpful a rule will be when it competes with other rules on new input.
The frequency analysis also helps interpret what grammar size represents. An occurrence can strengthen the count of a rule already available, while a distinct type adds another expansion to choose from. A large increase in hierarchical types can offer more ways to express the same translation as well as genuinely new translations. Instance counts and type counts distinguish the two aspects of extraction partially. To know how much of the new inventory affects actual outputs, the paper turns to decoder comparisons.
What changes when the decoder receives a different grammar
The authors use the shared 10k cutoff to examine the association between phrase-pair coverage and translation quality. Matching phrase pairs enter in full, while all runs at that cutoff have the same hierarchical quota. Both settings with virtual nodes have more matching phrase pairs and score better than the Stat-XFER baseline on BLEU and TER at the common cutoff. The paper takes that pattern as evidence that improved phrase coverage makes an important contribution. The hierarchical rules occupying the quota can differ, so the comparison holds their number fixed and leaves their content free to change.
The within-extractor comparisons isolate a different choice. Once an extraction setting is fixed, the pool of matching phrase pairs stays the same across its filtering runs. Changing the hierarchy selected from that extraction can still move the test scores appreciably. For full-short, increasing the frequency cutoff from 10k to 100k improves BLEU and TER. For full-long, the same change worsens both. These runs show how a uniform cutoff can help one inventory and admit less useful alternatives in another. The paper allows that retuning feature weights may contribute to the observed changes.
Separating abstract and partially lexicalized rules works well on BLEU and TER across several comparisons. It gives the highest BLEU and lowest TER for full-short, yields the best TER for full-long, and strengthens the baseline on each reported metric compared with its 10k run. A frequency ranking that groups the rule kinds together gives commonly observed abstract rules a route into the grammar. Because those rules contain no fixed words, they can apply in many different contexts. Reserving space for partially lexicalized rules retains patterns anchored in particular vocabulary, while controlling how many of the most general patterns compete at decoding time.
The split filter changes the selection policy and the quotas together. The experiment therefore supports using separate rankings as a promising policy in this setup, with limited evidence for why the improvement occurs. Fully abstract rules are a plausible proxy for patterns that create many competing derivations. The test results measure the effect of choosing and tuning grammars with that proxy. They do not directly count redundant derivations or show how much score is divided among them.
Limitations
Limits the authors identify
The authors treat hierarchical filtering as an unresolved problem. Extracting several ways to build a constituent broadens coverage, but a decoder may then consider multiple derivations that all yield the same target string. The authors worry that scoring can fragment the evidence for a correct output across equivalent derivations. Their filter distinguishes abstract rules from partially lexicalized ones, which approximates the issue through rule form. They propose looking more directly at derivational redundancy when choosing which rules to retain.
They also see differences in how useful the virtual groups might be. Their output includes groups such as VBD+COMMA and NN+PU, which combine an open-class category with punctuation. The alignments and tree structure can license these groups, but the authors question whether they help as much as some groupings inside flat noun phrases. They point to combinations like JJ+NNP+NN and NNP+NNP in a phrase such as former U.S. president Bill Clinton. This is an example of where they expect the content of a virtual grouping to matter. The paper proposes that distinction as a basis for future filtering and leaves its effect unmeasured.
A further limit comes from the way the virtual categories are named. The Stat-XFER baseline has 1,577 distinct nonterminal labels. The full-short and full-long extracted grammars each have around 73,000. Concatenating the sibling labels preserves information about the group’s components, but it also creates a large vocabulary of symbols. The same expansion can end up under many left-hand sides, adding alternatives for the decoder to consider. Removing the least frequent labels prunes part of this competition. The authors suggest revisiting the naming convention, allowing approximate label matching at translation time or reducing the set of labels by other means. The results do not measure these possibilities.
The authors also describe the filtering results as inconclusive. Broader hierarchical selection tends to help in some of their runs, and the split filter is a reasonable starting point. The settings show enough variation across extraction sizes and metrics to leave the choice of a generally effective filtering strategy open. In particular, the largest extraction’s strong showing under one cutoff does not carry consistently across the others.
Limits of the experimental evidence
The end-to-end evaluation covers Chinese-to-English translation, with extraction from FBIS, tuning on NIST MT 2006 and testing on NIST MT 2003. The French–English material shows how the procedure handles a specific alignment and reordering. Evidence about translation quality in another language pair, or about replacing an unavailable parse with a flat tree, would require further experiments. The reported runs also fix the parsing and alignment procedures, so they describe the method’s behavior under those inputs. The extractor’s decisions depend on those annotations. A constituent boundary or word link can constrain the set of rules even when the underlying analysis is imperfect.
Several of the interventions operate together. The original-node comparison changes the extractor and a hierarchical cap. Moving to the full settings changes virtual-node permission, size caps and unary-rule treatment. Within the full family, both size caps are raised at once. At decoding time, separate frequency cutoffs change the mix of rule types and the quotas supplied for them, and decoder weights may be retuned. These comparisons are informative about workable configurations. The individual contributions of each setting are less tightly established.
The reported improvements are in automatic, reference-based metrics. They establish better scores for particular configurations on the NIST MT 2003 test set, with the authors reporting significance for the full settings’ BLEU and TER gains over Stat-XFER at 10k. The paper gives the automatic scores and the authors’ significance interpretation, with no test procedure or uncertainty intervals accompanying that interpretation. It also gives no human assessment of translation quality. The different metric rankings are therefore part of the result, especially when identifying what counts as the strongest setting.
Finally, the large extraction and label counts indicate the scale of the selection problem, but counts tell little about computational cost on their own. The results give no measured extraction times, decoder throughput or memory use. A larger inventory could affect several parts of the pipeline differently, depending on how much is retained and how often it applies. The paper establishes that its grammar can be extracted, filtered and used in a decoder, and evaluates the resulting outputs. The practical cost of increasing coverage remains an open empirical question.
What came after
A later description of CMU’s machine-translation systems at WMT cites the rule-extraction paper. Its title identifies syntax, synthetic translation options and pseudo-references as areas of work. The citation establishes a connection with continued development of syntax-based translation at CMU, while the specific role of the extractor in those systems is unspecified. The later report therefore supplies no basis for attributing its synthetic translation options, its use of pseudo-references or any translation gains to the extraction procedure described here. The CMU Machine Translation Systems at WMT 2013
Cite
Cite as Greg Hanneman, Michelle Burroughs and Alon Lavie. 2011. A General-Purpose Rule Extractor for SCFG-Based Machine Translation. Proceedings of Fifth Workshop on Syntax, Semantics and Structure in Statistical Translation.
@inproceedings{hanneman2011general,
title = {{A General-Purpose Rule Extractor for SCFG-Based Machine Translation}},
author = {Greg Hanneman, Michelle Burroughs and Alon Lavie},
booktitle = {Proceedings of Fifth Workshop on Syntax, Semantics and Structure in Statistical Translation},
year = {2011},
url = {https://aclanthology.org/W11-1015/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/hanneman-2011-general-purpose-rule-extractor-scfg/