An MT Error-Driven Discriminative Word Lexicon using Sentence Structure Features
Paper · 2013 · Jan Niehues and Alex Waibel
Summary
A phrase-based translation system can find several plausible translations for a piece of a sentence. Choosing among them may require information that lies outside the piece, such as the article that establishes whether a noun is plural or the words that will surround it in the translation. Niehues and Waibel study a way to bring that information into statistical machine translation. Their starting point is the discriminative word lexicon, or DWL, which estimates how likely each target word is to appear anywhere in the translation. The standard lexicon sees which words occur in the source sentence. The authors extend it to see some of their order, and to consider words near a candidate on the target side as well.
The paper also changes what the lexicon learns from. In the original training procedure, any reference translation that omits a word supplies a negative example for that word. Yet many omitted words were never plausible choices for the sentence. The authors narrow the examples first to words the phrase table could supply, then to words that appear in highly ranked translations produced by the decoder. In the German-to-English TED experiments, phrase-table selection reduces the negative examples from 428 M to 5.26 M and improves test BLEU in both translation systems. Selection from ranked translations reduces the example count further, with test gains that depend on which system generates the candidates and which system uses the resulting lexicon.
The largest reported gain over a standard unigram DWL is 0.8 BLEU points. On German-to-English TED talks, filtered source sequences give the clearest gain for the domain-adapted system, while training on decoder candidates gives the strongest test result for the other system. Target neighbors help under some conditions, including the English-to-German news experiment, where the test score reaches 17.58 from a unigram DWL baseline of 17.41. The controlled comparisons show why these changes need to be evaluated separately. Rare source sequences can weaken the lexicon, and pooling target neighbors from different hypotheses can make training less representative of the contexts the lexicon will actually score.
Deep dive: An MT Error-Driven Discriminative Word Lexicon using Sentence Structure Features
This paper tests how word order and examples of likely translation errors help a phrase-based system choose better words in German and English. · about 32 minutes to read
The problem and its context
Why a phrase can leave a word choice unresolved
In phrase-based translation, a phrase is a sequence of words used as a unit of translation. The system collects source and target sequences that correspond in parallel text and stores them as phrase pairs. When it sees a new source sentence, the decoder can assemble a translation from several such pairs. The phrase table provides evidence about the correspondences, a target fluency component scores sequences on the output side, and additional features contribute to the ranking. The decoder searches among possible translations using a weighted combination of these scores. The paper takes this setup from Statistical Phrase-Based Translation.
This arrangement gives the decoder bilingual evidence about the words inside a phrase pair. Other parts of the sentence can still matter for the choice. Consider the German noun Lehrer, which has the same written form in the singular and plural. In the paper’s example, die Lehrer means the teachers. The order matters because seeing die and Lehrer somewhere in the same sentence gives weaker evidence than seeing the article directly before the noun. If a phrase pair includes the article and noun together, it can represent that relationship. A sentence-wide lexicon can bring the same clue into consideration when the decoder uses a phrase pair with a different boundary.
The paper’s standard DWL already addresses part of the context problem. It lets any source word affect the score of a target word, even when they are far apart or belong to different phrases. This differs from the word-alignment view the authors describe for IBM translation probabilities, where the evidence for a target word comes from the particular source word to which it is aligned. The DWL asks a broader question about the contents of the input. That question is useful when an informative source word lies outside the phrase currently being translated. Its original representation leaves the arrangement of those contents unspecified.
The two kinds of context therefore serve different purposes. A distant source word may help identify the subject matter, while a short ordered sequence can connect a word with the immediate context that governs its interpretation. The paper’s proposal keeps the ability to consider words across the sentence and adds features for contiguous sequences. Here, a sequence can carry information about syntax through surface order. The representation uses the words themselves and their adjacency, without requiring an explicit description of their grammatical relationship.
What the emerging translation can tell the lexicon
Some choices also depend on the output that the decoder is building. The paper illustrates this with German langsam, which can correspond to slow or slowly in English. When the emerging English translation places the word after be, that neighboring word favors slow. In the authors’ example, the relevant English phrase is be slow. A differently formed sentence could call for the adverb.
The existing target fluency score already gives the decoder information about sequences of output words. The target-context DWL brings those sequences into a different calculation. It estimates whether a particular English word belongs in the translation given both the German sentence and the English words around the proposed occurrence. The same neighbor can therefore have different implications for different target words or for the same target word under different source conditions. The paper studies whether making this information available to the lexicon improves the combined decoder.
There is also a distinction between recognizing a reference word and helping a decoder choose one. Standard DWL training sees all sentences in which a particular target word is absent as equally eligible sources of negative examples. For a rare word, that produces a large collection of negatives, including sentences for which the decoder has no route to generating the word. The authors focus the training question on alternatives that matter to the system. A phrase table tells them which words could be proposed locally. The decoder’s ranked outputs give a further indication of which of those words survive competition among whole translations.
The difference is especially important when some of the decoder’s components already resolve a bad choice. A phrase pair might offer an unsuitable word, yet translations containing it may receive poor scores once the rest of the sentence is considered. Training the DWL on that word’s absence may still teach it something about the source, but the decoder has already supplied evidence against the option. Meeting an unsuitable word in a highly ranked hypothesis is a stronger indication that the lexicon has an opportunity to influence the output. This is the reasoning behind the authors’ use of possible translation errors as training examples.
Where the proposal fits in earlier work
The paper credits Bangalore and colleagues with earlier work on discriminative lexical selection and Mauser and colleagues with integrating a DWL into a phrase-based system. The advantage attributed to that integration is access to source information across the sentence. Huck and colleagues then investigated feature selection to reduce the number of learned weights. The current paper also seeks a smaller lexicon, with particular attention to how the set of training examples determines which features and weights are needed.
Mediani and colleagues had already used phrase-table options to identify possible errors for DWL training. Niehues and Waibel retain that procedure as a comparison and extend the feedback to candidates from a complete translation system. This makes it possible to ask whether phrase-table reachability is enough, or whether the ranked results of decoder search supply a more useful set of alternatives. The distinction also gives the experiments two different ways of reducing the training set.
The authors relate the DWL to word sense disambiguation, where context helps determine the intended interpretation of a word. The approach the paper discusses from Carpuat and Wu disambiguates among translations of phrases. The DWL in this paper instead assigns scores at the level of target words, which the system uses alongside its scores for proposed phrase pairs. The two approaches share the premise that context can improve translation choice and attach that evidence to different units. Improving Statistical Machine Translation Using Word Sense Disambiguation
The paper also cites Jeong and colleagues for using target-side information in a lexical component aimed at complex morphology. That precedent is relevant because the forms available for a target word can be governed by its surroundings. The present work examines local target context within a more general lexical prediction task, alongside separate changes to the source representation and the choice of negatives.
The method, step by step
Start with a separate prediction for each target word
The basic prediction is whether a particular target word will appear anywhere in a translation. Imagine the classifier for teachers. Its positive examples are paired sentences whose English reference contains teachers. The same source sentence can simultaneously be a positive example for every other English word present in that reference. Each target word has its own classifier, so a source clue that favors teachers can receive a different weight in the classifier for teacher.
The source representation begins with a set of binary indicators. For each source vocabulary item, the lexicon asks whether that item occurs in the sentence. The indicator has the same value if the source item occurs once or repeatedly. The sequence of source positions is available in the input, but the standard representation reduces it to word presence. This is what the paper calls a bag of words.
From parallel sentences to lexical scores
The steps in order.
The paper writes the source sentence as an ordered sequence before defining the indicators that summarize it.
F = (f₁, …, fᵢ, …, fᴵ)
Here F is the source sentence, fᵢ is the word at position i, and I, shown as the final index in the sequence, is the source length. The tuple preserves the order of the input and the ellipses stand for the intervening positions. In the formulas below, the expression I(F) uses the same letter for the feature representation of F, a separate role from the sentence length.
I(F) = {i_f(F) : f ∈ SourceVocabulary}
I(F) contains the source indicators. The symbol f stands for a source word type, i_f(F) is the indicator for that type, and SourceVocabulary is the inventory over which the indicators are defined. The colon introduces the condition on the set members, and ∈ means membership.
i_f(F) = { 1 if f ∈ F
0 if f ∉ F }
The braces give the two cases for the indicator. Here f ∈ F means that the word f occurs somewhere in F, and f ∉ F means that it is absent. The values 1 and 0 mark presence and absence. In the standard approach, the positions at which the word appears and the number of appearances have no effect on this feature.
The training labels use the same presence test on the opposite side of the parallel sentence pair.
label_e(F, E) = { 1 if e ∈ E
0 if e ∉ E }
The expression label_e(F, E) is the training label for the classifier associated with target word e. F is the source input and E is its paired reference translation. The condition e ∈ E means that the reference contains e, giving the positive label 1. The condition e ∉ E gives the negative label 0. Although the function names both sentences, this original label depends on the reference. The source sentence supplies the classifier’s input features.
The authors fit the maximum-entropy classifiers with MegaM. Each classifier estimates a probability for its own word from the active features. The prediction for teachers answers whether that word belongs somewhere in the output, given the source indicators. The classifiers are fitted separately, so their probabilities need not sum to a common total across the vocabulary. A translation can use many target words, and evidence for one can be compatible with evidence for several others.
Turn word predictions into a score the decoder can use
The authors first consider combining predictions for distinct target words. Under their independence approximation, each word present in the target sentence supplies one factor.
p(E ∣ F) = ∏_{eⱼ ∈ types(E)} p(eⱼ ∣ F)
Here p is the probability notation used for the lexical estimate, ∣ means “given,” and ∏ multiplies the indicated factors. E is a target sentence whose words are indexed by j, so eⱼ denotes a target word at position j. The notation types(E) makes explicit that the product includes each distinct word type in E once. The factor p(eⱼ ∣ F) is the classifier’s estimate for that word given input F. The distinct-word rule means a repeated target word can occur at several positions but contributes once to this version of the sentence score.
Using this rule during left-to-right decoding requires the decoder to know whether it has already scored a word in the current hypothesis. Two hypotheses can have different histories of word use, so the score for appending the same phrase can depend on those histories. The authors choose a simpler approximation. They use a factor for each target word occurrence, allowing the source-only DWL contribution of a phrase pair to be computed before translation begins.
p(E ∣ F) = ∏_{j=1}^{J} p(eⱼ ∣ F)
The index j now runs from the first target position, 1, through J, the length of E. The operator ∏ multiplies a factor at every position. Each p(eⱼ ∣ F) still comes from the classifier for the word eⱼ using F as input. A repeated word contributes at each of its positions. The authors rely on the other decoder components to discourage excessive repetition and use this product as a lexical contribution to the overall hypothesis score.
The distinction between training and scoring matters here. The reference gives a binary training label even if a word appears repeatedly. The occurrence-based score can then use the resulting estimate more than once in a hypothesis. The two operations solve different problems. Training learns which source features favor the use of a word, and scoring applies the learned evidence to the target words supplied by a phrase pair.
Preserve source order in short sequences
An n-gram is a contiguous sequence of words of a specified length. A unigram contains one word, a bigram contains two consecutive words, and a trigram contains three. A bag of n-grams records the presence of these sequences anywhere in the source sentence. Each sequence has internal order. Its feature is otherwise position-independent, so an occurrence near the start of the sentence can activate the same feature as an occurrence near the end.
In the Lehrer example, the unigram features reveal that die and Lehrer occur. The bigram feature die Lehrer tells the classifier they occur in that order with nothing between them. That indicator can favor teachers in the classifier for the plural and provide different evidence for teacher in the singular classifier. The same source sentence can retain features for its other words, including words far from Lehrer. The extension preserves sentence-wide access while making some local relationships visible.
There is a cost to introducing longer sequences. A sequence can be a good clue when it occurs frequently enough to learn from, yet many observed sequences have little supporting evidence. The authors filter higher-order features by their observed counts. They also combine n-gram lengths. A rare sequence that fails the threshold may still contain individual words or a shorter sequence with an available feature. The comparisons in the paper vary both the feature inventory and the thresholds so that the value of longer context can be separated from the effect of simply adding many more features.
Decide which omitted words count as negative examples
The starting data for the lexicon is a set of paired source and reference sentences.
T = ((F¹, E¹), …, (Fᴹ, Eᴹ))
T is the parallel training set and M is its number of sentence pairs. F¹ and E¹ are the source and reference of its first pair, while Fᴹ and Eᴹ are those of its last pair. The superscripts index sentence pairs. The ellipsis stands for the intervening pairs. For each target word e, the training procedure determines which of these pairs will supply examples and which label each selected pair will receive.
Under the original rule, every pair supplies an example for every classifier. This makes negative examples plentiful, especially for a word that appears in few references. The phrase-table procedure narrows the set by asking whether the system could have generated the absent word. It builds a vocabulary of reachable target words for each source sentence.
TV(F) = {e ∣ ∃(f̃, ẽ) : f̃ ⊆ F ∧ e ∈ ẽ}
TV(F) is the possible target vocabulary for source sentence F, and e is a target word under consideration. The vertical bar reads “such that,” and ∃ means that at least one phrase pair satisfies the conditions. In the pair (f̃, ẽ), f̃ is the source phrase and ẽ is its paired target phrase. The notation f̃ ⊆ F means that the source phrase matches material in F. It is a phrase match, so the sequence matters. The symbol ∧ requires both that match and the occurrence of e in the target phrase ẽ.
With the reachable vocabulary in hand, the authors keep the reference-based definition of a positive and place an extra condition on negatives.
label_e(F, E) = { 1 if e ∈ E
0 if e ∉ E ∧ e ∈ TV(F) }
The symbols e, F and E again mean the target word, source sentence and reference translation. The label is 1 when e appears in E. The label is 0 when both conditions joined by ∧ hold. The word must be absent from E and belong to TV(F). For an omitted word outside TV(F), neither branch applies and the pair supplies no example to that classifier.
This last case is central to the method. An unattested translation choice in a particular sentence can be left outside the training comparison altogether. Phrase-table selection concentrates the negatives on potential competitors and still allows the training set to include a positive for a reference word that the phrase table could not supply for that sentence. The presence test for a positive takes precedence over the test of reachability.
Replace phrase-table possibilities with ranked translations
The authors then use a stronger condition for treating a word as a plausible error. They translate each source sentence in the lexicon’s training corpus and save a ranked list of candidate outputs. An N-best list consists of the highest-ranked translations returned by the decoder for one input. Those candidates have been scored by the system as a whole. They therefore provide examples of words that can occur in translations with competitive combined scores.
NBEST(F) = {E′₁, …, E′ₙ, …, E′ᴺ}
NBEST(F) is the set of saved hypotheses for source F. E′ₙ denotes the hypothesis at rank n, N is the list size, and the ellipses stand for the other ranks. The prime distinguishes a generated translation E′ from the reference E. The following vocabulary formula uses the list to check presence anywhere, so membership in the vocabulary does not depend on the rank at which the word appears.
TV(F) = {e ∣ ∃E′ ∈ NBEST(F) : e ∈ E′}
TV(F) still names a possible target vocabulary, but its elements now come from complete candidate translations. The condition after the vertical bar requires a hypothesis E′ in NBEST(F) that contains word e. The existential symbol ∃ means that one such hypothesis is enough. In a source-only classifier, repeated evidence that the word occurs in the list contributes the same example, because all candidates for F share the same source indicators.
This change replaces the source of the negative examples while preserving the labeling rule. A word that occurs in a ranked translation and is absent from the reference can become a negative. A reference word remains a positive even when it is missing from the ranked list. The decoder thus helps determine the part of the vocabulary the classifier should learn to reject, and the parallel reference still determines which target words receive positive labels.
The motivation for using complete candidates is that other parts of the decoder may already handle many poor phrase-table options. A ranked translation carries the outcome of those other scores and the decoder’s search. Its presence on the list makes it a useful approximation to a mistake the system might make. The procedure requires a translation pass over the entire training corpus used for the lexicon, an expense the authors say can be parallelized.
Add target neighbors to the prediction
Once ranked target sentences are available, the lexicon can also learn from the context around a proposed word. The target features record the identity of a neighbor and its relative position. The two directions are distinct. A word immediately to the left of the prediction activates a different feature from the same word immediately to the right. The authors also consider a larger neighborhood that reaches farther in each direction.
iᵀᶜ_{e′,k}(E) = { 1 if ∃j : eⱼ = e ∧ eⱼ₊ₖ = e′
0 otherwise }
The superscript TC identifies a target-context indicator, and the function is defined for the classifier of the target word e. E here is the target sentence supplying the context, eⱼ is its word at position j, and e′ is the particular neighbor the feature checks. The offset k locates the neighbor at position j + k, written eⱼ₊ₖ in the formula. The symbol ∃ asks whether there is a position j at which both equalities hold. The indicator is 1 if such a position exists and 0 otherwise. Only positions with the specified neighbor can satisfy the condition.
k ∈ {−1, 1}
Here k is the relative offset, ∈ means membership, −1 identifies the immediately preceding position and 1 the immediately following position. This is the paper’s example for the narrow neighborhood. The wider setting includes neighbors up to three words away on either side. The indicator checks for a word at a particular offset, so the presence of an English word elsewhere in the translation does not activate the same target feature.
For example, the slow classifier can use a feature that says be precedes a candidate occurrence. The source sentence provides the rest of the input. If slow appeared several times in the candidate translation, the indicator would be active if the stated context occurred at any of those positions. The feature remains binary. What changes with the target extension is that different proposed translations of the same source can now produce different feature vectors.
Keep the training context close to the context at scoring time
Target features introduce a choice about what one training example represents. The phrase table can indicate that a word is reachable, but a matching phrase pair supplies only a fragment of its eventual surroundings. A source-only example can cover all the decoder candidates because they share an input. Once target neighbors matter, the authors use the complete ranked translations to obtain those neighbors and compare several ways of turning them into examples.
In the first variant, All TF, the authors pool target features from the reference and from the generated candidates. Consider the classifier for I. A ranked list can contain a translation beginning I think and another beginning I believe. The pooled example can contain features for both following words. It may also contain a following word observed only in the reference. At training time, this makes all those contextual clues available in the same example.
I(F, E) = max(I(F); I(E); I(E′) for E′ ∈ NBEST(F))
I(F, E) is the combined feature vector for the training pair. I(F) supplies the source indicators, I(E) supplies target-context indicators from the reference, and I(E′) supplies the corresponding indicators from a generated candidate E′. The condition E′ ∈ NBEST(F) ranges over all saved candidates for F. The semicolons separate the inputs to max. The maximum is taken separately for each feature, so a binary indicator is active in the result if any input vector activates it.
A reference can contain a context that the decoder cannot produce. N-Best TF removes the reference from the pool of features and keeps the reference as the source of the label. As a result, the classifier can still learn whether the proposed word is found in the reference, while every target-context feature it sees comes from a generated translation.
I(F, E) = max(I(F); I(E′) for E′ ∈ NBEST(F))
The left-hand side again denotes the training vector associated with the source-reference pair. On the right, I(F) holds source features and I(E′) holds the target features of a hypothesis in NBEST(F). The operator max combines them component by component. The expression contains no I(E) term, so the reference contributes through labeling. An example can still combine the continuations from I think and I believe even when each comes from a different candidate.
The Separate TF variant changes the unit of training. It creates an example for a particular candidate translation E′ when that candidate contains the word e whose classifier is being trained. Both the source sentence and the reference remain attached to the example, but the context comes from only that candidate. A classifier can see several examples with the same source and label and different target features. In the example with I, the two continuations can now appear in distinct feature vectors.
I((F, E, E′)) = max(I(F); I(E′))
The triple (F, E, E′) identifies the source sentence, its reference and the candidate supplying the target context. I((F, E, E′)) is the vector used for that example. The maximum of I(F) and I(E′) is taken feature by feature. The reference E identifies the word’s label, while the two vectors on the right identify the evidence the classifier can use to predict it.
Separate TF makes an exception when a target word appears in the reference and in none of the ranked candidates. It retains a positive with an empty candidate translation, which gives the classifier the source features and leaves the target features inactive. Restricted TF removes that exception. Its examples always contain a candidate occurrence of the word. The contrast between these variants tests the value of preserving extra source-only positives when the lexicon’s target features are designed for contexts witnessed in a proposed translation.
Experiments and results
Translation systems and evaluation
The lecture experiments translate German TED talks into English. The underlying translation system draws on EPPS, NC, BTEC and TED material. Its preprocessing includes splitting German compounds into parts, following earlier work by Koehn and Knight. A discriminative alignment procedure links source and target words in the training bitext, and scripts from Moses build the phrase table. The compound processing is relevant to the lexical experiments because the translation system establishes the vocabulary and phrase pairs from which the lexicon’s candidate words are drawn. Empirical Methods for Compound Splitting
The system uses a target-side 4-gram fluency component trained with SRILM on the target text of the parallel data. It also includes a bilingual scoring component drawn from earlier work by the authors and their colleagues. Source reordering is performed in preprocessing using TreeTagger part-of-speech tags. The reordering method can account for long-range movements relevant to German and English. An in-house phrase-based decoder searches for translations. The weights combining its scores are tuned with minimum error rate training, or MERT, using the development material.
For TED, the development split contains 1.7k segments and 16k words. The test split contains 3.5k segments and 31k words. The authors refer to the initial configuration as System 1. System 2 extends it with log-linear adaptation of its target fluency and phrase-table components. This gives the paper two settings in which the same lexical changes can be tested. The TED lexicon is trained using TED data, so there is a domain-specific source of lexical evidence even when the underlying decoder has no equivalent adaptation of its phrase table and fluency scores.
BLEU is the translation metric reported throughout. It evaluates overlaps between candidate translations and reference wording, with higher values preferred. For this paper, that means the reported outcome is the quality of complete translations under the metric. Classifier accuracy on individual words would answer a separate question. Development scores help show how a change behaves on the tuning material, and test scores show what happens on the separate evaluation split.
Source sequences on German-to-English TED talks
Without a DWL, TED System 1 scores 26.32 BLEU on development and 24.24 on test. Adding the unigram lexicon trained with phrase-table negatives gives 27.46 on development and 25.56 on test. System 2 begins at 28.40 on development and 25.89 on test. The corresponding unigram scores are 28.58 and 26.15. The authors attribute part of the larger improvement for System 1 to the TED-only training of the lexicon. The new feature supplies some domain information to a system whose other components have received less adaptation.
The best source-context setting in the authors’ TED overview combines unigrams with filtered bigrams and trigrams. With the same phrase-table method for generating negatives, it scores 27.76 on development and 25.76 on test for System 1. For System 2 it scores 28.82 on development and 26.94 on test. The paper reports test gains over the unigram DWL of 0.2 BLEU points for System 1 and 0.8 BLEU points for System 2. These figures compare versions of the DWL and isolate the change in source features from the later changes in training examples.
Source feature settings on the German-to-English TED System 2 test set
Filtered source sequences give the strongest test result, while bigrams alone score below the unigram lexicon.
The numbers
| System or setting | BLEU |
|---|---|
| No DWL | 25.89 |
| Unigram DWL | 26.15 |
| Bigram DWL | 25.82 |
| Unigrams and unfiltered bigrams | 26.51 |
| Unigrams and bigrams with count filter 2 | 26.74 |
| Unigrams and bigrams with count filter 5 | 26.81 |
| Filtered unigrams, bigrams and trigrams (this paper) | 26.94 |
The chart’s last setting keeps the unigram features and filters additions of higher order. Its test score gives the strongest System 2 result in the TED comparisons. For System 1, the overall best reported test score comes from a different change, the use of negatives selected from ranked hypotheses. The difference is important because it shows how the same extension can have a different role depending on the rest of the system.
Selecting negatives changes the size of the lexicon
For the example-selection comparison, the authors hold the filtered unigram, bigram and trigram source representation fixed. On the development and test material they require 8,461 classifiers, one for each target word found on the target side of a phrase pair usable on those splits. Across the methods in this experiment, the authors report 0.75M positive examples. The broad original method yields 428 M negatives and 659 M feature weights. The phrase-pair method yields 5.26 M negatives and 38 M weights.
Filtering by phrase-table reachability also improves the test scores in both systems over the original training method. System 1 moves from 25.44 to 25.76, and System 2 from 26.63 to 26.94. The paper describes these changes as gains of 0.3 BLEU points for each system. The development scores also rise, from 27.39 to 27.76 for System 1 and from 28.64 to 28.82 for System 2. These comparisons isolate which omissions of a reference word count as negative evidence.
Learned feature weights by negative-example selection in the TED experiments
Decoded candidate lists yield smaller lexicons than phrase-table selection, with the adapted system's list producing the smallest.
The numbers
| System or setting | Millions of feature weights |
|---|---|
| Original selection | 659 |
| Phrase-pair selection | 38 |
| N-best list from System 1 | 16 |
| N-best list from System 2 (this paper) | 11 |
The smallest weight count in the chart belongs to the classifier set trained with the list generated by System 2. The best TED test BLEU scores occur elsewhere. This is a comparison of the size of the learned lexicon. It helps explain a practical consequence of the training change without implying that the smallest inventory provides the best lexical evidence.
Using the 300-Best lists generated by System 1 gives 1.59 M negative examples and 16 M weights. On System 1 it raises development BLEU to 27.93 and test BLEU to 25.87. On System 2 the same list gives 29.07 on development and 26.57 on test. That second test value is below the phrase-pair result of 26.94, in spite of the higher development value. The benefit of shrinking the training set therefore depends partly on which alternatives are retained.
When System 2 generates the lists, the training set contains 1.22 M negatives and the lexicon has 11 M weights. System 1 scores 27.46 on development and 25.37 on test with these examples. System 2 scores 28.79 on development and 26.59 on test. The authors also generate a list with System 1 after removing phrase pairs that occur only once from the phrase table used to translate the training material. This version gives 1.41M negatives, 16 M weights, and test scores of 25.97 for System 1 and 26.65 for System 2. Its development scores are 27.99 and 29.07, respectively.
Target neighbors on the same TED task
The target-feature experiments use the last list-generation setup as their common starting point. The corresponding source-only scores are 25.97 BLEU on the System 1 test set and 26.65 on the System 2 test set. With the wider target window and Restricted TF training, the scores are 25.91 and 26.90, respectively. Development scores in the same comparison go from 27.99 to 28.15 for System 1 and from 29.07 to 29.12 for System 2. The paper describes the System 2 test improvement in this comparison as 0.3 BLEU points.
The authors identify the final target-context configuration as the strongest on average across the two TED systems. The system-specific peaks give a more detailed picture. System 1 reaches its best test score with the ranked-list negatives and source features alone. System 2 reaches its best test score with the source-context DWL using phrase-table negatives. The final configuration supplies a common setting that performs well in both systems, while the best setting for a particular system depends on the combination of source features and examples.
Translation in both directions on the WMT task
The authors also evaluate systems for the WMT 2013 shared translation task. These are similar in design to the lecture systems, use the available training data and add other scoring components. The WMT experiments already start with a unigram DWL trained using phrase-table negatives. Their baseline therefore includes the gain that a lexicon can provide over a system without one. The comparison concerns whether the paper’s extensions improve on that lexical baseline.
For German to English, the DWL is trained on EPPS and NC, with additional filtering of learned weights for the larger corpora. On the reported WMT development split, the baseline scores 25.79 BLEU. Adding source sequences up to length 3 gives 25.85, and adding negatives from the 300-Best list gives 25.84. On the newstest2012 test split, the corresponding scores are 24.36, 24.33 and 24.52. The paper reports a gain of 0.2 BLEU points from the final configuration over the unigram baseline. The test improvement in this direction appears after the change in training examples.
In the reverse direction, the authors expected German target context to matter more because German has more complex morphology than English. The English-to-German development scores are 16.97 for the unigram baseline, 16.89 after adding source sequences, 17.10 after changing the negatives to the 300-Best selection, and 17.08 after adding target features. On the test split the sequence runs from 17.41 to 17.45, then 17.47 and 17.58. The authors describe the contribution of target features there as an additional 0.1 BLEU points, bringing the overall test improvement to nearly 0.2 BLEU points.
English-to-German WMT 2013 test BLEU as lexical extensions are added
The highest test score comes from the configuration that also uses neighbors in the German translation.
The numbers
| System or setting | BLEU |
|---|---|
| Unigram DWL | 17.41 |
| Add source n-grams | 17.45 |
| Add N-best negative selection | 17.47 |
| Add target neighbors (this paper) | 17.58 |
The WMT results extend the evaluation beyond the lecture setting and include both translation directions. They also qualify the TED pattern. For German-to-English news translation the extra source sequences make little difference on the reported splits, while the candidate-based training produces the strongest test result among the reported options. For English-to-German translation the gains from the successive extensions are small, and the final target-context setting supplies the highest reported test score.
What the ablations show
Source order helps when the features have enough support
The source feature experiment is a controlled comparison because it keeps phrase-table negatives in place while varying the word sequences available to the classifiers. Using only bigrams is the least successful source extension. It raises the feature inventory from 40k for unigrams to 319k and lowers test BLEU in both TED systems relative to the unigram DWL. System 1 falls from 25.56 to 24.92. Its development scores, 27.46 for unigrams and 27.34 for bigrams, are closer. The authors suggest sparse evidence for many bigrams as a reason for the loss of test performance.
Combining both orders changes what a classifier can learn. It can retain the evidence from often seen individual words and use an informative sequence when present. The combined inventory contains 359k features. System 1 achieves 27.69 on development and 25.55 on test, so the development improvement accompanies a test result close to that of unigrams alone. System 2 reaches 28.66 on development and 26.51 on test. Source order begins to help consistently on that second system once the individual word indicators are available alongside it.
The count-filter comparisons give a stronger test of the explanation about sparse observations. Requiring a bigram to occur at least twice reduces the combined inventory to 122k. For System 1, development and test BLEU are 27.75 and 25.71. For System 2, they are 28.75 and 26.74. Raising the bigram count threshold to five gives 63k features and test scores of 25.67 and 26.81, respectively. These results put substantially smaller inventories in the same range or above the unfiltered ones. The paper attributes the improvement to keeping better-supported sequences.
Adding trigrams filtered at five gives a 77k feature inventory. System 1 reaches 25.76 on test and System 2 reaches 26.94. The authors see the extra order as most useful for System 2. Taken with the bigram-only result, the experiment supports a specific claim about the source representation. Longer sequences are helpful when selected and combined with shorter ones. A larger inventory or a longer context in isolation gives an unreliable guide to translation quality.
Reachable negatives are a useful filter, and the decoder matters
The example-selection experiment separates two ways in which targeted training can help. Phrase-table selection makes the classification task smaller by omitting words the decoder has no way to supply from the input. In the reported setup it also raises test BLEU in both systems. These gains appear with the same source representation and the same reference positives, giving a cleaner comparison than one in which both the features and training examples change together.
Ranked hypotheses provide a narrower filter. This reduces the number of examples again because many reachable words never survive into the saved translations. In System 1, candidates from that system yield a better test score than phrase-table selection. For System 2, the same candidates raise the development score above the phrase-table setting, while the test score falls. The size reduction is common to both uses of the data. The translation benefit varies with the recipient system and evaluation split.
Changing the list generator examines the effect of the candidate distribution. System 2 produces lists that yield an even smaller lexicon, yet both receiving systems score below their phrase-table versions on test. The authors interpret these experiments as favoring the more general system for generating examples in this setup. One way to read the result is that the adapted decoder’s stronger preferences can make its surviving alternatives less suitable as a shared training set. The paper measures the resulting examples, weights and BLEU scores. It leaves the particular words or kinds of alternatives responsible for the pattern undetermined.
Removing phrase pairs observed only once addresses a separate issue in generating candidates. The decoder used to obtain training hypotheses has already seen the material through its phrase table. It may be able to cover a training sentence with longer matches than it would find on new text. The revised list-generation setup aims to reduce that advantage by removing those phrase pairs. Test scores improve relative to the corresponding unfiltered System 1 list on both TED systems. That comparison shows that the quality of the feedback depends on how the candidates are generated, in addition to which decoder produces them.
Target features work better with contexts that occur together
The target-context comparisons keep ranked-list generation fixed and vary how candidate contexts become examples. With the narrow window, All TF gives test BLEU of 25.48 for System 1 and 26.38 for System 2, compared with the source-only values of 25.97 and 26.65. N-Best TF, which excludes reference contexts from the feature pool, gives 25.74 and 26.37. Removing reference contexts partly recovers the loss on System 1, while System 2 changes very little. Pooling contexts across different generated sentences remains common to both variants.
Keeping the contexts separate improves the results relative to pooling them. With the narrow window, Separate TF scores 25.81 for System 1 and 26.80 for System 2 on test. Restricted TF scores 25.84 and 26.68. The paper interprets the stronger performance of these two variants as evidence for matching the training representation to a context that could be observed while scoring a translation. In the pooled variants, a feature vector can contain neighbors from several distinct outputs. A decoder candidate supplies its own set of neighbors, so the pooled vector can activate clues in combinations the classifier will seldom see at scoring time.
The comparison between Separate TF and Restricted TF isolates whether to retain a positive when a reference word has no occurrence in any saved candidate. Under the narrow window, System 1 slightly favors the restricted setting on test and System 2 favors the separate setting. With the wider window, System 1 scores 25.90 for Separate TF and 25.91 for Restricted TF. System 2 scores 26.75 and 26.90, respectively. The ranking therefore varies with the system and the context window. The clearest pattern in this experiment is the advantage of examples tied to actual candidates over examples that pool contexts across candidates.
The authors also report a cost to widening the neighborhood. The source-only lexicon contains 16M weights in this setup. With one word of context on either side, the count reaches 17M. With three words on either side, it reaches 21M. The wider Restricted TF setting gives the strongest System 2 result among the target-feature variants, although the full source-only configuration with phrase-table negatives still gives that system’s highest overall test BLEU. The added weights can therefore bring a modest benefit within one training setup, while the choice of negatives remains consequential for the best attainable result in the reported comparisons.
Limitations
Limits identified by the authors
The paper points out that N-best training requires decoding the entire corpus used to create the lexical examples. The authors describe that operation as time-consuming and note that it can be parallelized. They report the reduction in the number of examples and feature weights after selection. Those counts characterize the resulting training set and lexicon. The net time cost of the full procedure, including candidate generation, is left unquantified.
The authors also identify the effect of decoding data the phrase table has already seen. Longer phrase matches may be available in that situation than on new input. Removing phrase pairs that occur only once is a partial response. The resulting experiment evaluates a change in candidate generation for the seen training sentences. It leaves open how the procedure would behave if the candidate generator were trained on separate material.
For the modest target-context results in the lecture task, the authors suggest that English morphology may make target neighbors less important for choosing word forms. They test the reverse direction and obtain a further improvement when German target features are added. The explanation remains a hypothesis. The reverse-direction comparison changes the source language and the target language together, and the result is a whole-translation score.
Limits of the evidence
The positive and negative labels are based on word presence in a reference. A generated translation may use a valid alternative absent from that reference, so a negative label identifies a disagreement with the recorded wording. It does not establish that the word is an error in context. Likewise, a candidate word found in the reference can occur in a different role or position in the candidate. A presence-based label provides an economical way to train the lexicon, while the correctness of particular lexical choices remains outside that labeling procedure.
The N-best list samples possibilities that a given decoder ranks highly. Its usefulness depends on the candidates search finds and on the existing system scores that decide which ones survive. Absence from the list leaves a word outside the set of candidate-derived negatives. It can also leave a reference word without a witnessed target context, the case that distinguishes Separate TF from Restricted TF. Accordingly, the method learns to respond to the alternatives exposed by the candidate generator, and the experiments show that changing that generator matters.
The paper calls the features sentence structure features. Their scope is local order in source sequences and relative word positions on the target side. The lexical features can capture evidence associated with a construction when its words occur in a retained sequence. The experiments do not test whether the approach learns grammatical relationships across intervening material or distinguishes the syntactic functions of identical sequences. The system’s separate preprocessing for reordering serves a different role from the lexical indicators.
Finally, the measured outcome is BLEU for German and English in the lecture and WMT settings, with domain adaptation varied in the lecture systems. The paper illustrates potential lexical and morphological effects with individual examples. It supplies no separate evaluation of plural resolution, choice of adjective versus adverb, or other particular error categories. The reported comparisons support conclusions about translation scores and lexicon size under the tested conditions. The size and consistency of any benefit for particular linguistic phenomena remain open.
What came after
No subsequent study is identified here that can establish how another system reused the method. The paper ends with a comparison across lecture and news translation, leaving the later history of its specific proposal undetermined.
Cite
Cite as Jan Niehues and Alex Waibel. 2013. An MT Error-Driven Discriminative Word Lexicon using Sentence Structure Features. Proceedings of the Eighth Workshop on Statistical Machine Translation.
@inproceedings{niehues2013mt,
title = {{An MT Error-Driven Discriminative Word Lexicon using Sentence Structure Features}},
author = {Jan Niehues and Alex Waibel},
booktitle = {Proceedings of the Eighth Workshop on Statistical Machine Translation},
year = {2013},
doi = {10.5445/ir/1000037719},
url = {https://doi.org/10.5445/ir/1000037719}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/niehues-2013-mt-error-driven-discriminative-word/