Elamur Research

Improved Features and Grammar Selection for Syntax-Based MT

Paper · 2010 · Greg Hanneman, Jonathan Clark and Alon Lavie

Summary

A translation system can learn a useful rule from a pair of sentences and still have trouble putting it to work. A rule might tell the system how to move a modifier when translating from French into English, for instance. To use it, the system must find the rule among many alternatives, recognize that it fits the sentence, and give the resulting translation a competitive score. The authors address two parts of that problem in their submission to the WMT 2010 French-to-English machine translation task. They change how the system scores phrases and grammar rules, and they change which rules it makes available during translation.

The system learns from French sentences paired with English translations. It aligns the words and uses a syntactic parse of each sentence to identify corresponding constituents. This yields both fixed translations and reusable rules with slots for constituents that can be translated separately. A fixed phrase can also be found by a conventional extraction procedure that uses word alignment alone. The paper keeps the counts from these two procedures separate when estimating scores. An ordinary phrase score can then use the evidence for the words themselves, while a syntactic score can use evidence about how structures correspond. The authors also switch to the Joshua decoder, the component that searches for a translation using the resulting scores and rules.

To reduce the grammar, the authors compare keeping the most frequent rules with first screening them for particular arrangements of words and slots. Their screen admits simple reorderings and an abstract rule pattern that preserves constituent order. On news-dev2009b, the comparison with the previous submission moves from 0.2073 to 0.2246 on the BLEU score after the decoder and scoring changes. The authors report a gain of 1.73 BLEU for that combined update. In a separate comparison on the same development test set, screening before taking the most frequent rules raises BLEU at every tested grammar size shown in the results. At 10,000 rules, the score goes from 0.2198 to 0.2250, the reported gain of 0.52 BLEU from grammar selection.

The official submission uses the screened 10,000-rule grammar and scores 0.2327 BLEU on news-test2010. The authors also inspect which rules the decoder actually applies. Across that 2489-sentence test set, the selected translations contain 392 rule applications drawn from 20 distinct rules. Abstract rules that keep constituents in order account for the most frequent applications, while some partially lexicalized rules move a constituent ahead of fixed words. The score comparisons show that the way the grammar is selected matters in this system. The application counts show how much narrower the set of rules used in the finished translations is than the set the decoder has available.

Deep dive: Improved Features and Grammar Selection for Syntax-Based MT

A French-to-English translation study separates phrase and grammar evidence, then tests which syntactic rules are worth keeping. · about 31 minutes to read

The problem and its context

What a grammar adds to phrase translation

A phrase-based translator can learn that a span of words in one language corresponds to a span in another. Given a new sentence, it can reuse those span translations as pieces of its output. For extraction purposes, a phrase is a sequence of words that meets the conditions imposed by the alignment heuristic. It can be useful as a translation unit whether or not a syntactic analysis identifies it as a constituent. The conventional extraction procedure in the paper follows Statistical Phrase-Based Translation.

A rule with slots says something different about the relationship between the languages. It can specify that a piece with a particular syntactic category goes before a fixed expression in English when its French counterpart goes after the corresponding French expression. The words inside that piece can vary from one application to the next. The rule therefore captures a translation decision at the level where the authors want to reuse it. A fixed phrase gives the decoder words it can output directly. A rule with a slot tells the decoder how to fit another translation into a larger one.

The authors express those relationships with a synchronous context-free grammar, abbreviated SCFG. A synchronous rule has a source side and a target side. It pairs the pieces that the decoder can expand, which lets the rule specify a different order for those pieces on each side. In this system, the grammar comes from constituency trees for both languages. These trees represent sentences as nested groupings with labels for grammatical categories. The rule learner can use the labels on the French and English trees when it finds corresponding groups, including cases where the groups have different categories in the two languages.

The work grows out of the Stat-XFER group's interest in linguistically informed translation. The group had previously focused on languages with few resources and had extended its work to settings with substantial parallel data. A large parallel collection makes it possible to observe many examples of phrases and grammatical constructions in translation. It also makes the extracted inventory extensive. The paper says that grammars from this kind of extraction usually reach tens of millions of unique rules, even before phrase pairs are counted. The practical question is how much of that inventory should be available when each new sentence is translated.

This question concerns both the kinds of rules present and the kind of evidence that determines their scores. A highly frequent phrase can be easy to count because the same French and English words often align. A rule representing a particular syntactic relationship may divide its observations across several labels or occur much less often. When scores pool the counts, the abundant evidence can dominate the estimate. When a system distinguishes too many labels in an estimate intended to describe ordinary phrase translation, it can also split evidence that would otherwise support the same choice of words. The authors treat these as reasons to ask what each feature should estimate before deciding which extraction counts belong in it.

The earlier approaches the authors build on

The paper extends an earlier Stat-XFER system that already combined syntactic and ordinary phrases. In the previous scoring setup, some conditional probabilities brought together observations from the two extraction procedures and included the left-hand-side label in the event being predicted. In the revised setup, the authors want a familiar phrase probability to depend on the association between two strings, and a grammar probability to describe associations within the syntactic inventory. They cite Syntax Augmented Machine Translation via Chart Parsing as an important influence on the expanded feature set.

For obtaining the rules, the authors build on their group's earlier tree-matching procedure. Their starting point is the alignment of the words in a particular training sentence pair. They look at the words under a node on one side and ask whether their links agree with the words under a node on the other side. The paper distinguishes this use of sentence-specific alignment links from earlier subtree alignment based on translation probabilities for words across the corpus. The relevant predecessor for their own extraction procedure is Syntax-Driven Learning of Sub-Sentential Translation Equivalents and Translation Rules from Parsed Parallel Corpora.

Another precedent comes from pattern-based rule filtering. The earlier filtering study cited by the authors grouped rules by the placement of fixed words and variables. It found that some large classes of order-preserving rules could be dropped without a loss on the automatic measures it used, while much smaller classes of rules for changing order contributed more. That result suggested an alternative to ranking an undifferentiated grammar by frequency. The authors adapt the approach to their own grammar and retain an abstract order-preserving pattern as well. They want the decoder to have a way to combine pieces in order when no fixed words in the rule support a swap.

The paper also changes the environment in which these choices can be tested. The group moves from the Stat-XFER decoder to Joshua. A decoder searches among translations that can be built with the available phrases and rules. The paper points to Joshua's architecture, multithreading, and cube pruning, a technique for limiting the combinations considered during search, as reasons for the switch. The new environment lets the authors experiment with larger grammars than they had used before. That makes selection a practical question about what to keep under a rule budget. The paper identifies the decoder in Joshua: An Open Source Toolkit for Parsing-Based Machine Translation.

The method, step by step

From parallel training sentences to English translations

The steps in order.

From parallel training sentences to English translationsStep 1: Tokenize and prune the parallel corpus1. Tokenize and prune the parallel corpusStep 2: Align words and parse both languages2. Align words and parse both languagesStep 3: Extract ordinary phrases, syntactic phrases, and grammar rules3. Extract ordinary phrases, syntactic phrases, and grammar rulesStep 4: Share phrase counts across matching lexical entries4. Share phrase counts across matching lexical entriesStep 5: Estimate phrase and syntactic features separately5. Estimate phrase and syntactic features separatelyStep 6: Screen grammar patterns and rank by frequency6. Screen grammar patterns and rank by frequencyStep 7: Tune and decode with Joshua7. Tune and decode with Joshua

Start with aligned words and paired trees

The shared-task system trains on the Europarl, News Commentary, and UN portions of the supplied French–English data. After dividing the sentences into tokens and pruning some of the training data, the authors have roughly 8.6 million sentence pairs. They leave out Giga-FrEn for this system. The corpora provide the sentence pairs from which the phrase inventory, syntactic rules, and aligned-word statistics are learned. Tokenization establishes the units that the alignment and extraction procedures work with.

MGIZA++ supplies the word alignments. It is the multithreaded implementation the authors use for the GIZA++ alignment procedure. The authors combine the directional alignments using the heuristic named grow-diag-final-and. The resulting links represent which words the extraction procedure treats as corresponding within a particular sentence pair. They matter both for locating ordinary translation phrases and for testing whether spans identified by the syntactic analyses fit together. The paper draws on the earlier work on GIZA++ word alignment and Parallel Implementations of Word Alignment Tool.

The team performs automatic constituency parsing on both sides. The Berkeley parser analyzes the French sentences. A fast probabilistic context-free configuration of the Stanford parser analyzes the English sentences. These are independent analyses of the two sentences, so the fact that a French phrase and an English phrase both appear as constituents does not itself tell the extraction procedure that they are translations of each other. Word links supply that cross-language evidence. The paper cites the Berkeley parser work on Improved Inference for Unlexicalized Parsing.

The extraction stage begins with conventional phrase pairs. These are pairs of word strings identified by the phrase extraction heuristics. The extractor then finds syntactic phrase pairs by looking for aligned nodes in the French and English trees. A node's yield is the sequence of words under it. A proposed alignment between nodes must respect the word links in both directions. The links from the French yield must land inside the English yield, and the links from the English yield must land inside the French yield. A proposed match fails if one constituent has a linked word whose partner falls outside the other constituent. This is a test of the boundaries of the two spans using the links for that sentence pair.

The node test lets the authors work upward from specific word correspondences to relationships between larger structures. It also gives them a way to use dynamic programming, in which reusable intermediate results help compute a larger solution. The paper contrasts this inference with choosing matches greedily or enumerating all possible alignments. Crucially, a node match identifies both a translation span and a place where a larger pair of trees can be decomposed. The extraction procedure can use a match as a boundary between the part of a construction written explicitly in a rule and a smaller constituent pair supplied by another rule.

Turn aligned constituents into translation rules

A fixed word in a rule is a terminal. A non-terminal identifies a constituent slot whose contents come from another part of the derivation. A derivation is the combination of phrases and rules that builds the candidate translation. The source and target sides of a rule can contain fixed words, slots, or a mixture. Paired slots refer to corresponding constituents. This pairing is what allows the English side to put a span in a different position from the French side without leaving the decoder to infer which pieces should move together.

An aligned constituent inside a larger aligned structure gives the extractor a choice of where to put a slot. The result can express a local rearrangement in the larger structure while leaving the words inside the slot to be translated elsewhere. A different rule can give a complete lexical translation by spelling out its words. The method permits composed, non-minimal rules when the composition is entirely lexical. It flattens the internal tree structure of those rules, so the result remains in SCFG form. The authors keep the inventory under control by excluding compositions built on other non-terminals and foregoing the multiple rule variants that an extractor could produce when it encounters unaligned words.

These extraction decisions occur before the later screen on rule patterns. They determine which candidates exist in the full inventory. The later screen works on the candidates already extracted and scored. For example, allowing a fully lexical composition can extend the inventory of fixed strings that the decoder can reuse. It does not by itself create a more general reordering rule with extra slots. Likewise, the decision to flatten lexical compositions affects how the resulting rule is represented, even though its training evidence originally came from a tree.

The paper's examples of applied rules illustrate why preserving the correspondence between slots matters. One pairs French une pression followed by an adjectival phrase with an English adjectival phrase followed by pressure. The adjective phrase is the variable part in that rule. Its French position is after the fixed French material and its English position is before the fixed English material. The rule therefore specifies the position of the translated constituent while letting another piece of the derivation supply its actual English words.

Keep the two sources of frequency separate

The feature computation starts by representing each aggregated rule with the following fields.

r = (L, S, T, Cₚₕᵣ, Cₛᵧₙ)

Here r is the aggregated rule record. L is its left-hand-side label. S is the sequence on its French side and T is the sequence on its English side. Either sequence can contain words or constituent slots, subject to the kind of rule. Cₚₕᵣ is the aggregated count from conventional phrase extraction, and Cₛᵧₙ is the aggregated count from syntactic extraction. The tuple keeps the provenance of each count available to the scoring procedure.

Ordinary extraction creates records with the special label PHR. Their right-hand sides contain only terminals, and this pass supplies the phrase count. The syntactic extraction pass creates records with the labels given by the tree-based procedure and supplies the syntactic count. A lexical record from this pass can describe the same pair of word sequences as an ordinary phrase record. When both sequences match, the authors copy the ordinary phrase count into the syntactic record. They retain the syntactic count already attached to it.

Sharing counts this way gives the syntactically labeled entry access to the ordinary statistics for its words. It also leaves the ordinary count available for features whose definition explicitly ignores the syntactic label. The paper treats a PHR entry with matching syntactic counterparts as redundant for retention. Its coverage assumption is that a lexical phrase found by syntactic extraction is also in the ordinary phrase inventory. Rules with non-terminals belong to a different case. Ordinary extraction produces fixed strings exclusively, so it supplies no phrase count for a sequence containing a slot.

The distinction between attaching two counts to a record and using them in a probability estimate is central. A labeled lexical item can carry evidence from both extraction procedures, and a feature can still use one of those sources exclusively. The authors avoid estimating any of their maximum-likelihood features from pooled phrase and syntactic counts. Maximum likelihood here means estimating a conditional probability from the observed counts of an event and of the alternatives under the same condition.

Estimate the conditional preferences

The common relative-frequency idea behind the maximum-likelihood features can be written as follows.

Pₖ(A ∣ B) = Cₖ(A, B) / Cₖ(B)

Pₖ(A ∣ B) is the estimated probability of event A given condition B, using count space k. The count space identifies either the ordinary phrase extraction or the syntactic extraction. Cₖ(A, B) counts occurrences with both the event and the condition. Cₖ(B) counts the observations that meet the condition across the relevant alternatives for A. This notation expresses the normalization shared by the paper's maximum-likelihood features. Each feature specifies what is being predicted, what is given, and which extraction provides the observations.

For rules containing only words, the authors estimate the phrase probabilities in both directions. In the forward direction, Pₚₕᵣ(T ∣ S) asks how frequently a given French string is paired with this English string in ordinary extraction. In the reverse direction, Pₚₕᵣ(S ∣ T) asks how often a given English string is paired with this French string. The reverse estimate distinguishes an English phrase strongly associated with a particular French phrase from one that commonly corresponds to several French expressions. Both estimates can be attached to a lexical rule whose label is syntactic, because the probability describes the string pair and the matching ordinary count has been copied to that record.

In the earlier system, the corresponding conditional events were Pₛᵧₙ∪ₚₕᵣ(L, S ∣ T) and Pₛᵧₙ∪ₚₕᵣ(L, T ∣ S). The joined subscript identifies the pooled extraction evidence. The event before the conditioning bar includes a label as well as a sequence, so evidence for the same pair of strings can be divided by label. The revised phrase estimates leave L outside the event. Adding syntactic categories to the grammar thus need not split the counts used for an ordinary phrase probability.

For rules whose right-hand sides contain non-terminals, Pₛᵧₙ(T ∣ S) and Pₛᵧₙ(S ∣ T) score the two directions of correspondence between right-hand sides using the syntactic counts. These sequences can encode constituent positions as well as words. The additional syntactic features Pₛᵧₙ(L ∣ S) and Pₛᵧₙ(L ∣ T) ask how strongly a label is associated with one side when that side is given. The feature Pₛᵧₙ(L ∣ S, T) conditions on both sides. The same label can be common with a particular French sequence in general and uncommon with that French sequence when a specific English sequence is also required. The different conditions make that distinction available to the decoder's scoring function.

The paper also names a pair of features using NL, short for “not labelable.” The printed definitions normalize a rule's syntactic count by the syntactic counts from rules with a matching side. In the source-conditioned expression, the match is on the French sequence.

Pₛᵧₙ(NL ∣ S) = Cₛᵧₙ / ∑ᵣ′∈ᴿ, S′=S C′ₛᵧₙ

Pₛᵧₙ(NL ∣ S) is the name of the source-conditioned feature. S is the current rule's French side, and Cₛᵧₙ is its syntactic count. The sum ranges over r′, a rule in the set R of extracted rules, whose source side S′ equals S. C′ₛᵧₙ is the syntactic count of that matching rule. The denominator therefore uses the evidence associated with the French side under consideration.

Pₛᵧₙ(NL ∣ T) = Cₛᵧₙ / ∑ᵣ′∈ᴿ, T′=T C′ₛᵧₙ

Pₛᵧₙ(NL ∣ T) is the target-conditioned feature. T is the current rule's English side. The numerator is again the current rule's syntactic count. The sum uses matching rules in R whose English side T′ equals T, and C′ₛᵧₙ is the count contributed by each such rule. The authors also describe additive smoothing, with n = 1 as the smoothing setting, to avoid a probability of 0 when a string pair has no syntactic label. They motivate these features by noting that evidence for syntax can be spread across labels. The scoring function can use information about the syntactic support for a string even when that support is dispersed.

Describe individual rules as well as their probabilities

The authors report 22 translation features alongside a fluency component. Some features describe a rule using information local to that entry. Three binary indicators identify counts of exactly 1, 2, or 3. Each indicator has value 1 for its specified count and is off otherwise. The distinction lets tuning give different treatment to sparsely observed rules. It is separate from the conditional probabilities, which compare the frequency of a rule with the amount of evidence for other choices under the same condition.

The feature set includes an indicator for L = PHR and another for L ≠ PHR, distinguishing the ordinary phrase label from the others. They tell the decoder about the type of the entry even when two entries can use the same word-based statistics. This is useful to distinguish from the phrase probabilities. Those probabilities were designed to be independent of the label. The indicators make membership in the ordinary or syntactic inventory available as another scoring consideration.

The authors also mark the amount and placement of abstraction in an entry. Their Aₛ indicator is 1 when the French side is made up exclusively of non-terminals, and Aₜ is 1 when the English side is made up exclusively of non-terminals. Setting both leaves an abstract construction that arranges constituents without fixed lexical material. The individual indicators allow the decoder to distinguish that case from constructions with words on one or both sides.

TGT_INSERTION = 1 when Aₛ = 1 and Aₜ = 0

TGT_INSERTION identifies a target insertion configuration. Aₛ = 1 says that the source side has slots alone. Aₜ = 0 says that the target side is not wholly abstract. The rule consequently supplies fixed material on the English side while the French side is supplied through constituents.

SRC_DELETION = 1 when Aₛ = 0 and Aₜ = 1

SRC_DELETION identifies the complementary configuration, in which the source contains fixed material and the target side is wholly abstract. Aₛ and Aₜ are the same source and target abstraction indicators. The feature identifies the form of the rule. Its activation on its own does not establish whether an English translation omits a meaningful part of the input.

INTERLEAVED = 1 when Aₛ = 0 and Aₜ = 0

INTERLEAVED is the paper's name for the indicator that both sides contain lexical material. The two zeros mean that neither sequence consists exclusively of slots. The test only uses the two abstraction indicators. It does not test the positions of individual terminals within either sequence.

The system also uses lexical probabilities in both directions. The authors estimate a unigram lexicon by maximum likelihood from aligned word pairs in the training corpus and use it to calculate lexical scores for rules. A unigram is an n-gram consisting of a single token. The lexical scores use evidence about the aligned words that make up an entry, whereas the phrase probabilities use counts for complete strings. A final indicator marks the use of a glue rule. Joshua uses glue rules to join syntactic fragments in order, and the paper describes that operation as having no inherent cost in the decoder. The indicator makes a glue application visible as a feature.

Screen structural rules, then apply the frequency budget

After scoring, one selection option is to keep only rules in a small set of structural patterns before ranking them by frequency. A pattern specifies the arrangement of terminals and non-terminals, ignoring which particular words and categories instantiate it. This means a rule can fit a pattern even if its French and English lexical spans differ. The correspondence of the numbered non-terminals, rather than the identity of the written words, determines the order relationship.

S = X₁ w, T = w X₁

S and T are the French and English right-hand sides. X₁ is a corresponding non-terminal slot, and w stands for a span of one or more terminals on the side where it appears. In this pattern the slot precedes the lexical span on the French side and follows it on the English side.

S = w X₁, T = X₁ w

Here S, T, X₁, and w have the same meanings. The movement goes in the opposite direction. A French lexical span comes first and the corresponding English constituent comes before the fixed English material. The example with une pression and pressure fits this pattern.

S = X₁ X₂, T = X₂ X₁

X₁ and X₂ identify different corresponding slots. The French sequence places X₁ first and the English sequence places X₂ first. The rule is abstract because neither side contains any fixed words.

S = X₁ X₂, T = X₁ X₂

The slots have the same correspondence as in the swap pattern. Here S and T order them identically. This option lets the decoder carry out an abstract combination while preserving order. The authors include it so that retaining abstract swaps does not leave the inventory disproportionately oriented towards reordering in cases where a rule contains no lexical evidence.

Frequency selection is a separate operation. The authors sort the grammar rules by count in descending order and take the first n for decoding. Here n is the grammar-size setting, distinct from the smoothing setting used in the feature estimates. They experiment with grammar sizes of 0, 100, 1000, and 10,000. The comparisons reported for pattern filtering use the non-zero sizes. A frequency-only inventory draws its rules from the candidates without the pattern screen. The screened inventory draws its most frequent rules from the eligible patterns. At a fixed grammar size, screening can therefore replace frequent rules outside the selected patterns with eligible rules that would otherwise fall below the cutoff.

The authors use one further restriction in their grammar selection experiments. A rule that would insert an unaligned English terminal is ineligible unless the inserted terminal belongs to the top 100 English unigrams by frequency. This qualification concerns unaligned target words. A constituent swap without terminals does not introduce that kind of insertion. A partially lexicalized rule must satisfy the insertion restriction if its English material includes an unaligned word.

The system is then tuned and used to translate held-out French sentences. The paper describes tuning on the earlier setup as minimum error-rate training, which uses a separate dataset to adjust the values attached to the available features. The rule inventory supplies candidates, and the tuned feature combination helps determine which derivations the decoder selects. Training counts, the selection screen, and decoding scores therefore act at different points. A rule can survive the count cutoff and match constituent categories in a sentence yet still lose to another way of translating the same material.

Experiments and results

The comparison with the previous submission

The authors first make their changes in the previous shared-task setup so that the scores can be compared on the same data. The WMT 2009 system had trained on the Europarl and News Commentary material then available and the prerelease Giga-FrEn data. That training collection totaled 9.4 million sentence pairs. The authors keep news-dev2009a for tuning with minimum error-rate training and news-dev2009b for measuring performance. The previous submission is the baseline. This experiment uses the older training collection even though the official submission described later in the paper uses a different one.

The measures in this comparison are uncased IBM-style BLEU 1.04 and METEOR 0.6. Both are automatic measures that compare translation output with reference translations. BLEU scores agreement in word sequences, while METEOR offers a complementary view of agreement based on word matches. The reported scores are given on the paper's decimal scale. The authors cite the earlier work on METEOR for the version used in this comparison.

Decoder and scoring updates on news-dev2009b by BLEU

The updated feature configuration has the highest BLEU in the comparison.

Decoder and scoring updates on news-dev2009b by BLEUWMT ’09 submission: 0.2073WMT ’09 submission0.2073Joshua decoder: 0.2158Joshua decoder0.2158New translation features with Joshua (this paper): 0.2246New translation features with Joshua(this paper)0.2246
The numbers
System or settingBLEU
WMT ’09 submission0.2073
Joshua decoder0.2158
New translation features with Joshua (this paper)0.2246

The first row is the original submission. The middle row uses the same extracted rules and phrase pairs but tunes and runs the system with Joshua. Its BLEU on news-dev2009b is 0.2158, compared with 0.2073 for the baseline. The authors describe the decoder step as a gain of 0.8 BLEU points. METEOR 0.6 on the same split moves from 0.5263 for the baseline to 0.5231 for the Joshua configuration. The two measures therefore give different accounts of that step. The translation length feature is also modified by this comparison. Stat-XFER uses a length ratio and Joshua uses the target word count.

The next configuration rescored the extracted phrases with the new feature set. It uses Joshua and scores 0.2246 BLEU and 0.5348 METEOR 0.6 on news-dev2009b. The paper describes the BLEU increase at this step as 0.9 points and reports 1.73 BLEU for the combined update from the previous submission. The new scoring configuration omits the 26 manually selected grammar rules present in the earlier rows, because the resources saved from the previous extraction lack information required to score those rules under the new scheme. The comparison thus measures the full configuration the authors were able to build with the revised scores.

The roles of the tuning and development test sets matter in interpreting these figures. The tuning set helps choose how strongly each feature affects the final output. The development test set supplies the scores shown in the comparison. Keeping these sets and the earlier training collection fixed makes the rows interpretable as successive system updates. It also avoids attributing the score changes in this comparison to the different training data used later for the official submission.

Compare rule inventories at the same sizes

The grammar selection experiment also uses the WMT 2009 setup and reports performance on news-dev2009b. It compares frequency-only selection with pattern screening followed by frequency selection. At each reported size, the decoder has the same number of selected grammar rules under both procedures. The paired comparisons therefore address the value of the selection criterion under a fixed rule budget.

Frequency selection and pattern screening on news-dev2009b by BLEU

Pattern screening improves BLEU at each reported grammar size.

Frequency selection and pattern screening on news-dev2009b by BLEU100 rules by frequency: 0.2200100 rules by frequency0.2200100 rules after screening: 0.2242100 rules after screening0.22421000 rules by frequency: 0.22061000 rules by frequency0.22061000 rules after screening: 0.22331000 rules after screening0.223310,000 rules by frequency: 0.219810,000 rules by frequency0.219810,000 rules after screening (this paper): 0.225010,000 rules after screening (thispaper)0.2250
The numbers
System or settingBLEU
100 rules by frequency0.2200
100 rules after screening0.2242
1000 rules by frequency0.2206
1000 rules after screening0.2233
10,000 rules by frequency0.2198
10,000 rules after screening (this paper)0.2250

On news-dev2009b, the 100-rule grammar moves from 0.2200 BLEU under frequency selection to 0.2242 after screening. At 1000 rules, the corresponding scores are 0.2206 and 0.2233. At 10,000 rules, they are 0.2198 and 0.2250. The screened 10,000-rule grammar has the highest BLEU in the comparison. The abstract gives the largest gain from improved grammar selection as 0.52 BLEU.

The METEOR 0.6 results on the same split favor the screened grammar within each pair as well. At 100 rules, frequency selection scores 0.5314 and screening scores 0.5341. At 1000 rules, the scores are 0.5324 and 0.5330. At 10,000 rules, they are 0.5332 and 0.5350. The strongest setting by this measure is also the screened 10,000-rule grammar. Within the screened configurations, the 1000-rule setting scores below the 100-rule setting on both measures. The results thus support the screen across the reported budgets, while the relationship between grammar size and score varies within each selection method.

The paper describes varying the budget down to 0 rules, but its results table for this comparison starts at 100. The table supports an estimate of what the screen changes at matched non-zero budgets. It does not supply a score from that series for comparing the best screened grammar with a system that has no selected structural rules.

The official shared-task system

The 2010 submission trains on the approximately 8.6 million sentence pairs from the selection described in the method. It belongs to the strictly constrained track. In this configuration the authors use neither Giga-FrEn for bilingual training nor LDC Gigaword for the English fluency component. They tune on news-test2008 and use news-test2009 as a development test set. Those roles are distinct from the use of news-dev2009a and news-dev2009b for the earlier system comparisons.

The authors choose the screened inventory of 10,000 syntactic grammar rules for the submission. On the official news-test2010 test set, it scores 0.2327 on case-insensitive IBM-style BLEU 1.04. Its METEOR scores on the same outputs are 0.5614 with version 0.6 and 0.5519 with version 1.0. These are separate evaluations of the official system. The two METEOR values show the result under the respective metric versions. The paper gives the matched tests of alternative grammar selections on news-dev2009b, while the official scores describe the configuration chosen for news-test2010.

The authors then count applications of syntactic rules in the official translations. In the 2489 sentences of news-test2010, they observe 392 application instances from 20 unique grammar rules. The same analysis on news-test2009, their development test set for this system, finds 352 applications of 16 distinct rules. Counting unique rules describes how much of the inventory appears in the chosen derivations. Counting application instances adds information about repeated use. A rule can contribute frequently even when the number of different rules used remains small.

The authors compare this usage with their previous submission, which had used a handpicked grammar of 26 rules. They find that there are fewer grammar applications per sentence in the official 2010 output than in that earlier system. This is a comparison of observed use across the two submissions. It does not control for the changes in the training data, feature scores, grammars, and decoding environment between them. The within-budget experiments remain the more direct evidence for the effect of the pattern screen.

What the ablations show

The decoder and features change the result together

The experiments build on the previous submission in successive steps. Retaining the extracted phrases and rules for the decoder comparison makes the underlying inventory comparable. The increase in BLEU, alongside a decrease in METEOR, shows why the change is best described with both measures. There is also a difference in how the two decoders score output length. The experiment gives the observed effect of adopting the Joshua configuration, including its length feature. It gives no separate estimate for Joshua's search algorithm, multithreading, or the choice of length feature.

The revised scoring step takes place within Joshua, which narrows the interpretation compared with a direct comparison between submissions. Both metrics are higher in the new-feature configuration than in the preceding Joshua row. The revised setup changes several aspects of scoring simultaneously. It separates the extraction counts, distinguishes kinds of conditional probabilities, and supplies rule-level indicators. The manual rules missing from this row are another change in what the decoder can use. The scores establish the behavior of the revised package under these conditions. They do not assign a gain to a particular maximum-likelihood feature or indicator.

This distinction is especially important for the paper's argument about sparsity. The definition of the new phrase probabilities explains why splitting phrases among syntactic labels no longer divides the evidence for those particular features. That property follows from the estimate. The improvement in the complete run answers an experimental question about the revised system, whose changes include much more than that estimate. The paper does not run separate translations with the phrase-count decision toggled while the other parts of the feature set remain fixed.

Rule selection changes which candidates get scarce slots

The grammar experiment gives a more closely matched comparison. Each pair of settings has the same rule budget, and each selects high-frequency rules from its eligible pool. The difference is whether pattern membership restricts that pool. At the budgets reported, filtering improves both automatic measures within each pair. A purely frequency-based cutoff can remove rule types the authors consider useful for structural changes, even when it fills every available place. The results show the value of restricting the candidate pool in this system, given the patterns, frequency ranking, and insertion restriction used in the experiment.

The rows also separate the choice of pattern screen from a simple increase in grammar size. The frequency-only setting with 10,000 rules has lower BLEU than the frequency-only settings with 100 and 1000 rules. With screening, the largest setting gives the highest BLEU, although the setting between the smallest and largest falls below the smallest. A rule budget controls how many entries are available. The interaction between budget and screening controls which entries replace one another as eligibility changes. This is why the most informative comparisons in the table are the paired rows at each budget.

The screen combines several structural decisions. It admits swaps involving one constituent and fixed words, swaps of two constituents, and order-preserving combinations of two constituents. The score comparison applies that set of choices together. The paper does not report a run that removes an individual pattern from an otherwise identical inventory. A reader can conclude that the complete filter helped in the reported comparisons. The relative contribution of any one pattern remains open.

The winning derivations reveal which rules were used

The usage analysis concerns a different question from the filter comparison. It asks which grammar entries occur in the derivations selected for the final translations. On news-test2010, the most frequently applied entries are fully abstract and order-preserving. The authors describe cases that join compound noun phrases with adverbial or prepositional phrases. These applications illustrate a role for syntax even when the order is unchanged. The rule specifies how labeled pieces can be combined in a larger expression.

The partially lexicalized examples illustrate a more local role. Nine of the 20 distinct grammar rules used on news-test2010 belong to the pattern in which a French lexical span precedes a constituent and the English constituent precedes the lexical span. In the rule list, the French words for instability, competition, and evidence give distinct places where variants of that arrangement apply. These are separate rules, anchored to particular lexical material. They share the same order relationship. The inventory can therefore contain multiple specific ways of realizing a general change in constituent position.

The example with French l’ argent and English money shows that the correspondence can also link differently labeled slots. The French slot in that rule is a prepositional phrase. Its English counterpart is a noun phrase, placed before the fixed English word. Other entries in the list link a French adjectival phrase to an English adjectival phrase around fixed material such as governance or tools. The comparisons in the rule list show what the notation can express. The count of uses does not say that one of these translations would have been impossible with ordinary phrases or a different derivation.

The development test provides evidence about recurrence. Of the rules applied on news-test2009, seven fully abstract rules and three lexicalized rules also apply on news-test2010. The authors report another two abstract and four lexicalized rules that apply on news-test2009 alone. They read the pattern as evidence that the general rules recur more often across the two sets, while the particular lexicalized rules used depend more on the test sentences. A construction requiring certain words has fewer opportunities to apply when those words or their surrounding structures change. An abstract combination can recur whenever it finds suitable constituent types.

This interpretation fits the counts without turning them into a causal decomposition of the metric gains. The rule inventory records what is available, and the derivation analysis records what appears in the selected output. The paper does not report all rule applications the decoder considered during search or what translation would have been produced for each sentence with an observed rule removed. Its strongest causal comparison is still the screen applied at matched grammar sizes. The usage analysis gives concrete examples of the structures that are chosen under the selected grammar.

Limitations

Limits identified by the authors

The authors want more effective use of grammar than they observe in the final translations. Even the screened grammar of 10,000 rules yields a small set of distinct applications on the official test. The paper treats this as motivation to refine the grammar and study which rules are worth retaining. Its examples support the authors' interest in precise, linguistically motivated reordering rules. They judge the aggregate effect of the particular lexicalized examples on automatic metrics to be likely small. The paper does not estimate that effect by selectively disabling those entries.

The authors also call for testing individual features, other language pairs, and other kinds of grammar. The experiments concern the feature collection used together for translation into English from French, with syntactic evidence obtained from automatically parsed sentences on both sides. A difference in parsing, word alignment, or the kinds of reordering needed could change which counts and patterns are useful. The proposed extensions are questions left open by the study.

Two qualifications in the system comparison come from the authors themselves. The decoder configurations differ in the definition of translation length, and the revised feature configuration excludes the 26 manual rules because the older extracted resources lack the needed information. These qualifications affect different comparisons. The first bears on attributing the initial score change to the decoder alone. The second bears on attributing the next change entirely to feature scoring. Neither changes the reported scores of the configurations actually run.

Limits visible in the experimental setup

The rule inventories depend on automatically generated word alignments and parse trees. A constituency match is accepted using the word links and the constituent boundaries available to the extractor. If those intermediate analyses are inaccurate, a useful pairing can be missed or an unreliable pairing can enter the inventory. The experiments do not compare the effects of alignment or parsing quality on the features or the filter. Consequently, they describe the method with the particular analyses used to build these grammars.

The pattern screen commits to a narrow set of structural shapes. This makes its comparison clear, since the decision can be described in terms of words and slots. It also puts any useful rules outside those shapes below every eligible candidate during screened selection. The paper evaluates the chosen pattern set against frequency selection at reported sizes. It gives no comparison with the complete extracted grammar or with a screen admitting a different collection of patterns. The best setting is consequently the best reported setting in the matched comparison, with no estimate of the best possible grammar for the system.

The evidence on grammar size is likewise specific. A larger screened grammar produces the best score among the tested settings, and another screened setting with more rules scores below the smallest screened setting. This coverage of grammar sizes leaves open where further increases would help or hurt. There are also no decoding time or memory figures in the comparison. The paper motivates filtering with the engineering costs of a large inventory and reports translation scores for selected inventories. It does not quantify the computational benefit of any particular cutoff.

The official test scores and the comparative development test scores address separate questions. The shared-task submission has different training data and a different tuning split from the earlier-system experiments. Reading the official BLEU score as another point in the earlier progression would combine changes in resources and evaluation conditions with the effect of the method. The matched comparisons on news-dev2009b provide the evidence for the reported improvements. The news-test2010 scores establish how the chosen submission performed on its official evaluation.

Finally, the experimental outcome is measured through automatic scores and inspected rule applications. The paper does not report a human evaluation of whether the output preserved meaning or improved the acceptability of particular reorderings. It also does not give uncertainty estimates for the score differences in the tables. Agreement between BLEU and METEOR across the filter comparisons supports the observed direction on the development test set. The size and reliability of the effect across fresh samples, and its consequences for particular kinds of translation error, remain unmeasured.

What came after

The subsequent citing work is A General-Purpose Rule Extractor for SCFG-Based Machine Translation (2011). Its stated subject is the extraction stage of an SCFG translation system. That stage has a concrete place in the earlier paper. It produces the rule records, with their paired sides, syntactic labels, and extraction counts, before those records can be scored or screened. The later title points to making this stage usable as a general-purpose capability for SCFG-based translation.

Extraction and selection address successive questions about the grammar. An extractor determines which source and target structures can enter the inventory, including where a constituent can be represented as a slot and what lexical material stays in the rule. A selection method determines which of those candidates the decoder receives. A general-purpose extractor therefore concerns the upstream stage on which the earlier paper's scoring and filtering depend. The citation connects the work at that level. The later paper's title and citation do not establish that it reused the separate count estimates, adopted the same pattern screen, or reproduced the French-to-English gains.

The connection also clarifies where the earlier contribution sits. The 2010 study starts with rules learned from paired constituency analyses and asks how to score that evidence and choose an inventory for decoding. The 2011 work takes the preparation of SCFG rules as its own subject. Together, the two papers identify distinct places where the behavior of a syntax-based translator can be shaped before it sees a test sentence. The rules first have to be expressible and extractable. Their scores and eligibility then determine which of them can compete to build a translation.

Cite

Cite as Greg Hanneman, Jonathan Clark and Alon Lavie. 2010. Improved Features and Grammar Selection for Syntax-Based MT. Proceedings of the Joint Fifth Workshop on Statistical Machine Translation and MetricsMATR.

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

@inproceedings{hanneman2010improved,
  title = {{Improved Features and Grammar Selection for Syntax-Based MT}},
  author = {Greg Hanneman, Jonathan Clark and Alon Lavie},
  booktitle = {Proceedings of the Joint Fifth Workshop on Statistical Machine Translation and MetricsMATR},
  year = {2010},
  url = {https://aclanthology.org/W10-1709/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/hanneman-2010-improved-features-grammar-selection-syntax/