Elamur Research

Fine-Grained Tree-to-String Translation Rule Extraction

Paper · 2010 · Xianchao Wu, Takuya Matsuzaki and Jun'ichi Tsujii

Summary

A translation rule can recognize a verb and still miss the grammatical distinction that determines how to translate it. The English word killed, for instance, can appear in an active or passive construction. If the rule records the word and a broad part-of-speech tag, evidence from both constructions contributes to the same translation probabilities. A rule that also records voice can learn a different preference for each construction. The paper asks how to extract rules with these finer distinctions from parallel sentences and whether the resulting rules improve machine translation.

The authors use head-driven phrase structure grammar, or HPSG, to analyze the English side of a Japanese–English corpus. Its analyses describe how words and phrases combine, distinguish properties such as tense and voice, and identify the arguments of predicates. Before extracting rules, the authors rewrite some of the information that points from one node to another so that it remains meaningful when a fragment is removed from its original parse. They then use word alignments to determine where to cut. Rules can come from the most probable English parse or from a packed forest, a representation that shares structure among alternative parses. A separate procedure uses predicate–argument links to find a small fragment connecting a predicate with its arguments directly.

The experiments translate English parse trees into Japanese strings and Japanese strings into English trees, whose leaves give the English output. On the JST paper abstract test set, the best system in each direction combines a phrase table with fine-grained rules extracted from forests. Its case-insensitive BLEU score is 24.75% for English-to-Japanese and 22.67% for Japanese-to-English, compared with 21.79 and 19.73 for the hierarchical phrase-based Joshua baseline. Within the authors’ own system, replacing simple part-of-speech and phrase labels with richer descriptions improves scores with both tree- and forest-based extraction.

The predicate–argument rules have a different advantage. They improve scores when added to the phrase table alone and offer a much faster alternative to general composed rules in the English-to-Japanese timing comparison. When added to a system that already has general composed tree rules, however, they produce no statistically significant gain. The strongest accuracy result comes from giving the general extractor richer English analyses. The more selective predicate-based procedure shows how much of the benefit of syntax can be recovered with a smaller inventory and a more direct search for applicable rules.

Deep dive: Fine-Grained Tree-to-String Translation Rule Extraction

Fine-grained tree-to-string translation uses richer English parse labels and predicate–argument links to learn rules for Japanese–English translation. · about 36 minutes to read

The problem and its context

What a rule can see

In the systems the authors study, a translation rule connects a fragment of an English parse to a sequence on the Japanese side. The fragment can contain words and places reserved for translations of smaller phrases. The sequence can put those phrases in a different order from the order in the English tree. A rule can also supply Japanese words that have no individually aligned English counterpart. These properties make it possible to learn a translation for a construction and use it again when some of its constituents change.

A parse fragment also determines how much English context the rule can see. Part of that context comes from structure. A large enough fragment may contain surrounding material that identifies a construction. Part comes from the descriptions attached to individual nodes, such as whether a word is a verb, whether a constituent is a noun phrase, or what voice the parser assigns to a verb. The authors are interested in distinctions that would be invisible in a small fragment carrying only conventional phrase categories and part-of-speech tags.

Their example gives the distinction a statistical consequence. Suppose the coarse fragment for killed appears 6 times with the Japanese active form koroshita and 4 times with the passive form korosareta. An estimate based on those counts assigns the active form a probability of 0.6 when translating that coarse fragment. The estimate conditions on the fragment the rule actually represents. It can therefore favor the active form even when the larger English sentence contains evidence for the passive.

Suppose the English parser supplies voice on the verb itself. Of the occurrences identified as active in the example, 5 align to koroshita and 1 to korosareta. Among the passive occurrences, 1 aligns to koroshita and 3 to korosareta. Each English fragment now has its own counts. A compact rule can favor the translation that is more common for the voice it sees. Both Japanese forms remain possible for either English label in the example. The added feature changes what the counts can distinguish, and the estimates still reflect the correspondences observed in the data.

The same example exposes a tradeoff. Adding information can make a rule more useful when it applies, while dividing the evidence available for estimating each version of it. Extending a fragment to include more of the sentence can also make it specific to fewer inputs. The research question is therefore about what sort of additional information is worth carrying and how to get it into extracted rules. Voice illustrates a property that can be carried on a single node. An argument relation, such as the link between a verb and its object, presents a different engineering problem because it can connect nodes across the fragment boundaries an extractor would otherwise choose.

How earlier systems extracted and used rules

The paper places this work within approaches that use parsing on one side of a bilingual grammar. For tree-to-string translation, the decoder begins with a parse of the source sentence. It searches for a derivation, a sequence of compatible rule applications that covers the tree and yields a string in the target language. In the reverse direction, the decoder begins with the source words and uses bilingual rules to build possible target-language trees. Reading the leaves of a resulting tree produces a candidate translation. The paper describes earlier systems with these two search procedures, including Statistical Syntax-Directed Translation with Extended Domain of Locality.

For learning the rules, an important predecessor was the GHKM algorithm, named from the surnames of its authors. Its input includes an English parse, the accompanying foreign sentence, and a word alignment that records which positions in the sentences correspond. The alignment tells the algorithm whether a node can serve as a place to divide the English tree. If a constituent’s proposed foreign phrase contains material linked to an incompatible part of the English analysis, cutting there would give the fragment a foreign counterpart it cannot own independently. GHKM uses this consistency condition to identify usable cuts.

Cutting at every eligible position yields minimal rules. A minimal rule contains the tree structure between adjacent eligible boundaries, which gives the extractor a starting inventory of aligned fragments. A larger rule can be created by joining adjacent minimal fragments. The larger rule can keep context that would otherwise be distributed across separate applications. It can also represent choices about unaligned words that are ambiguous at the level of individual minimal fragments. For instance, a word with no English alignment may belong to an enclosing construction or to one of its children. A word alignment alone gives no direct answer to that question.

The follow-up work by Galley and colleagues represented alternative derivations of an aligned training pair in a forest. This let it consider composed fragments and attachments of unaligned foreign material while estimating rules through expectation-maximization, or EM. Such estimation can distribute credit across alternative explanations of the bilingual example. That derivation forest addresses uncertainty about rule use given an analysis. A packed parse forest, which enters the next strand of earlier work, addresses uncertainty about which English analysis to use for extraction.

The paper describes Mi and Huang’s forest-based extraction as a response to mistakes in automatically selected parses and to sparse rule evidence. If training retains the highest-scoring English tree alone, an error in it affects the fragments available for that sentence. A packed forest shares common parts of alternative analyses and can compactly represent many full trees. The extractor still makes tree-to-string rules. Each candidate source fragment selects a tree from the locally available alternatives, and its boundaries still have to satisfy the alignment constraint. The forest changes the analyses from which fragments can be obtained. Forest-based Translation Rule Extraction

Where richer grammatical information had already been used

The authors also describe earlier attempts to carry more English grammar into statistical translation. A supertag is a lexical description richer than a conventional part-of-speech tag. It can specify what sorts of constituents a word combines with. The earlier studies reviewed in the paper used supertags from lexicalized tree-adjoining grammar or combinatory categorial grammar in phrase-based systems. The reported applications included Arabic-to-English translation with supertags on the target side and a factored Dutch–English system with information attached at the word level. These studies supplied precedent for representing more than a word’s broad category.

The HPSG analysis used here supplies an analogous description in the lexical entry. It also provides features for larger phrases and pointers for semantic arguments. The authors’ proposal is to put selected descriptions inside the tree fragments that constitute bilingual rules. In that setting, grammatical information can affect which fragments count as the same rule, which distinctions receive their own translation statistics, and whether a rule matches a particular English analysis during decoding.

The paper gives a further point of comparison in the Norwegian–English Logon project. As the authors describe it, Logon combines a detailed Norwegian analysis, a semantic transfer component and grammar-based English generation in a hybrid architecture. In the present work, the parser provides the English structures and their annotations, while the bilingual correspondences are learned from aligned examples. The grammar specifies distinctions that an English analysis can express. The training corpus supplies the evidence for how fragments bearing those distinctions correspond to Japanese.

The method, step by step

From a sentence pair to a reusable rule

Take the paper’s English example with John as the subject, killed as the verb and Mary as the object. The corresponding Japanese string is jyon ha mari wo koroshita. The English analysis supplies a tree whose leaves are words and whose internal nodes describe phrases. The word alignment connects corresponding English and Japanese tokens. The Japanese particles ha and wo have no aligned English token in this example. The Japanese side of a rule can still contain such material because it is drawn from a span of the foreign sentence.

A fragment keeps some material and leaves other material open. In the predicate-based example, the verb is retained, while the subject and direct object appear as variables. A variable marks a constituent whose translation is supplied by a separate rule application. The Japanese side places those variables in Japanese order and includes lexical material from the training example. Accordingly, a construction learned with particular names can be reused with other subjects and objects that fit the fragment’s requirements. How general that rule is depends on what the extractor keeps as words, features and categories, as well as where it inserts variables.

The training procedure has a common beginning and then branches. It produces word alignments for parallel sentences and analyses for the English side. Localizing those analyses prepares them for cutting. The general extractor can then use a tree or a forest, and the direct predicate–argument extractor uses a tree. A phrase table provides a separately learned source of rules. The decoder can draw from these sources while building a single translation.

Learning and applying fine-grained translation rules

The steps in order.

Learning and applying fine-grained translation rulesStep 1: Align words in parallel sentences1. Align words in parallel sentencesStep 2: Parse the English side with Enju2. Parse the English side with EnjuStep 3: Localize head features for fragment extraction3. Localize head features for fragment extractionStep 4: Find fragment boundaries using the alignment4. Find fragment boundaries using the alignmentStep 5: Extract general or predicate-based rules5. Extract general or predicate-based rulesStep 6: Estimate rule scores and tune feature weights6. Estimate rule scores and tune feature weightsStep 7: Combine rules while decoding each translation7. Combine rules while decoding each translation

What an HPSG analysis contains

The English parser is Enju. It uses HPSG, a lexicalist grammatical framework in which the descriptions associated with words carry information about how they can combine. A word or phrase is represented by a sign, a structured description that records grammatical and semantic information. When a grammatical schema combines daughter signs into a larger phrase, it also constructs the semantic description of that phrase. A tree therefore records both a hierarchy of phrase combinations and information produced by the analysis at the nodes in that hierarchy. These are the layers of syntax and grammar that the extractor can use.

In full HPSG, signs are represented as typed feature structures. A feature structure can be understood as a directed acyclic graph. Arcs have feature names, nodes have types, and the graph can represent nested or shared information. The extraction method uses a simpler representation. For each sign it retains a selected set of feature names paired with their values. A value can still refer to another sign, a provision that preserves relationships the authors need during preprocessing and predicate-based extraction.

Phrase nodes retain a category, a finer category called XCAT, and the name of the schema that built the phrase. They also contain information identifying the syntactic head and the semantic head. These head features concern the daughters of the phrase. The distinction allows the representation to record where the phrase derives its grammatical and semantic head information. A simple category label tells the extractor what class of phrase it is seeing. The enriched description can also distinguish how the phrase was assembled and which daughter contributes the head.

Lexical nodes can carry the syntactic category, a Penn Treebank-style part-of-speech tag, the base form and a lexical entry. For verbs, they can contain tense, aspect, voice and auxiliary information. The lexical entry can include a supertag that says which kinds of phrases the word expects. The example analysis for the transitive use of killed records a nominative noun phrase and an accusative noun phrase as the expected constituents of the base form. This is information about the verb’s grammatical requirements. The separate argument pointers identify where particular arguments are found in the current analysis.

Enju represents predicate–argument structure, abbreviated PAS, through features on the analysis. A lexical node generally introduces a predicate. The combination of its lexical entry and its PRED feature describes the predicate, and its ARG features point to nonterminal nodes representing the arguments. A nonterminal is a node that can stand for a larger constituent, such as an entire noun phrase. The links thus identify the phrases that fill a predicate’s slots. The representation gives the paper a way to use semantic role information for choosing fragments.

The paper’s forest illustration demonstrates why the pointers are tied to a particular analysis. In one alternative, Mary is analyzed as an argument of killed. In another, it is represented as a modifier. The surface words are shared across the alternatives, but the alternatives differ in how they attach the words and what the verb’s lexical description licenses. In the argument analysis, the pointers from killed identify the subject and object nodes. The paper also illustrates a more involved predicate–argument structure with a sentence about ignoring a fact that someone wanted to dispute. That figure shows why a method based on links in the analysis can select material beyond the words immediately adjacent to a predicate.

Where the alignment permits a cut

An English phrase can be a useful unit for extraction only if the corresponding material on the Japanese side can be treated as a span. A span is the interval delimited by the first and last Japanese positions reachable by alignment from the words below an English node. Its endpoints describe the complete interval, so it can include Japanese tokens that lack word links. The extraction condition asks whether other parts of the English tree have alignments that intrude on that interval.

The paper expresses the condition as follows.

fs = { n | span(n) ∩ comp_span(n) = ∅ }

Here fs is the frontier set and n is a node in the English tree. The braces enclose the members of the set, and the vertical bar reads “such that.” span(n) is the Japanese interval associated with n. comp_span(n) is the union of the spans of other English nodes outside the ancestry and descendants of n. In particular, it is computed from the rest of the tree structure. ∩ takes the intersection of the two sets of positions, ∅ denotes the empty set, and = indicates that the intersection must be empty for n to belong to the frontier.

The meaning of the test is easier to see from what would make it fail. If the Japanese translations of words below an English node surround Japanese material linked to a neighboring constituent, the node’s interval overlaps the outside material. A cut would force the word orders on either side to be represented as independent pieces even though they are interleaved. Such a node is excluded from the frontier. If there is no overlap, a rule can take the node as a boundary while respecting the partition licensed by the alignment. The paper computes the spans and outside spans with a bottom-up pass and a top-down pass before extracting fragments.

Minimal extraction cuts at the frontier positions and obtains a rule for each resulting fragment. The paper’s illustrated highest-scoring tree can be divided into 7 minimal fragments. Composed extraction recovers larger pieces by joining adjacent fragments. The boundaries of the resulting piece still obey the alignment test, while some nodes at which the extractor could have cut become internal. This is how a composed rule can retain both a verb and information about neighboring constituents, or account for Japanese particles in the context in which they occur.

The same principle applies when the English representation is a forest. A forest node may be reached through alternative hyperedges. A hyperedge can connect a phrase with the daughters that form it under one analysis, and another hyperedge can represent a different analysis of that shareable phrase. The forest extractor chooses a tree fragment from such alternatives. Its root and leaf hypernodes must meet the frontier requirement. The resulting rule can be used as a tree fragment in the grammar even though the training representation included competing analyses.

Making head information survive segmentation

Cutting a conventional parse decorated with category labels leaves usable labels on both pieces. Cutting the HPSG representation raises a problem if a retained feature stores a pointer to a particular node in the original analysis. The identifier comes from that sentence and may refer to structure outside the extracted fragment. A rule should be reusable with new node identifiers. The authors call the preprocessing that prepares the analysis for cutting localization.

For the syntactic and semantic head features, the authors use the fact that a phrasal node’s head pointers identify daughters. The procedure replaces the original node identifiers in HEAD and SEM HEAD with L, R or S, indicating the left daughter, the right daughter or the single daughter. These values describe relative positions. They preserve which immediate daughter is selected and express that fact in a form that a reusable tree fragment can carry. The transformation applies before extraction from a tree or a forest.

The argument pointers are handled differently because their destinations need not be immediate daughters of the predicate. The paper’s verb example has links from a lexical node to the nodes for its subject and its direct object. Cutting the analysis into minimal fragments can place those nodes in separate rules. Relative daughter labels cannot encode those links in the same way. The general syntactic route therefore leaves the predicate type and its argument pointers out of the rule representation. It retains the other selected HPSG features. A rich rule can still carry voice or a detailed lexical entry when it has no explicit link from a verb to its arguments.

On the tree branch, the authors can first extract rules that use the argument links, while those links are still available. They can then ignore the predicate–argument features and apply the general procedure for composed rules. On the forest branch, they localize the HPSG forest and use forest-based rule extraction to obtain general tree rules. The experiments thus distinguish where an existing extractor can use finer labels from where a new extraction procedure explicitly follows argument links.

Finding the smallest fragment that covers a predicate

The predicate-based procedure starts at an English lexical leaf. If it finds an argument pointer, it identifies the constituent nodes to which the predicate points and builds the smallest covering tree that contains the predicate and those arguments. The authors’ term minimum covering tree describes this fragment. Its internal structure connects the relevant nodes, and the arguments can appear on the fragment’s yield, the nodes at which the fragment ends. The procedure can preserve the link to an argument while leaving the argument’s own content to a separate rule.

In the analysis of the example sentence, the minimum covering tree starts at the clause node and reaches the lexical node for killed and the nodes for the subject and object. A general composed-rule extractor could build this same piece by joining minimal fragments. The direct procedure is given the nodes it needs to connect by the predicate–argument annotation. It can seek the desired piece without proposing every connected fragment that could have covered some of the same area of the tree.

The procedure traverses the lexical leaves of a preprocessed tree. For each leaf, it checks whether an argument feature carries a node identifier. It bypasses leaves with no such pointer. For an eligible leaf it finds the minimum covering tree, and then tests whether the root and yield nodes are members of the frontier set. The frontier requirement is an additional test, because a fragment selected by semantic relations also has to be representable by the available bilingual alignment. A useful description of what belongs together in English does not guarantee that every boundary it suggests will divide the Japanese string into usable pieces.

For an accepted fragment, the extractor forms the Japanese side by ordering the associated spans by their Japanese positions. It lexicalizes the span of a terminal, meaning that the rule keeps the words there, and assigns a variable to the span of a nonterminal. In the illustrated rule, x₀ and x₁ represent the subject and direct object. Reading the spans in Japanese order establishes where translations filling those slots will appear. The procedure uses the argument links to choose what structure to represent and the alignment to determine how that structure corresponds to the Japanese words.

The authors describe the direct search for a covering fragment as a linear-time procedure. They rely on the tree representation and precomputed frontier information in the extraction algorithm. The practical distinction is that each predicate supplies a reason to look for a particular fragment. General composition has a wider search space, because it can keep any connected context satisfying the composition constraints. The inventory of predicates is selective by design, and maximum likelihood is used to estimate its translation probabilities from the rules that were extracted. The general composed procedure, as described in the paper’s comparison, uses EM-based estimation.

Combining rules from different inventories

The translation system draws from an ordinary phrase translation table, abbreviated PTT, a set of general HPSG tree rules, called TRS in the decoder description, and a predicate–argument rule set, PRS. Depending on the experiment, the general inventory can come from a single parse or from a forest. A derivation can use rules from the inventories together. The authors expect the phrase table to give broad coverage, and the tree rules to contribute linguistically selected phrases and reorderings that can span larger parts of the sentence.

Training the inventories separately leaves a practical question about how much influence to give their scores. The decoder uses a weighted scoring function, and the authors tune feature weights on the development set with Minimum Error Rate Training, or MERT, using the Z-mert toolkit. In this setup, producing rule statistics from the parallel training corpus and choosing feature weights on the development set serve different purposes. The former supplies estimates for individual rules, and the latter calibrates the contributions of those estimates when the decoder compares complete translations.

For English-to-Japanese, the decoder’s objective for a localized English tree is the following.

d* = arg max[d ∈ D] { λ₁ log p_LM(τ(d)) + λ₂ |τ(d)| + log s(d | Eₜ) }

Here d is a candidate derivation and D is the set of possible derivations for the input. ∈ means that the candidate belongs to that set. arg max selects a derivation achieving the highest score in the braces, and d* names the chosen derivation. τ(d) is the target string produced by d, and |τ(d)| is its length. p_LM is the probability assigned to the target string by the target-language scoring component. s(d | Eₜ) scores the translation rules in the derivation given the localized English tree Eₜ. The vertical bar within s introduces the input being conditioned on. log is the logarithm, and λ₁ and λ₂ weight the target-string probability and the length term. The plus signs add the score contributions, and = defines the objective’s selected derivation.

The derivation’s translation score collects the rule contributions multiplicatively. The paper describes this product by indicating the inventories from which the rules can come. Equivalently, the product can be written over the rule applications in the derivation, with each application scored using its inventory.

s(d | Eₜ) = ∏[r ∈ d] f(r)

Here s(d | Eₜ) is the translation score for derivation d on English tree Eₜ, and ∏ multiplies the terms indexed below it. r ∈ d ranges over the rule applications making up d, and f(r) is the contribution of rule r. The rule can belong to PTT, TRS or PRS. The vertical bar conditions this score on the English input, and = expresses the factorization into individual rule scores. This is a product along one derivation. Switching inventories between applications is therefore compatible with scoring the derivation as a whole.

The individual contribution includes translation probabilities and lexical weights in each direction, together with a penalty tied to using a rule.

f(r) = p(s | t)^λ₃ · p(t | s)^λ₄ · l(s | t)^λ₅ · l(t | s)^λ₆ · e^λ₇

Here f(r) is the weighted score of rule r, s and t are its source and target parts, and p gives the conditional translation probability in the indicated direction. The vertical bar in each probability or weight separates the predicted side from the conditioning side. l gives the corresponding lexical weight, a score for the rule’s word-level correspondences. The s inside these terms denotes a side of the rule, while the function s(d | Eₜ) above denotes a derivation score. The ^ operator raises a feature value to its weight. λ₃ and λ₄ weight the translation probabilities, λ₅ and λ₆ weight the lexical terms, and λ₇ controls the derivation-length penalty through e, the base of the natural logarithm. The centered dots multiply the factors, and = defines the score. Once the derivation product is taken into logarithmic form, the repeated rule penalty contributes according to the number of applications in the derivation.

Searching from trees and searching from strings

The English-to-Japanese decoder works upward through the localized input tree. At a node, candidate derivations use rules whose tree fragments match there and take advantage of translations already built for their open constituents. The decoder keeps at most 10 of the best derivations with distinct output strings at each node. Keeping distinct outputs prevents alternative rule sequences for the same partial translation from occupying several places in that beam. The beam bounds the search in practice, while the scoring equation describes the objective the search is trying to optimize.

Predicate rules have a special lookup procedure in this direction. Before bottom-up decoding, the decoder visits the terminal nodes and retrieves the minimum covering tree for each relevant predicate. It looks up rules for that fragment in PRS and files them under the identifier of the root node of the fragment. A hash table maps each root identifier to a priority queue of available rules. When the bottom-up search arrives at that root, it can consult the queue directly. For the illustrated use of killed, the predicate is found at the lexical leaf, while the stored rule is retrieved at the clause node where its fragment begins. The earlier pass connects those two points in the search.

For Japanese-to-English, the decoder starts with a Japanese string and builds candidate English trees by bilingual chart parsing. It uses a CKY-style procedure, which organizes the search around input spans and combines analyses over smaller spans into analyses over larger ones. The paper uses beam pruning to limit retained candidates and cube pruning to focus on promising combinations of candidates. It follows the synchronous binarization approach for rewriting the rules into forms with at most two variables, allowing the decoder to build spans and score target word sequences incrementally. Synchronous Binarization for Machine Translation

The Japanese-to-English objective changes the conditioned input and adds a term for glue rules, which assemble translations of separate spans into a larger result.

d* = arg max[d ∈ D] { λ₁ log p_LM(τ(d)) + λ₂ |τ(d)| + λ₃ g(d) + log s(d | F) }

Here d* is the selected derivation, arg max chooses the derivation with the greatest score, and d ∈ D identifies candidate derivations in the set D. τ(d) is the English string yielded by d, p_LM is its target-language probability, and |τ(d)| counts the length of that string. λ₁ and λ₂ weight those terms. g(d) counts the glue rule applications in d, and λ₃ is the weight of that term in this objective. s(d | F) is the same kind of rule-based translation score, now conditioned on the Japanese input string F, as indicated by the vertical bar. log is the logarithm, the plus signs combine the contributions, and = defines the selected derivation. The weight symbols are shown as they appear in the paper’s respective scoring expressions.

The paper writes a glue rule that lets a constituent start a complete sequence.

S → Xₘ(1), Xₘ(1)

Here S is the category for the assembled result, → introduces the paired right-hand sides of the bilingual rule, and Xₘ ranges over the nonterminal categories in the binarized inventory. The subscript m identifies a category in that range. The comma separates the paired sides, and (1) marks the same constituent variable on both sides. This rule promotes a translated constituent of an allowed category to S.

The other glue rule appends a further constituent.

S → S(1) Xₘ(2), S(1) Xₘ(2)

Here the left S is again the category for the assembled result, and → and the comma introduce and separate the two synchronized sides. S(1) is the already assembled part, and Xₘ(2) is the next constituent of a permitted category, indexed by m. The parenthesized numbers (1) and (2) identify the variable correspondences across the two sides. The order is preserved by this glue rule. Construction-specific reorderings can come from the translation rules used within the constituent derivations. The paper relates these glue forms and its chart search to Hierarchical Phrase-Based Translation.

The Japanese-to-English search produces a hypergraph representing alternative derivations. The decoder extracts a ranked list with k = 500 in the experiments. Here k is the requested size of the ranked output. Because different derivations can yield the same English words, the decoder also keeps track of English strings it has already encountered when generating distinct candidates. This is a separate use of alternatives from training on a packed English parse forest. The decoding hypergraph represents possible bilingual derivations for a Japanese input sentence. The training forest represents analyses of an English sentence already present in the parallel corpus.

Experiments and results

Corpus, training and evaluation

The evaluation uses the JST Japanese–English corpus of parallel paper abstracts. The training split has 994K sentences, with 28.2M Japanese words and 24.7M English words. The development split has 2K sentences, with 57.4K Japanese words and 50.3K English words. The test split also has 2K sentences, with 57.1K Japanese words and 49.9K English words. The development portion supplies the examples for weight tuning. The test portion supplies the reported translation results in each direction.

The authors use Enju 2.3.1 to analyze English. On the training portion, it successfully parses 987,401 English sentences, a reported parse rate of 99.3%. The authors adapt the parser so that it produces a packed forest for every English sentence. This gives them material for both general forest extraction and extraction from the best tree. The parse rate describes whether the parser supplied an analysis. The translation comparisons ask what happens when particular representations of those analyses are used to learn rules.

The word alignment pipeline uses GIZA++ and the grow-diag-final-and symmetrization strategy. Bidirectional phrase tables are estimated from the resulting training material. The authors use the SRI Language Modeling Toolkit to estimate separate 5-gram probabilities for English and Japanese from the training split. These provide the target-string term for the corresponding direction of decoding. The alignment software is associated with A Systematic Comparison of Various Statistical Alignment Models.

Translation quality is measured with case-insensitive BLEU-4. The metric evaluates overlap between the output and a reference using word sequences, with a length adjustment. Ignoring case keeps capitalization differences from deciding whether an otherwise matching sequence counts as a match. The scores are reported for the complete test split, with a separate score for each direction. The metric comes from Bleu: a Method for Automatic Evaluation of Machine Translation.

The external comparison is Joshua, a hierarchical phrase-based decoder. The authors report extracting 4.5M and 5.3M Joshua rules for the English and Japanese inputs, respectively, in the combined development and test sets. They use Joshua’s default configuration with changes to the stated limits on items or rules and ranked outputs. The reported direction-specific settings for that comparison are 200 for English-to-Japanese and 500 for Japanese-to-English. Joshua is a meaningful baseline because its hierarchical rules can represent translations with variables and reordering. It provides a comparison beyond the implementation’s own phrase-table-only configuration. Demonstration of Joshua

What changes between the authors’ systems

The experiments use shorthand for the rule inventories. C₃ is the set of general composed rules extracted from the highest-scoring HPSG trees with rich node descriptions. The 3 indicates the maximum number of internal nodes in a composed fragment for this setting. F is the set of general rules obtained from packed forests with rich descriptions. The forests are pruned before extraction using the marginal-probability inside–outside procedure from prior forest-based work. Thus F allows alternative parses within a pruned structure, while C₃ composes fragments drawn from a selected tree.

The corresponding C₃ˢ and Fˢ settings use simple part-of-speech and phrase labels. The authors treat these as approximations to rule inventories from a context-free representation. They retain the distinction between extracting from a single tree and extracting from a forest, which lets the experiment compare simple and rich labels within each kind of input. The symbol PRS denotes the rules extracted using the predicate–argument procedure on the highest-scoring HPSG trees. In each combined setting, PTT denotes the phrase table used alongside the structural rules.

Inventory sizes differ considerably. The predicate-based extraction yields 0.9 million rules and 0.4 million tree types, with an extraction time of 3.5 hours. The coarse composed tree inventory has 62.1 million rules and 23.5 million tree types. With rich descriptions, the composed tree inventory has 83.9 million rules and 34.7 million tree types, and its reported extraction time is 98.6 hours. Rule counts and tree-type counts measure different things. A source fragment can participate in several rules if it has different translation counterparts.

The coarse forest inventory contains 92.5 million rules and 40.6 million tree types. The fine-grained forest inventory contains 103.7 million rules and 45.2 million tree types, with an extraction time of 121.2 hours. The paper gives no extraction time for either coarse inventory. Rich descriptions can distinguish fragments that would otherwise share a representation, and a forest can supply fragments from competing analyses. The reported totals show the size of those spaces under the paper’s extraction settings. They do not establish how often the additional rules apply to the held-out sentences.

Translation quality in each direction

The first chart compares English-to-Japanese results. The decoder starts from a localized English tree, including when it uses rules learned from forests. The best test score, 24.75%, comes from combining the phrase table with fine-grained forest rules. Joshua scores 21.79 in this direction. The authors report that the best setting improves on Joshua at p < 0.01.

English-to-Japanese BLEU-4 on the JST test set

Fine-grained forest rules with the phrase table achieve the highest score.

English-to-Japanese BLEU-4 on the JST test setJoshua: 21.79Joshua21.79PTT: 18.40PTT18.40PTT+PRS: 22.12PTT+PRS22.12PTT+C₃ˢ: 23.56PTT+C₃ˢ23.56PTT+C₃: 24.12PTT+C₃24.12PTT+C₃+PRS: 24.13PTT+C₃+PRS24.13PTT+Fˢ: 24.25PTT+Fˢ24.25PTT+F (this paper): 24.75PTT+F (this paper)24.75
The numbers
System or settingBLEU-4 %
Joshua21.79
PTT18.40
PTT+PRS22.12
PTT+C₃ˢ23.56
PTT+C₃24.12
PTT+C₃+PRS24.13
PTT+Fˢ24.25
PTT+F (this paper)24.75

The second chart compares Japanese-to-English results. Here the bilingual grammar is used to construct candidate English trees during search. The strongest inventory is again the phrase table combined with fine-grained forest rules. It achieves 22.67% on the test split, and Joshua scores 19.73. The authors also report p < 0.01 for this comparison. The consistency of the winning inventory across directions is informative because English syntax constrains different parts of the process in each one. It is an analyzed input in English-to-Japanese and part of the structure assembled by the grammar in Japanese-to-English.

Japanese-to-English BLEU-4 on the JST test set

Fine-grained forest rules lead when the system builds English trees during decoding.

Japanese-to-English BLEU-4 on the JST test setJoshua: 19.73Joshua19.73PTT: 17.21PTT17.21PTT+PRS: 19.33PTT+PRS19.33PTT+C₃ˢ: 20.59PTT+C₃ˢ20.59PTT+C₃: 21.16PTT+C₃21.16PTT+C₃+PRS: 21.20PTT+C₃+PRS21.20PTT+Fˢ: 22.05PTT+Fˢ22.05PTT+F (this paper): 22.67PTT+F (this paper)22.67
The numbers
System or settingBLEU-4 %
Joshua19.73
PTT17.21
PTT+PRS19.33
PTT+C₃ˢ20.59
PTT+C₃21.16
PTT+C₃+PRS21.20
PTT+Fˢ22.05
PTT+F (this paper)22.67

The scores also clarify what the narrow rule inventory offers. Adding PRS to the phrase table improves both directions over the corresponding phrase-table-only setting. In English-to-Japanese, that combination scores above Joshua. In Japanese-to-English, its score is below Joshua’s. The inventories that use general composition or forest extraction score higher than the predicate-only augmentation in both directions. In particular, the results make it possible to evaluate the contribution of the rich labels independently of whether PRS adds anything to a strong composed rule inventory.

Decoding cost

The paper reports decoding seconds per sentence for English-to-Japanese. The phrase table alone is fastest at 0.013 seconds per sentence, with the lowest English-to-Japanese BLEU-4 in the comparison. Adding predicate rules raises the time to 0.031 seconds per sentence. The fine-grained composed tree setting takes 2.753 seconds per sentence, and the fine-grained forest-rule setting takes 3.470. The timing results are measured for full configurations, so they capture the cost of matching rules and searching with the inventory each configuration makes available.

English-to-Japanese decoding time on the JST test set

The predicate-rule combination decodes much faster than the combinations with general tree or forest rules.

English-to-Japanese decoding time on the JST test setJoshua: 0.486Joshua0.486PTT (this paper): 0.013PTT (this paper)0.013PTT+PRS: 0.031PTT+PRS0.031PTT+C₃ˢ: 2.686PTT+C₃ˢ2.686PTT+C₃: 2.753PTT+C₃2.753PTT+C₃+PRS: 2.930PTT+C₃+PRS2.930PTT+Fˢ: 3.241PTT+Fˢ3.241PTT+F: 3.470PTT+F3.470
The numbers
System or settingseconds per sentence
Joshua0.486
PTT (this paper)0.013
PTT+PRS0.031
PTT+C₃ˢ2.686
PTT+C₃2.753
PTT+C₃+PRS2.930
PTT+Fˢ3.241
PTT+F3.470

The quality and time comparisons give different reasons to pay attention to the two extraction procedures. The fine-grained forest inventory gives the strongest score under the paper’s test conditions. The predicate-based inventory gives an improvement over phrase-table decoding with a small observed runtime cost in English-to-Japanese. Since the latter decoder can use the English parse to find candidate fragments directly, the paper connects its speed to the lookup procedure as well as to the selectivity of the inventory.

What the ablations show

What changes when the node descriptions are richer

The closest test of the paper’s main claim keeps the phrase table and the kind of syntax extraction fixed while changing how the English nodes are represented. For rules composed from the highest-scoring tree, switching from simple labels in PTT+C₃ˢ to typed feature structures in PTT+C₃ improves test BLEU-4 by 0.56 points for English-to-Japanese and 0.57 for Japanese-to-English. The authors report p < 0.05 for each improvement. This comparison directly addresses whether additional grammatical detail helps when the extractor can use the same kind of English tree and general composition procedure.

The forest comparison asks the corresponding question with alternatives available during extraction. Switching from PTT+Fˢ to PTT+F improves test BLEU-4 by 0.50 points for English-to-Japanese and 0.62 for Japanese-to-English, again with p < 0.05 in both directions. The pattern matters because the effects appear when both settings already have access to packed alternatives, just as they appear when extraction works from one tree. The advantage of richer descriptions therefore has support under both extraction setups.

This is an intervention on a feature set. The rich representation distinguishes categories, schema and head information and a range of lexical properties. The controlled comparisons support using the selected features together. The voice example explains one route from a finer distinction to a different translation preference, but the score comparisons do not allocate the gains among individual features. Furthermore, the count of distinct fragments and rules rises with the richer representation. Finer matching conditions and a changed inventory are related effects of the same representational choice.

The single-tree and forest configurations give a further observation about the training representation. In each direction, the forest-rule configuration outscores the corresponding composed tree configuration using the same kind of labels. With simple labels the comparison is PTT+Fˢ against PTT+C₃ˢ, and with rich descriptions it is PTT+F against PTT+C₃. The forest inventory comes from pruned alternatives and has more rules in the reported counts. This establishes the ordering of those configurations on the test set. It leaves open how much of the difference comes from useful alternatives, how much comes from other consequences of the extraction procedure, and which sentences benefit.

What the predicate rules add to a phrase table

The PTT-to-PTT+PRS comparison asks whether structural rules found through predicate–argument links contribute when the system starts with the phrase table. The gains are 3.72 BLEU-4 points on the English-to-Japanese test set and 2.12 on the Japanese-to-English test set. These results show that the selective set can provide translation patterns valuable to the decoder. They are especially useful for assessing the extraction algorithm because it produces a much smaller inventory than general composition.

The starting condition matters. The authors explain that the PTT-only decoder performs no reordering or distortion. It therefore lacks a common way of accommodating differences between English and Japanese constituent order. Adding PRS introduces rules that can put the translations of arguments in an order determined by the bilingual construction. It also introduces finer contextual distinctions and changes which pieces of a sentence can be translated together. A gain over the PTT-only decoder measures the combined value of those capabilities under this setup. The score difference alone does not assign a share to semantic links, grammatical features or reordering.

Joshua gives another point of comparison. Its hierarchical phrase-based grammar can already coordinate translations with variables. The PRS combination scores above it in English-to-Japanese and below it in Japanese-to-English. The plain phrase-table comparison therefore answers a narrower question than the Joshua comparison. It indicates what the structurally selected rules add to the authors’ simplest decoder. The Joshua result asks how far that addition takes the system relative to a decoder with a different way of representing hierarchical correspondences.

The decoding times support a separate observation. For English-to-Japanese, PTT+PRS is much faster than the configurations using general tree or forest rules. In this direction, the input tree is already available and the predicate links point towards the fragments the decoder should query. The authors interpret the timing as evidence for the efficiency of minimum covering tree lookup compared with generating candidate subtrees at a node. The measurements capture the whole configurations, including their different inventory sizes. They establish the practical speed of the selective combination on this task and leave the cost of lookup alone unmeasured.

What remains after general composition is available

The experiment also asks whether predicate-based rules add useful information to a stronger system using general composed rules. PTT+C₃ scores 24.12 for English-to-Japanese and 21.16 for Japanese-to-English. PTT+C₃+PRS scores 24.13 and 21.20 in the respective directions. The authors report no significant difference when PRS is appended. The separate PRS route gives the decoder access to an additional independently scored inventory, and that addition yields little extra accuracy under these conditions.

The authors give two reasons. A minimum covering tree can already occur among the fragments obtained through general composition. The example with the verb, subject and object illustrates precisely that overlap. A procedure that enumerates composed fragments can reach the same fragment by joining compatible minimal rules. If the general inventory supplies usable versions of those constructions, the direct predicate-based inventory has less new material to contribute. Also, the predicates select only a small part of the space that the wider procedure can cover. General composition can keep context of value for translation even when the added context is outside the arguments of a single predicate.

The authors also point to estimation. PRS uses maximum likelihood estimates for the rules obtained by the direct procedure. The general composed approach can use EM over alternative derivations and ways of attaching unaligned words. The authors characterize the direct estimates as fast but biased relative to the EM-based approach. This is their explanation for part of the performance pattern. The comparison changes fragment selection and estimation together, so the experiment gives no separate score for substituting one estimation procedure for the other on a fixed inventory.

Both PTT+C₃ˢ and PTT+C₃ outperform PTT+PRS at p < 0.01 in the authors’ comparison. Even the broad inventory with simple labels therefore exceeds the selective predicate inventory on BLEU-4. The two kinds of evidence lead to distinct conclusions. Rich node descriptions improve the general procedure when the paper varies labels within that procedure. The direct PAS procedure supplies a fast way of recovering a useful set of composed rules, while general composition yields the stronger test scores. A richer description of a fragment and a more selective search for fragments are different interventions, and their value appears in different comparisons.

Limitations

Limits the authors identify

The authors describe the predicate–argument rules as a small subset of the composed rules. This constrains the claim they make for direct extraction. The minimum covering tree is a way to find rules for a particular kind of relation quickly. The wider procedure can represent context selected by other properties of the parallel sentence. The absence of a significant PRS gain on top of general composed tree rules also limits the evidence for treating the predicate inventory as an independent source of accuracy gains in a strong configuration.

The paper explicitly distinguishes the inexpensive maximum likelihood estimation for PRS from EM-based estimation for general composition. The argument-guided search and the associated estimator are evaluated together. The authors attribute part of the observed difference to the way the probabilities are estimated, but the paper does not quantify the effect of using the alternative estimator for the same rules. They likewise explain that the phrase-table-only baseline has no reordering or distortion. That explains why the gains over that condition should be interpreted in light of the new structural capabilities it receives.

The conclusion proposes applications to other syntax-based architectures, including forest-to-string translation and richer tree-to-tree rules. Those suggestions extend the design to settings in which alternative analyses might be used at translation time or syntax might appear on both sides of the bilingual rule. The experiments here test general rules learned from forests, an English tree-to-Japanese string decoder and a Japanese string-to-English tree decoder. The proposed broader settings are avenues for applying the design. The earlier papers named in this connection are Forest-Based Translation and Improving Tree-to-Tree Translation with Packed Forests.

Limits of the setup and measurements

The test evidence comes from paper abstracts in Japanese and English, with Enju providing analysis of the English side. Evaluating both translation directions changes whether English structure is available as the input or built as the output. The experiments still use the same pair of languages and the same corpus domain. It remains an empirical question how the method behaves with less successful parsing, another genre, another alignment profile, or a different source of grammatical features. The reported 99.3% training parse rate measures availability of an analysis. It leaves the correctness of the features and argument links used by individual rules unmeasured.

The extraction method also inherits constraints from automatic word alignment. A minimum covering tree is determined by English predicate–argument structure, but it becomes a rule only if the relevant boundaries satisfy the frontier test. As a consequence, the extracted inventory represents predicate constructions that are compatible with the particular parsing and alignment pipeline. The authors present examples that illustrate the procedure and report aggregate outcomes. The reported analyses give no breakdown of how often candidate predicate fragments fail the alignment condition or which argument patterns account for the improvements.

The richer feature condition changes many attributes together. A higher BLEU-4 score supports the full representation used in the experiment, while specific claims about voice, aspect, supertags or head information would require different evidence. Likewise, forest extraction changes which analyses can supply fragments as well as the size of the rule inventory. The experiment does not hold the number of rules constant between the tree and forest conditions. The results show the value of those configured systems, with room for further work on exactly which components and fragment types drive the difference.

BLEU-4 supplies the paper’s evidence about translation quality at corpus scale. There is no separate test of active and passive verb translation or evaluation of whether translations preserve particular predicate arguments. The example with killed explains the motivation for making a grammatical distinction visible to a rule. The measured outcome concerns overall reference overlap, even when the intervention is linguistically motivated. A higher aggregate score gives no direct estimate of the frequency with which the system corrected the construction illustrated in the example.

The runtime and extraction measurements also have a defined scope. The paper gives per-sentence decoding times for English-to-Japanese and selected training extraction times. The Japanese-to-English decoder has a different search procedure, and comparable timing evidence is absent for that direction. The English-to-Japanese timings compare complete configurations with different inventories and matching strategies. They establish what those configurations cost in the authors’ experiments, while the isolated cost of the lookup algorithm and its scaling across other conditions remain open.

What came after

One later citing work, Travatar, concerns a forest-to-string translation engine based on tree transducers. A tree transducer describes how input tree structure is converted into output, which in this setting is a string. The connection is through the use of multiple syntactic analyses. The earlier paper uses packed English forests to extract tree fragments during training and identifies forest-to-string decoding as a possible application for the resulting rules. Travatar puts the forest on the input side of the translation engine itself. This is a connection between the two systems’ use of parse alternatives. Travatar’s stated scope leaves its use of the fine-grained HPSG features and minimum covering tree procedure unspecified. Travatar: A Forest-to-String Machine Translation Engine based on Tree Transducers

The other later citing work, Semantic Roles for String to Tree Machine Translation, concerns the use of semantic roles in translation that proceeds from a source string to a target tree. It follows the side of the earlier paper concerned with relationships between a predicate and its arguments. The earlier procedure uses those relationships in an English training parse to choose the extent of a bilingual rule, then tests that rule inventory in a decoder that builds English trees from Japanese strings. The later work’s stated focus places semantic information in the same general translation direction. Its title establishes that focus, while its particular rule construction and estimation procedure remain unspecified. Semantic Roles for String to Tree Machine Translation

Cite

Cite as Xianchao Wu, Takuya Matsuzaki and Jun'ichi Tsujii. 2010. Fine-Grained Tree-to-String Translation Rule Extraction. Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{wu2010fine,
  title = {{Fine-Grained Tree-to-String Translation Rule Extraction}},
  author = {Xianchao Wu, Takuya Matsuzaki and Jun'ichi Tsujii},
  booktitle = {Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics},
  year = {2010},
  url = {https://aclanthology.org/P10-1034/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/wu-2010-fine-grained-tree-string-translation/