Elamur Research

Detecting Cross-Lingual Semantic Divergence for Neural Machine Translation

Paper · 2017 · Marine Carpuat, Yogarshi Vyas and Xing Niu

Summary

A sentence and its translation can fit the same conversation while giving the reader different information. A subtitle may shorten a reply so that the speaker’s uncertainty is still clear, even though the translated line leaves out what the speaker is uncertain about. In a bilingual training corpus, the lines can still appear as a matched pair. The authors ask whether these differences in meaning matter when the pairs are used to teach a neural machine translation system. They study English and French subtitles and use a separate classifier to rank the pairs before training the translator.

The classifier learns from examples of cross-lingual textual entailment. This is the task of deciding whether information expressed in one language follows from a sentence in another. The training labels distinguish support in either direction, mutual support, and a lack of support in both directions. The classifier uses sentence lengths and word alignments, which are links between corresponding words. Long runs without links, for example, can suggest that one sentence contains material with no counterpart. The authors rank subtitle pairs by how strongly they resemble the cases with no entailment and train on the half judged less divergent. A bilingual speaker judged that 37% of a random sample of 100 subtitle pairs differed in meaning. The detector’s recall on that sample was 13.5%, so its ability to flag individual differences was limited.

The translation results were stronger than that detection check might suggest. With ensembles of the best saved checkpoints from the initial training runs, the filtered system scored 40.27 on the Microsoft Spoken Language Translation test set and 32.47 on the TED talks test set. The corresponding scores from the full training corpus were 38.70 and 31.88 on BLEU, a measure of overlap with reference translations. The filtered system also beat a random sample with the same number of sentence pairs. On the spoken translation validation split, it matched the full-data system’s score with 60% of the updates.

Extended training brought the validation curves closer together, while the filtered system kept its lead in the reported test comparisons. Adding a checkpoint trained on the full corpus to the strongest filtered ensemble improved both test scores again. The experiments establish a practical result for this English–French setup. A detector can help choose training data even when it misses many of the meaning differences a bilingual reader can see. They leave open how much of the gain comes from semantic equivalence itself and how much comes from other properties of the pairs that the detector favors.

Deep dive: Detecting Cross-Lingual Semantic Divergence for Neural Machine Translation

The paper tests whether filtering sentence pairs that differ in meaning improves neural machine translation trained on English–French subtitles. · about 32 minutes to read

The problem and its context

What a sentence pair promises

A parallel corpus associates sentences in different languages so that each pair can serve as an example of translation. A learner sees a source sentence and is trained to produce the corresponding target sentence. The teaching signal therefore depends on what that target actually expresses. If a target consistently drops information that a reader would want translated, the system is rewarded for producing an answer that leaves that information out. If a target adds details that the source leaves implicit, training rewards the added material even though the source words may give limited grounds for recovering it. Those are possible consequences of the training setup. The paper’s experiments measure the quality of the resulting translations overall.

The subtitle illustrations make the problem concrete. In one pair, the English speaker says they are unsure what they will do, while the French reply expresses uncertainty without specifying the matter at hand. An audience following the exchange may supply the missing information from context. Viewed in isolation as a sentence pair, the lines differ in what a reader can learn. Another example has a change involving who wanted sausages and what was to be done with them. A further pair differs in the temperature being asked about and in how much of the exchange is represented. These differences range from a shortened response to a substantial change in what gets said. A single category of misaligned or noisy text would leave that range unexplained.

The authors also draw examples from the newstest2012 test set. In one, the French sentence expresses that the speaker knows something, while its English counterpart makes more of the content of that knowledge explicit. Another pairs a statement about an employee suffering from shock with a French sentence about victims and their fear. The examples establish that this issue can appear in established translation resources as well as automatically assembled subtitle collections. Their purpose in the paper is illustration. The study estimates how commonly readers see divergence only in its small subtitle sample, and it uses other test sets for the translation experiment.

Whether a difference counts as a translation mistake depends on the task. An audience may benefit from a compact subtitle that leaves out a detail already obvious in the scene. The authors point to discourse and explicitation as ways to understand some of the pairs. Discourse supplies information across an exchange, and explicitation brings information into the wording that the other version leaves for the reader to infer. In this experiment, however, the unit of training is the individual sentence pair. The authors ask how much those two sentences agree when used as examples for a system trained at that level.

That emphasis also distinguishes a change in meaning from a change in linguistic form. Languages express similar information through different constructions. The earlier account of translation divergence discussed in the paper classifies differences such as changes in grammatical structure or in how participants in an event are expressed. Structure-sensitive translation methods had addressed some of those differences through their design. A pair can differ substantially in form and still convey the same proposition. The present study asks about the information left after those different forms have been interpreted. Machine Translation Divergences.

How earlier work treated the training data

Prior work had already established several reasons to score or select bilingual examples. In domain adaptation, the aim is to find training sentences that suit a particular test setting. A useful pair for one setting may contain vocabulary or expressions of little relevance in another. Domain selection therefore measures a relationship between a training item and some collection of interest. Semantic divergence, as the authors define it, is a relationship within a pair. The question is whether the sentences communicate equivalent information, regardless of which test material the translator will eventually see. A particular detector may still work better in some genres than others, since its evidence and supervision come from specific corpora. Domain Adaptation via Pseudo In-Domain Data Selection.

Work on finding parallel passages in comparable documents also uses evidence that two languages express similar content. There the starting point is a collection whose documents or fragments may correspond only loosely. Finding translated material supplies examples that can be added to a corpus. The subtitle study starts with pairs already set out as parallel and asks whether an existing collection can be improved by leaving some of them out. The individual sentences in comparable-corpus extraction may have far less in common than the subtitle pairs considered here. A detector that can spot an obviously unrelated sentence may have little leverage on a reply whose most important words are linked but whose omitted detail still changes the meaning. Extracting Parallel Sentences from Comparable Corpora Using Document Level Alignment.

Data cleaning offered a closer precedent. Earlier studies had used signals from word alignment and language prediction to remove problems such as erroneous sentence pairings. The paper describes improvements to hierarchical phrase-based translation from cleaning training material in a high-resource setting and from cleaning tuning material in a lower-resource setting. Those precedents gave the authors reason to look at the quality of an existing collection. They also made it important to define the kind of quality at issue. A pairing error can put unrelated content side by side. A valid translation choice can produce a difference in meaning even when the lines belong together. The same selection rule may respond to both.

Another question was whether earlier findings about robustness would carry over to neural translation. In the phrase-based experiment the authors discuss, researchers introduced noise by permuting the target sentences. They needed as many as 30% of training examples to contain this artificial noise before BLEU fell significantly. The authors caution that permuted targets give a different learning problem from naturally occurring differences. An unrelated target may offer few plausible word correspondences. A partially matching target can provide useful evidence for a substantial part of the sentence while teaching a different relation for the rest. The earlier study did not compare the two translation approaches on that subtler kind of training material.

The paper also describes evidence that alignment quality matters when translation relies on syntactic rules. In the work it cites, removing implausible word links using syntax led to better rules for a string-to-tree translation system and improved translation. Other studies had used alignment information inside attentional neural translation systems. The subtitle study uses this evidence at a different point in the process. Alignment helps decide which examples the translator sees. The translation architecture itself can stay the same as the authors change the training data. Using Syntax to Improve Word Alignment Precision for Syntax-Based Machine Translation.

Why test the effect on neural translation?

An attentional encoder–decoder learns to produce a target sequence from a source sequence. The encoder represents the source, and attention helps the decoder draw on different parts of that representation as it generates the translation. A subtitled reply with a missing clause is still a target sequence that training asks the decoder to predict. The authors conjecture that a neural system can learn some of the peculiar relationships in such examples and that this can hurt its performance on new material. Their discussion of memorization in image classification motivates the conjecture. The translation experiment asks how changing the examples affects the system’s behavior. Neural Machine Translation by Jointly Learning to Align and Translate.

The paper also cites work in which neural translation proved sensitive to the order and composition of training. One domain-adaptation study had benefited from early training on United Nations material followed by further training on the intended domain. Another found evidence of greater sensitivity to permuted sentence pairings than in phrase-based translation and used a bilingual classifier to select material that was both closer to the target domain and less noisy. The subtitle experiment separates the selection rule from any specific test domain. It also makes an equal-count comparison possible: one system sees the pairs the detector prefers, while another sees a random selection of the same size.

The time needed for translation training provides a second reason to test selection. A smaller corpus can be attractive if the result reaches useful quality earlier. The paper illustrates the cost with an earlier WMT entry whose neural systems took two weeks to train. In the present experiment the authors track validation quality against parameter updates, so they can compare progress during training as well as the quality of the final translations. That distinction matters because a larger corpus may learn more slowly and still catch up if training continues. Edinburgh Neural Machine Translation Systems for WMT 16.

The method, step by step

Turn meaning agreement into a supervised task

The desired label would say whether two sentences in a parallel corpus express the same meaning. The authors lacked a ready source of training pairs with that exact label. They considered related tasks whose input has the same basic structure, a sentence in each language. Quality estimation concerns the quality of a machine-produced translation, which is a different kind of input from the bilingual corpus entries at issue here. The cross-lingual semantic similarity task they discuss offers an appealing comparison of meaning, but it supplies test examples only. Entailment offers training examples and a way to represent partial agreement. SemEval-2016 Task 1.

Textual entailment is directional. Given a pair of statements, it asks whether accepting the content of one gives a reader grounds to accept the other. The training task distinguishes a pair in which the source entails the target alone, a pair with support in the opposite direction alone, a pair with support in both directions, and a pair with neither direction supported. A longer account that contains all the information in a shorter one can illustrate the distinction. The shorter account may follow from the longer account, while the details unique to the longer account cannot be inferred in reverse. The supervised task has a place for that case between mutual entailment and a lack of entailment.

The authors use the no-entailment class as a proxy for the most divergent sentence pairs. Mutual entailment is the closest class to their ideal of equivalent information. The actual filter is aimed at the other end of the range. One-way entailment therefore serves a purpose during training even though there is a single ranking for selection. It gives the classifier ways to represent partial semantic support without treating each asymmetric pair as equivalent to a pair with no support. The authors found the four-class setup better at detecting the no-entailment category than binary classifiers trained on different groupings of the original labels.

The linguistic annotation comes from SemEval cross-lingual textual entailment tasks. The underlying data construction began with crowdsourced English examples, with translation used to produce the cross-lingual sets. In the 2012 release there are 1000 sentences per language, with equal shares for training and testing. The 2013 release has 1500 sentences per language, including 500 marked for the test split. Both releases balance their examples across the entailment categories. The subtitle corpus supplies the data to rank, and the entailment collections supply the labels from which to learn the ranking evidence.

From entailment labels to filtered translation training

The steps in order.

From entailment labels to filtered translation trainingStep 1: Obtain word alignments for entailment and subtitle pairs1. Obtain word alignments for entailment and subtitle pairsStep 2: Describe each pair using lengths and alignment patterns2. Describe each pair using lengths and alignment patternsStep 3: Fit a classifier to the entailment labels3. Fit a classifier to the entailment labelsStep 4: Score subtitle pairs for lack of entailment4. Score subtitle pairs for lack of entailmentStep 5: Keep the less divergent half for translation training5. Keep the less divergent half for translation trainingStep 6: Train the attentional encoder–decoder on the selected pairs6. Train the attentional encoder–decoder on the selected pairs

Measure the amount of text on each side

The first group of features tells the classifier how long the sentences are. The paper uses the two separate lengths and the ratios in both directions. The separate counts give the classifier information about scale. A length ratio describes the imbalance relative to the amount of text on one side. Because the ratio uses a particular side as its denominator, the two ratios present the imbalance from different directions. Here are the features written individually.

|e|

The symbol e is the English sentence in the pair. The vertical bars denote its length, counted in words.

|f|

The symbol f is the French sentence in the pair. The vertical bars denote the French sentence’s word count.

|e| / |f|

The quantities |e| and |f| are the English and French word counts. The slash means that the English count is divided by the French count, giving the English length relative to the French length.

|f| / |e|

The quantities again denote the French and English word counts, with division in the opposite direction. This time the resulting feature gives the French length relative to the English length.

Length can indicate that one side adds or leaves out a stretch of text. It gives a weak indication by itself because information can take different amounts of wording to express. A short French sentence may cover what a longer English sentence says. Conversely, comparable counts can hide a change to an event or participant. The paper also sets up a translation baseline that selects short sentences directly. That baseline isolates the outcome of an especially simple length rule, while the entailment classifier uses length together with evidence about where the words correspond.

Describe the word alignments

A word alignment marks likely links between the words of a bilingual pair. A linked word has some identified counterpart on the other side. The authors reason that sentences with equivalent content should frequently be easier to align, so they give the classifier summaries of the resulting links. They use symmetrized IBM 4 alignments obtained with MGIZA++. Symmetrization combines the information from alignment in the two translation directions. The alignment training draws on 2.2M sentence pairs from Europarl and News Commentary. The paper says that it obtains alignments for the entailment and subtitle pairs by transductive training, meaning that the material to be aligned is included in the alignment procedure rather than treated solely as unseen input to a finished aligner.

The classifier gets the aligned-word ratio and the unaligned-word ratio for each side. It also gets a ratio for unaligned content words. The paper uses a stopword list to identify content words by exclusion. This supplies a separate signal for unlinked words outside the list of common function words. A pair with sparse links among such words may lack counterparts for some of the information the sentences carry. The signal depends on the alignment and the stopword list. It measures the pattern of links that this procedure produces.

A second group of alignment features records how the linked and unlinked words are distributed across each sentence. The authors count contiguous unaligned runs and record the length of the longest one. They also use the average length of aligned runs and the average length of unaligned runs. A run here is a stretch of consecutive words with the same alignment status. This gives the classifier a way to distinguish scattered gaps from an uninterrupted passage without links. For example, a short target reply can leave an entire portion of the source unaligned. A sentence with the same overall share of unaligned words might instead have them distributed among stretches where corresponding material can be found.

All of these features are computed separately for both sentences. A long unaligned passage on the English side describes a different pattern from a long unaligned passage on the French side. Separate feature values let the classifier see which side supplied the material. Direction also matters because the entailment supervision distinguishes which sentence supports the other. By the time the classifier sees a pair, the pair is represented by word counts, length ratios, and summaries of coverage and contiguity. The feature description gives it no direct representation of which particular claim the sentences share.

Rank the subtitle pairs

The authors train a linear support vector machine from Scikit-Learn. A linear classifier scores examples by combining their feature values with learned weights. The support vector machine learns a boundary in that feature space from the labeled examples. The multiclass setup is one-vs-rest. Each entailment category is learned against the pooled examples from the other categories. The paper gives the regularization setting as follows.

C = 1.0

C is the support vector machine’s parameter governing the tradeoff between a wide separating margin and penalties for training examples that violate that margin. The equals sign gives its configured value, 1.0.

Once the classifier is trained, the authors apply it to the subtitle pairs. They use confidence in the no-entailment category to order the examples. The ranking is what matters for the translation intervention: pairs ranked towards the divergent end are removed, and the other half supplies the filtered training corpus. This differs operationally from treating the category prediction as a pass–fail verdict. A cutoff in a ranking can give a corpus of a chosen size even if the classifier would assign the no-entailment label to a much smaller group. The result is a subset favored by the detector, with its degree of semantic agreement still an empirical question.

The authors call this training condition NON-DIVERGENT. Its name refers to the selection rule. It is useful to read the name that way throughout the experiments, since the manual check finds that the detector misses some genuine differences. The translator receives complete paired sentences from the retained data. The paper does not repair only the unaligned fragments, substitute new target sentences, or add an entailment feature to the translator. The change occurs when the training corpus is assembled.

Train the translator under common settings

The authors take the candidate pairs from OpenSubtitles2016. They use the Moses preprocessing tools to remove case distinctions and apply tokenization to each language. They also segment the translation data by byte pair encoding. This form of subword tokenization lets the translation system represent words through smaller pieces. The classifier’s length and alignment features describe the paired text, while the segmented representation is the input used for neural translation training. Neural Machine Translation of Rare Words with Subword Units.

Translation uses the attentional encoder–decoder in Nematus. The configured vocabulary size is 90,000. The word embeddings have 500 dimensions, and the hidden representation has 1024 dimensions. The training batch size is 80. The authors enable dropout, reshuffle the training material at each epoch, and use ADADELTA with a reported learning rate of 0.0001. An epoch is a pass through the training data. The natural-order baseline determines which pairs are available for those passes. Reshuffling means the translator does not simply learn from those pairs in file order.

The authors save a checkpoint every 30,000 updates. A checkpoint records the state of the translator at that point in training. For validation they set aside the first 5th of the MSLT test collection. The validation measurements are used to follow training, and the later decoding comparisons combine predictions from saved checkpoints. Holding the translation configuration common across the selection conditions makes the main intervention a change in the corpus. Within that design, changes in token counts, vocabulary, and the mix of examples are possible consequences of using different selection criteria.

Experiments and results

Does the classifier detect divergence?

The first experiments test the classifier on the task from which it learned. The metric is accuracy over the entailment categories, the share of test examples assigned the correct category. On the SemEval 2012 test set, its accuracy is 60.4%, compared with the best published accuracy of 57% cited by the authors. On the SemEval 2013 test set, it achieves 43.6%, compared with the cited best of 45.8%. These comparisons concern the complete entailment task, including direction. They measure performance on supervised benchmarks before the classifier is used to score subtitle pairs.

There is a separate check on the application corpus. A bilingual speaker judged whether the two sentences expressed exactly the same meaning in each of 100 randomly selected OpenSubtitles pairs. The speaker found divergence in 37% of that sample. The authors describe differences connected to discourse and to information made more explicit on one side. The check gives some direct evidence that the problem occurs in the training corpus itself, with naturally occurring pairs and a meaning-equivalence judgment tailored to the research question.

When the subtitle judgments are used as a check on the detector, its precision for divergent pairs is 62.5% and its recall is 13.5%. Precision asks how often a pair flagged as divergent was judged divergent by the reader. Recall asks how often a pair the reader judged divergent was flagged. The numbers describe a detector whose flags are often substantiated but whose positive decisions cover only a small share of the reader’s cases. They also measure a different outcome from the downstream filter. The manual check concerns decisions on individual pairs in a sample. The translation experiment tests the utility of ordered scores for choosing a large subset.

What changes in the translation training data?

The main comparison starts with 33.5M subtitle sentence pairs in ALL, the full-corpus baseline. NON-DIVERGENT uses the 17M pairs favored by the entailment ranking. RANDOM also uses 17M pairs, sampled from the full collection. NATURAL uses 17M pairs taken from the beginning of the corpus file order. LENGTH uses 22M pairs, selected by the paper’s threshold of fewer than 10 words. The threshold reflects the average sentence length reported for the corpus. The paper compares all of these conditions with the same translator and common training configuration.

RANDOM is the most direct baseline for asking whether the scoring rule contributes something beyond using fewer sentence pairs. NATURAL tests a readily available way to take a subset when the corpus has an existing order. It also exposes a possible sampling problem when early files draw from a narrower range of material. LENGTH tests whether preferring short pairs, which can be easier to align and are common in the source genre, is enough to produce good training data. ALL asks whether using the larger corpus is more effective than any of the selections.

The amount of text differs even among selections with the same sentence-pair count. On the English side, NON-DIVERGENT contains 133.7M tokens, RANDOM has 146.9M, and NATURAL has 147.3M. On the French side, the corresponding counts are 133.6M, 139.1M, and 137.4M. LENGTH contains 133.0M English tokens and 127.2M French tokens. The full corpus contains 288.5M English tokens and 273.2M French tokens. Thus the comparison with the random subset holds the number of examples fixed while allowing the selection rule to change how much language the examples contain. The short-sentence condition has more pairs than the filtered set and fewer tokens on either side.

Vocabulary counts help show which kinds of material each selection retains. The English vocabulary counts are 63,917 for NON-DIVERGENT, 64,640 for RANDOM, and 64,495 for NATURAL. The French counts for those conditions are 79,818, 80,222, and 77,646, respectively. The filtered subset has fewer vocabulary items than the random subset in both languages. Relative to natural order, its English vocabulary is smaller and its French vocabulary is larger. The filtered subset also has more vocabulary items in both languages than LENGTH, whose English and French counts are 63,643 and 79,264. Keeping a similar amount of text can therefore produce vocabularies of different sizes, depending on how the sentence pairs were chosen.

How quality is measured

The main evaluation uses the Microsoft Spoken Language Translation task, abbreviated MSLT. It gives the authors a spoken translation setting, and its shorter segments are closer in length to those in the subtitle training data. The second test uses TED talks, whose segments are longer. Keeping the same training source and testing on TED asks whether a filter applied to subtitles can help when the translations are evaluated on a different kind of speech. Microsoft Speech Language Translation Corpus and WIT3.

BLEU supplies the translation quality measure for validation and test comparisons. It rewards matching sequences of words in reference translations and includes a brevity penalty, which lowers the score of output that is too short relative to the reference. The latter matters here because one selection condition trains completely on short examples. The paper also uses ensemble decoding. In this setup predictions from multiple saved checkpoints guide the production of a single translation. The headline initial scores use the 3-best checkpoint ensemble for each training condition. The authors also report ensembles from the 3-last checkpoints. These are separate ways to assemble a decoder from a run and can give different rankings.

The initial training runs

On the spoken translation validation split, NON-DIVERGENT reached the BLEU score of ALL using 60% of the updates. RANDOM followed a curve close to ALL. NATURAL leveled off about 6 points below the best validation curves. LENGTH did substantially worse. The authors attribute its poor BLEU in part to the brevity penalty from generating short translations. These curves tell a story about optimization progress. At a given part of the run the filtered examples produced a stronger translator, even in comparison with a system that had more total training material available.

On the MSLT test set, the filtered ensemble has the highest BLEU in the 3-best comparison. RANDOM is the strongest of the alternatives in this column, followed by ALL. NATURAL performs worse than either condition, and LENGTH trails even though its training set contains more pairs than the filtered set. The paper reports the filtered ensemble’s gain over ALL as +1.6 BLEU for this test set.

Initial 3-best ensembles on the MSLT test set by BLEU

The entailment-filtered ensemble leads the full corpus and the other selection conditions.

Initial 3-best ensembles on the MSLT test set by BLEUNatural order: 35.57Natural order35.57Length: 22.55Length22.55Random: 39.03Random39.03All data: 38.70All data38.70Non-divergent (this paper): 40.27Non-divergent (this paper)40.27
The numbers
System or settingBLEU
Natural order35.57
Length22.55
Random39.03
All data38.70
Non-divergent (this paper)40.27

On TED, the filtered subset again yields the best 3-best ensemble. This time ALL scores higher than RANDOM. The paper reports a +0.6 BLEU gain for the filtered system over ALL. The particularly low score of LENGTH accompanies the contrast between the short training sentences and the longer test segments. The two test sets therefore support the same main comparison, with a different ordering among the closest baselines and a different scale of penalty for the short-sentence condition.

Initial 3-best ensembles on the TED test set by BLEU

Entailment filtering gives the best score, and the short-sentence selection performs especially poorly.

Initial 3-best ensembles on the TED test set by BLEUFull corpus: 31.88Full corpus31.88Random: 31.42Random31.42Length: 8.25Length8.25Natural order: 29.76Natural order29.76Non-divergent (this paper): 32.47Non-divergent (this paper)32.47
The numbers
System or settingBLEU
Full corpus31.88
Random31.42
Length8.25
Natural order29.76
Non-divergent (this paper)32.47

The initial 3-last ensembles give the same leading condition. On MSLT, BLEU is 40.37 for NON-DIVERGENT and 39.23 for RANDOM. ALL scores 38.60, NATURAL 35.59, and LENGTH 22.55. On TED, NON-DIVERGENT scores 32.90 and ALL 32.12. RANDOM scores 31.54, NATURAL 30.26, and LENGTH 8.25. The initial result consequently holds under either listed way of choosing checkpoints, including on TED, where the full corpus is a stronger alternative to the filtered set than the random sample is.

Training for longer

An early advantage might disappear if the other systems receive more updates. The authors therefore continue training the promising conditions, leaving LENGTH out of the extended experiment. The validation curves for NON-DIVERGENT, RANDOM, and ALL come close together later in training. This changes how the early validation comparison should be read. An advantage in reaching a given score with fewer updates can coexist with similar validation scores at a later point. Since the paper’s conclusion also concerns the quality of test translations, it evaluates checkpoint ensembles after the longer runs.

On MSLT, the extended 3-best ensemble from NON-DIVERGENT scores 41.74 BLEU. The ALL ensemble scores 40.11, RANDOM 39.64, and NATURAL 37.47. With the 3-last checkpoints, NON-DIVERGENT scores 41.24 and ALL 40.11. The other scores in that column are 39.64 for RANDOM and 36.94 for NATURAL. The filtered condition leads under both checkpoint choices. Its own best MSLT result in this comparison comes from the 3-best ensemble.

On TED, the extended 3-best ensemble from NON-DIVERGENT scores 33.90 BLEU. ALL and RANDOM each score 33.03, and NATURAL scores 31.94. For the 3-last comparison, NON-DIVERGENT reaches 34.23, RANDOM reaches 33.51, ALL reaches 33.03, and NATURAL reaches 32.29. The strongest filtered TED result comes from the last checkpoints. Which checkpoint rule yields the best reported score therefore depends on the test set. The leading data selection rule stays the same.

Can adding the full-corpus system help?

The paper ends the translation experiments by augmenting the strongest filtered ensemble for each test set with the best checkpoint trained on ALL. This mixed ensemble reaches 42.13 BLEU on MSLT and 34.57 on TED. The authors report improvements of +0.40 on the MSLT test set and +0.34 BLEU on the TED test set over the previously strongest filtered results. The MSLT chart compares the best ensembles for the two separate training conditions with the ensemble that combines their predictions.

Extended and mixed ensembles on the MSLT test set by BLEU

Adding a full-corpus checkpoint improves on the strongest filtered ensemble.

Extended and mixed ensembles on the MSLT test set by BLEUBest full-corpus ensemble: 40.11Best full-corpus ensemble40.11Best non-divergent ensemble: 41.74Best non-divergent ensemble41.74Non-divergent ensemble with full-corpus checkpoint (this paper): 42.13Non-divergent ensemble with full-corpuscheckpoint (this paper)42.13
The numbers
System or settingBLEU
Best full-corpus ensemble40.11
Best non-divergent ensemble41.74
Non-divergent ensemble with full-corpus checkpoint (this paper)42.13

The mixed result is consistent with the training conditions contributing complementary predictions. The full-corpus ensemble has lower test BLEU on its own, yet a checkpoint from that run can improve predictions when added to a stronger ensemble. This comparison concerns predictions combined at decoding time. In the separate ALL condition, the translator learns directly from the complete corpus. The two experiments therefore answer different practical questions about how additional training material can contribute.

What the ablations show

The comparison that controls sentence-pair count

The paper’s main controlled comparisons substitute whole training subsets while keeping the translation configuration fixed. The most informative one is between NON-DIVERGENT and RANDOM. A random selection already removes material and leaves the translator with 17M pairs. The entailment-ranked subset of the same size yields stronger results on both test sets. The comparison gives evidence for the selection rule as a whole. It also gives a better explanation of the early learning curves than corpus size alone does, since the random curve stays close to the full-corpus curve during initial training.

The fixed quantity is the number of pairs. Token counts and vocabularies change. This matters when assigning a mechanism to the result. The detector can favor pairs that are easier to align, shorter, or drawn from a different mix of subtitle material. Any of those characteristics could contribute to the quality of the translator. The reported comparison shows that the detector creates a more effective subset than the particular random baseline. An experiment that also matched the subsets on the relevant length and alignment distributions would ask a narrower question about semantic equivalence.

NATURAL adds a check on what can happen when a subset is selected by convenience. The authors suggest that random selection covers a wider variety of movies, while the first part of the file order offers less diversity. The vocabulary statistics are consistent with that possibility, particularly on the French side. The study does not independently measure the spread across movies or reweight the subsets to give them the same movie composition. The direct observation is that two ways of choosing the same number of pairs can yield far apart outcomes. The movie explanation remains an interpretation of the corpus organization and vocabulary evidence.

What length can account for

LENGTH is a useful stress test because sentence length already enters the classifier. Its poor translation scores show that taking all examples below the threshold is an ineffective substitute for the learned selection rule in this setup. The authors observe shorter generated translations and high BLEU brevity penalties under LENGTH. The particularly weak TED result gives that observation a clear setting: longer reference segments are difficult to match with output from a translator trained exclusively on short pairs.

The comparison leaves room for length to contribute within the detector. Its features include the length of each side and their relationship. A short-sentence cutoff selects on brevity, whereas a length ratio represents how the two sides compare. Paired with alignment coverage, length can help distinguish a compact translation from a pair with a substantial unmatched passage. The paper gives results for the complete detector and the short-sentence baseline. A detector trained with lengths alone, or with the length features removed, would have been needed to estimate the independent contribution of that feature group.

The corpus counts also help interpret this result. A policy that maximizes the number of retained short examples can still give the translator less text and a smaller vocabulary than the entailment-selected subset. The weakness of LENGTH is therefore an outcome of the whole data policy, including the distribution of target lengths the decoder learns from. It gives a reason to take that distribution seriously when interpreting BLEU and when comparing a simple proxy with a supervised ranking.

What supervision and training duration explain

On the detection side, the paper reports that the four-class entailment classifier was better at identifying the no-entailment class than binary classifiers trained with alternative groupings of the same labels. This suggests that learning the directional distinctions can help carve out the class the authors want to rank by. The comparison is qualitative in the paper. It provides no per-variant scores or corresponding translation runs. Its scope is the detector, so any improvement to translation that depends specifically on the extra label distinctions remains unmeasured.

The prolonged training runs address a different explanation, that the full-data system simply needed longer to learn. The validation convergence shows that training duration matters for the early comparison. Later test results keep the filtered ensembles ahead, so the reported test advantage survives the longer training schedules the authors tried. The 3-best and 3-last columns offer an additional check. They make it possible to see that the subset result holds under different checkpoint choices while the precise score and preferred choice vary by test set.

The mixed ensemble tests whether predictions learned from the full corpus remain useful alongside those learned from the subset. The gain on both tests supports that possibility. The comparison adds a checkpoint to the filtered ensemble, so it changes ensemble composition and size together. An equally sized ensemble augmented with another filtered checkpoint would help identify the gain attributable specifically to the different training corpus. The reported result establishes what happened for the mixed system the authors actually evaluated.

Limitations

Limits and open questions the authors identify

The authors single out the low recall of the subtitle detector. The manual check finds many differences in meaning that its decisions miss. They propose improving the features, exploring other supervision, and adapting the detector to the domain it will score. They also ask whether a direct divergence detector could replace the entailment proxy and how alignment-based features would compare with a neural approach. These are separate questions about the training objective and the representation. A closer supervision task could improve the match between the label and the intended use even with the same features. A different representation could improve the use of the existing labels.

The paper also calls for testing beyond English–French and beyond subtitles as a training source. TED changes the test genre, while the subtitle corpus remains the source of training in both test conditions. The authors specifically mention more distant language pairs and a wider range of tasks and training domains. This is important for a method that uses both length ratios and word-link coverage. A change in the languages or in how the material was collected can alter what those feature values mean in practice.

The optimizer is another open question in the paper. The authors use Adadelta for all conditions and point out that earlier work had found the optimizer could affect both initial performance and convergence with the data held constant. The fixed optimizer serves the comparison within this setup. The size of an early learning advantage, and how long it persists, are questions for experiments with other settings. The authors express similar caution about the mixed ensemble. Its gains are modest, it requires training the additional full-corpus system, and the effect of improved checkpoint selection remains open.

Limits visible in the experimental setup

The estimate of divergence comes from 100 subtitle pairs judged by one bilingual speaker. The paper gives no agreement measurement across readers. Some decisions may be clear when one sentence contains information with no counterpart. Other decisions can depend on how much context a reader supplies to an abbreviated reply. The sample supports the claim that meaning differences are common enough to be worth studying in these subtitles. A corpus-wide prevalence estimate with known annotation reliability, or a comparison of prevalence across genres, would require a broader annotation study.

The subtitle judgment also treats exact meaning agreement as a binary question, while the supervised detector learns directional entailment categories. A pair may differ in meaning and still support one-way entailment. Another pair can express very similar information but fail an automatic alignment because equivalent material appears in a different form. The binary human judgment, the no-entailment detection decision, and the ranking used to discard pairs are related in the paper. They operate at different boundaries. Precision and recall for the sample therefore give evidence about one use of the detector and little direct information about the proportion of divergent pairs remaining after filtering.

There is also a gap between the feature signal and the semantic explanation. Unaligned text can arise from omissions or additions, as the method assumes. It can also result from the difficulty of aligning an otherwise adequate translation. A substitution might give the aligner a plausible link and still change what the sentence says. The filter can succeed as a predictor of training utility through any mixture of those effects. Since the experiment selects on all the features together and leaves the rest of the corpus properties free to vary, it does not allocate the downstream gain among semantic agreement, alignment quality, length, or the coverage of different subtitle sources.

The choice to remove the most divergent half establishes a concrete comparison with random sampling and selecting the first half. The paper does not trace a series of removal rates or test the discarded material as a training set on its own. It therefore leaves the shape of the quality tradeoff open. A smaller removal rate might keep useful examples the detector ranks poorly. A larger one might improve average pair agreement and sacrifice useful coverage. The mixed-ensemble gain is compatible with some information from the larger training condition still being helpful. It does not show which individual discarded pairs carry that information.

BLEU evaluation gives a common outcome across the translation conditions, and its brevity penalty helps explain the failure of the short-sentence system. The reported test evaluation does not directly annotate whether the filtered translator preserves particular facts, modifiers, or participants more faithfully. Greater reference overlap may reflect several changes to the translations. A human evaluation of semantic preservation would address the proposed mechanism more directly. Similarly, the 60% validation update comparison measures progress in updates. Measuring total elapsed time or compute savings would require accounting for alignment, filtering, training, and decoding under the actual setup.

Finally, the authors motivate the study with a conjecture about the sensitivity of neural translation relative to phrase-based translation. Their own controlled experiment varies corpora for the same neural translator. The evidence about phrase-based robustness comes from earlier work involving a different noise intervention. Whether the same naturally divergent subtitle pairs would change a phrase-based translator by a similar amount remains open. The central result has a tighter scope: under the paper’s translation configuration, the entailment-ranked subset performs better than the reported alternatives on the two test sets.

What came after

The subsequent papers that cite this study address three aspects of the problem it raises. Some focus on deciding which bilingual examples to train on. Others focus on the consequences of comparing texts whose content differs even though the texts are treated as corresponding. A further direction examines a representation of meaning across languages. Their titles identify those research questions and the citation establishes the connection. Specific claims about shared implementations or comparative results would require more evidence.

Findings of the WMT 2018 Shared Task on Parallel Corpus Filtering takes up parallel corpus filtering in a shared-task setting. The subtitle study asks whether a particular criterion can improve a translator trained on an existing bilingual collection. A shared task makes filtering itself the common subject of evaluation. The connection is strongest at the level of the experimental question: how to judge the material that two-language corpora offer for training. Parallel corpus filtering is the broader category. Semantic divergence is one reason a sentence pair may receive a low score under a filter.

Handling Divergent Reference Texts when Evaluating Table-to-Text Generation addresses divergence on the evaluation side of text generation. In the translation study, a target paired with a source teaches the system what output to produce. A reference in an evaluation plays a different role: it is used to judge output that has already been produced. The analogy is that disagreement between corresponding pieces of material can affect the outcome attributed to the system. The later paper’s stated task is evaluating table-to-text generation when reference texts diverge, which places the problem in the design of the evaluation.

Beyond Noise is the closest continuation in subject. It deals with fine-grained semantic divergences and how to mitigate their impact on neural machine translation. The earlier experiment maps a range of possible meaning differences to an ordered score and then retains or drops entire pairs. A focus on fine-grained divergence asks what distinctions within those differences are consequential. This follows directly from the subtitle examples, where a shortened reply and a substantially changed statement both count as divergence while presenting different kinds of evidence to a learner.

Selecting the best data filtering method for NMT training keeps the focus on training selection and makes the choice of filtering method its subject. That is the practical decision exposed by the original paper’s results across random sampling, corpus order, length, and entailment. The earlier paper compares those policies for one source corpus and a particular translation system. A study framed around choosing a filtering method addresses the more general comparison among policies. Its title establishes that focus without identifying whether its candidate filters include the original entailment classifier.

Assessing the Cross-linguistic Utility of Abstract Meaning Representation approaches cross-language meaning through a representation of what sentences express. The earlier detector infers possible agreement from surface evidence, particularly the lengths of sentences and the arrangement of word links. The later work’s subject is whether Abstract Meaning Representation is useful across languages. The connection is the need to identify what carries over when the words and structures change. The two studies ask their questions at different points: one evaluates a corpus selection rule through translation quality, and the other assesses the cross-linguistic utility of a meaning representation.

Cite

Cite as Marine Carpuat, Yogarshi Vyas and Xing Niu. 2017. Detecting Cross-Lingual Semantic Divergence for Neural Machine Translation. Proceedings of the First Workshop on Neural Machine Translation.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w17-3209

@inproceedings{carpuat2017detecting,
  title = {{Detecting Cross-Lingual Semantic Divergence for Neural Machine Translation}},
  author = {Marine Carpuat, Yogarshi Vyas and Xing Niu},
  booktitle = {Proceedings of the First Workshop on Neural Machine Translation},
  year = {2017},
  doi = {10.18653/v1/w17-3209},
  url = {https://doi.org/10.18653/v1/w17-3209}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/carpuat-2017-detecting-cross-lingual-semantic-divergence/