Edinburgh's Syntax-Based Machine Translation Systems
Paper · 2013 · Maria Nadejde, Philip Williams and Philipp Koehn
Summary
A translation can contain the right words and still put them together badly. A verb may need to move away from the words beside it in the original, and words chosen in separate parts of a sentence must work together in the result. Edinburgh’s entry to the WMT 2013 shared task approached these problems by giving its machine translation systems an explicit representation of sentence structure on the output side. The team submitted systems for English to German, German to English, Czech to English, and Russian to English. The input to each system was a sequence of words. As the system translated that sequence, it also built a grammatical tree for the output.
The team learned its rules from pairs of translated sentences. It identified corresponding words, analyzed the target sentences into grammatical constituents, and used those analyses to learn rules that could be reused in new sentences. A rule could translate a fixed expression or leave slots for phrases to be supplied by other rules. Because the number of possible rules and combinations could make decoding expensive, the authors limited both the size of the fragments they extracted and the ways a rule could match an input. For German to English, they also tested whether a smaller, carefully selected set of sentences could serve for tuning the system’s scoring weights.
The syntax-based submissions scored below Edinburgh’s phrase-based submissions on cased BLEU for every direction on newstest2013. The results were close for the directions involving German, and the manual evaluation favored the syntax-based systems in both. From German to English, for example, the syntax-based system scored 26.3 BLEU against 26.6 for its phrase-based counterpart, while the respective manual expected-wins scores were 0.608 and 0.586. The syntax-based Czech-to-English entry was closer to its comparator in manual evaluation than the BLEU scores suggested. The Russian-to-English entry trailed on both measures, in a setup the authors describe as having less training material available to the system and punctuation and casing conditions that made preparation of parsed data consequential.
Further German-to-English experiments examined how the system assembled its translations. The smaller tuning set produced nearly the same BLEU scores as the largest set and reduced tuning-set decoding time. Restructuring the English training trees by left binarization failed to improve BLEU under the settings tested. Repairing word links for unaligned German verbs before extracting rules yielded a grammar with fewer rules that could drop verbs, and the resulting translations contained more verbs. BLEU stayed close to the baseline on both evaluation sets. The study thus gives different answers depending on what is measured, from agreement with reference wording and manual judgments to whether the decoder used the structures the training procedure was designed to make available.
Deep dive: Edinburgh's Syntax-Based Machine Translation Systems
Edinburgh’s syntax-based translation systems learned rules from target sentence trees and were judged against phrase-based systems at WMT 2013. · about 34 minutes to read
The problem and its context
Where word order enters translation
A phrase-based system translates stretches of the input and arranges their translations into an output sentence. A stretch can contain several words, giving the system some evidence about which words belong together and how that expression was translated in training. The constraint comes from the size and shape of the units it works with. When the order of a whole construction changes across languages, evidence about adjacent words may only capture pieces of the change. The Edinburgh paper treats substantial reordering and the grammatical coherence of the output as two reasons to investigate an alternative to the then-dominant phrase-based approach.
The two problems meet in the paper’s discussion of German verbs. The position of a German verb may differ from the position of its English equivalent. That creates a problem during training as well as during translation. During training, a word alignment procedure can miss the correspondence between the displaced verb and its English translation. At decoding time, supplying an English verb still leaves the question of where it should occur. Learning a useful rule requires evidence about the correspondence. Using the rule requires a mechanism for building the output around it.
Grammatical coherence raises a related question even where the source and target orders are similar. A phrase can look plausible by itself and fit poorly with another phrase selected earlier or later. A system that also assigns constituent labels can use those labels when combining partial translations. A rule that expects a constituent of a certain type is restricted in what it can accept in that position. This use of syntax gives the system a way to express some requirements of a larger construction before the words filling all its parts are chosen.
The authors place particular emphasis on the target side. They refer to earlier work on agreement in translation into German when explaining their interest in morphologically rich output languages. Agreement is a relationship between forms selected in different positions. A representation of the output as constituents gives the translation procedure a place to express some structural conditions on those choices. The shared-task paper inherits that motivation. Its experiments concern complete systems and selected changes to their training and decoding, so the grammatical effects that interest the authors need to be read through the measurements they actually make. Agreement Constraints for Statistical Machine Translation into German
Why the structure is on the output side
A string-to-tree system assumes a word sequence on the source side and a constituent tree on the target side. A constituent tree divides a sentence into labeled units, with smaller units nested inside larger ones. A word may be immediately under its grammatical tag, while several words or smaller phrases can sit inside a noun phrase or another larger constituent. The target tree gives the system information about what kind of partial translation it has built and where that piece can be used. The source string supplies the words and their order, with spaces in a rule for portions that will be translated recursively.
This is an asymmetric use of structure. Source positions matter because the system has to decide which parts of the input a rule covers. The source slots themselves all carry the same generic label. On the output side the slots have specific grammatical labels, so a rule can require a particular category in a particular place. The same target label can connect rules learned from different sentence pairs. The resulting tree can therefore be assembled from pieces whose evidence came from separate examples.
That design depends on automatic parsing of target sentences in the training corpus. The parser’s tree supplies the units the rule extractor sees. A parser depends in turn on the conventions of the annotated data used to train it, from how words are split to how phrases are bracketed. A long noun phrase represented by many children under the same node presents a different rule-extraction problem from the same words represented with several levels of internal grouping. The paper connects these differences to the properties of the English and German trees it uses and to the annotation scheme for German.
The target-side decision also distinguishes two stages at which a researcher can intervene. One can rearrange the input before translation. The paper cites earlier German-to-English work on clause restructuring as an example of source-side preprocessing. One can also change the shape of the target trees before learning the rules. Target restructuring keeps the words of the training translation in place and changes which fragments the extractor can recover from the tree. Edinburgh split German compounds in its German-to-English data and left source clause order as it occurred in the corpus. Clause Restructuring for Statistical Machine Translation
What the Edinburgh systems inherit
The paper describes an application and investigation of a method already implemented in Moses. Its immediate predecessor was the authors’ work on GHKM rule extraction and scope-limited parsing in that toolkit. GHKM supplies the procedure for turning aligned sentence pairs and target trees into translation rules. The scope restriction comes from earlier work on how the shape of a rule determines the number of places it might apply within a sentence. By imposing that restriction, the system could retain some rules with several elements while controlling the search cost.
Previous work also supplied ways to address coverage. The paper relates a measure of rule size to work asking what syntactic translation could learn from phrase-based approaches. A rule consisting of a small fragment can potentially be reused in many sentences. Combining fragments into a larger rule makes more context available and can preserve local choices that belong together. The practical question is where to stop composing them, because the set of larger fragments can grow rapidly. What Can Syntax-Based MT Learn from Phrase-Based MT?
Another cited line of work investigated restructuring trees before rule extraction. The paper refers to experiments on Chinese to English for an overview of different binarization strategies. Binarization introduces intermediate groupings under nodes with several children, offering the extractor fragments it could not have isolated in a flat tree. The Edinburgh authors consider this alongside the restrictions on what can be extracted. An intermediate grouping is useful only if the resulting rule survives those restrictions and can be applied to an input.
Together these strands define the paper’s practical problem. A grammar rich enough to express target structure can still be a poor resource if the parses are unreliable, alignments omit important words, useful fragments are excluded, or decoding is too slow for repeated tuning. The shared task gave the authors a way to run that pipeline in several translation directions. Their more focused experiments, concentrated on German to English, asked which parts of the pipeline could be adjusted with measurable consequences.
The method, step by step
From sentence pairs to a translation grammar
Start with a source sentence and a translation of that sentence. The translation is parsed into a hierarchy of constituents. A separate word alignment procedure links corresponding words across the two sides. Those links need not go straight across in sentence order. A target expression can correspond to a source expression in another position, which is precisely the relationship the grammar must learn if it is to reproduce a change of order.
The extractor looks for pieces of the target tree that can be accounted for by parts of the source string. A piece can preserve actual words, leave holes where other fragments attach, or do both. Its outer grammatical category identifies the kind of object it will produce when applied. The smaller fragments give the system building blocks, and some combinations of those fragments become rules in their own right. At translation time the decoder searches for ways to fit the rules to the input, assemble their output pieces, and score the completed target sentence and the steps used to build it.
Training and decoding in the Edinburgh string-to-tree systems
The steps in order.
What a single rule says
Translation rules belong to a synchronous context-free grammar. A synchronous rule describes corresponding pieces of the source and target together. A terminal is a word explicitly written in the rule. A nonterminal stands for a constituent that another application of the grammar can supply. Context-free composition means that a piece can fill a slot on the strength of its category and the required correspondence. The full translation system can still consider other evidence, including the actual words that result when the pieces are joined.
LHS → RHSₛ | RHSₜ
LHS is the target category created by applying the rule. The arrow separates that category from the rule’s expansion. RHSₛ is the source-side string of terminals and nonterminals, with s indicating the source. RHSₜ is the corresponding target-side string, with t indicating the target. The vertical bar separates the source and target expansions of the same rule. A subscript on a nonterminal can identify which slot on the source side corresponds to which slot on the target side.
The paper illustrates the notation with a word rule whose target category is the English noun tag NN.
NN → Haus | house
NN is the category assigned to the translated word. The arrow introduces the two strings associated with that category in this rule. Haus, before the vertical bar, is the German terminal the rule matches, and house, after the bar, is the English terminal it produces. There are no slots in this rule, so it can cover its source word directly.
A rule for the surrounding sentence can supply the words of the construction and leave the noun to be translated separately.
S → das ist ein X₁ | this is a NN₁
S is the target sentence category. The arrow introduces the source pattern on the left of the bar and the target pattern on the right. das, ist, and ein are fixed source words. this, is, and a are fixed target words. X₁ is the source slot, whose generic category is X. NN₁ is the target slot, which requires the category NN. The shared index 1 pairs those slots. Applying the noun rule to Haus fills the gap left after the German fixed words and inserts house after the English fixed words.
The noun could be replaced by another rule that supplies the required category and matches the remaining input. That is how the surrounding sentence rule can be reused. The correspondence indices also make it possible for the order of constituents to differ across a rule’s two sides. The indices specify which pieces travel together across the translation, while the position of a slot in the target expansion specifies where its translated words will appear.
Prepare the data the extractor will see
The direction of translation determines which side of the corpus needs a tree. The English-target systems used the Berkeley parser on their English training sentences. The German-target system used BitPar on its German training sentences. These are analyses of the translations already present in the corpus. At decoding time the input stays in string form, and the output tree is built from the grammar learned using those analyses. Berkeley parser and BitPar
The authors prepared English punctuation and word boundaries with the parser’s training conventions in mind. The Penn Treebank distinguished opening quotation marks from closing ones, so the English training text was changed to mark those roles. The team also used tokenization rules that split forms such as I’ll, Don’t, and Commissioner’s. The intended result was to let the parser represent the relevant verbal, negative, and possessive elements separately. The outputs of the parser become inputs to extraction, which gives a tokenization decision consequences beyond the original sentence.
For German to English, Moses compound splitting was applied to the German side. A German compound that would otherwise occupy a single position in the input can then expose pieces that participate separately in alignment and matching. The authors used this preprocessing source-side where German was the input. The treatment of English contractions and the treatment of German compounds therefore affect different sides of a German-to-English rule. Empirical Methods for Compound Splitting
The parallel sentences were aligned with MGIZA++. A word link expresses evidence that a source word and a target word correspond in a particular training pair. Those links tell the GHKM extractor which parts of the source sentence go with a target fragment. The target tree says which groups form constituents, whereas the links say how their words relate across languages. If the links omit a relevant source word, the extractor can learn a rule pairing that word with target material that leaves its meaning unexpressed. The later verb experiment intervenes at exactly this stage. MGIZA++ word alignment
Extract elementary fragments and compose them
For a particular aligned example, GHKM first finds a set of minimal rules that can account for the target tree and are compatible with the links between words. Minimality is relative to the example and its alignment. The procedure isolates pieces at usable boundaries, leaving a slot when a child fragment can be supplied by a separate rule. These minimal pieces can be put together so that they explain the sentence pair without overlapping in what they contribute.
The extractor can also compose a parent fragment with fragments attached below it. Where a parent rule would have left a slot, a composed rule incorporates more of the descendant’s structure. This may make the rule more informative. It can retain facts about words or categories that were observed together in training, so that the decoder can propose a larger piece of translation in one application. More conditions also narrow the circumstances in which that rule matches a new sentence. Recording a wider choice of fragments therefore increases the inventory without guaranteeing a corresponding increase in usable translations.
The implementation limits composed rules along several dimensions. MaxRuleSize counts internal constituent categories in the target fragment, with word leaves and part-of-speech categories excluded. Its default is 3. MaxRuleDepth measures the greatest distance from the fragment’s root down its structure, disregarding preterminal nodes, which are the tags immediately above words. Its default is 3. MaxNodes counts the nodes in the composed rule with target words excluded and defaults to 15. These caps limit different properties. A fragment can be shallow and still contain many nodes, or it can have a long nested path with relatively little branching.
The defaults came from experiments in English-to-German translation. The authors describe the German parses as tending to have wider, shallower structures than the English parses. A bound on depth consequently has a different meaning for the two collections of trees. With a more deeply nested structure, a rule covering a linguistically useful portion of the tree may reach the depth cap before its other dimensions become large. The team investigated alternative caps on German-to-English data and used the resulting choice for its English-target systems. The paper gives conflicting values for one of the selected caps, discussed with the numerical comparison below.
Change the tree before learning from it
A flat noun phrase can place a series of words or subphrases directly under a single node. The tree then provides no intermediate constituent for a sequence of some of those children. A rule extracted directly from the flat structure can carry requirements on several neighboring categories at once. A new noun phrase with a different arrangement of children may satisfy few of the rules learned from those training examples.
Binarization adds intermediate nodes to group children more gradually. In left binarization, the rightmost child stays immediately under the original parent and the other children move under a new node on the left. The process recurs on the added group where needed. In right binarization, the leftmost child stays immediately under the parent and the other children are grouped on the right. Either method maintains the order of the words. Its effect is to change the available subtrees and, with them, the fragments eligible for extraction. Moses supported both forms. The experiment that the paper tabulates uses left binarization.
The paper also describes parallel head binarization as a direction for investigation. Parallel binarization represents left and right groupings as alternatives in a forest. A forest records alternative tree structures for the same words. The head variant requires the head constituent, the element treated as central to its parent, to occur within each new group created by a binarization step. That requirement narrows the proposed groupings. The authors describe this strategy separately from the left-binarized system reported in their results and say it was outside the implementation available to them in Moses.
Binarization can improve the choice of fragments available in principle while also making some of their paths deeper. The same extraction caps are then applied to an altered tree. As a consequence, the question of which portions the new tree makes possible is separate from the question of which of those portions the extractor is permitted to keep. That interaction matters for interpreting the experiment with fixed extraction settings.
Restrict how a rule can match the input
Moses decodes with a bottom-up chart. The chart stores partial translations organized around spans, which are contiguous stretches of the source sentence. A rule with fixed source words can match them against the input and use previously built pieces for its slots. A rule with a run of consecutive source nonterminals leaves the decoder to consider different boundaries for the spans filling that run. The burden grows with the number of such decisions.
The paper expresses the number of ways to choose the boundaries for a rule with a consecutive run of source nonterminals using a binomial coefficient.
C(n + 1, s)
C denotes the number of combinations drawn from the first argument in groups of the size specified by the second argument. n is the length of the source sentence. The addition sign and 1 give the number of word-boundary positions in a sentence of that length, counting both ends. s is the number of consecutive nonterminals in the rule. The comma separates the two arguments. This count describes candidate application contexts, the choices the parser has to consider for applying the rule to source spans.
O(nˢ)
O is asymptotic upper-bound notation. n is the source length and the superscript s is the number of consecutive nonterminals in the case just described. The expression gives the order of growth in the paper’s account of the chart parsing cost for that case.
The earlier pruning method used in Moses asks which boundaries fixed words already determine. The paper illustrates this with an ordinary context-free rule on the side being matched.
X → W y Y Z z
X is the category expanded by the rule, and the arrow introduces the sequence used to expand it. W, Y, and Z are nonterminals whose spans must be assigned. y and z are fixed terminals. For a given placement of the terminals, the position of y fixes the right edge of W and the left edge of the region covered by Y and Z. The position of z fixes the right edge of that region. The decoder still has to consider where W starts and where the boundary between Y and Z falls.
O(n²)
O again denotes an asymptotic upper bound, n is the length of the input, and the superscript ² indicates quadratic growth. This is the bound the paper gives for the example with the terminal positions fixed.
Scope counts adjacent pairs of nonterminals plus the nonterminals at a rule’s edges. In the example, the adjacency of Y and Z contributes to scope, as does W at the left edge. The grammar’s scope is the largest scope among its retained rules. Moses discards rules outside scope 3, giving the cubic parsing bound the paper describes. A rule can still contain several elements if enough of those elements anchor its match. Scope is thus a constraint on freedom to place a rule, distinct from the constraints on the size of a fragment during training.
Score rules and translations
A derivation is the sequence of rule applications that produces a target string and tree. The decoder scores that derivation using features of its rules and of the completed or partial output. The paper names a word-count feature and a target word-sequence probability as well as the rule features below. The word-sequence probability uses an n-gram estimate, which evaluates words in the context of nearby words. This complements the constituent categories by supplying evidence about the particular words a derivation has brought together.
The direct translation probability scores a target expansion and its category conditional on the source expansion.
p(LHS, RHSₜ | RHSₛ)
p denotes a probability. LHS is the category of the target fragment and RHSₜ is the target expansion beneath that category. The comma groups them as the outcome whose probability is being evaluated. RHSₛ is the source expansion, and the vertical bar means that the probability is conditional on that expansion. The subscripts t and s identify target and source.
The noisy-channel translation probability conditions in the other direction.
p(RHSₛ | RHSₜ, LHS)
p denotes a probability, and RHSₛ is the source expansion whose probability is scored. RHSₜ and LHS are the target expansion and its grammatical category. The vertical bar introduces the conditioning information, and the comma groups the target expansion and category together on that side of the expression.
The grammar also attaches a direct lexical weight to a rule.
pₗₑₓ(RHSₜ | RHSₛ)
pₗₑₓ is the lexical weight, with the subscript identifying a score based on word translation evidence. RHSₜ and RHSₛ are the target and source expansions, respectively. The vertical bar gives the direction in which the word-level support is evaluated, from the source expansion to the target expansion.
pₗₑₓ(RHSₛ | RHSₜ)
pₗₑₓ again denotes a lexical weight. RHSₛ is now the source expansion being scored and RHSₜ is the target expansion supplying the conditioning information to the right of the bar. Keeping separate weights gives the decoder access to word-level evidence in both directions, alongside the translation probabilities associated with the rule as a whole.
The authors also score the target fragment according to how plausible its constituent structure is in the parsed target corpus. A probabilistic context-free grammar assigns probabilities to the expansion steps used inside the fragment. The fragment score multiplies them.
pₚ꜀ꜰɢ(FRAGₜ) = ∏ᵢ₌₁ⁿ p(rᵢ)
pₚ꜀ꜰɢ denotes the probability from the target-side probabilistic context-free grammar. FRAGₜ is the target tree fragment, with t marking the target side. The equals sign defines the feature, and ∏ indicates multiplication over all the indexed factors. The index i starts at 1 and runs through n, the number of constituent grammar rules in the fragment. rᵢ is the constituent rule at index i and p(rᵢ) is its probability. These probabilities are estimated from parsed target training sentences. The paper assigns probability 1 to lexical constituent rules, so those rule probabilities leave the product unchanged. The intended pressure is toward target structures supported by the parsed corpus. The authors relate this feature to an earlier score for syntactically labeled translation fragments. SPMT
A frequency feature marks rules that occurred rarely in extraction.
exp(−1/count(r))
exp is the exponential function. r is the translation rule and count(r) is its observed count. The division sign forms the reciprocal of that count using 1 as the numerator, and the minus sign makes the exponent negative. The feature is smaller for rarer rules and approaches 1 as the count increases. Its contribution to selection is governed by the weight learned for the feature.
exp(1)
exp is again the exponential function, and 1 is the fixed exponent in a rule-application feature. Each application receives that same feature value. The main translation grammar and the glue grammar have separate penalty features. This lets tuning give distinct weights to ordinary rule applications and to the operations that join otherwise separate pieces.
Tune the scores and limit the search
The authors trained 5-gram word-sequence estimates with SRILM and modified Kneser–Ney smoothing on the available monolingual data for each direction. Smoothing adjusts the estimates derived from observed sequences so that counts provide usable probabilities even when word combinations are infrequent. The authors then interpolated the estimates, combining their evidence with weights tuned on the newstest2011 development set. This step determines how to combine estimates from monolingual data. The translation feature weights are a separate set of parameters. Moses adjusted those weights with minimum error rate training on development sentences, using the quality of decoded outputs to guide the choice.
The authors set max-chart-span to 25 source words. That caps the length of a partial derivation produced in the ordinary chart, with glue rules available to join pieces so a longer sentence can be covered. A glue application connects pieces that the decoder can translate separately. Its use is therefore a practical solution to coverage as well as a diagnostic of how frequently decoding resorted to such joins. A sentence can still contain individual well-structured pieces even if they are ultimately joined by glue.
The decoder also set ttable-limit to 200. On loading the grammar, Moses retains a limited selection of alternatives with the same source expansion and drops low-scoring ones. The option controls how many such rules can compete for a source pattern. Finally, cube-pruning-pop-limit was set to 1000, controlling the number of hypotheses created for a chart span. A hypothesis is a candidate partial translation and derivation. These controls act at distinct stages. Extraction limits what can enter the learned inventory, loading limits which entries remain for a given pattern, and search limits the combinations considered when translating a particular sentence.
Experiments and results
The training and evaluation sets
The authors used the available parallel material for each submitted direction, with the exception of Commoncrawl for Russian to English. The directions differed considerably in the amount of parallel material, in how many rules were extracted, and in the number of sentences used to tune the feature weights. The counts describe distinct objects. A parallel sentence pair can contribute several fragments and composed rules, and a sentence used for tuning tests the behavior of the system with alternative weights.
| Translation direction | Parallel training sentences | Extracted grammar rules | Tuning sentences |
|---|---|---|---|
| English to German | 4,411,792 | 31,568,480 | 7,065 |
| German to English | 4,434,060 | 55,310,162 | 2,400 |
| Czech to English | 14,425,564 | 209,841,388 | 10,068 |
| Russian to English | 1,140,359 | 7,946,502 | 1,501 |
The training and grammar columns refer to the parallel corpus and extracted inventory for each direction. They give the scale of the systems and help distinguish them from the smaller training runs used to compare extraction settings. The English-to-German and German-to-English systems, for example, have broadly similar training sentence counts in the table and different grammar sizes. Translation direction determines which side receives constituent labels and changes the training conditions for extraction. The table on its own gives no breakdown of how much of the difference in rule inventory arises from tree shape, alignment, corpus content, or rule settings.
The principal evaluation compares Edinburgh’s syntax-based and phrase-based submissions on newstest2013. The paper reports cased BLEU, measuring overlap with reference translations and keeping capitalization distinctions, and manual expected wins, the score it uses to report the relative judgments from human evaluation. The two metrics have distinct scales and report different aspects of the comparison. The paper presents both alongside one another for each direction, making it possible to see whether they place the two submissions in the same order.
The shared-task submissions
Edinburgh submissions by translation direction on newstest2013, cased BLEU
The phrase-based entries scored higher, with the closest scores in the directions involving German.
The numbers
| System or setting | BLEU |
|---|---|
| English to German, phrase-based | 20.1 |
| English to German, syntax-based (this paper) | 19.4 |
| German to English, phrase-based | 26.6 |
| German to English, syntax-based | 26.3 |
| Czech to English, phrase-based | 26.2 |
| Czech to English, syntax-based | 24.4 |
| Russian to English, phrase-based | 24.3 |
| Russian to English, syntax-based | 22.5 |
For English to German, the syntax-based submission’s 19.4 cased BLEU is close to the phrase-based submission’s 20.1 on newstest2013. German to English gives another close comparison on that set, with 26.3 for the syntax-based system and 26.6 for the phrase-based one. Since a different reference set is involved for each direction, the strength of the comparison comes from evaluating the two systems within the same direction. A score in one direction gives no direct measure of how hard translating into its target language was relative to translating into another.
For Czech to English the same test gives 24.4 cased BLEU for syntax and 26.2 for the phrase-based entry. For Russian to English it gives 22.5 and 24.3, respectively. The Russian-to-English syntax system used a parallel corpus with Commoncrawl omitted. The authors also report that the training material was lower-cased and attribute additional parsing errors to the formatting mismatch. These observations provide explanations the authors consider plausible for a weaker extracted grammar. The submission comparison reports the result of that training setup as a whole.
Edinburgh submissions by translation direction on newstest2013, manual expected wins
Human evaluation favored the syntax-based entries in the directions involving German and the phrase-based entries in the other directions.
The numbers
| System or setting | expected wins |
|---|---|
| English to German, phrase-based | 0.571 |
| English to German, syntax-based (this paper) | 0.614 |
| German to English, phrase-based | 0.586 |
| German to English, syntax-based | 0.608 |
| Czech to English, phrase-based | 0.562 |
| Czech to English, syntax-based | 0.542 |
| Russian to English, phrase-based | 0.507 |
| Russian to English, syntax-based | 0.416 |
In both directions involving German, the manual judgments reverse the ordering seen in cased BLEU. For English to German, expected wins are 0.614 for syntax and 0.571 for the phrase-based entry on newstest2013. For German to English, they are 0.608 and 0.586. This establishes what the reported metrics observed about the submitted outputs. The paper does not break the judgments down by error type, so the reversal cannot be assigned to a particular improvement such as agreement or verb placement.
For Czech to English, the syntax-based entry’s 0.542 expected wins place it closer to the phrase-based entry’s 0.562 in the manual results than the authors judged from their BLEU comparison. For Russian to English, manual expected wins of 0.416 for syntax and 0.507 for the phrase-based entry place the syntax system behind on the human measure as well. The overall claim of competitiveness is strongest for the German directions. Extending it to the other entries requires retaining the qualifications in the individual results.
Choosing how much grammar to extract
The German-to-English extraction experiments were run on less parallel training data than the submissions so that changes could be tested more efficiently. The paper reports cased BLEU on splits labeled 2009-40, 2010-40, and 2011-40, and an average over those columns. It also reports the full number of extracted rules and the count after filtering for the newstest2008 development set. Filtering gives a more local view of the inventory by counting rules retained for that set rather than every rule extracted from training.
The default combination, with depth 3, nodes 15, and size 3, gave 19.17 average cased BLEU. Its full grammar had 2,572,222 rules, with 751,355 after filtering. The setting with depth 4, nodes 20, and size 4 reached 19.30 average BLEU. Its counts were 3,188,970 for the full grammar and 901,710 after filtering. Several limits move together here. The comparison shows what happened when the grammar was given more room along those dimensions collectively.
The third row of the extraction table lists depth 5, nodes 20, and size 5. It gives a full grammar of 3,668,205 rules and a filtered grammar of 980,057. Its cased BLEU scores are 19.04 on 2009-40, 20.47 on 2010-40, and 18.75 on 2011-40, with an average of 19.42. The prose identifies the third row as the chosen setting and gives size 4, while the table gives size 5. The identity of the row and the scores shown in the table are clear. The exact size cap corresponding to the paper’s claimed choice is ambiguous.
The larger configurations give context for that choice. With depth 5, nodes 30, and size 5, the average remains 19.42 and the filtered count is 980,061, while the full count reaches 3,776,961. With depth 5, nodes 30, and size 6, the paper reports 19.43 average BLEU, 4,340,716 full rules, and 1,006,174 filtered rules. Increasing the extraction limits keeps expanding the inventory; the last rows offer little movement in average BLEU. The filtered counts show how much of that growth survives for the particular development set used in the comparison. They leave open what additional coverage those rules might supply for other inputs.
Tuning on a smaller set of sentences
The German-to-English tuning comparison starts from a speed constraint. Long sentences make chart search expensive, and tuning calls the decoder repeatedly. The baseline set consisted of 5,771 sentences from newstest2008-2010, with sentences longer than 30 words removed. The large set included all 10,068 sentences from newstest2008-2011. The filtered set drew from that same larger pool. A baseline system translated its sentences, and the authors selected 2,400 examples with high sentence-level BLEU using a procedure that penalized excessively short choices. Here sentence-level BLEU supplies a selection signal for individual examples, while the cased BLEU reported for the resulting systems evaluates their outputs on the test sets.
On newstest2012, the baseline, large-set, and filtered-set systems scored 23.21, 23.52, and 23.54 cased BLEU, respectively. On newstest2013, they scored 26.27, 26.33, and 26.30. The filtered set produced the system submitted to the shared task. The tuning comparison displays its newstest2013 score as 26.30, whereas the shared-task comparison displays 26.3. On the two reported splits the large and filtered sets yield very similar scores, with their order changing between splits.
According to the authors, decoding the baseline and filtered tuning sets required roughly one-third as much time as decoding the largest set. That timing concerns the work of decoding the tuning material. The experiments also record glue use and the depth of the output trees, which reveal a difference in how the tuned systems arrived at translations with similar BLEU.
What the ablations show
Extraction limits change which rules become available
The paper’s comparisons are interventions on a working system. The extraction sweep changes the available rules, the tuning experiment changes the examples used to weight the features, and the post-submission runs change what goes into the extractor. Taken individually, these comparisons reveal consequences of the tested settings. Their interpretation depends on which part of the pipeline was altered and what the authors measured afterward.
The extraction comparison shows a distinction between generating rules and generating rules likely to be relevant for decoding a specific set. More permissive extraction produced larger full grammars throughout the sweep. At the upper end, raising the node allowance while leaving the other settings as listed in the table changed the full inventory and left the filtered inventory near its previous value. The score averaged across the reported splits stayed at 19.42 in that comparison. A grammar under a generous extraction policy can contain more variants that the development sentences rarely present an opportunity to use.
The splits also differ in their response to a setting. The entry with depth 5, nodes 20, and size 5 has 19.04 on 2009-40, while the version with nodes 30 and the other listed limits held fixed has 18.90 there. On 2010-40, those entries score 20.47 and 20.59 respectively. The average is informative as a compact description of the sweep, and the individual scores show why that average should not be read as a uniform effect of enlarging a grammar. The early changes in the sweep also raise several limits together, so those rows give little basis for ranking the individual importance of depth, nodes, and size.
Tuning examples change the use of glue
The output metrics in the tuning comparison describe how partial translations were combined. On newstest2012, the reported glue-use statistic was 5.42 for the baseline tuning set, 3.41 for the large set, and 3.21 for the filtered set. On newstest2013, it was 4.23, 2.49, and 2.37 respectively. The ordering holds across both tests. In the system tuned on the selected examples, the decoder used fewer glue applications to bring together the output.
The tree-depth measurements follow a related pattern. For newstest2012, the baseline tree-depth statistic was 4.03, compared with 4.34 using the large tuning set and 4.37 using the filtered set. On newstest2013, the corresponding values were 3.80, 4.03, and 4.05. The authors interpret deeper trees and lower glue use as signs that the latter settings made greater use of the syntax available in the grammar. The measurements show the shapes and construction of the derivations. They do not assess whether each attachment within a deeper tree is linguistically correct.
The full and filtered sets were drawn from the same pool, which makes their comparison useful for studying this particular selection procedure. It shows that the selected examples were enough to achieve similar downstream BLEU and similar structural statistics, while reducing the amount of text the decoder had to process during tuning. The baseline comparison changes the years covered as well as the length policy. The authors consequently regard the benefits of including longer sentences as preliminary and suggest testing against a baseline drawn from the same source material.
Left binarization offers different fragments under the same caps
The post-submission runs compare a baseline trained on the available German-to-English parallel data and tuned on newstest2008-2010 with the 30-word cutoff against altered training pipelines. The baseline has 55,310,162 rules. Applying left binarization to the target parses before learning the rules gives a grammar with 57,151,032 rules. The experiment keeps the baseline extraction limits. It therefore shows how left binarization performs when the extractor’s allowance for depth, nodes, and size stays fixed after the tree is restructured.
On newstest2012, the left-binarized system scores 23.17 cased BLEU to the baseline’s 23.21. The glue statistic increases from 5.42 to 7.79, and the tree-depth statistic is 4.09 against 4.03 for the baseline. On newstest2013, the corresponding BLEU scores are 26.13 and 26.27. The glue statistic is 6.57 against 4.23, and tree depth is 3.85 against 3.80. In these runs the additional tree structure and larger rule inventory coexist with greater reliance on glue.
The authors point to the caps as a possible explanation. An intermediate node gives the extractor a new boundary for making a fragment, and it also lengthens paths and adds nodes to fragments that cross that boundary. Some useful structures may consequently require higher limits in the binarized trees. The measured result concerns the left-binarized trees under the unchanged caps. The paper leaves the proposed interaction with more permissive settings open.
Verb realignment changes both the grammar and the output
The other post-submission intervention takes place before extraction. For an unaligned source verb, the authors use the translation probabilities from IBM alignment method 1 to select the most probable verb in the target sentence and align the two. The intervention is targeted at the missing link. It changes what the extractor can regard as a valid correspondence involving that source verb, while leaving the later decoder to decide how to use the resulting rules.
Verb-dropping rules in the post-submission German-to-English grammars
Realigning unaligned source verbs before extraction reduced the number of rules that could drop verbs.
The numbers
| System or setting | rules |
|---|---|
| Baseline | 1,038,597 |
| Verb realignment (this paper) | 391,231 |
The complete grammar also changes, from 55,310,162 rules in the baseline to 53,894,112 after realignment. The output statistics add evidence beyond these inventory counts. On newstest2012, the baseline translations contain 9,216 verbs, the realigned system’s output contains 9,471, and the reference translations contain 9,992. On newstest2013, the respective verb counts are 8,418, 8,614, and 9,207. The intervention moves the output totals towards the reference totals on both sets.
The realigned system also uses less glue. Its glue statistic is 4.88 on newstest2012, compared with 5.42 for the baseline, and 3.73 on newstest2013, compared with 4.23. Its tree-depth statistics are 4.19 and 3.96, respectively, against 4.03 and 3.80. Cased BLEU stays close. The realigned system scores 23.26 on newstest2012 and 26.26 on newstest2013, while the baseline scores 23.21 and 26.27. The different measurements trace the intervention from rule extraction to decoder behavior and aggregate output, where its effect is easier to see in verb counts than in reference overlap.
These observations support the proposed training mechanism. Missing alignment links can make it possible to extract rules that omit verbs, and changing the links changes the frequency of such rules. The output counts show that the difference survives decoding. Establishing that particular verbs were recovered with their correct readings and positions would require a correspondence analysis of the outputs, beyond the aggregate verb counts the paper reports.
Limitations
Limits the authors identify
Training and decoding costs constrain the scope of the investigation. The authors attempted French to English and Spanish to English but found the data scale difficult given the time available. For the submitted systems, long sentences made tuning slow enough to motivate selective filtering. That practical issue is consistent with the cubic parsing bound described for the pruned grammar. The bound describes the growth of the chart problem under its assumptions. The runtime of repeated decoding also depends on the rules and hypotheses surviving at each span and on the length distribution of the sentences being translated.
The authors identify a confound in the tuning comparison. The length-filtered baseline begins with newstest2008-2010, while the large and selectively filtered sets begin with newstest2008-2011. The baseline comparison therefore includes a change in source material as well as a change in the treatment of long sentences. The paper proposes using the same source years for a future baseline. The comparison between the large and selectively filtered sets already shares the source pool and gives firmer evidence for retaining performance with the particular smaller set.
For Russian to English, the authors note both their omission of Commoncrawl and parsing difficulties associated with lower-cased training data. The system’s weaker scores on the shared-task evaluation belong to that setup. The paper offers these factors as explanations, without a run that adds the omitted corpus back or repairs casing while holding the rest of the conditions fixed. Their individual contributions to the result remain undetermined.
For tree restructuring, the authors note that changing the shape of a tree can affect how it fits the extraction limits. The left-binarized run uses the same settings as its baseline. A more complete experiment would compare settings adapted to the restructured trees, and the paper’s proposed head-sensitive alternatives are outside the reported Moses comparison. The unchanged limits make the reported run interpretable as a specific intervention with a specific configuration.
Limits of the evidence
The main comparisons are between full submissions. They establish which entry scored higher on each reported measure for a given translation direction. The human judgments for both directions involving German support the competitiveness of the syntax-based entries. A controlled estimate of the benefit of target syntax alone would require system variants designed to isolate that representation. The paper provides neither an error-by-error classification of the manual preferences nor uncertainty estimates that would establish how stable the reported orderings are under another sample of judgments.
Several detailed analyses focus on German to English. The extraction experiment asks which caps work well for English parses in that direction and guides settings for the other English-target systems. Differences in source data and alignments still affect what rules can be extracted for those systems. The paper does not give separate sweeps to establish the best caps for Czech to English or Russian to English. It also gives conflicting size limits in the prose and table for its selected German-to-English row, so the complete settings for that choice cannot be recovered unambiguously from the paper.
The speed claim for filtered tuning describes decoding the selected tuning set. The paper explains that selection first uses a baseline system to translate the larger pool and evaluates those translations. It does not give the full cost of generating the selection together with tuning or specify how that cost would compare across different development cycles. Nor does the experiment establish that the same selection rule would work well with a baseline that makes very different errors. Selecting examples by prior success means the choice depends in part on the baseline system used to score them.
Finally, glue use, tree depth, and verb totals diagnose different stages of translation. Lower glue use shows that the decoder joins separately derived pieces less often. Depth measures the amount of nesting in the resulting trees. Aggregate verb counts establish how many verbs the outputs contain. Their joint movement under an intervention is evidence of changed system behavior, but correctness of individual structures and translations would require closer inspection. This distinction is especially important here because the paper’s central motivation is grammatical coherence and the strongest focused intervention measures the presence of verbs in aggregate.
What came after
The Findings of the 2013 Workshop on Statistical Machine Translation cites the Edinburgh paper in the same shared-task context. Its stated subject is the workshop’s findings, the broader evaluation setting in which Edinburgh’s system description belongs. The Edinburgh paper gives the details of one team’s entries and the experiments surrounding them. The citation connects that account to the workshop’s collective reporting. It leaves open whether any of the team’s individual training choices were used elsewhere in that reporting.
The Impact of Machine Translation Quality on Human Post-Editing cites the Edinburgh paper in work concerned with what translation quality means for people who edit the output. Edinburgh reports reference overlap and expected wins from manual evaluation; post-editing raises a further question about what happens when a person has to revise a translation. The citation and title establish the connection in subject. They leave the role of the Edinburgh systems in the post-editing study unspecified.
Discourse Structure in Machine Translation Evaluation cites the paper in work whose title locates structure on the evaluation side. Edinburgh gives structure a role in constructing the target sentence and examines the resulting derivations alongside its evaluation scores. The later work’s stated focus is discourse structure in evaluating translations. The citation establishes that link across the two uses of structure, while leaving unspecified whether the later work adopted Edinburgh’s extraction procedure, used its outputs, or drew on it as context.
Cite
Cite as Maria Nadejde, Philip Williams and Philipp Koehn. 2013. Edinburgh's Syntax-Based Machine Translation Systems. Proceedings of the Eighth Workshop on Statistical Machine Translation.
@inproceedings{nadejde2013edinburgh,
title = {{Edinburgh's Syntax-Based Machine Translation Systems}},
author = {Maria Nadejde, Philip Williams and Philipp Koehn},
booktitle = {Proceedings of the Eighth Workshop on Statistical Machine Translation},
year = {2013},
url = {https://aclanthology.org/W13-2221/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/nadejde-2013-edinburgh-s-syntax-based-machine/