On the Elements of an Accurate Tree-to-String Machine Translation System
Paper · 2014 · Graham Neubig and Kevin Duh
Summary
English and Japanese frequently arrange the parts of a sentence differently. A translation system has to decide which words to use and where to put them, and those decisions can depend on the same grammatical relationship. A tree-to-string system starts with a syntactic analysis of the source sentence and uses it to build a sentence in the target language. This gives it a way to move whole phrases while deciding how to translate them. Yet earlier studies had reached conflicting conclusions about whether source syntax improved accuracy. Graham Neubig and Kevin Duh ask how much of that disagreement could arise from the way these systems were built. They test the analysis of the source sentence, the word correspondences used to learn translation rules, and the search that assembles those rules into an output. The study treats each as a possible source of gains or losses in machine translation.
The authors build both a basic and a more carefully configured version of the same tree-to-string system. The stronger version can consult several plausible analyses of a source sentence through a packed forest, a compact structure that shares the parts those analyses have in common. It learns from word alignments produced by Nile, an aligner that can use grammatical information and is trained on manually aligned examples. It also uses hypergraph search, which groups candidates whose target wording has similar implications for subsequent scoring. On the NTCIR PatentMT formal-run test, the basic version scores 36.23 in English-to-Japanese and 31.15 in Japanese-to-English. The stronger version reaches 40.84 and 33.70, respectively. The paper summarizes the improvement over the basic system as 2.6-4.6 BLEU. The stronger version also surpasses the phrase-based, hierarchical phrase-based, and syntax-based pre-ordering or post-ordering baselines in both directions on the BLEU score.
The component comparisons help explain how those gains arise. With a single tree per sentence, the Egret parser improves both reported translation scores over the alternative parser in each direction. Giving the decoder a forest from Egret improves them again. Better word alignments benefit tree-to-string translation more consistently than the phrase-based and hierarchical systems in this study. The authors trace that sensitivity to how alignment errors can block the extraction of useful rules and distort the learned probabilities of word-order changes. Hypergraph search improves on cube pruning for both tree and forest input, with the clearest advantage when the decoder has a small search budget.
The patent experiments show how an evaluation of source syntax can depend on decisions made throughout the translation pipeline. A basic system already gets much of the way to a competitive result, and a better configuration changes which system leads the comparison. The evidence is strongest for the language directions, data, and systems the authors test. The component experiments clarify what each change contributes under the surrounding settings, while the overall comparison shows what the changes can achieve together.
Deep dive: On the Elements of an Accurate Tree-to-String Machine Translation System
This study tests how parsing, word alignment, and decoder search improve tree-to-string translation between English and Japanese. · about 32 minutes to read
The problem and its context
Why analyze the source sentence?
A translation changes the organization of a sentence as well as its vocabulary. Consider the relationship between a verb and its object. If the source puts the verb first and the target typically puts the object first, the translation system needs to recognize which stretch of source text functions as the object. The object may be a phrase with several words, and its translation may have a different length. A source tree gives the system a way to represent that stretch as a unit. A rule can then place the translated unit on the appropriate side of the verb and leave its internal translation to other rules.
This is the attraction of tree-to-string translation, abbreviated T2S in the paper. The input to a rule has grammatical structure. The output is a sequence of target words and places for material supplied by subordinate rules. A decoder can consider how to translate a constituent while deciding where its translation belongs. For language pairs with substantial word-order differences, that offers a direct way to express movements that affect large pieces of a sentence. It also gives the system a way to combine those movements with choices about particular words. The paper cites an earlier account of these source-side rules in Tree-to-String Alignment Template for Statistical Machine Translation.
Other systems described by the authors put syntax at a different point in the process. String-to-tree translation uses target-side structure to encourage well-formed output. Pre-ordering changes the source order before translation, so the translation stage receives a sentence already arranged to be closer to the target order. Post-ordering addresses arrangement after an initial translation stage. Those approaches can use grammatical information to handle ordering while keeping that operation at a distinct stage. The paper situates its question alongside earlier work on source clause restructuring and Japanese-to-English post-ordering. Clause Restructuring for Statistical Machine Translation · Post-ordering by Parsing for Japanese-English Statistical Machine Translation
The comparison also matters because a system can express useful reordering without relying on a parse of the source sentence. Ordinary phrase-based translation builds an output from translations of word sequences. Hierarchical phrase-based translation, called Hiero, allows rules with places for other translated material. Nesting those rules lets the system reuse an ordering pattern with different phrases in its open positions. Source-side syntax therefore has to earn its place against systems with their own mechanisms for composing and moving material. The paper uses Hiero as one of its main comparisons. Hierarchical Phrase-Based Translation
Why previous comparisons could disagree
As Neubig and Duh describe the literature, some groups found substantial advantages for systems that used source syntax. Others found those systems behind phrase-based or hierarchical approaches, string-to-tree translation, or phrase-based translation with a reordering stage. The disagreement concerns accuracy in complete systems. Each comparison can reflect several decisions about how the syntactic translator was trained and run. A result for a particular implementation leaves open which of those decisions shaped its performance.
Tree-to-string rules are especially exposed to the quality of their inputs. During training, a parse supplies the constituents from which rules can be formed, and an alignment supplies the links between source and target words. A parser may group together words that a better analysis would separate. An aligner may connect a word in one source constituent to target material that belongs with another. Either change can affect the rules available afterwards. At test time, the source analysis determines which rules fit, and the decoder has to keep promising options long enough to combine them. Thus an architecture capable of expressing a useful movement can still fail to learn the relevant rule, fail to match it to the test sentence, or lose its translation during search.
That distinction makes the paper a study of how a method is realized. Source-side syntax provides a framework for specifying which structures a translator can use. Parsing, alignment, and search govern how much of that capacity is available on actual sentences. The authors say earlier reports of weak tree-to-string performance had frequently left at least some of these choices unexamined. Their question is whether attention to those choices can account for a consequential part of the performance gap.
The parsing question itself has two parts. The first concerns the quality of the analysis ranked highest. The second concerns commitment to that analysis. A parser may have enough evidence to propose several plausible ways to attach a phrase while still having to put one first. Passing only that tree to a translator makes its ranking a hard constraint on all later decisions. Earlier work on forest-based translation had already shown how to pass a compact set of analyses downstream. The authors describe several subsequent tree-to-string systems that continued to use a single analysis, making the value of retaining alternatives worth testing directly. Forest-Based Translation
Alignment presents a different question. Previous studies cited in the paper had found that improvements in measured word alignment did not reliably yield translation gains. Rules tied to a source tree give the authors a reason to revisit that finding. A misplaced link can interfere with the boundary of a constituent, and a constituent boundary is part of the evidence used to define a tree-to-string rule. The practical question is whether changing the aligner has similar consequences across translation architectures that reuse those same word links in different ways.
Search supplies the final part of the motivation. A tree or forest can license many combinations of translation rules, and each combination can produce different target wording. A decoder needs a practical way to choose which partial candidates deserve more work. Retaining more source analyses makes the number of possibilities larger, so the consequences of approximate search may matter even more in a forest system. The paper builds on earlier work on efficient decoding and asks whether a search procedure that groups similar states gives better outputs under practical limits. Efficient Incremental Decoding for Tree-to-String Translation
The method, step by step
From parallel sentences to translated text
The authors build their system in Travatar. The toolkit implements tree transducers, which here are rule systems that turn tree-shaped source material into target strings. Training draws on parallel sentences, where a source sentence is paired with a translation. The system needs grammatical structure on the source side and word links across the pair. Together, they let it identify recurring correspondences between pieces of a source tree and stretches of target text. Travatar
At translation time, the input is a new source sentence. The parser builds a tree or a forest for it, and the decoder matches learned rules against the resulting structures. A rule may supply target words directly, leave places to be filled by other rules, or do both. The decoder builds translations from smaller parts and ranks combinations using the translation evidence and a score for the target word sequence. The flow below shows how the training information reaches that final decision.
How the system learns and applies translation rules
The steps in order.
Take the paper’s verb–object example. The source analysis identifies a verb and a following noun phrase. The word links show where the material associated with each appears in a Japanese translation. A reusable rule can put the translated noun phrase before the verb and can include material such as the Japanese object particle wo. The system can then use a similar ordering with a different noun phrase, provided its source analysis supports the rule and the phrase can be translated. This is how the rule inventory connects the evidence in individual training pairs to decisions about sentences the system has never seen.
How the parsers represent a sentence
For an English source, the authors compare the Stanford parser with Egret. The Stanford configuration uses a context-free grammar, abbreviated CFG. A parser using this kind of grammar assembles constituents by applying rules for how grammatical categories can be built from smaller ones. The alternative follows the Berkeley parser’s latent-variable approach. It can distinguish finer categories learned within the grammatical labels available in the training data. The distinction matters because a visible label can cover constituents that behave differently in different contexts. The authors use Egret because it closely matches Berkeley’s reported parsing accuracy and can also return packed forests. Context-free grammar
The authors right-binarize the trees they use, breaking up constituents with several children into a structure whose branches combine in pairs. Right binarization groups the material on the right as the structure is broken down. Phrase-final punctuation receives special treatment and is separated before the other elements of the phrase. This preparation affects the shapes available for rule matching. A change in branching determines which pieces are represented as intermediate constituents, even when the underlying word sequence stays the same.
For a Japanese source, one route starts with Eda. Its parser uses a maximum-spanning-tree approach to select dependencies, which express which word depends on which other word. Travatar then uses its head rules to turn that word-to-word structure into a phrase-structure tree suitable for the translation rules. The conversion matters because the extraction and decoding machinery expects constituent structure. The other route uses Egret with a latent-variable CFG trained with the Berkeley parser. Both Japanese parsing approaches use the Japanese Word Dependency Treebank for training. The authors therefore compare practical routes to the form of source structure the translator needs, including one that begins with dependency parsing.
The single-tree settings pass along the parser’s highest-ranked analysis. A packed forest retains multiple alternatives in one shared representation. When several parses contain the same substructure, the forest can represent it once and allow alternative ways to connect it to the rest of the sentence. The decoder can therefore consider translation rules licensed by more than one analysis. If different analyses suggest different groupings or reorderings, target-side scoring can help decide which combination to keep.
The authors control the size of an Egret forest by the parser’s ranked list of analyses. For a given cutoff, the forest retains every edge that occurs in any parse within that cutoff. Here an edge records a way of deriving part of the tree, so shared edges can support multiple analyses. The cutoff governs which parser decisions remain available as evidence for the search. It is useful to distinguish that setting from the size of the final translation search space. The latter depends on the rules and target wording that can be combined with the retained structure. A compact representation of analyses can still license many candidate translations.
How word links become rule evidence
A word alignment identifies which words in the source and target sentences correspond across the translation. These links support extraction by showing how material inside a source subtree maps to the target side. If the links show a clean separation between a source constituent and surrounding material, the extractor can use that separation to learn a rule with the constituent as an interchangeable part. If a link unexpectedly crosses the boundary, it becomes harder to treat the target words as a translation of just that constituent.
The conventional aligner in the experiments is GIZA++, run with its defaults. It implements the IBM statistical alignment approaches discussed in earlier work cited by the paper. The alternative is Nile, a discriminative aligner that can use information from the syntax of both languages. Training a discriminative aligner on manual examples gives it direct evidence about which word pairs should be linked. Grammatical features can make that evidence reusable across sentences with different words. The comparison thus asks what happens when a syntax-based translator learns from alignments produced by those two procedures. A Systematic Comparison of Various Statistical Alignment Models
The aligner experiment uses the Kyoto Free Translation Task. According to the paper, the parallel data contains 430k sentences, and the manually aligned training and test sets contain 1074 and 120 sentences, respectively. The authors train Nile with the full manual training set and with portions of 1/4 and 1/16. The smaller settings use 269 and 68 annotated training sentences, respectively. Both alignment methods are evaluated against the manual test alignments. Translation quality is measured separately on the patent task, so the manual judgment of word links and the quality of complete patent translations are distinct outcomes.
Rule extraction uses the GHKM procedure. In the role it plays here, it takes a source tree, a target string, and their word alignment and identifies compatible ways of mapping source subtrees onto target material. A minimal rule expresses a small such mapping. The extractor can also compose minimal rules to record a larger configuration as one reusable pattern. This lets the system keep evidence about a verb and its grammatical surroundings together when their joint translation or ordering is useful.
For each extracted rule, the paper sets maximums of 5 composed minimal rules, 2 nonterminals, and 10 terminals. A nonterminal marks a grammatical position whose translation can be supplied by another rule. A terminal is a fixed symbol, such as a word in a rule. These limits govern different properties of the inventory. The composition limit bounds how much extraction can combine into one rule. The nonterminal limit restricts the number of places left open for substitution. The terminal limit constrains the amount of fixed material the rule can carry. Within those bounds the system can reuse a broad ordering pattern or retain more of the words and structure that made the pattern appropriate in training.
This stage converts an alignment error into a potential coverage problem. A misplaced link may change the rule extracted at a particular point in a tree. It can also prevent several plausible rules from being extracted there, including rules that would have used a smaller piece as a variable. Conversely, a sound alignment provides evidence for rules at several levels of detail. The method therefore gives the aligner a role in both the contents and the size of the grammar later used in search.
How the decoder scores and searches
The systems all use a Kneser-Ney 5-gram target scorer. An n-gram is a sequence of consecutive tokens. Here the scorer estimates how plausible a target word is in a short preceding context. Kneser-Ney smoothing allows the estimate to use more general evidence when a particular longer sequence is rare or missing from the data. During decoding, this score gives a reason to favor some combinations of otherwise plausible rule outputs. Tuning uses minimum error rate training to adjust the system towards higher BLEU on the tuning set. That tuning stage is common to the tree-based systems and the baselines. N-gram
Search proceeds from shorter or more deeply embedded pieces of a source structure toward larger ones. Rules for the larger structures can offer several alternatives for each child. Combining each possible child translation with every other one would make the decoder do considerable work, especially when different choices produce the same relevant target context. Both algorithms examined in the paper prune this search. They aim to expand useful partial candidates first and keep processing within the budget set for a part of the search.
Cube pruning is the conventional option. It organizes combinations of ranked alternatives so the decoder can explore likely candidates without enumerating every combination in advance. A candidate assembled from strong partial translations may still need to be rescored when its target pieces meet, because adjoining pieces create new word contexts. The pop limit controls how many candidates the search can take from its queue for consideration. It provides a way to trade search effort against the risk of discarding a useful combination too early.
The alternative, hypergraph search, also works bottom up. It groups similar target-scoring states, using similarities in the words at the edges of partial translations. Those boundary words matter because joining phrases creates scoring contexts that cross the join. The grouping lets the decoder organize search around work that related candidates can share. The comparison concerns the efficiency with which good complete translations are reached, under limits that permit the two methods to differ in which candidates they actually examine.
The basic headline configuration, T2S-all, uses Stanford for English or Eda for Japanese, GIZA++ alignments, and cube pruning with a pop limit of 5000. The stronger T2S+all configuration uses Egret forests, Nile alignments, and hypergraph search with a pop limit of 5000. The shared numerical limit describes a setting of the search. The algorithms organize candidates differently, so their runtime and coverage still have to be examined empirically.
The statistical decision in the experiments
The paper reports system settings and empirical comparisons in place of a new mathematical training objective. Its explicit statistical threshold is as follows.
p < 0.05
Here p is the significance probability for the comparison made using bootstrap resampling. The symbol < means that probability must fall below the cutoff on its right, and 0.05 is the cutoff the authors chose. Bootstrap resampling uses repeated samples drawn from the evaluation material to assess how stable an observed difference is. The paper’s tables mark the highest-scoring system and also mark systems that the test cannot distinguish significantly from it. A displayed numerical lead and a significant lead are consequently different claims. Statistical Significance Tests for Machine Translation Evaluation
Experiments and results
Data, evaluation, and baseline systems
The main experiments translate patent sentences in both directions between English and Japanese. The training data come from NTCIR 7/8 and contain approximately 3.0M sentences. The authors use the NTCIR 7 dry run to tune the systems. The NTCIR 7 formal run is the test set for the headline comparisons and the component experiments on patent translation. The separation gives the authors a set for choosing weights according to BLEU and a different set for reporting how well the weighted systems translate.
BLEU compares the wording of system translations with reference translations using matching word sequences. RIBES emphasizes the order of corresponding words. The paper cites evidence that RIBES correlates strongly with human judgments on NTCIR data. Reporting both helps show when a change appears especially consequential for ordering and when it improves the more general reference-based score. The authors tune for BLEU, so RIBES offers a second view of the same outputs. Automatic Evaluation of Translation Quality for Distant Language Pairs
The standard phrase-based and Hiero baselines are trained with Moses. The paper uses its defaults with one adjustment for each applicable system. The phrase-based reordering limit and Hiero’s maximum chart span are set to 24, the value that performed best in the authors’ comparison. The phrase-based limit controls how far the decoder can reorder material, while the chart span controls the size of the regions on which the hierarchical procedure can apply its operations. Giving these baselines the chosen settings makes the comparison informative about reasonably configured alternatives as well as about basic tree-to-string translation.
The strongest baseline family uses syntax for ordering. In English-to-Japanese, head finalization changes the source order before translation to bring it closer to the order expected in Japanese. In Japanese-to-English, the authors use the syntactic post-ordering procedure described in earlier work. The baseline label therefore refers to a different ordering intervention in each direction. Both are relevant comparisons because they ask whether source grammar helps more when it guides translation rules throughout decoding or when syntactic rearrangement is handled by a distinct operation.
The opening comparison varies the parser, aligner, and search together. Its main purpose is to show the range of outcomes achievable with the same tree-to-string framework. Later experiments change particular components while keeping the other settings at the stronger configuration unless otherwise noted. The distinction matters when attributing a result. A headline gap between the two complete systems describes the joint effect of their settings. It leaves the individual contributions to the experiments that follow.
English-to-Japanese patent translation
English-to-Japanese systems on the NTCIR 7 formal run by BLEU
The forest-based configuration has the highest BLEU, ahead of the head-finalization pre-ordering baseline.
The numbers
| System or setting | BLEU |
|---|---|
| Phrase-based | 35.84 |
| Hiero | 34.45 |
| Syntactic pre-ordering | 36.69 |
| Basic tree-to-string | 36.23 |
| Full tree-to-string (this paper) | 40.84 |
The English-to-Japanese formal-run comparison places the basic tree-to-string configuration close to the conventional phrase-based system in BLEU. Its score also falls below that of head-finalization pre-ordering. T2S+all gives a different ranking. Its 40.84 BLEU leads the English-to-Japanese comparison, and the paper reports a gain of over 4 BLEU points against the closest system. This direction gives the clearest headline example of how the choice of components changes the apparent merit of the translation architecture.
The RIBES scores add a view of ordering on the same test. Phrase-based translation scores 72.89, Hiero scores 72.94, and pre-ordering scores 77.05. T2S-all reaches 76.60, placing it near the syntax-based ordering baseline on this metric. T2S+all reaches 80.15. The basic system’s relatively strong RIBES already shows that its competitiveness depends in part on the measure used. The final system improves both measures, so the overall lead is visible whether the reader emphasizes reference word sequences or word order.
The English-to-Japanese comparison is especially pertinent to the rule analysis later in the paper. A system may learn local translations for a verb and an object and still put the translated object in the wrong place. The pre-ordering baseline offers a direct way to address such movements. The stronger T2S result shows that a system learning rearrangements from aligned examples and applying them through source structures can compete with that strong alternative on the patent benchmark.
Japanese-to-English patent translation
Japanese-to-English systems on the NTCIR 7 formal run by BLEU
The full configuration leads the comparison, and the basic tree-to-string system also ranks ahead of the baselines on BLEU.
The numbers
| System or setting | BLEU |
|---|---|
| Phrase-based | 30.49 |
| Hiero | 29.41 |
| Syntactic post-ordering | 29.42 |
| Basic tree-to-string | 31.15 |
| Full tree-to-string (this paper) | 33.70 |
The reverse direction gives a different picture of the basic system. T2S-all has higher formal-run BLEU than each baseline, including post-ordering. On RIBES, however, post-ordering leads the basic tree-to-string system. The formal-run RIBES scores are 69.80 for phrase-based translation, 69.51 for Hiero, 73.85 for post-ordering, and 72.87 for T2S-all. The full configuration reaches 75.94 in RIBES alongside 33.70 in BLEU, making it the highest-scoring system on both measures.
This distinction qualifies the authors’ broad characterization of the basic configuration as falling short of the strongest syntax-based ordering baselines. In Japanese-to-English, the result depends on the metric. The headline conclusion about the full configuration is clearer. The authors report that it significantly exceeds the baselines and emphasize the reverse direction because earlier work had found source-side syntax less effective there. The smaller improvement in this direction still changes the comparison with systems whose use of syntax is concentrated in an ordering stage.
The two directions share a benchmark and a language pair, but they give the components different jobs. Translating into Japanese calls for Japanese target sequences and an English source analysis. The reverse direction uses Japanese source structures and English target sequences. A parser comparison in one direction therefore says something about a different set of source analyses from the parser comparison in the other. Likewise, decoder behavior can change with the target sentence lengths and the work required to score them. The directional breakdown prevents those differences from being hidden behind a single aggregate.
Results from another genre
The authors also mention a medical conversation task as evidence that the combination had helped in another setting. In that task, they report English-to-Japanese BLEU moving from 24.55 to 30.81 and Japanese-to-English BLEU from 19.28 to 22.46. Chinese-to-Japanese BLEU moves from 15.22 to 20.67, and Japanese-to-Chinese BLEU from 30.88 to 33.89. They associate these changes with forests, alignment, and search.
The medical results sit alongside the patent experiments as a second observation about the combined approach. The paper gives the detailed comparisons of parsers, aligners, forest sizes, and search methods for the patent task. That is where the evidence allows a reader to connect particular score changes to particular settings. The medical results extend the range of conditions mentioned by the authors, while the patent results carry the detailed argument about how the components matter.
What the ablations show
A better single parse and more possible parses both help
The parser comparison separates replacing the source parser from opening the input to multiple analyses. In the first comparison, both configurations use a single tree. Stanford supplies the English trees and Eda the Japanese trees for the baseline. Egret supplies the alternative trees. In the second comparison, Egret still provides the analyses, but the input becomes a forest containing all edges retained from the 100-best parses. Keeping Egret for both entries makes the forest comparison more specific than the move from Stanford or Eda to an Egret forest in a single step.
For English-to-Japanese on the patent test, the Stanford single-tree system scores 38.95 BLEU and 78.47 RIBES. Egret with a single tree reaches 39.26 BLEU and 79.26 RIBES. Egret with forest input reaches 40.84 BLEU and 80.15 RIBES. The direction of change is the same for both measures at each step. The first switch shows a particularly visible improvement in the ordering measure, while letting the decoder consider alternate structures gives a further improvement with a more prominent BLEU gain.
For Japanese-to-English, the Eda tree setting scores 32.56 BLEU and 73.03 RIBES. The Egret tree setting scores 32.97 BLEU and 74.94 RIBES. The Egret forest reaches 33.70 BLEU and 75.94 RIBES. Here too, moving to Egret while retaining a single tree is especially apparent in RIBES. The pattern across the two directions is consistent with the authors’ interpretation that the choice of parser can affect global order substantially. The measures offer indirect evidence about the character of the changes. They do not give an error count for each kind of syntactic movement.
Forest input has a different interpretation. Suppose the parser’s first-choice tree groups words in a way that prevents a useful rule from fitting. A different tree can make that rule available. It is also possible that a less highly ranked analysis supports an output that scores better in the target language even when the source parser’s preferred structure has a defensible linguistic interpretation. The authors favor an explanation along these lines, drawing on earlier work that suggested forest translation can give the decoder useful flexibility. A higher translation score provides evidence for that flexibility. Evidence that the chosen source analysis is linguistically more accurate would require a separate check of the selected parses.
The settings also answer two different engineering questions. The single-tree comparison asks whether improving the analysis handed to the translator helps when the translator has to honor one structure. The tree-to-forest comparison asks whether the translator benefits from having some say in which structural decisions matter to the output. Both produce gains in the paper. That makes it possible to value a better initial analysis and the ability to keep alternatives at the same time.
Larger forests buy accuracy with time and memory
To vary the amount of ambiguity available to search, the authors build forests with edges from the top 1, 3, 6, 12, 25, 50, 100, and 200 parses. The setting of 1 amounts to using one tree. The larger settings progressively admit structures that are supported by lower-ranked analyses. The pruning rule acts on edges. Many parses can share an edge, and adding another parse changes the forest only through the edges it contributes.
The experiment plots patent-test BLEU against the amount of retained structure and labels the decoding times in seconds per sentence. The authors describe fairly steady BLEU gains as the cutoff grows through successive doublings, accompanied by longer decoding. At 200, they still see no clear leveling off in BLEU. They also report that cutoffs larger than that produced translation forests demanding large amounts of memory. The practical constraint appears while the accuracy curve still has room to rise within the range studied.
This experiment changes the alternatives the translator receives. The subsequent search experiment changes how the translator spends effort on those alternatives. Those are separate decisions. A restrictive forest can exclude the source configuration needed for a useful rule, even if decoding is exhaustive within the retained space. A broad forest may preserve that rule while presenting the search with too many competing translations to examine closely. The pruning curve measures the combination of a larger input and the decoder used to process it.
The headline parser comparison uses the 100-best edge cutoff, which also makes the reported forest result a result for a specific operating point. A reader can compare it with the trend toward 200, but the curve does not establish a generally optimal cutoff. Sentences may differ in how much their parses agree, so the same cutoff can preserve different amounts of genuinely new structure. The memory cost reported for still larger settings gives a concrete reason to treat the cutoff as a practical resource choice.
Better alignments improve rule extraction
Word aligners on the Kyoto Free Translation Task manual test set by F-measure
Nile improves alignment F-measure with the smallest manual training set and reaches its highest score with the full set.
The numbers
| System or setting | F-measure % |
|---|---|
| GIZA++ | 57.86 |
| Nile with 68 annotated training sentences | 65.17 |
| Nile with 269 annotated training sentences | 67.40 |
| Nile with 1074 annotated training sentences (this paper) | 68.07 |
The intrinsic alignment evaluation asks whether the predicted word links agree with manually marked links. Precision captures how often proposed liens are correct, and recall captures how much of the manual alignment is recovered. F-measure gives a combined view. On the 120 manually aligned test sentences, GIZA++ uses 0 manually aligned training sentences and records precision of 60.46 and recall of 55.48. With 68 training sentences, Nile reaches precision of 70.21 and recall of 60.81. The paper reports a 7.31 point F-measure gain for this smallest annotated training setting over GIZA++.
The larger training samples improve the combined alignment score. Nile with 269 annotations records precision of 72.85 and recall of 62.70. With 1074, it records precision of 72.73 and recall of 63.97. The full setting recovers more of the manual links, while the intermediate setting has the higher displayed precision. This matters for interpreting the experiment because improvement in F-measure can involve different movements in its constituent measures. The full Nile setting’s combined lead reflects the gain in recall together with precision close to that of the smaller setting.
The authors offer two reasons a small number of examples can help. Nile uses grammatical features, including part-of-speech information, so evidence about a category of words can apply to words the manual set happens not to contain. Common function words are also likely to appear even in a small collection. The authors mention English articles as examples. Such recurring words give the aligner evidence about error patterns that can matter in many more training pairs than the ones a human actually aligned. Part-of-speech tagging
The transfer to translation is clearest in the tree-based system. On the English-to-Japanese patent test, T2S with GIZA++ records 39.57 BLEU and 78.94 RIBES. With Nile trained on 68 manual alignments it records 40.79 BLEU and 80.05 RIBES. With 269 it reaches 40.97 BLEU and 80.32 RIBES, and with 1074 it records 40.84 BLEU and 80.15 RIBES. All the Nile settings score above the GIZA++ setting on both translation measures. The intermediate training set gives the largest displayed translation scores in this direction, while the full set leads the manual alignment evaluation. The alignment and translation tests therefore agree on the overall value of switching aligners yet rank the top settings differently.
On the Japanese-to-English patent test, T2S with GIZA++ scores 32.62 BLEU and 75.19 RIBES. Nile with 68 annotations gives 32.82 BLEU and 74.89 RIBES. With 269 annotations, the scores are 33.35 BLEU and 75.46 RIBES. The full manual training set yields 33.70 BLEU and 75.94 RIBES. The smallest set nudges BLEU upward while RIBES falls. The larger settings improve both measures, and the full set gives the largest reported scores in this direction. The authors’ claim about annotation efficiency has its strongest translation evidence in English-to-Japanese, with a more gradual improvement in Japanese-to-English.
Using the same alignments in the other systems gives a check on the architectural explanation. In English-to-Japanese, phrase-based translation moves from 35.84 BLEU and 72.89 RIBES with GIZA++ to 36.05 BLEU and 71.84 RIBES with Nile. Hiero moves from 34.45 BLEU and 72.94 RIBES to 33.90 BLEU and 72.63 RIBES. In Japanese-to-English, the phrase-based scores move from 30.49 BLEU and 69.80 RIBES to 30.77 BLEU and 69.75 RIBES. Hiero moves from 29.41 BLEU and 69.51 RIBES to 28.90 BLEU and 69.83 RIBES. These comparisons show mixed effects across metrics and architectures, even though the manual alignment evaluation favors Nile.
The rule table shows what an alignment error can cost
The authors inspect the size of the rule inventory to see whether alignments change more than the scores of individual choices. For English-to-Japanese, the grammar extracted with Nile contains 92.8M rules. Its counterpart with GIZA++ contains 83.3M. The paper describes the latter as an 11.2% drop. This comparison is consistent with a particular failure mechanism. When an incorrect alignment crosses a phrase boundary, the extractor can lose the clean division needed to form otherwise reusable rules.
The inventory count concerns opportunities during translation. A rule that never entered the grammar cannot be recovered by a stronger search or given a better ranking during tuning. A rule that does enter the grammar still has to be applicable to the source structure and useful in the final output. The authors’ count shows that the extraction procedures yield inventories of visibly different sizes. It supports the case that better word links can create new options, while the rule-probability example addresses whether the systems also learn to favor the right options.
The probability analysis looks at a characteristic ordering change.
SVO→SOV
Here S denotes the subject, V the verb, and O the object. The left side gives the English order of those elements in the example. The right side gives the Japanese order expected in the comparison, and → indicates the mapping between them. The figure examines rules containing the verb and its following noun phrase. It asks whether the rule probabilities favor keeping that order or putting translated object material ahead of the verb, potentially with the particle wo.
With alignments from Nile, the probabilities favor the expected reversal. The probabilities learned from GIZA++ alignments favor retaining the original order. This is a second route by which an alignment difference can affect a tree-to-string translator. The system may have a relevant rule but receive misleading statistical evidence about how often to use it. In that case, decoding can be successful at optimizing the supplied scores and still give too much weight to the wrong order.
The example connects the rule inventory to the task that motivates the paper. Global reordering depends on source structures being tied to the right target material in training. A wrong attachment in a parse and a wrong link in an alignment can interfere with that process in different ways. Examining the probabilities for a specific verb–object configuration makes the alignment mechanism more concrete than a translation score alone. Its scope is that family of rules, while the corpus-level translation scores show how the overall systems fare.
Search helps on both trees and forests
The search experiment compares hypergraph search with cube pruning over a range of pop limits. It runs each algorithm on both single-tree input and forest input and examines BLEU together with decoding speed. The plotted timing labels are in seconds per sentence. Varying the pop limit matters because a decoder that retains more candidates may find stronger translations at greater cost. Comparisons across limits reveal where the two search procedures make different use of that effort.
Hypergraph search gives better results for both input types, especially under smaller limits. With a tight budget, spending repeated effort on partial candidates that have similar implications for target scoring can leave less room for other promising alternatives. Grouping similar states changes which work receives attention. The strongest reported advantage in the smaller-budget regime fits that explanation. At more permissive limits, both procedures have more opportunity to reach candidates that restricted search could have missed.
The curves for tree and forest input have similar shapes. The authors flag this because a forest admits more source structures and consequently opens a larger translation space. One might expect the relative behavior of the algorithms to change markedly in that setting. Instead, the benefit of the alternative search appears in both. This makes the search result relevant even to a system that retains a single parse, while showing that the approach can also handle the more flexible forest input examined in the paper.
The paper describes Japanese-to-English as the simpler direction for search and relates the difference to the greater number of words in Japanese sentences. When Japanese is the target, the decoder has more target wording to score, requiring more evaluations per sentence. The amount of structure available from the source and the amount of target-side computation thus affect different parts of the search problem. Forests increase the alternatives available to the decoder, while longer target sequences give it more scoring work as it assembles those alternatives.
Limitations
Limits discussed by the authors
The forest experiment identifies a concrete resource cost. BLEU continues to improve across the reported cutoffs through 200, and larger cutoffs require substantial memory. The paper therefore establishes gains within the range the authors could investigate practicably. It leaves the behavior of much larger forests open. The cost of preserving ambiguity includes the work of searching the resulting translation space as well as representing the syntax itself.
The manual alignment data come from Wikipedia articles about Kyoto City, while the main translation results concern patents. The authors point out this genre mismatch and suggest that annotated alignments closer to the translation task could produce larger gains. Their experiments establish that the available supervision helps under the settings studied. The benefit of matching the domains is a conjecture. An experiment with manual patent alignments would supply the comparison needed to measure it.
The authors also stress that parsing and alignment for these languages leave room for improvement. That observation motivates more work on those components, but the paper’s gains are tied to the alternatives it compares. A future parser could improve a measure of source analysis while changing few of the decisions that matter to translation. An aligner could increase its overall agreement with manual links while leaving the particular boundary errors that affect rule extraction mostly intact. The paper itself provides a reason to measure component changes through the completed system.
For forest input, the authors allow that some gains come from giving the translator flexibility to work around the preferred parse. This limits the linguistic conclusion one can draw from improved translations. A decoder can find a useful structure for the translation at hand even when that structure is less attractive in a separate grammatical evaluation. The explanation concerns how syntax is used during decoding. The reported outcome is better translation under the chosen metrics.
Limits visible in the experimental design
The headline comparison changes several settings together, and the component experiments change particular settings around a strong configuration. That design efficiently shows that the choices matter. It does not map every interaction among them. For example, the value of additional forest edges may depend on which rules the aligner allowed the system to extract and how well the search can reach them. A parser comparison conducted with the stronger surrounding settings may produce a different score gap with other alignments or another decoder. Adding the isolated changes would be an unwarranted way to reconstruct the total gain.
Some component switches also combine properties. Egret and Stanford use different grammatical approaches for English. For Japanese, the comparison includes a route from Eda’s dependencies through Travatar’s conversion rules and a route through Egret’s phrase grammar. The comparisons show which complete parser configurations work better in this translator. They do not assign the difference to one property of the parsing algorithms. Holding Egret fixed for tree and forest input gives a more direct test of retaining ambiguity than the overall contrast between alternative parser pipelines.
The alignment experiment likewise compares full procedures. GIZA++ runs with default settings, and the Nile settings differ in their access to annotated links as well as in the way the aligner represents evidence. The findings support the practical value of Nile in this setup and show how the amount of annotation affects its results. They leave open how much of the difference can be attributed separately to grammatical features, supervision, or other choices embodied in the aligner. The probability example supports a mechanism for a particular reordering family. It cannot account for every change to the grammar or every translated sentence.
The principal evidence comes from two directions of one language pair on the same patent benchmark. The brief medical results give examples in another genre and additional directions. They have less diagnostic detail, so they cannot establish whether the balance among parsing, alignment, and search transfers to every setting mentioned. The careful generalization is that the choices can produce large differences in a source-syntax system and have done so under more than one collection of conditions described by the authors.
Finally, BLEU and RIBES are corpus-level reference-based measures. The claimed relationship between RIBES and human judgments motivates its use on the NTCIR material. The comparison does not include a new human evaluation of the competing outputs. The gains therefore describe measured performance against references, alongside a focused examination of what happened to certain reordering rules. Questions about changes in meaning, acceptability, or the distribution of sentence-level errors would require a different evaluation.
What came after
Later work cites the study in two different settings. One returns to the question of representing a source sentence as a tree when the translation is a sequence. The other places work on Japanese translation within a review focused on French as the target. These connections follow different aspects of Neubig and Duh’s study. The first concerns the form of the input and output, and the second concerns the difficulty of translating between languages that arrange sentences differently.
Tree-to-Sequence Attentional Neural Machine Translation (2016) takes up the tree-to-sequence pairing in an attentional neural translation system. Its connection to Neubig and Duh is clearest at the level of the translation question. The source can carry syntactic structure while the target is generated as an ordered sequence. Neubig and Duh studied that arrangement through extracted rules, word alignments, and approximate search. The later paper’s title identifies a different machinery for working with the pairing. The citation connects it to earlier work on source syntax, while the relationship itself does not establish adoption of the particular forest, aligner, or decoder studied on the patent task. Tree-to-Sequence Attentional Neural Machine Translation
Traduction automatique du japonais vers le français Bilan et perspectives (2018) cites the study in a review of Japanese-to-French machine translation and its prospects. This places the study’s findings about Japanese in a broader discussion with a different target language. The earlier study supplies a case in which the treatment of source structure, the word links behind learned rules, and the decoder’s access to promising candidates all matter to a comparison of translation approaches. The review supplies a thematic connection to Japanese translation. Its citation alone does not establish a Japanese-to-French implementation or a test of the English–Japanese results. Traduction automatique du japonais vers le français Bilan et perspectives
Cite
Cite as Graham Neubig and Kevin Duh. 2014. On the Elements of an Accurate Tree-to-String Machine Translation System. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers).
@inproceedings{neubig2014elements,
title = {{On the Elements of an Accurate Tree-to-String Machine Translation System}},
author = {Graham Neubig and Kevin Duh},
booktitle = {Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)},
year = {2014},
doi = {10.3115/v1/p14-2024},
url = {https://doi.org/10.3115/v1/p14-2024}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/neubig-2014-elements-accurate-tree-string-machine/