Elamur Research

Analysing soft syntax features and heuristics for hierarchical phrase based machine translation.

Paper · 2008 · David Vilar, Daniel Stein and Hermann Ney

Summary

A translation system that learns from paired sentences can discover useful patterns without being told how either language is organized. Letting those patterns contain gaps makes them more flexible. The system can carry a group of words from one position to another while translating the material around it, then fill the gap with a translation of the group itself. That flexibility also produces a large inventory of rules, including many whose boundaries may be accidents of the training data. In this study of hierarchical phrase-based machine translation, the authors ask whether evidence about grammatical structure can help the system choose among the rules it already extracts.

The authors analyze the Chinese and English training sentences with separate parsers. For each occurrence of an aligned phrase pair, they check how closely each side matches a unit in its own parse tree. For a rule with gaps, they also examine the smaller phrases that were removed to create those gaps. They average the evidence from training occurrences and store it with the rules as scores the decoder can weigh alongside its other evidence. A phrase can still be useful even if it crosses a grammatical boundary. The paper also tests simpler ways of guiding rule choice, such as identifying rules that add words on the same side of a gap in both languages, and an added rule that lets the decoder join translations in source order inside a gap.

The experiments use the Chinese-to-English text condition of the IWSLT 2008 Basic Travel Expressions Corpus task. On test05, the blind set used to compare systems, the hierarchical baseline scores 50.9 on BLEU. All the syntax-only variants score higher there, and exact constituent matching reaches 51.7. Some combinations of the simpler heuristics also improve BLEU, with a combination of the hierarchical indicator and the same-side attachment indicator reaching 51.9. On test08, the baseline scores 39.6, the linear syntax variant reaches 40.6, and the attachment indicator alone reaches 40.8.

The ranking changes with the test set and the metric. The authors also find substantial variability on the data used to tune the decoder’s weights. Their results support using grammatical evidence as a graded contribution to rule choice in this setting. They leave open which definition of grammatical fit to use, and the comparisons show that giving the decoder several extra signals at once can yield worse scores than giving it a single kind of evidence.

Deep dive: Analysing soft syntax features and heuristics for hierarchical phrase based machine translation.

How soft syntax scores and rule heuristics affect hierarchical phrase-based translation in Chinese-to-English travel text, and what the comparisons show. · about 34 minutes to read

The problem and its context

What a phrase can capture

In phrase-based translation, a phrase is a stretch of consecutive words. The term describes how the system groups words for translation. A group can correspond to a grammatical unit, but its status as a translation phrase depends on how its words align to words in the other language. The authors describe this as a major advance over earlier statistical approaches that operated on individual words. A learned phrase pair lets the system translate words together, drawing on evidence for the group that a series of independent word choices would miss.

The requirement that a phrase be consecutive applies to both languages. A system can learn a phrase pair in which words appear in different orders, provided the groups on both sides remain contiguous. The limitation becomes apparent when a recurring translation pattern has words between its fixed parts, or when some of the translated material belongs in a different place relative to the rest. A single contiguous phrase can record an observed instance of that pattern with its intervening words included. The resulting entry needs those words to match before it can be used again.

Ordinary phrase-based translation can also reorder separate phrases. In the account given by the authors, that reordering typically relies on a heuristic outside the phrase pairs themselves. This matters because there are two distinct questions during translation. The first is which words belong together as a translation unit. The second is where the resulting target material goes. A phrase entry for a contiguous block gives evidence about its wording, while a separate reordering decision determines how such blocks are arranged. A rule with gaps can supply translation and ordering information in the same entry.

How gaps change the choice of rules

Chiang’s hierarchical approach gives a translation rule places for smaller translations. A gap represents source material that another rule will translate. The surrounding rule specifies where the result of that smaller translation appears on the target side. If there are several gaps, the rule can place their translations in a different order. A pattern can therefore recur across sentences even when the groups occupying its gaps differ.

The term hierarchical refers to this relation between the enclosing rule and the rules that fill its gaps. A translation can contain several levels of such decisions. The resulting hierarchy records how rules combine during decoding. It can be built from alignments without requiring that every combination correspond to a grammatical constituent. The hierarchy of translation decisions and the structure found by a linguistic parser are separate sources of information.

The gain in flexibility brings an extraction problem. For an aligned pair of passages, the extractor can consider the whole pair as an ordinary phrase and can also build rules by replacing eligible smaller pairs with gaps. The same enclosing pair may support several choices about which material to abstract away. Another training occurrence can support the same pattern or generate further variants. The authors describe the hierarchical rule inventory as an order of magnitude larger than its ordinary phrase-based counterpart. That observation motivates their suspicion that many entries are unlikely to help translation. The mere fact that an entry can be generated from an alignment supplies little guidance about when it will be worth using.

That large inventory makes the distinction between eligibility and preference consequential. One response is to restrict the kinds of rules that can enter the inventory. Another is to retain the rules allowed by the extractor and give the decoder information for comparing uses of those rules. The paper studies the latter role for grammatical structure. It also examines how changing extraction or adding a rule can alter the choices available to the decoder. These interventions address the same broad problem through different parts of the system.

Where grammatical structure had entered translation

The authors place their work in a line of research that includes Chiang’s early attempt to combine hierarchical translation with syntactic information. They describe that attempt as unsuccessful. They also point to syntax-oriented work from the ISI group, where the researchers changed the units or the procedure for extracting them while trying to preserve the advantages of translating phrases. The authors cite an approach whose title emphasizes the use of grammatical structure on the English output side, SPMT.

Another precedent is the study the authors cite for the usefulness of phrases whose boundaries cross grammatical constituents. That result gives a reason to preserve an entry even when a parser cannot assign a single grammatical category to its full span. If an aligned phrase translates well, requiring it to match a node in a tree could sacrifice useful bilingual evidence. The relevant earlier work is What Can Syntax-Based MT Learn from Phrase-Based MT?.

The paper names other efforts to bring syntax and hierarchical phrase translation together. Its description of this line of work emphasizes a practical difficulty. A construction in one language may correspond to a different construction in the other, and the relationship between their syntactic analyses is difficult to specify directly. The earlier works named in this connection include Syntax Augmented Machine Translation via Chart Parsing and Soft Syntactic Constraints for Hierarchical Phrased-Based Translation.

Vilar, Stein and Ney use an approach that avoids needing a mapping between grammatical categories. They ask a separate question on each side. Does the Chinese word span fit a Chinese constituent, and does the English word span fit an English constituent? Word alignments still determine the bilingual phrase pairs. The parse trees characterize those pairs after extraction, and the decoder receives the resulting evidence through its existing scoring mechanism. A span can match a constituent in each language even when the two constituent types differ.

This arrangement also gives the study a focused question. The value of a grammatical score can be tested with the rules and search procedure of the hierarchical baseline. In the authors’ setup, turning the score off removes its influence on the preference for an extracted rule. The paper contrasts this with an extraction procedure that has already discarded phrases on grammatical grounds. In that case, changing a decoder weight cannot restore the discarded entries. Keeping the inventory accessible lets the authors investigate whether syntactic fit is worth weighing without making it a condition for translation.

The method, step by step

From aligned sentences to rules with gaps

The starting point is a collection of corresponding Chinese and English sentences with word alignments. An alignment records links between words on the two sides. The phrase extractor seeks a pair of contiguous spans whose alignment links stay within the pair. This gives an ordinary phrase pair. At this stage the source words and their target counterparts are visible, and the pair can be used as a single translation unit.

The extractor then considers an ordinary phrase pair inside a larger one. The smaller pair supplies a source span and its target counterpart. Removing the words of each smaller span and leaving matching placeholders creates a more general rule. The source placeholder marks material that will be translated separately. The target placeholder marks the place where that translation will go. The procedure can continue with a rule already obtained from the larger pair until it reaches the allowed limit on gaps. Every new gap comes from a smaller ordinary phrase pair, so the extraction has evidence from both languages for the material abstracted away.

From aligned training sentences to syntax-scored translations

The steps in order.

From aligned training sentences to syntax-scored translationsStep 1: Extract aligned phrase pairs1. Extract aligned phrase pairsStep 2: Replace smaller phrase pairs with linked gaps2. Replace smaller phrase pairs with linked gapsStep 3: Parse the training sentences in both languages3. Parse the training sentences in both languagesStep 4: Score the enclosing spans and gap spans4. Score the enclosing spans and gap spansStep 5: Average occurrence scores for each rule5. Average occurrence scores for each ruleStep 6: Tune the decoder’s feature weights6. Tune the decoder’s feature weightsStep 7: Decode with the scored rules7. Decode with the scored rules

The rule formalism is a synchronous context-free grammar. A context-free rule replaces a grammatical placeholder with a sequence of symbols. Here, each application builds pieces of a source sequence and a target sequence together, with a link between the placeholders for their corresponding subtranslations. The authors write the general rule in this form.

X → ⟨γ, α, ∼⟩

X is the nonterminal on the left. A nonterminal is a symbol that can be expanded by another rule. The arrow → indicates that the sequences on the right are the expansions associated with X. The angle brackets group the source string γ, the target string α, and the correspondence ∼. Both strings can contain terminal symbols, which are the observed words, and nonterminals, which represent gaps. The commas separate the components of the rule. The correspondence ∼ links every source gap to exactly one target gap and every target gap to exactly one source gap.

The link between the gaps matters when their order changes. In one of the paper’s examples, the fixed English wording forms a pattern of the kind It’s the first item in the second item. The gap that comes first in the source fills the position after in the on the English side. The other gap supplies the earlier English item. The enclosing rule therefore specifies a reversal of the two subtranslations. The words inside either gap can be handled by rules of their own, and the enclosing rule need only determine where their finished translations belong.

This separation lets an entry represent both recurrent wording and recurrent ordering. The terminals provide the fixed part of the pattern. The links provide the instructions for fitting variable material around that part. Although every complete sentence still has a linear word order, the outer rule works with groups that can be translated as units. The smaller rules can also have gaps, so an ordering decision at one level can coexist with a separate arrangement inside a group.

Keeping extraction and search manageable

The paper describes the restrictions proposed in Chiang’s system. A rule can contain at most two nonterminals, and there must be something between them on the source side. A rule must contain at least one terminal. There are also limits on rule length for reasons of efficiency. These restrictions leave room for a rule that relates fixed words to groups on either side while narrowing the number of candidate rules and ways of applying them.

Another restriction concerns words without an alignment link. An aligned core can sometimes be enlarged by absorbing an unaligned neighboring word without introducing a link to somewhere outside the pair. Minimal initial phrases omit such expansions. The authors depart from this choice and include pairs that can take in adjacent unaligned words, on the Chinese or English side. Earlier ordinary phrase-based experience motivates this decision. An unaligned word can still be part of a useful translation unit, and excluding it at the beginning carries through to the rules that might have been derived from that phrase.

Allowing expansion changes the inventory presented to subsequent stages. It differs in that respect from a score that changes the preference among existing entries. It is also distinct from the linguistic test. A span containing an unaligned word can receive a good or a poor syntax score, depending on how it fits the tree. The alignment-based rule for including the word and the parse-based evaluation of the resulting span answer different questions.

The system also includes glue rules. A glue rule lets the decoder place translations of consecutive parts of the source sentence next to each other in the same order. This gives the system a way to assemble a complete result from units that can be translated separately, even when the phrase inventory contains no larger rule spanning those units together. The original glue mechanism acts at the top level. The paper later adds an option to perform a similar operation within a gap.

Scoring and using the baseline grammar

The grammar specifies which translations can be built. The scores help the decoder choose among them. For an ordinary phrase pair, the authors use relative frequencies in each translation direction. An entry can be supported strongly when viewed from its Chinese side and have weaker support when viewed from its English side, because the alternatives pooled under each side differ. Both directions can contribute to the final decision.

When a standard phrase gives rise to several hierarchical rules, its count is distributed across the derived entries. The base scoring procedure thus accounts for the fact that a set of alternatives can owe its existence to the same original phrase. The authors also include phrase-level evidence from IBM1-like word scores. This adds information about the words in a phrase pair alongside evidence about the frequency of the pair itself.

During generation, the decoder also has penalties based on word and phrase counts. A word-count feature gives the scoring procedure a way to influence the length of a translation. A phrase-count feature reflects the use of translation units during its construction. The components enter a weighted log-linear score. In practical terms, features supply values and their weights determine how much each value matters to the ranking. A new feature can be added by recording its value and tuning a corresponding weight.

Decoding works by parsing the source sentence with the translation grammar. The decoder considers ways of covering source spans with rules and keeps track of the target wording that those choices generate. It needs target context because a sequence that looks acceptable when translated as a fragment may fit poorly next to the surrounding words. The target fluency score can therefore participate while the decoder is assembling the sentence.

The inventory can make that search expensive. Each rule application can combine several possible subtranslations, and those subtranslations can themselves come from competing rules. The baseline uses early pruning to avoid pursuing every combination. The paper names cube pruning and the lazy variant called cube growing. The proposed syntax scores fit into the existing weighted ranking. They give the decoder another basis for favoring a candidate without requiring a separate grammatical test of each completed output sentence during search.

Adding simple information about the rules

The first group of additions describes properties the system can obtain directly from the rule. A paste rule has a single gap and places the fixed words on the same side of that gap in both languages. The paper uses the same letters α and β locally for the two fixed strings in these forms.

X → ⟨X∼0 α, X∼0 β⟩

X is the expandable symbol, and → introduces its expansion. The brackets contain the source expansion, followed after the comma by the target expansion. X∼0 marks the corresponding gap in both strings, with ∼ indicating the link and 0 serving as its identifier. In this rule, α is the source wording after the gap and β is the target wording after the corresponding gap.

X → ⟨α X∼0, β X∼0⟩

The left-side nonterminal is again X, and the arrow → introduces the two strings between angle brackets. The comma separates source from target. The linked occurrences of X∼0 denote the same gap correspondence, with ∼ marking the link and 0 identifying it. This time the source string α and the target string β come before their respective occurrences of the gap.

A binary paste feature fires when a rule has either shape. The score gives the decoder a way to favor or disfavor this kind of attachment relative to its other choices. The property is local to the rule. A subtranslation inserted into a paste rule can have its own rearrangement, and other parts of the sentence can also be reordered. The weight regulates the contribution of paste rules to the overall preference for a derivation.

The hierarchical indicator marks any rule that contains a gap. It gives the decoder a way to adjust its preference for hierarchical rules relative to ordinary phrases. A finer pair of indicators marks the difference between rules with one gap and rules with two. Both signals concern the structure of a rule application. They can take effect even when the rule’s conventional translation scores and the target fluency evidence already account for part of the same preference.

The added glue rule provides a new way to combine subtranslations. It has this form.

X → ⟨X∼0 X∼1, X∼0 X∼1⟩

X to the left of → is the nonterminal being expanded. The angle brackets enclose the source and target expansions, separated by the comma. X∼0 and X∼1 are gaps. The correspondence symbol ∼ and identifiers 0 and 1 show which source gap is linked to which target gap. The order of the identifiers is the same on both sides, so the translation for the earlier source group is placed before the translation for the later one.

The left side of the original glue rule is the start symbol S, which confines its role to assembly at the top level. The extended rule has X on the left, the same symbol that appears in a gap of another hierarchical rule. This makes the new rule usable as an expansion inside a gap. It is a special joining rule with no fixed words and with adjacent source gaps. Thus it supplies a construction that following the ordinary extraction restrictions would leave out. Its purpose is to let the decoder use a sequence of smaller contiguous translations where an enclosing rule calls for a single subtranslation.

Measuring a phrase against a tree

The syntax procedure begins with separate analyses of the training sentences. The authors use Charniak’s parser for English and the Stanford parser for Chinese. A parser assigns a tree to a sentence, with nodes for groups of words. The yield of a node is the sequence of words it covers. The syntax score asks how that yield compares with a phrase span already identified by the extractor.

For an exact match, there is a node whose yield has the same boundaries as the phrase. The match concerns the span in a particular sentence. It does not depend on a rule having a noun-phrase category or any other syntactic label. With a phrase of the same wording in another sentence, the words around it or the analysis assigned to it can produce different constituent boundaries. Training collects evidence from those occurrences.

When the match is inexact, the authors look for the minimum number of additions or deletions needed to associate the span with a node’s yield. They describe searching in the tree for nodes that cover less than the entire phrase or that contain the phrase along with other words. The resulting distance is a count of words involved in bringing the phrase boundaries into agreement with a constituent. The edits are a way of measuring the span. The system retains the original phrase with its original words.

The authors write this distance as m(i, j), where i and j are the positions delimiting the span. The distance is 0 for an exact match. They use it to define four alternatives for assigning the occurrence a syntax count. Each alternative assigns an exact match a value of 1. The alternatives differ in what evidence they give to near matches.

c(i, j) = δ(m(i, j), 0)

c(i, j) is the syntax count for the span delimited by positions i and j. The equals sign specifies how the count is obtained. m(i, j) is the minimum word-edit distance to a node yield, and δ is the equality indicator. It gives 1 when its arguments agree and 0 otherwise. In this formula the second argument is 0, so only an exact match contributes a positive count. Parentheses delimit the arguments and commas separate them. This is the binary variant.

c(i, j) = 1 / (m(i, j) + 1)

c(i, j) is again the count for the span, and i and j delimit it. The equals sign defines the count as a quotient, with / indicating division. m(i, j) measures the same distance as before. The + adds 1 to that distance in the grouped denominator, and the numerator is 1. The added constant keeps the expression defined for a distance of 0 and gives the stipulated full count at an exact match. This is the variant the authors label linear. Its score falls as the distance grows, with the distance entering the denominator.

c(i, j) = 1 / exp(m(i, j))

c(i, j) is the count for the span bounded by i and j. The equals sign defines it as 1 divided, using /, by the exponential of m(i, j). The function exp is the natural exponential and its argument is the minimum edit count for the span. This choice makes the syntax count decay exponentially as the span requires more adjustment. At a distance of 0, the denominator is 1.

c(i, j) = (j − i) / ((j − i) + m(i, j))

c(i, j) is the syntax count and i and j delimit the span. The equals sign defines the count using the difference j − i, which is the span-size term in the paper’s formula. The minus sign − denotes subtraction. The slash / divides that size by the sum of the size and m(i, j), the minimum edit count. The + indicates addition, and the parentheses group the terms in the numerator and denominator. This relative variant gives the same edit distance less influence when the span-size term is larger.

The binary choice makes the boundary decision categorical at each occurrence. The other variants treat a nearly matching span as evidence of weaker grammatical fit. The linear and exponential forms depend on how many words need adjustment. The relative form asks how large that adjustment is compared with the extent of the phrase. If the sole problem is a small boundary mismatch, the relative form can distinguish that mismatch in a short phrase from one of the same size in a longer phrase.

The English tree example illustrates both a perfectly matching hierarchical rule and a boundary error. The full question about where the public toilet is corresponds to the sentence node, and the words naming the toilet form a noun phrase. Replacing that noun phrase with a gap leaves a rule whose enclosing span and removed span both earn 1. This gives 1 to the resulting hierarchical phrase on the illustrated side. The words left visible after opening the gap do not have to make up a complete constituent on their own. The score is based on the complete spans that justify the rule.

The same tree offers a contrasting span, is the public. It ends before the noun that would complete the larger verb phrase. The authors use the missing word to illustrate how the counts diverge. They report 0 for binary matching and 0.5 for the linear variant. The example reports 0.36 for the exponential count and 0.8 for the relative count. The relative value printed in the example is given with 4/5, and the explanation does not reconcile that span-size choice with the words named for the incomplete phrase. The example still conveys what the four scores are designed to distinguish, with the displayed formula specifying the relative variant.

Turning training occurrences into stored features

The syntax counts initially belong to occurrences. The parser has analyzed a particular Chinese sentence and a particular English sentence, and the rule extractor can identify the exact spans involved in that occurrence. The system uses those positions to evaluate the two languages independently. It can record evidence of a good constituent match on one side even if the other side has a poor match. There is no step requiring it to project a constituent label through the word alignment.

For an ordinary phrase pair, the authors add the syntax counts observed in training and normalize by the pair’s total count. With the binary variant, the resulting value reflects the fraction of observed occurrences that matched a constituent. With a graded variant, it reflects the average strength of the match under the chosen scoring function. Thus even binary matching at the level of a single span can produce a graded feature for a phrase pair observed in different contexts.

For a hierarchical entry, each occurrence can involve several spans on each side of the pair. The full phrase before gap creation is one of them. The ordinary phrase corresponding to each gap supplies another. The authors combine the counts of the enclosing span and the removed spans by adding them and dividing by the number of spans involved. Averaging keeps the scale comparable across different numbers of gaps. It also lets a strong match for one part contribute when another part has weaker support.

This makes a gap relevant to syntax in its own right. A rule can begin with an enclosing phrase that is a constituent yet receive a lower score because a gap removes a group that crosses a constituent boundary. A rule can also have gaps supported by clear constituents while its enclosing span fits less well. Evaluating the enclosing span and gaps together is a way of carrying evidence about both the whole pattern and its internal divisions into the stored entry.

These counts serve as scores on rules learned in training. The decoder looks them up as it considers uses of an entry. The weight determines their influence together with the other features, and a weight of zero removes their contribution. The decoding procedure therefore shares the same basic search operations as the hierarchical baseline. The added information comes from analyzing the phrases in the contexts in which they were learned, even though a rule can later be used to translate a different input sentence.

Experiments and results

The data and the roles of the splits

The experiments use the Basic Travel Expressions Corpus, or BTEC, in the IWSLT 2008 evaluation. The corpus covers language used in travel. The evaluation included several language pairs and both text and speech settings in much of the program. This paper focuses on translating written Chinese input into English. Chinese is the source side throughout the reported comparisons, and English is the side on which the translation is generated.

The original training data contain 19,972 sentences, with 171,932 running words on the Chinese side and 188,704 on the English side. Running words count occurrences, so a word that recurs contributes each time. The vocabulary figures count distinct entries. The paper reports 8,535 on the Chinese side and 7,567 on the English side for this training material.

The extended training data incorporate the material identified with the 2003, 2006 and 2007 development and test datasets. For the English side of the added material, the authors retain the two longest reference translations. A reference is a human translation supplied with a source sentence. Such translations can provide training pairs when added to the training material, or targets for evaluation when reserved for a test. The extended training data are reported as 23,940 sentences, with 181,486 running words in Chinese and 232,746 in English. Their reported vocabularies are 9,041 for Chinese and 10,350 for English.

The Chinese text is segmented into words with ICTClass. This establishes the word positions on which the alignments, phrase spans, and syntax comparisons operate. On the English side, the authors separate punctuation in tokenization and expand contractions. The paper describes those operations as the preprocessing used for these experiments. The preprocessing is part of the setting in which a reported phrase boundary or word count has meaning.

The names of the evaluation splits can obscure the different jobs the authors give them. The IWSLT 2004 test corpus becomes their development set, test04, with 500 sentences. They use it to optimize the weights of the combined features, aiming to maximize BLEU. The IWSLT 2005 test corpus becomes test05, the blind set for comparison with the tuned settings. It has 506 sentences. The authors also use it for system selection and optimization of combinations, a role distinct from estimating the performance of a choice made independently of that split. The test08 evaluation has 507 sentences.

This division is important because a score says something different depending on where it was obtained. A setting can score well on test04 because its weights have been adjusted to do well there. The behavior of those weights on test05 supplies evidence about how the setting transfers to unseen sentences. The best result discovered while comparing settings on test05 is useful for selection, but its value is also part of the evidence used to make that selection. The test08 column allows a further look at whether the performance pattern carries across evaluation material.

What is compared and how it is scored

The baseline in the results table is the authors’ in-house hierarchical system. It already uses a grammar of phrase pairs with gaps, bilingual phrase and word evidence, target fluency scoring, penalties, and pruned search. The rows vary what is added to that baseline. The introduction mentions an improvement over the authors’ phrase-based system, but the feature comparison in the table uses the hierarchical baseline as its numerical reference. Its scores therefore isolate the starting point for the paper’s investigations more directly than a comparison of translation architectures would.

The table groups the experiments by the kind of addition. It gives results for the simple rule heuristics, for syntax alone under each definition of the syntax count, and for each syntax definition with all the non-syntactic additions. The heuristic experiments include both individual additions and particular bundles. The extended glue rule should be read as a change to the available derivations, whereas the paste, hierarchical and gap-count indicators are information for ranking them.

The paper evaluates with BLEU and TER, or Translation Edit Rate. BLEU rewards the overlap of word sequences with reference translations, and larger values are preferred. TER assesses translation by the amount of editing associated with bringing an output into agreement with a reference, and smaller values are preferred. A setting can rank differently under the two metrics because they assess different aspects of the relationship between a translation and a reference. The development procedure explicitly optimizes BLEU. The IWSLT 2008 evaluation server supplies the test08 BLEU scores, with no TER column for that set.

Comparing the reported settings

The baseline scores 47.3 BLEU and 42.6 TER on the development split, test04. On test05 it scores 50.9 BLEU and 37.6 TER. Its test08 BLEU is 39.6. Each value belongs to its own split and metric. In particular, the lower absolute BLEU on test08 applies to the baseline evaluated on different sentences. The direct comparisons are between system settings on the same split.

Syntax scores versus the hierarchical baseline on BTEC test05 BLEU

All syntax-only variants improve on the baseline, with exact matching scoring highest among them.

Syntax scores versus the hierarchical baseline on BTEC test05 BLEUHierarchical baseline: 50.9Hierarchical baseline50.9Exact constituent matching (this paper): 51.7Exact constituent matching (this paper)51.7Linear syntax score: 51.2Linear syntax score51.2Exponential syntax score: 51.6Exponential syntax score51.6Relative syntax score: 51.5Relative syntax score51.5
The numbers
System or settingBLEU
Hierarchical baseline50.9
Exact constituent matching (this paper)51.7
Linear syntax score51.2
Exponential syntax score51.6
Relative syntax score51.5

The test05 BLEU scores support the use of syntax as additional evidence. The test05 TER results also favor several of the syntax-only settings. The binary setting scores 37.5 TER and the exponential setting 37.4. The relative variant reaches 37.3, the lowest test05 TER among the syntax-only rows. The linear variant equals the baseline TER of 37.6 on that split. Thus the advantage of exact matching on test05 BLEU does not identify the strongest syntax-only score on the edit measure.

Among the non-syntactic experiments, the combination of the hierarchical and paste indicators scores 51.9 BLEU on test05, the highest test05 BLEU in the table. The gap-count indicators reach 51.8 BLEU on that split and 37.2 TER. The latter is the lowest test05 TER in the table. The table therefore gives evidence for the simpler features alongside the syntax gains. The paper’s broader assessment favors grammatical information, while the best individual test05 values depend on which row and metric are being compared.

Selected rule and syntax additions on BTEC test08 BLEU

The paste indicator leads on this split, and linear scoring is the strongest syntax-only variant.

Selected rule and syntax additions on BTEC test08 BLEUHierarchical baseline: 39.6Hierarchical baseline39.6Paste indicator (this paper): 40.8Paste indicator (this paper)40.8Extended glue rule: 39.7Extended glue rule39.7Exact constituent matching: 40.3Exact constituent matching40.3Linear syntax score: 40.6Linear syntax score40.6Exponential syntax score: 40.3Exponential syntax score40.3Relative syntax score: 40.2Relative syntax score40.2
The numbers
System or settingBLEU
Hierarchical baseline39.6
Paste indicator (this paper)40.8
Extended glue rule39.7
Exact constituent matching40.3
Linear syntax score40.6
Exponential syntax score40.3
Relative syntax score40.2

The test08 comparison supplies a second example of how the rank can move. Exact matching has the strongest test05 BLEU among the syntax-only rows. On test08, linear scoring leads that group with 40.6 BLEU. The paste indicator reaches 40.8 on the same set, though its test05 BLEU is 51.1 and its test05 TER is 38.0. In both cases the individual scores show what happened in the given evaluation condition. They give a weaker basis for a universal preference ordering among the features.

Adding all the heuristics to the syntax variants gives a narrower range of outcomes. On test05 the linear variant reaches 51.2 BLEU and 38.0 TER with the additional heuristics. Its syntax-only BLEU is also 51.2, with a better TER of 37.6. The combined binary row scores 50.6 BLEU and 38.4 TER on test05, both less favorable than the baseline. On test08, the all-feature linear variant reaches 40.5 BLEU. This remains above the baseline there and just below the syntax-only linear setting. The result depends on the comparison being made. A combined setting can improve on the baseline while giving up some of what the syntax feature achieves on its own.

What the ablations show

Hierarchical rules can benefit from different kinds of guidance

The individual-feature comparisons show how the decoder responds to a change in the information available about rules or to an extension of the grammar. They can distinguish cases in which a single change helps from cases in which a bundle has a different effect. The comparisons also have a common qualification. Tuning the weights is part of defining each setting. A score for an added feature reflects the system that uses that feature with tuned weights, rather than a direct count of which rules the feature promoted during a fixed search.

The hierarchical indicator is the broadest distinction. With this feature, the decoder can score an ordinary phrase differently from a rule that contains any gap. On test05 this setting scores 51.4 BLEU, compared with the baseline’s 50.9, while its 38.1 TER is higher than the baseline’s 37.6. On test08 both score 39.6 BLEU. The results show that an overall preference for using gaps can matter in some conditions, without giving a consistent advantage across these measures.

Separating rules by their number of nonterminals produces a stronger test05 result. The gap-count setting scores 51.8 BLEU and 37.2 TER there. The corresponding test08 BLEU is 39.8. This comparison is consistent with the idea that the single distinction between ordinary and hierarchical rules can hide useful differences among hierarchical rules. A rule with one gap gives the decoder a way to translate the surrounding pattern and one subpart together. A rule with two gaps can express relations between several variable groups. The feature scores give the system room to weigh those structures differently. The aggregate results leave the exact contribution of each indicator unresolved.

The paste indicator is more specific about order. Its test08 result is the highest in the table for that split, while the test05 comparison gives a modest BLEU gain and a worse TER than the baseline. A paste rule certifies a local relation between a gap and fixed words. The result supports giving the decoder information about that relation in at least some evaluation conditions. It does not establish that the resulting sentences used less reordering overall. The paper gives the translation scores, while quantitative evidence about the chosen rule applications or the direction of the learned preference would be needed to make that further claim.

The extended glue rule answers a separate question about whether a gap should be able to contain a directly joined sequence of translations. On test05 the extended grammar reaches 51.2 BLEU and 37.6 TER, compared with 50.9 BLEU and 37.6 TER for the baseline. In the test08 comparison its score is 39.7 BLEU. These are results from exposing the decoder to an extra way to build a subtranslation. They establish the observed changes in output scores, with the extent to which the decoder used the new derivation left open.

Helpful changes can interfere when combined

The authors also test selected combinations of the heuristics. The hierarchical and paste indicators together give 51.9 BLEU on test05, above each of the two individual settings on that metric. They describe different properties, since the hierarchical indicator reacts to any gapped rule and the paste indicator reacts to a particular one-gap arrangement. A joint feature setting can therefore assign a distinct preference to the specific arrangement while retaining the general preference among hierarchical and ordinary rules. On test05 their joint setting has the same TER as the baseline, 37.6. On test08 the pair scores 39.6 BLEU, matching the baseline and falling below the paste indicator alone.

Adding the extended glue rule to that pair brings test05 BLEU to 50.8. The corresponding test08 BLEU is 39.5. When the authors also include the gap-count features, the resulting bundle scores 51.0 BLEU on test05 and 40.0 on test08. The sequence of results shows what can happen as changes are added to a working combination. An option can help the baseline and still reduce performance when enabled alongside other changes. The experiments do not assign the drop to a measured interaction between particular rules. They establish that the usefulness of an individual feature is an unreliable predictor of the usefulness of the full bundle.

A similar interaction appears with the syntax scores. On test05, the syntax-only binary setting gives 51.7 BLEU and 37.5 TER, while binary syntax with all the heuristics gives 50.6 BLEU and 38.4 TER. The same kind of contrast occurs for the exponential variant. Its syntax-only test05 scores are 51.6 BLEU and 37.4 TER. The all-feature setting scores 51.0 BLEU and 38.4 TER. These are comparisons between complete configurations. They show that the syntax signal's value in the decoder depends on the other scores and choices present during tuning and search.

The relative setting illustrates why the choice of benchmark matters even in a paired comparison. Adding all the non-syntactic information takes the test05 relative setting from 51.5 BLEU to 51.0 and from 37.3 TER to 38.0. On test08 the combined setting gives 40.3 BLEU and the syntax-only version gives 40.2. The reported gain in the latter comparison is specific to that split and metric. Taken together, the rows provide grounds for the authors’ cautious statement that combining the two types of evidence helps in some cases.

Graded distance and exact matching both have support

The comparison of syntax functions keeps the role of the parser evidence broadly fixed while changing how each occurrence contributes. Binary scoring concentrates the evidence on exact matches. Linear and exponential scoring give some value to nearly matching spans and differ in how fast that value falls. Relative scoring changes the penalty according to phrase size. If one option had led across the conditions, the comparison would have supplied evidence that its treatment of approximate matches was particularly suited to this task.

Instead the best option varies. Exact matching gives the highest syntax-only BLEU on test05. Linear matching gives the highest syntax-only BLEU on test08. Relative scoring gives the lowest test05 TER in the syntax-only group. The authors call attention to the exponential variant’s TER performance. It is favorable compared with the baseline on test05 and tied for the best TER among the syntax-only settings on test04, while the relative variant is lower on test05. The table supports the authors’ broader observation that several functions work comparably well without establishing a single ordering across conditions.

Exact matching remains a soft signal even though its occurrence count is binary. The parser can judge a particular use an inexact match and give it 0. The phrase pair can nevertheless be extracted, and its aggregated score can include other occurrences that match exactly. The decoder can also choose it on the strength of other evidence. The test05 result for binary scoring therefore supports using exact constituency as information in this scoring arrangement. It supplies no comparison against a system that enforces exact constituency as an extraction requirement.

The development scores provide another check on interpretation. On test04, the heuristic setting with the hierarchical indicator, paste indicator and extended glue rule reaches 49.2 BLEU. On test05 the same feature set gives 50.8 BLEU, below the 50.9 baseline on that split. The all-feature binary setting gives 46.9 BLEU on test04 and reaches 50.6 on test05. These cases illustrate different outcomes of tuning and transfer. A setting can score well on the development objective without preserving its advantage on blind material, and a combined setting can fail to realize a gain even on the split used for weight optimization.

The paper also includes a figure of sample sentences whose outputs change when the syntax feature is used. Such examples show the output of a change at the sentence level, complementing scores averaged over a split. The aggregate comparisons are the evidence for how frequently the feature settings benefit the measured task as a whole. The tree example used to explain the feature answers a different question, since it shows exactly how a training phrase obtains a score and how opening a gap changes which spans contribute to it.

Limitations

Limits identified by the authors

The authors urge caution about the development scores. Results on test04, the data used for parameter tuning, vary considerably from one setting to another. They point to the small amount of data as a possible contributor. They also cite the potential instability of downhill simplex, the method used to optimize the weights. This matters because the optimization can affect every scored comparison. An unusually favorable set of weights can make one feature configuration look strong, just as an unfavorable set can obscure a benefit.

The paper treats the test05 pattern as a reasonable indication that the additions help translation. That interpretation rests on several feature variants obtaining improvements across a common blind comparison. The authors are less definite about which method works best. Their caution fits the metric disagreements and the mixed changes in the combined settings. The conclusion supports the feasibility of adding bilingual syntax-derived scores in this decoder and reports benefits in the evaluation, with variability remaining a central part of the result.

The evaluation server also limits the reported comparison on test08. The table supplies BLEU for that split, while the TER observations come from test04 and test05. A system that leads test08 BLEU may or may not have led TER there. The contrast between the metrics on test05 makes this a substantive gap in the evidence, because the edit measure can change the ranking.

Limits of the experimental design

The empirical claim is bounded by the Chinese-to-English BTEC text task. The extractor can in principle characterize phrase spans on either side of a bilingual corpus, and the authors emphasize the flexibility of placing this evidence in the rule scores. The results concern one translation direction in the travel domain. The setup gives no direct estimate for other language pairs, speech input, or text from another domain.

The blind comparison also needs to be read in light of system selection. The authors tune decoder weights using test04, then use test05 to look at competing systems and choose combinations. The test05 performance of a setting provides evidence beyond the material used to tune its weights. The top row among many settings on that same set is a selected outcome. The test08 scores help assess whether the patterns persist, and the change in rank between test05 and test08 sets a limit on how strongly the selected leader can be generalized.

Because the syntax features use evidence from both languages, a natural question is how much each side contributes. The paper shows how to build and score both sides and reports results for variants of that procedure. It does not give a source-only versus target-only comparison in the results table. The observed changes therefore concern the bilingual setup as a whole. The method’s ability to use both parses is established by its construction, while the advantage of each parse relative to using the other alone remains unmeasured.

The syntactic property measured here is also specific. The scores characterize how closely phrase boundaries fit the span of a node in a training tree. They do not compare the category of a source node with that of a target node, identify which words govern other words, or evaluate the grammatical structure of a completed output sentence. Consequently a higher evaluation score supports the use of that particular training signal. Determining whether the system’s outputs became more grammatical would require evidence about the outputs beyond the reported aggregate metrics.

Likewise the motivation for the study concerns a large rule inventory and the presence of little-used entries, while the experiments measure translation scores. The authors describe storing syntax scores on rules as compatible with the existing decoding procedure and without an effect on computation time. The results table does not quantify the number of rules eliminated during search, how often the decoder selects rules with higher syntax scores, or how decoding time changes under the different settings. The reported evidence is about the score of the resulting translations. Inventory reduction and search efficiency remain separate empirical questions.

Finally, allowing expansions over unaligned words is a separate choice in extraction. The paper gives the motivation and states that the authors found it beneficial, but the reported feature table offers no paired result with and without that change. The heuristic rows show what happens when their respective features or glue rule are added to the hierarchical system used in the experiments. They supply no estimate of how much the expansion policy contributes by itself. The same distinction applies to the internal parts of the syntax calculation. The experiments vary the distance-to-score function, without isolating the contribution of the enclosing span from that of the removed phrases.

What came after

No subsequent study is identified for this paper. The documented comparisons establish how the authors tested training-time grammatical scores and rule heuristics in their own hierarchical decoder. They leave the method’s adoption or modification by later systems undetermined.

Cite

Cite as David Vilar, Daniel Stein and Hermann Ney. 2008. Analysing soft syntax features and heuristics for hierarchical phrase based machine translation. Proceedings of the 5th International Workshop on Spoken Language Translation: Papers.

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

@inproceedings{vilar2008analysing,
  title = {{Analysing soft syntax features and heuristics for hierarchical phrase based machine translation.}},
  author = {David Vilar, Daniel Stein and Hermann Ney},
  booktitle = {Proceedings of the 5th International Workshop on Spoken Language Translation: Papers},
  year = {2008},
  url = {https://aclanthology.org/2008.iwslt-papers.7/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/vilar-2008-analysing-soft-syntax-features-heuristics/