Syntactic discriminative language model rerankers for statistical machine translation
Paper · 2011 · S. Carter and Christof Monz
Summary
A machine translation system can generate a reasonably fluent translation and still put a worse one first. Simon Carter and Christof Monz ask whether information about the grammar of the output can improve that choice. They work with Arabic-to-English translations from Moses, a statistical system that translates and reorders phrases. Moses supplies a list of candidates for each source sentence. A separate scorer then reranks the list using the original translation score together with evidence learned from earlier lists of better and worse translations. The candidates themselves stay the same.
The authors first test whether a tool for syntactic parsing can spot the kinds of problems a reranker would need to catch. On the NIST test sets, the parser’s length-normalised score places human references ahead of machine translations more frequently than a word-based language model does. Yet the parser and the word-based scorer both show near-zero average agreement with sentence-level BLEU when they rank the machine-generated alternatives for the same source. A parser can sometimes give an awkward phrase a plausible structure by assigning an unexpected grammatical category to one of its words. The paper therefore tries learning which individual syntactic patterns help make a choice instead of relying on the plausibility of an entire parse.
Features from full trees have uneven effects. The more reliable gains come from part-of-speech tagging with a deliberately simple procedure that assigns a word its most frequent tag in the training data, regardless of its neighbours. One reranker using these tags and features for verb and determiner frequency scores 49.65 BLEU on MT04, 54.60 on MT05 and 39.67 on MT06, improving significantly over a lexical reranker on each set. The highest shallow-feature scores on MT04 and MT06 come from indicators for missing grammatical categories, which reach 49.70 and 39.69 BLEU respectively.
The results distinguish accurate annotation from useful evidence for selection. The simple tagger has the lowest reported tagging accuracy of the tools tested, yet its tags can preserve evidence of awkward word order that a contextual analysis makes less visible. The strongest syntactic rerankers improve matches to the human references for longer word sequences while slightly reducing single-word precision relative to lexical reranking. Those results are consistent with some improvements in word order, within the alternatives Moses already produces.
Deep dive: Syntactic discriminative language model rerankers for statistical machine translation
Simple part-of-speech tags help a reranker choose better Arabic-to-English translations, while features from full parse trees give uneven results. · about 34 minutes to read
The problem and its context
Choosing among translations the decoder already found
A phrase-based translator has to decide both how to translate pieces of the source sentence and how to arrange the resulting pieces in the target language. The phrase table supplies possible correspondences. Reordering scores help the decoder choose an arrangement, and a target-language score helps judge how natural the resulting English sounds. Each kind of evidence serves a different purpose. A plausible English phrase may express the wrong thing in a particular translation, while choices that seem sound for individual source phrases can combine into awkward English.
The target-language score is particularly important when the decoder has several credible ways to arrange the same material. The phrase-based and hierarchical systems discussed in the paper commonly score the target sentence with word n-grams. An n-gram is a sequence of neighbouring items, typically words in this setting. A word scorer estimates how likely the next word is given a fixed number of preceding words. This makes it possible to reward familiar local sequences and discourage unusual ones as the decoder builds a translation. Its view of the context stops at the edge of that window.
There are two reasons why that boundary might matter. A grammatical relation can connect elements that are separated by other words. Even when the relevant words are close, the training material may contain few instances of that particular sequence. A representation based on grammatical categories can recognise similarities across phrases written with different vocabulary. A phrase tree can also connect parts of a sentence whose words never occur together inside the lexical window. The paper investigates whether either kind of representation helps in the specific decision a reranker has to make.
Reranking starts after the decoder has generated complete candidates. It can examine properties of a whole sentence that would be more awkward to compute while the sentence was still being assembled. It also changes what counts as a successful decision. The scorer needs to identify a better candidate for a particular source sentence. A feature that readily tells a polished human translation from a rough machine translation might provide little guidance when all the available candidates are variants produced by the same decoder. Conversely, a feature can be useful for distinguishing those variants even if it is a poor general indicator of whether a sentence was written by a person.
The authors probe these two situations separately. They begin with paired comparisons between a baseline translation and its human references. They then look at rankings within lists of machine output. In the first setting, a human translation supplies a comparison that can differ from the decoder’s output in vocabulary, structure and style. In the second, the alternatives are subject to the same phrase table, search and original scoring procedure, and can share much of their material. The latter is the decision environment in which the added syntactic evidence has to earn its place.
Approaches already available
Earlier work had addressed the narrow lexical window in part by making the contents of the window more general. Class-based approaches group words into clusters, then predict with those classes and can combine the resulting scores with a word-based predictor. Factored approaches let each word carry several descriptions. The paper mentions morphological information, supertags and partial parses as possible factors. These representations make a wider range of evidence available while retaining prediction over sequences with a bounded history.
Other studies had brought phrase structure or related grammatical evidence into translation more directly. In the experiments by Och and colleagues discussed by Carter and Monz, generative syntactic features failed to improve candidate reranking. Post and Gildea put a parser-based language score into decoding and did not beat their baseline. Hasan and colleagues reported a more promising result with shallower analyses in the reranking of translated speech. Their system could use evidence from supertagging, lightweight dependency analysis, link grammar and chunking in a log-linear reranker. These examples gave Carter and Monz reasons to test what type of annotation to use as well as how to use it.
A second line of work concerned how to learn the weights of a reranker. Shen and colleagues had applied a perceptron-like procedure to translation lists with a relatively small collection of features. In the paper’s account, work by Arun and Koehn explored online training with a much larger feature space for phrase-based translation. Other studies trained features for individual parts of the translation process, such as reordering or phrase choice, or combined evidence from the source and target sides. Carter and Monz restrict the new evidence in their reranker to the English candidate. The original decoder score carries information about the translation decision that produced it.
The closest syntactic precedent the authors identify comes from speech recognition. Collins and colleagues used a discriminative language scorer with syntactic features to reorder recognition hypotheses. The likeness lies in learning from alternatives that a first system actually produces. The tasks supply different kinds of alternatives, and Carter and Monz test both a different application and a different way to supply grammatical tags. For translation specifically, Li and Khudanpur had already shown how to use a large set of lexical n-gram features in a discriminative reranker. That approach provides a baseline against which to ask whether syntax adds something beyond a second look at the words.
The paper extends the authors’ earlier studies of parser scores and syntactic reranking. It adds test sets, examines higher-order lexical scorers in the diagnostic comparisons and explores more features from full trees. Putting the diagnostics and reranking experiments together lets the authors follow a specific question from motivation to test. If a parse score is sometimes misleading because it rewards a plausible analysis of an implausible sequence, can a learner make better use of local grammatical evidence about that sequence?
The method, step by step
From alternatives to a training decision
For each Arabic source sentence, Moses produces an n-best list, an ordered collection of candidate English translations. The paper uses the top-1000 distinct candidate strings. Different phrase choices or alignments can yield the same final string, so distinctness matters at the level where the reranker looks for lexical and syntactic patterns. Source words that Moses leaves untranslated remain in the output. The system passes on the candidate as produced, including material that an English annotator may find hard to handle.
During training, the authors designate an oracle choice for each list. The oracle uses human translations of the same source as references and picks the candidate with the best sentence-level BLEU. BLEU reflects overlap with reference word sequences. The sentence-level version here uses additive smoothing, which makes the comparison usable when a candidate has few matching sequences at a given order. The oracle is a reference-informed choice among the decoder’s alternatives. Its chosen sentence supplies the preferred feature vector for a training update.
The reranker begins with the original score Moses assigned to each candidate. It adds a learned score for the candidate’s features. During training, the reranker and the oracle may prefer different candidates. The learner then increases the relative influence of patterns found in the oracle choice and decreases the relative influence of patterns found in its current choice. Over repeated comparisons, the weights reflect what tended to distinguish the candidates that agreed better with human references from ones that the system was otherwise inclined to select.
This procedure gives the learner a direct reason to penalise a pattern that is common in bad candidates. It also gives it examples of patterns shared by good and bad translations. When two candidates contain the same feature with the same value, that feature contributes equally to both scores and cancels in an update comparing them. The focus stays on differences within a list, where they can alter which English string is selected for that source.
Training and using the translation reranker
The steps in order.
How candidates are scored
For a word-based predictor with a fixed history, the size of the preceding context is:
n − 1
Here n is the order of the n-gram, which includes the word being predicted. The minus sign subtracts the current word from the total, and 1 represents that word. This restricted context is the Markov assumption described in the paper. It concerns the next-word prediction in the lexical scorer. The discriminative reranker, by comparison, can extract features from anywhere in a completed sentence or its grammatical analysis.
The paper writes the combined candidate score as:
S(z) = βφ₀(z) + w · φ(z)
S is the total score and z is a particular translation candidate. The function φ₀ returns the score that the original translation system assigned to z. The coefficient β determines how much that score contributes. The function φ maps z to a vector of feature values, and w holds the learned weight for each corresponding feature. The dot indicates that each value is multiplied by its weight and the products are added. The plus sign combines this discriminative contribution with the scaled decoder score. The resulting S supplies an ordering over candidates and has no probabilistic interpretation in the reranker.
Holding β fixed while the perceptron learns w gives the two sources of evidence distinct roles. The decoder score already aggregates evidence from the translation system. The learned features supply additional distinctions among candidates. The authors follow earlier work in keeping the decoder score outside the perceptron’s update, citing the risk that treating it like another learned feature can leave other features insufficiently trained. They select β separately by grid search on the development data.
The selection rule is:
z* = argmax[z ∈ GEN(xᵢ)] S(z)
The star identifies the candidate that attains the highest score. The index i identifies a list xᵢ, and GEN supplies the alternatives belonging to that list. The membership sign restricts z to those alternatives. The operator argmax returns the candidate at which S is greatest, so the output is a translation instead of the value of the score. During application to unseen lists, this rule uses the supplied candidate strings and decoder scores along with the features extracted from the candidates. It needs no human references.
How the weights are learned
The perceptron processes the training lists in sequence. At a particular list, it scores the candidates with its current weights and compares its preferred sentence with the oracle’s. Matching choices allow training to continue with the same vector. When the choices differ, the standard update adds the oracle candidate’s feature vector and subtracts the current choice’s vector. The operation can be written as:
w ← w + φ(zₒ) − φ(zₚ)
The arrow means that the expression on the right replaces the current w. The subscript o marks the oracle choice zₒ, and p marks the prediction zₚ made by the scorer at that step. The same feature function φ describes both candidates. Addition favours features in the oracle choice, subtraction penalises features in the predicted choice, and features that occur in both can offset each other. The size of the update does not separately encode the BLEU distance between the two candidates. BLEU determines the training preference, and the feature difference determines the adjustment.
An online learner can use an updated vector as soon as it moves to the next list. That is attractive when the feature space is large and many features occur in comparatively few sentences. The perceptron changes weights through the examples it encounters and the mistakes it makes. A possible feature need never acquire a non-zero weight. Even an observed feature may have no effect if it continually occurs with the same value in the alternatives being compared.
With linearly separable training examples, a suitable weight vector can in principle satisfy all the required decisions. The authors discuss the instability that can arise when the training preferences are not separable in this way. Similar feature configurations can recur with different preferences, and a useful weight adjustment in one list can move another list’s alternatives in an undesirable direction. The paper describes alternatives that keep a particularly successful vector or retain a collection of vectors with good training records. Its experiments use the averaged perceptron, following the earlier lexical reranker.
The averaging calculation is:
w_avg = (Σₜ₌₁ᵀ Σᵢ₌₁ᴺ wᵢᵗ) / (N · T)
Here w_avg is the final vector and wᵢᵗ is the learner’s vector at instance i in pass t. N counts the lists processed in a pass, and T counts the passes through them. The two summation signs add the successive vectors, with the lower bound 1 denoting the first instance or pass. Dividing by the number of instance visits, N multiplied by T, gives the average. A weight change that persists through many decisions therefore has more influence on the final scorer than one that happens near the end and is seen for only a short time.
Averaging serves a different purpose from choosing the oracle. The oracle provides a preference on each training list. Averaging determines which version of the learned weights is used after the learner has processed all those lists. Nor does this training procedure optimise the final test-set BLEU directly. Its updates are based on individual sentences, while the main reported comparison evaluates the selected translations together at corpus level.
Obtaining the training lists
The same development material, MT02 and MT03, is available for tuning the baseline and preparing training examples for the reranker. The authors want candidates that reflect how Moses translates a source sentence when that sentence’s references have not been used to tune the decoder weights for that run. They divide the development material into K folds, with K denoting the number of partitions. For each held-out fold, they tune the decoder on the other folds with Minimum Error Rate Training, or MERT, and then translate the held-out fold using those settings. The candidate lists from this procedure supply the examples for the perceptron.
This use of held-out folds concerns decoder tuning. The resulting lists, with their reference-based preferences, still form the material from which the reranker learns. For the comparative Moses baseline, the authors tune the decoder on all the development data together. Thus the baseline for final evaluation is the normally tuned first-choice system. The fold procedure is how the authors obtain training lists for the additional scorer without using a decoder tuned on the particular fold whose candidates it generates.
The authors also search for the decoder-score coefficient β on the combined development set, called MT0203 in the results. They examine increments of 0.1 between 0 and 1 and extend the search to higher settings. Selecting this coefficient matters because the learner and the decoder can disagree. Its value determines how large a learned feature advantage must be to overturn an original score difference. A candidate that is already close to the top may change places with a small shift in the extra score, whereas a candidate far down the list may require stronger accumulated evidence.
The three sources of grammatical tags
The full-tree annotation comes from Bikel’s implementation of Collins Model 2, abbreviated CM2. A tree shows how the words form successively larger phrases. At its lowest grammatical layer are the part-of-speech tags immediately above the words. Higher nodes stand for phrases and other groupings. The parser’s probability calculation distinguishes evidence about head labels, sibling labels and head tags, the words at sibling heads, and subcategorisation frames, which describe the kinds of dependents expected in a construction. The authors choose this version of the parser because of its reported performance on labelled parsing measures.
CM2 uses the Penn Treebank’s Wall Street Journal section as its training data. Sections 02-21 supply about 40,000 sentences for training, while section 23 contains about 2,500 sentences for testing. The authors lower-case the parser training material and describe tokenising and lowercasing it in line with the style of Moses output. Tokenising specifies where the items to be scored or annotated begin and end. Consistent preprocessing makes a word or punctuation symbol encountered in the output more likely to have the same representation in the annotation data.
The contextual tagger uses a conditional random field, abbreviated CRF, in Xuan-Hieu Phan’s implementation. It assigns a tag sequence to the sentence, using contextual evidence to choose categories. The paper compares features from this tag sequence with features from the parser’s tags. Both sources can consider surrounding words when deciding how to label an ambiguous form. Only the parser also supplies full phrase structure to the experiments.
The third tool, S-POS, is a simple maximum-likelihood tagger trained on sections 02-21 of the Penn Treebank with analogous preprocessing. For each known word form, S-POS uses the tag most often associated with that form in its training sentences. Each occurrence of a particular word consequently receives the same tag, regardless of what comes before or after it. The tool uses no smoothing or fallback estimate for unseen forms. It supplies UNK as the tag for such a word.
A tag that reflects typical usage can expose an unusual order when the tags are read as a sequence. For instance, a form usually tagged as an adjective can retain that tag even when it appears in a place where a contextual tagger finds a noun analysis more plausible. The perceptron can then learn separate weights for the resulting patterns. The same rigidity can give an incorrect tag to a word that really is being used in a less frequent grammatical role. The experiments measure whether the extra distinctions help the particular task of choosing a translation.
Which annotations can be obtained for the candidates also matters. The paper describes the runtime of the parser in terms of:
O(n³)
O denotes the order of growth, n here is the sentence length, and the exponent ³ means that length enters cubically. This n refers to the number of words in the sentence, whereas n in an n-gram specifies the order of the sequence being examined. Long candidates can strain time and memory, and some candidates receive no full parse. When that happens, a full-tree reranker has the lexical features and a NOPARSE indicator available. A tagger can supply a complete sequence even if it has to mark some words as unknown.
Turning a tree into features
The lexical baseline extracts unigrams, bigrams and trigrams directly from the words in the candidate. The tree-based alternatives retain those features and add different forms of grammatical evidence. Some evidence can be presented as a linear sequence. The simplest tree sequence is the row of part-of-speech tags. SEQ-B goes one level higher for each word, recording the closest ancestor above its part-of-speech node and whether the word begins or continues the corresponding shallow chunk. SEQ-C adds the word’s part-of-speech tag to this chunk description. Thus a SEQ-C feature distinguishes more configurations than a feature carrying the chunk label and boundary alone.
For these sequences and the sequences from the taggers, the paper gives the following feature templates:
(tᵢ₋₂, tᵢ₋₁, tᵢ), (tᵢ₋₁, tᵢ), (tᵢ), (tᵢ, wᵢ)
The subscript i is the current word position. The positions marked i minus 1 and i minus 2 are the immediately preceding position and the position before that. The symbol t is the annotation at a position in the chosen layer, and wᵢ is the actual word at i. In this formula wᵢ refers to a word, distinct from the weight vector w in the scoring formula. Parentheses group the entries of a feature. The templates are a tag trigram, a tag bigram, a tag unigram and a word paired with its tag. The meaning of an entry t depends on whether the sequence represents plain tags or information about chunks.
Other tree features describe rules or relationships directly. A context-free grammar feature, labelled CFG in the comparisons, records an expansion used in the tree. A rule can record whether a noun phrase precedes a verb phrase inside a constituent, for example. That relationship can connect words separated by intervening material. The higher rules describe categories, while the rules immediately above the words reach down to specific items. The same higher rule can consequently be recognised in translations with different vocabulary.
The HEAD family records relations among phrases and their heads. A head is the child that determines the central grammatical character of a phrase, and the parser uses Collins’s hand-written head rules to identify it. A feature for a noun phrase can record that its head has tag NN, or that the head word is a particular noun such as car. The first form can share evidence across many nouns. The second can pick up patterns associated with a particular word and category.
The more elaborate head features also describe a head-bearing child and one of its siblings. Each feature records the parent category, the category of the head child, the sibling category, their relative position and a lexical or tag description of each head. The position code is 1 for adjacent children and 2 for children that are farther apart, with positive values on the right and negative values on the left of the head child. A relation involving could and be can thus be represented with words, with tags, or with one of each. This range from abstract to lexical descriptions increases the kinds of distinctions the learner can make and the number it must learn from the candidate lists.
The remaining tree measures compress larger structures into counts or lengths. Tree depth, introduced as T-DEPTH and shown as MAX-D in the results, records the greatest depth and is normalised by sentence length. UNIT-P counts rules with a single child. NT-C represents counts of nonterminal categories normalised by length, while NO-C counts all nodes relative to the length of the candidate. The motivation is that an awkward output can induce an unusually elaborate analysis or an unusual supply of some categories. These quantities let the learner act on such evidence without having to encounter precisely the same tree shape again.
Looking beyond tag sequences
The shallow experiments also use information that can be extracted from tags without constructing phrases. VERBAGR looks for a pair of verbs around a coordinating conjunction or a comma. For every such boundary, it looks up to five words in each direction and selects the closest verb from each side only if it finds a verb on both sides. It creates a feature from the resulting tags. The feature can distinguish a coordination involving two verbs with matching forms from one with a change of form, even when words intervene between the verbs and the conjunction.
For example, two verbs tagged VBG can yield the pattern VBG CC VBG around a coordinating conjunction tagged CC. The feature can describe the relationship expressed by shouting and screaming when the two forms are coordinated. An ordinary adjacent tag trigram would capture the same pattern only when its entries were contiguous. The boundary search lets the feature describe a small structural relation without the cost and potential failures of full parsing.
The authors give the following form for their POS frequency features:
length(x)/num(POS, x)
Here x is the candidate translation. The function length gives its sentence length, POS denotes a specified grammatical category, and num gives the frequency of that category in x. The slash is the notation the paper uses to put sentence length and tag frequency together. The feature description ties the quantity of a category to the length of the output, so that the learner can distinguish the same tag count in short and long candidates. The paper gives no separate rule for handling a zero denominator if the expression is read as literal division.
The frequency experiments consider verbs, nouns, determiners, adverbs and adjectives. An absence feature, NOPOS, records when a selected category is missing, regardless of length. Its purpose differs from that of a sequence feature. A skipped verb can change the overall grammatical shape of a sentence even if each local sequence that remains is common. Frequency and absence features give the learner a way to register that possibility. Their weights are learned from the candidate comparisons, so an absence can be evidence in one direction without being treated as a universal grammatical error.
Experiments and results
The translation setup and the measurements
The authors use Moses with lexicalised reordering, its standard phrase table scores and a target-language scorer. In the reported configuration, each search stack can hold 100 partial candidates, the distortion limit is 6 and the phrase table limit is 20. The stack size constrains how many partial hypotheses the decoder retains during search. The distortion limit restricts reordering, and the phrase table limit caps the supply of phrase translations considered. These settings help define what reaches the reranker in the first place.
The parallel training collection totals 300K sentence pairs. The paper identifies Arabic news, automatically extracted parallel material, eTIRR news and translated Arabic treebank data among its Linguistic Data Consortium sources. Word alignments are obtained with GIZA++. The English side of the parallel data also contributes to the target-language training material. For the four-gram scorer in the initial diagnostic, the authors use the AFP and Xinhua portions of English Gigaword as well and train with the SRILM toolkit using modified Kneser-Ney smoothing, a method for distributing probability to sequences whose direct counts offer limited evidence.
The NIST development sets are MT02 and MT03. The former contains 1043 source sentences and the latter 663, with 4 references per source sentence in the benchmark statistics for each. Final translation results are reported on MT04, MT05 and MT06. The authors give MT04 as 1353 source sentences with 5 references each, MT05 as 1056 with 5 and MT06 as 1796 with 4. The paired human-versus-machine diagnostic is separately described as using 4 references per output. Its percentages refer to the comparisons made in that experiment.
The paper reports several kinds of measurements. Reference-ranking accuracy counts pairwise decisions in which a human reference receives at least as high a score as the corresponding machine translation. The list-ranking diagnostic measures how closely the ordering of machine candidates agrees with their smoothed sentence BLEU ranks. Tagging accuracy assesses the grammatical labels from the annotation tools. The final reranking comparison evaluates the selected translations with corpus-level BLEU. Each measurement addresses a different decision, so the value of a result depends on which objects were compared and how.
Can the parser recognise human translations?
The first comparison pairs a Moses translation with human translations of the same source. The scorers see the target strings. For the normalised results, the authors divide the log probability of each sentence by its length before comparing the scores. This gives a per-word measure and reduces the effect of a cumulative score becoming less favourable simply because the sentence contains more words. The reported accuracy is the percentage of human reference comparisons in which the reference ties or beats the machine output.
Length-normalised reference ranking on MT04
The parser puts human references at or above machine output more often than the word scorers do.
The numbers
| System or setting | accuracy % |
|---|---|
| LM4 | 23.08 |
| LM5 | 26.92 |
| LM6 | 27.27 |
| Collins Model 2 (this paper) | 61.09 |
On MT05, the normalised parser accuracy is 54.85%, against 36.55% for LM6. On MT06, the corresponding scores are 63.37% and 34.58%. LM6 uses a wider lexical history than LM4 and does better on this diagnostic, but the parser leads even after the lexical comparison is strengthened. It is also the only scorer in the comparison to clear 50% on the normalised measure across the test sets. That threshold refers to the rate of successful pairwise decisions in this diagnostic.
The unnormalised comparison has the same overall ordering between the parser and the lexical scorers, with weaker reference-ranking figures. For CM2 it gives 34.09% on MT04, 49.1% on MT05 and 33.6% on MT06. On MT04, for example, the unnormalised figure for LM6 is 16.09%. Length normalisation therefore matters to the absolute interpretation of the reference comparisons. The relative advantage of the parser is visible with either scoring convention.
The authors also group outputs by their sentence-level BLEU and by their length. As the baseline output’s BLEU rises, the pairwise diagnostic tends to get harder for all the scorers. That is consistent with machine translations looking more like the human references in those bins. When the outputs are grouped by length, the fitted trends for the parser and the lexical scorers have different directions. The parser becomes better at placing a reference above the machine output as length increases, while the lexical scorers tend to get worse. The parser also has an advantage for short cases in the reported range of 1–4 words. The length trend is evidence about discrimination in this experiment instead of a measurement of how accurately individual trees were recovered.
Can the scores choose among machine candidates?
The second diagnostic looks inside each candidate list. It ranks the candidates according to smoothed sentence BLEU and separately ranks them by the parser or four-gram score. The authors allow ties when converting scores to ranks, compute a Pearson correlation between the two sets of ranks for each list and then average the coefficients. Pearson correlation measures how closely paired values vary together. Here its inputs are rank values for alternatives for the same source, so it tests agreement about order rather than agreement between the numerical scales of the original scores.
For MT04 the average is −0.045 for LM4 and −0.027 for CM2. For MT05 it is 0.066 for LM4 and 0.036 for CM2. For MT06 it is −0.027 for LM4 and −0.046 for CM2. These averages sit close to zero on every set. The small sign changes give little basis to expect either scorer’s ordering to track BLEU reliably for a new list. The diagnostic also explains how the parser can win the reference comparison and still provide an unhelpful total score for selection. Comparing one baseline output with a human reference and sorting neighbouring hypotheses are different demands on that score.
The paper illustrates the distinction with a machine translation of source segment 139 in MT04. CM2 gives the output a higher length-normalised log probability than each of the four human translations displayed for the example. The four-gram scorer puts the machine sentence last. The authors isolate the parser’s treatment of believers as a verb, which helps license a phrase structure even though the word should be a noun in that instance. In the parser’s Wall Street Journal training corpus, the authors report 21K instances of the tag TO. Its nearest sibling on the right is a verb phrase 13,001 times and a noun phrase 8,460 times. That distribution gives a plausible reason for a preference in the parser’s analysis, without by itself deriving the score of this whole sentence.
The example makes clear what can get lost in one number for a tree. The parse is able to accommodate the surface string, and that accommodation can improve the structural probability while obscuring the part of the string that makes it awkward. Separate features could register a verb phrase headed by an unlikely word, or an unusual local tag sequence, alongside features for the rest of the structure. The discriminative experiment tests whether such distinctions can be learned on actual translation alternatives.
How much reranking changes the final output
The authors first establish how much can be gained by lexical reranking alone. The Moses first choices score 48.97 BLEU on MT04, 53.92 on MT05 and 38.40 on MT06. Adding a lexical perceptron with unigram, bigram and trigram features raises those figures to 49.57, 54.42 and 39.08 respectively. Every syntactic feature comparison therefore has a competitive second baseline. A gain over the original Moses output includes whatever benefit comes from the lexical reranking procedure. A gain over the lexical reranker addresses the added value of the syntactic evidence.
The paper also evaluates what its reference-informed choices achieve. The oracle results are 61.09 BLEU on MT04, 66.34 on MT05 and 50.11 on MT06. They show that more useful alternatives are present in the existing lists. Since the oracle chooses with sentence-level information and the evaluation aggregates selections over the corpus, these figures describe that oracle’s selections. They do not establish that it found the set of translations that globally maximises corpus BLEU. The gap still matters because it places the shallow syntactic gains in the context of much larger selection opportunities in the same candidate pool.
The tag sequences supplied by the CRF and S-POS taggers improve over the lexical reranker on each test set. Adding CRF tag features gives 49.74 on MT04, 54.51 on MT05 and 39.45 on MT06. Adding S-POS tag features gives 49.59, 54.60 and 39.48. The CRF sequence is the better of those alternatives on MT04, while the simple tagger leads on MT05 and MT06. The authors carry S-POS into the subsequent experiments on counts, absences and the conjunction-based verb feature.
Among those subsequent configurations, the absence setting, S-POS+NOALL, is strongest on MT04 and MT06. It scores 49.70 on MT04, an improvement of 0.13 corpus BLEU over the lexical reranker, and 39.69 on MT06, an improvement of 0.41. The paper reports both comparisons at p < 0.01. On MT05, S-POS+V+DNUM, which adds frequency information about verbs and determiners, reaches 54.60. Its reported improvement of 0.18 over the lexical reranker is significant at p < 0.01.
Moses and selected rerankers on MT06
Features for missing grammatical categories give the highest BLEU among these settings.
The numbers
| System or setting | BLEU |
|---|---|
| Moses | 38.40 |
| Lexical reranker | 39.08 |
| Lexical reranker with CRF tags | 39.45 |
| Lexical reranker with S-POS tags | 39.48 |
| S-POS with verb agreement | 39.55 |
| S-POS with verb and determiner frequencies | 39.67 |
| S-POS with category absence (this paper) | 39.69 |
The verb-and-determiner frequency setting is notable across splits. Its table entries are 49.65 on MT04, 54.60 on MT05 and 39.67 on MT06. The comparison with lexical reranking is significant at p < 0.05 on MT04 and at p < 0.01 on MT05 and MT06. The authors use paired bootstrap resampling, which compares the systems on resamples of the same test items. Their comparison is between each syntactic setting and the lexical baseline. The significance marks do not establish differences between two shallow settings that have nearby scores.
What the ablations show
Which evidence from a full tree carries over?
The full-tree comparisons add one feature family at a time to the same lexical reranker. This makes it possible to see which families have an effect without attributing the outcome of a large bundle to an individual component. On MT04, adding unit productions is the clear exception to a generally unhelpful set of tree features. UNIT-P reaches 49.81, and the authors report a gain of 0.34 BLEU over the lexical baseline. On MT05, the same setting scores 54.39 against the baseline’s 54.42. CFG rules and parser tags give small improvements there, at 54.44 and 54.48 respectively.
MT06 gives more scope for tree features to help. UNIT-P reaches 39.76, tree depth reaches 39.61 and nonterminal counts reach 39.68, against 39.08 for lexical reranking. CFG rules also improve to 39.58. The table shows exceptions to this general pattern. The head setting scores 33.45, node count scores 36.92 and parser tags reach 39.07. The paper’s broad description of the MT06 pattern is more favourable than these individual entries. The settings that succeed on MT06 provide evidence for their value on that test set, with uneven results elsewhere.
The most striking development results come from SEQ-C and HEAD. SEQ-C reaches 60.37 BLEU on MT0203 and HEAD reaches 61.53, compared with 59.87 for lexical reranking. On MT04, both score below the lexical reranker. HEAD also falls well below it on MT06. The authors count active features by looking at non-zero weights and find that those two additions produce the largest active feature collections. The development scores and feature counts together support their interpretation that these settings fit patterns specific to the development candidates. The paper measures the association between a larger feature set, strong development performance and poorer test performance. It offers overfitting as the explanation.
The proposed tree measurements had some motivation in the baseline output itself. On MT04, the authors report summed tree depth differences of between 20 and 56 levels in the direction of deeper trees for the machine translations. They also report between 7.5 and 20 more unit productions and between 71 and 205 more nodes in their aggregate machine-versus-reference comparisons. These observations concern the baseline outputs and references, whereas a trained feature must be useful among competing machine translations. The results for node count are especially informative on that point. A property can characterise the baseline’s output in aggregate and still be a poor guide to picking a better candidate from its list.
What changes when the source of tags changes?
The comparison of tag layers holds the kind of local evidence fairly close while changing how the grammatical sequence is supplied. The reported tagging accuracies are 97% for CRF, 94.4% for CM2 and 86.8% for S-POS. Yet the parser’s tag features improve on lexical reranking only on MT05. The two stand-alone taggers improve the BLEU results on all the test sets, and the simple tagger beats CRF on MT05 and MT06. The rankings by tag accuracy and by usefulness to the reranker answer different questions. The tagging figures measure success at recovering labels, while the BLEU figures depend on whether the observed patterns help change the selected sentence.
The clearest example is a candidate containing the order government interim. The parser and CRF assign the two words consecutive noun tags, NN NN. The authors note that this pattern has a positive learned weight. S-POS labels interim as an adjective, exposing a noun followed by an adjective in that location. The S-POS reranker chooses another candidate, with interim preceding government. The original candidate scores 50.30 in sentence-level BLEU and the selected alternative scores 67.64. The paper gives the difference as 17.34 points.
That example connects the annotation decision to a concrete change in the available evidence. The same awkward sequence activates different features depending on which tagger annotates it. As a consequence, a learner can recognise a category order that a contextual tagger has recast as a familiar pair of nouns. The two complete translations also differ beyond the illustrated tag pair, so the example explains how a cue can contribute to a better choice without isolating the fraction of the score change attributable to that cue.
The precision breakdown for the strongest syntactic settings provides broader evidence about sequence matches. The syntactic rerankers lose some unigram precision relative to lexical reranking on each test set, while improving bigram, trigram and four-gram precision. On MT04, unigram precision moves from 81.86% with lexical reranking to 81.76% with added syntax. Over the same comparison, four-gram precision goes from 30.28% to 30.43%. On MT06, four-gram precision changes from 21.50% to 21.58%, while unigram precision changes from 74.43% to 74.31%. Longer exact matches can benefit when words appear in a more reference-like order. The precision pattern is consistent with the authors’ reordering explanation, though it can also reflect joint changes in phrase choice and arrangement.
Which additional shallow features help?
The frequency and absence comparisons show that the improvements are sensitive to which aspect of the tag sequence is used. S-POS+NOALL gives the strongest reported shallow score on MT04 and MT06, but scores 54.46 on MT05. The verb-and-determiner frequency setting produces significant gains over the lexical system on all the test sets. Its advantage is consistency across these comparisons. A setting can therefore be valuable by yielding gains on each set even when another has a higher individual result.
Using frequency features for all the examined categories gives the same displayed BLEU as the verb-and-determiner frequency setting on each test set. The statistical results differ. In particular, the all-category frequency setting appears at 54.60 on MT05 without the significant improvement the authors report for the narrower setting. A corpus BLEU value summarises selections over a whole set, and similar aggregate outcomes can arise from different selections. The displayed scores alone do not supply the paired comparisons on individual items used by the significance test.
The verb agreement feature is less consistent. Added to the S-POS setting, it gives 49.44 on MT04, 54.56 on MT05 and 39.55 on MT06. The paper marks the MT06 comparison with lexical reranking as significant at p < 0.01. The method looks around commas and conjunctions, where matching forms are sometimes a useful cue. Whether the nearest verbs should agree depends on the sentence, and the feature can only act when the required pair appears inside its search windows. The results support a benefit on MT06 within this configuration.
The authors also ask whether the best tree feature supplies evidence that the shallow features missed. Because there are too many combinations to test exhaustively, they take UNIT-P and combine it with features from S-POS. These combinations fail to improve on the shallow results. This gives a direct test of complementarity for unit productions in the combinations examined. Its outcome is compatible with some of the same candidate differences already being captured by the shallow reranker. Other tree families or other ways to combine them were outside that comparison.
Limitations
Limits the authors identify
The authors identify parse coverage as a practical obstacle to using full-tree evidence. Every list has at least one candidate with a parse, and the first candidate always has one. Coverage across the whole lists is lower. On the MT0203 training material, 87.3% of candidates receive a parse. Across the final test sets, the reported coverage ranges from 80.7 to 82.6%. These percentages measure candidates rather than source sentences. They allow substantial variation in which alternatives within a single list can be described with the same kinds of features.
A candidate without a parse activates NOPARSE and can still be scored with its lexical features. For the tree feature families, however, training has fewer examples from which to learn weights, and evaluation has fewer candidates on which those weights can act. The authors connect this reduced coverage to the performance of sparse features such as detailed head and chunk patterns. Those patterns open a large feature space at the same time as parser failures limit the amount of usable evidence. Parse coverage was observed alongside overfitting and uneven BLEU. The study does not separately vary coverage to quantify how much of the result it causes.
The authors also acknowledge the fit between their metric and the phenomena of interest. Sentence-level BLEU approximates fluency in the diagnostic and chooses an oracle within each training list, while the principal evaluation uses corpus BLEU. The paper mentions a manual inspection that supports an association between sentence-level BLEU and fluency in its output. A BLEU preference still depends on the references and their wording. The authors use the metric both because it can supply the needed preferences and because it is the established basis of comparison for the systems studied.
Another qualification concerns the role of MT04. The authors looked at its baseline translations when motivating some features, including measures of tree structure. MT04 therefore contributes evidence about the setup that informed those choices as well as providing a test result. They state that MT05 and MT06 were left unseen in that inspection. Performance on those sets is especially relevant to whether the features carry over beyond the examples that helped suggest them. The variation among the test sets is itself part of the reported outcome.
Limits of the experimental design
The reranker’s scope is the finite list generated by Moses for each sentence. If a grammatical phrase or an adequate translation never appears in the list, learning a weight for that feature cannot add it. The high oracle scores show that the decoder frequently supplies a better candidate than the one the learned scorer finds. They say little about errors where every available candidate makes the same wrong translation choice. The study also does not compare the reranker with a decoder that uses the same learned features during search, when the composition of the list could change.
The added linguistic features describe English output. The underlying decoder score still brings in source-conditioned information, and BLEU rewards overlap with target references, but there is no separate measurement of whether a new selection preserves more of the Arabic meaning. The terminology of fluency is appropriate for the study’s motivation and examples. The corpus results establish improvement on reference overlap in this setup. Independent human judgments of fluency and adequacy would address how the improvement is distributed between better English and more faithful translation.
The evidence about simple tags comes from a particular language direction, decoder, annotation corpus and set of evaluation benchmarks. The simple tagger is effective here partly because its stable labels can make irregular local sequences visible. The paper’s findings leave open how often that advantage would appear in another target language, another kind of text or candidates whose errors have a different distribution. In addition, the reported tagging accuracies do not measure how frequently contextual tagging specifically obscures errors on machine output. The examples illustrate the mechanism, and the reranking scores quantify the net effect of using those annotations.
The provenance of the features also matters when interpreting comparisons with full trees. Some of the tree features preserve much more detail than a POS sequence. Others differ in how frequently they are available, and their values depend on the parser’s chosen analysis. The experiments compare all those consequences together for the tested feature families. They provide a strong practical reason to prefer the shallow settings in this setup, while leaving open what would happen with denser tree features, broader parse coverage or a different way of representing uncertain analyses.
Finally, the study provides a direct comparison with lexical reranking for the shallow configurations and reports significance where indicated. It provides fewer grounds for fine distinctions among shallow settings whose scores are close, or for choosing one configuration by taking the best test score from each set. The verb-and-determiner result can be stated as the performance of one configuration on all the reported test sets. The best shallow score on each set describes a different comparison, with the winning configuration depending on the split.
What came after
The authors propose partial parsing as a direction for follow-up. It would make it possible to describe phrase structure in portions of an output even when obtaining a full tree is impractical. The proposal follows from the different strengths observed in the experiments. Full trees sometimes supply useful structural distinctions, while tag sequences give broad coverage of the candidate lists. A partial analysis would test whether the structural information survives in a form that applies to more candidates and transfers more reliably across test sets.
No subsequent study is documented here that tests that proposal or takes the reranker into another setting. Partial parsing therefore remains a direction the authors identify, with its effect on translation selection left open.
Cite
Cite as S. Carter and Christof Monz. 2011. Syntactic discriminative language model rerankers for statistical machine translation. Machine Translation.
@inproceedings{carter2011syntactic,
title = {{Syntactic discriminative language model rerankers for statistical machine translation}},
author = {S. Carter and Christof Monz},
booktitle = {Machine Translation},
year = {2011},
doi = {10.1007/s10590-011-9108-7},
url = {https://doi.org/10.1007/s10590-011-9108-7}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/carter-2011-syntactic-discriminative-language-model-rerankers/