Elamur Research

Keep It or Not: Word Level Quality Estimation for Post-Editing

Paper · 2018 · Prasenjit Basu, Santanu Pal and Sudip Kumar Naskar

Summary

When a person revises a machine translation, much of the draft may already be usable. The difficult part is finding the words that need attention without asking the editor to inspect every word as if it were equally suspect. The authors investigate whether the source sentence can help make that distinction. For each word already present in a machine translation, the system predicts whether an editor would keep it, labelled OK, or delete or replace it, labelled BAD. The prediction is made before the edited translation is available. The authors test the idea on English-to-German translations of IT material from the WMT 2018 shared task.

The starting point is a collection of earlier translations that people have already edited. For each German word an editor kept, the authors save the English sentence from which the translation was produced. Over the training data, this creates a collection of English contexts associated with successful uses of each German word. When the word appears in a new translation, the system compares its current English sentence with that stored evidence. A sufficiently close match earns an OK prediction. Words outside the learned vocabulary, as well as excluded German stop words, are left in place by default.

The authors compare ways of representing the same evidence. Bag-of-Words compares the source sentence and the stored context through their word counts. Doc2Vec represents each as a fixed-length vector, so the comparison can draw on relationships that exact word overlap misses. The systems use separate cutoffs because their similarity scores are on different scales. To select a cutoff, the authors examine how a score that rewards identification of both OK and BAD words changes as the cutoff moves. They use the Kneedle algorithm to choose a point where the curve bends.

On the shared-task test set, Doc2Vec scored 0.2180 on F1-mult, the product of the F1 scores for OK and BAD. Bag-of-Words scored 0.2042. Doc2Vec also scored higher on each label separately, while the official baseline led on all the reported measures, with F1-mult of 0.3630. The result supports the authors’ choice of Doc2Vec over word counts within this particular system. It leaves open how much source-context matching would help an editor in practice, particularly when a translation is missing a word or when the evidence for an error lies in the surrounding German text.

Deep dive: Keep It or Not: Word Level Quality Estimation for Post-Editing

Word-level quality estimation for post-editing uses source context to predict which words in an English-to-German translation an editor will keep. · about 31 minutes to read

The problem and its context

A flag attached to a word

Translation quality estimation asks what can be inferred about a translation before a corrected version is available. In this paper the unit of judgment is an individual word in a machine-generated draft. The system uses the original English text and the German draft to decide which label to attach to each eligible German word. An OK label says the word is likely to survive editing. BAD marks a word the editor is expected to remove or replace. For an editor, the location of a flag matters as much as its presence. A warning about the sentence as a whole would still leave the editor to find the likely problem.

The editing operation gives these labels a specific meaning. A BAD decision does not identify the replacement, and deletion and substitution produce the same label. The question is whether the word should remain at that position under the editing comparison. A word can therefore be perfectly ordinary German and still be BAD in a particular draft. It may express the wrong meaning for the English source, or it may be one of the words that the editor changes while repairing a larger passage. The label records what happened to the word during editing without saying which explanation prompted the change.

The distinction between predicting an edit and observing one is central to the task. The authors have completed human edits for earlier drafts and use them to learn which words were kept. They also have completed edits for development examples, where they can check whether a decision rule works. At prediction time the system has the draft and the source, and the human edit it is trying to anticipate has yet to be consulted. Using edited text to teach the distinction is compatible with predicting it in a setting where the fresh edit is unavailable.

The scope of the prediction also follows from where the label is attached. Each decision starts with a word that the translation system produced. An omission has no such word to label. A draft may therefore have plenty of words that deserve OK flags and still need an insertion to express the English sentence fully. Similarly, a sequence of nearby BAD flags could reflect a single phrase-level problem. The flags localize decisions at the granularity the authors study, while the editor still has to interpret their relationship to the sentence.

Where this fits in quality estimation

The authors place their work in a line of research on estimating the quality of machine output without access to an independent reference for every prediction. They cite confidence estimation in machine translation and earlier work on estimating quality at the sentence level. They also cite work that discusses the distinction between evaluating translation systems and estimating the quality of their output. Those lines of work establish the setting for their question. A translation system can produce fluent-looking drafts of uneven quality, and the particular draft under review is the object of the estimate. Estimating the Sentence-Level Quality of Machine Translation Systems

The paper describes quality estimation at word, phrase, sentence and document granularity. These units give different answers to an editor or a researcher. A document estimate summarizes a large piece of translated text. A sentence estimate can help identify where attention is needed across that text. Phrase and word labels can narrow the location to something the editor can examine directly. The authors situate their word-level experiment in the same field as the broader estimation tasks, which they illustrate with prior studies and a general translation quality estimation framework. QuEst

The earlier shared-task entries surveyed in the paper used different kinds of evidence. One document-level study combined discourse features with support vector regression. Another configuration in that study used word embeddings with a Gaussian process. The authors also describe work that used referential translation machines to predict translation performance at word, sentence and phrase level, and a shared-task submission that explored bilingual lexical embeddings with encouraging sentence-level results. These are examples from the paper’s account of the field. They motivate the use of representations learned from text without establishing how those particular approaches would compare on the word decisions studied here. Word embeddings

The practical motivation comes from work on post-editing as well. The authors cite studies suggesting that editing machine-produced translations can be advantageous under some conditions. Their proposal operates inside that workflow, after a draft is generated and before a person finishes revising it. If a flag points to a real problem, it might direct the editor’s attention productively. If it flags usable text, it can add inspection work. A missed BAD word can leave an error looking unremarkable. These consequences explain why the ability to identify each class matters, even when one class occurs far more often.

Why look back at the source?

The reasoning behind the paper is easiest to see by following a German word through several translations. Suppose the same word appears in drafts of several English sentences and survives human editing in some of them. The English sentences behind those kept occurrences provide examples of circumstances in which the word has worked. The authors ask whether a new occurrence can be judged by comparing its English circumstances with those earlier ones. This treats the draft’s chosen German word as a lookup key and the English text as evidence for the decision.

The stored evidence comes from complete source sentences rather than from a known English counterpart for each German word. A useful source expression may occur next to words about a more general topic. In the aggregate, vocabulary genuinely associated with the German word has a chance to recur across retained uses. At the same time, a topical association can make two sentences look similar even when they call for different German words. The choice of full sentences gives the method a broad context while placing the burden of relevance on the representation and similarity score.

The paper connects this approach to the distributional view of words, in which patterns of use help characterize what words mean. It discusses earlier work on learning word representations, including work on semisupervised learning and the use of distributed representations for predicting words in context. Its discussion of word2vec explains the move from discrete words to fixed-length vectors. Its account of Paragraph Vector, also called Doc2Vec, extends that idea to a whole stretch of text. Such a representation suits this method because both objects being compared can be longer than a word. Efficient Estimation of Word Representations in Vector Space · Distributed Representations of Sentences and Documents

The resulting research question is narrower than whether vectors are generally helpful for translation. Each version has to turn a comparison between a current English sentence and a German word’s retained-use history into a binary judgment. Word counts give one way of making that comparison. Document vectors give another. Both rely on the premise that earlier successful uses are informative and that their relevance can be expressed with a similarity cutoff.

The method, step by step

Turn past edits into examples of retention

The system starts with parallel training material containing an original English sentence, its German machine translation and the human post-edit of that translation. An alignment between the German draft and the German edit describes how the draft was changed. The paper uses Translation Error Rate, abbreviated TER, to obtain this alignment. Here the useful output of TER is the correspondence between individual draft words and the editing operations applied to them. The authors treat a retained word as OK and a deleted or substituted draft word as BAD.

This comparison is on the German side. It answers a different question from aligning English and German words in a translation pair. The English sentence tells the system where the draft came from. The German-to-German alignment tells it which parts of the draft survived. Once a word has been identified as retained, the authors associate all the words in the English source sentence with that German word, subject to stop-word filtering. They do not need the alignment to identify which particular English word the German word translates.

Suppose a German draft contains several words that survive. Its English source sentence can contribute evidence to the records for each eligible retained word. A different German word in the same draft may be deleted or replaced. The English sentence does not contribute to that word’s record on the strength of that occurrence. In another sentence the same German word may survive, and the English context there can enter its record. The decision to add evidence is made at the level of the individual occurrence.

The resulting dictionary is indexed by German words that have retained examples. Its entries record English material. An entry is therefore neither a list of suggestions to show the editor nor a bilingual dictionary definition. It is a pooled record of the English contexts in which past German drafts used the key word and the editor let it stand. When source words recur across those contexts, their repetitions are kept in the Bag-of-Words representation. The authors expect such repetitions to give prominence to English vocabulary associated with the German word.

From past post-edits to word-level predictions

The steps in order.

From past post-edits to word-level predictionsStep 1: Align German drafts with their human post-edits1. Align German drafts with their human post-editsStep 2: Identify German words that survived editing2. Identify German words that survived editingStep 3: Gather their English source sentences by word3. Gather their English source sentences by wordStep 4: Represent stored contexts and current source sentences4. Represent stored contexts and current source sentencesStep 5: Score similarity on development examples5. Score similarity on development examplesStep 6: Use Kneedle to choose a similarity cutoff6. Use Kneedle to choose a similarity cutoffStep 7: Label eligible test words OK or BAD7. Label eligible test words OK or BAD

The division of the data matters at each step. Training examples provide the retained uses that populate the dictionary. Development examples provide the similarities and observed edit decisions used to choose a cutoff. The test examples are scored after the representation and cutoff have been chosen. The same kind of human edit thus serves different purposes on the different splits. One edit contributes to a store of positive contexts, while another supplies the judgment against which a proposed decision rule can be checked.

There is an asymmetry in what is learned from positive and negative examples. Retained training uses create the context entries. Deleted and replaced uses do not create a competing dictionary of contexts where a word tends to fail. BAD examples still matter when the decision rule is assessed on development data, because that assessment rewards finding BAD as well as OK words. They influence how much resemblance is required for an OK decision without becoming a second stored representation for the word.

Compare word counts

The simpler representation is Bag-of-Words, abbreviated BoW. A bag records word occurrences and ignores their order. The current English source sentence can be represented as a vector with a count in each vocabulary coordinate. The historical collection for the German word can be represented with counts in the same coordinates. A coordinate can contribute to the overlap when its English word occurs in both. It can carry more weight when its word occurs repeatedly in the historical examples.

This comparison sets a single fresh sentence beside a collection that may include many sentences. Raw overlap would be influenced by the size of that collection. The paper uses cosine similarity, which compares the direction of the vectors by normalizing their dot product by their lengths. For the non-negative word counts under discussion, the paper describes the similarity scale as running from 0 to 1. One way to write the cosine named in the method is:

cos(x, b) = (x · b) / (‖x‖ ‖b‖)

Here x is the word-count vector for the current English source sentence. The vector b is the word-count representation of the stored English contexts for the German word under consideration. The dot · denotes the dot product, which multiplies the counts in corresponding coordinates and adds those products. The double bars ‖ ‖ denote Euclidean vector length. Multiplying the lengths in the denominator normalizes the dot product, and cos(x, b) is the resulting similarity.

As an interpretation of that calculation, a high value means that English words contributing substantially to the fresh sentence also contribute to the historical context vector. A low value means the count patterns offer little shared evidence after normalization. The score depends on the word being judged because that word determines the historical vector. Several German words from the same draft can receive different scores even though the English side of the comparison is identical for all of them.

Repeated context can help and hurt this version in predictable ways. An English term repeatedly associated with successful uses may receive a strong weight in the stored vector. An unrelated word that happens to appear in many source sentences can also accumulate weight. The authors remove stop words partly because frequently occurring items may give an impression of context overlap without saying much about the German word. This choice affects which English evidence can enter the comparison. On the German side it also affects which words enter the learned prediction procedure.

Pooling the historical English sentences has another consequence. The cosine compares the new sentence with the aggregate pattern. It does not choose the particular past sentence that resembles the new one most closely. When a German word survives in several distinct settings, evidence from all of them can contribute to the same bag. A fresh source sentence may resemble one of those settings strongly while sharing less vocabulary with the aggregate. That possibility follows from using a pooled representation. The paper does not report a separate experiment on words with several distinct uses.

Compare document vectors

The second version uses Document-to-Vector, or Doc2Vec. The source sentence and the collected context for the German word occupy the same roles as before. Each is now treated as a document and represented as a fixed-length vector before the comparison is made. Here “document” refers to the piece of text being represented. It can be a single current sentence on one side and pooled English material on the other. The procedure does not require the source to be document-length in the usual editorial sense.

The authors use the Doc2Vec implementation in gensim. They describe the software as offering distributed memory and distributed Bag-of-Words approaches to document representation. Their experiment uses distributed Bag-of-Words. This name can be confusing beside the simpler system, also called Bag-of-Words. In the simpler system the representation directly records counts of vocabulary items. With Doc2Vec, the comparison uses learned document vectors. The same vocabulary item has a direct count coordinate in the former, while a coordinate of a learned document vector is part of a representation built from the training text.

The motivation is that related contexts can be expressed with different vocabulary. A comparison that depends entirely on shared words can miss that relation. Doc2Vec gives the authors a way to compare the texts through a learned representation and potentially recover some of that evidence. The expectation is about the usefulness of the resulting similarity for identifying retained words. A document vector can still emphasize a broad topical relationship, even when the distinction that matters to an editor is local or grammatical.

The paper calls this score Doc2Vec similarity and uses it to rank evidence for keeping a word. It does not give a separate equation for the similarity calculation or a mathematical specification of the procedure used to obtain the vectors for new inputs. The authors say that training text is filtered to remove stop words before Doc2Vec is trained. They also report the distributed Bag-of-Words choice for the experiment. Those details identify the representation and the role it plays, with the exact settings for fitting and inference left unspecified.

The architectural comparison is consequently quite clear. The German word still identifies a collection based on past retained occurrences. The new English sentence still supplies the current context. The change is in the representation of the two texts and the similarity produced from them. A separately fitted cutoff is needed because the scores obtained from the new comparison have their own distribution. A numerical similarity obtained with one representation has no automatic decision meaning in the other.

Choose a cutoff with both labels in view

A similarity score gives an ordering from weaker to stronger resemblance. To predict a label, the authors need a cutoff. For an eligible word, a score above the cutoff produces OK, and a score at or below it produces BAD. This is a common cutoff for the run. The context associated with each German word varies, but the decision rule applies the same cutoff across those word-specific comparisons. The paper does not give a separate cutoff for each German word.

On the development split, the authors have both a similarity score for each word under consideration and the edit decision obtained through TER. They group the scores into ranges with roughly equal numbers of instances. The boundary of a range supplies a candidate cutoff. This use of observed score distributions distinguishes the candidate search from stepping through equally spaced numerical values. A narrow range can contain many instances if the scores are crowded together, and a broad range can be needed where they are sparse.

For each candidate cutoff, the authors can compare predicted labels against the observed edit labels. Their intermediate BoW example illustrates this with a binary entry for a word and a cutoff. An entry of 1 means that the predicted label matches the edit decision. An entry of 0 means that it differs. A recorded OK word earns a correct entry when its score clears the cutoff. A recorded BAD word earns a correct entry when its score fails to clear it.

Consider verhalten, shown with a similarity score of 0.26 and an observed decision of OK. Applying the stated rule with a cutoff of 0.25 gives OK. Raising the cutoff to 0.31 changes the prediction to BAD, while the observed decision remains the same. The entry sol has a score of 0.5 and an observed decision of BAD. With a cutoff of 0.25 it would be incorrectly kept. A cutoff of 0.58 would make the rule flag it. These examples show how the same shift in cutoff can help identify one word and cause another to be misclassified.

Correctness entries make individual changes visible. The cutoff is assessed across the two labels with a metric that asks more than how frequently the prediction matches the edit. F1 for a class balances precision and recall. For BAD, precision asks how many flagged words really were changed or deleted. Recall asks how many changed or deleted words received the flag. For OK, the corresponding questions concern predicted and observed retention. The official shared-task measure combines the class scores by multiplication:

F1-mult = F1-OK × F1-BAD

F1-OK is the F1 score when OK is the class being detected. F1-BAD is the corresponding score for BAD. The multiplication sign × gives their product, F1-mult, the measure used to summarize performance across both labels. A high score for retention cannot by itself yield a high product if error detection is weak.

The authors plot F1-mult for the successive cutoff candidates. For BoW, they describe a curve without a clear peak that would directly supply an interior cutoff. They apply Kneedle, a procedure that identifies a bend in a curve. The idea is to select a point from the shape of the relationship between the cutoff and the evaluation score. The authors use the candidate associated with that point for prediction. The same procedure is described for Doc2Vec. The paper does not specify the settings used for Kneedle or present a comparison with other ways of selecting the cutoff.

Apply the decision to a fresh draft

At test time the system takes each eligible German word and retrieves its stored English contexts. It represents those contexts and the current source sentence in the form required by the chosen system, then compares them. The selected cutoff turns that similarity into the label attached to the current occurrence of the German word. A new occurrence can therefore receive a different label from an earlier occurrence of the same word. The historical context entry is shared, while the English sentence against which it is compared changes.

For words outside the learned vocabulary, the paper specifies a default of retention. Stop words on the German side are also excluded from learned quality estimation and treated as retained. This policy gives the method a simple response when it has no supported context comparison. It also means that an OK disposition can have different origins in the procedure. For an eligible word it can result from a comparison above the cutoff. For an excluded or unseen word it comes from the fallback policy, without a similarity judgment about that occurrence.

The test procedure ends at the label. It can highlight a German word for attention, but it does not ask what German word would fit better or propose the English evidence most responsible for the warning. An editor would have to decide what revision, if any, to make. The authors’ test evaluates the labels from the procedure against the shared-task judgments.

Experiments and results

The shared-task data

The experiments use the WMT 2018 English-to-German word-level quality estimation data for Task 2. The material is from the IT domain, and the drafts are outputs of statistical machine translation. The splits give the authors examples of completed post-editing for building the context entries and assessing the cutoff, followed by a test set for the reported comparison. The authors identify the data by the shared task and translation direction. They name gensim as part of their implementation, separate from the data and the official evaluation.

The training split contains 26,299 sentences. The paper reports 389,070 source tokens, 393,000 tokens in the drafts and 400,058 tokens in the corresponding post-edits. The development split contains 1000 sentences, with 14,600 source tokens, 14,773 draft tokens and 14,970 post-edit tokens. The test split contains 1926 sentences, with 28,312 source tokens and 28,785 draft tokens. The dataset statistics leave the test post-edit token count blank. A token here is an individual occurrence counted in its side of the dataset. A context entry can pool many such occurrences under a single German word.

These figures describe the source, draft and post-edit as separate sequences. They do not provide a direct count of BAD labels. A draft word may be replaced by another word while the sequence length stays the same. An editor can also delete in one part of a sentence and insert elsewhere. The TER alignment rather than a comparison of sequence lengths gives the authors the retention labels used by the method.

The paper reports that 85.66% of the training draft tokens and 83% of the development draft tokens are retained. The authors take these proportions as an indication that the original statistical translation system was strong. For the experiment, they also explain why the problem cannot be understood through how frequently the procedure makes any correct decision. There are many opportunities to be right by predicting retention. Recognizing errors requires finding a relatively small group without labelling too much usable material as defective.

The preprocessing uses stop-word removal for English and German. On the English side this changes the vocabulary contributing to the historical contexts and the new source representations. On the German side the authors exclude stop words from the words they attempt to judge by context. The paper describes filtering across the splits and reports the dataset token statistics separately. The resulting number of words that actually receive a similarity-based decision is not given, so the corpus counts describe the size of the material more directly than they describe the coverage of the classifier.

The development decisions

For BoW the authors consider 9 candidate cutoffs. They range from 0.075 to 1 in the table, with 0.25 at segment 4. Kneedle selects that segment on the authors’ development curve, and they adopt 0.25 as the cutoff for the BoW predictions. They describe the selected point as giving the optimal F1-mult for this version. The development procedure selects among the candidates established from the score distribution. The paper does not use the test table to pick among those thresholds.

For Doc2Vec the authors report 5 segments. The chosen segment is 3, and its reported cutoff is 0.21. These figures are properties of the development and selection procedure as described in the method. They do not indicate that a Doc2Vec score of 0.21 reflects less evidence than a BoW score of 0.25. Each number is meaningful through the texts being represented, the comparison used to generate the scores, and the observed score distribution for that run.

The authors also describe a simple reference point for interpreting the imbalance. A cutoff of 0 gives a reported 85% F1-score for non-stop words on the development set. The paper calls this an F1-score without identifying it as the official F1-mult or specifying the class in that passage. The result illustrates why it can be hard to beat a decision rule that tends to retain words under a class-insensitive reading of the task. It belongs to a different comparison from the shared-task test baseline, which has separately reported F1 scores by class and a reported product.

The comparison on the test set

The official test results give a common comparison for the authors’ submissions and the baseline. The paper identifies the baseline by its shared-task entry and reports its scores. It does not explain its internals in the results discussion. The comparison consequently establishes where the submitted systems stood on the same evaluation, without identifying which features or training choices account for the baseline’s lead.

WMT 2018 Task 2 English-to-German test set, F1-mult

Doc2Vec improves on word counts, while the official baseline leads both submissions.

WMT 2018 Task 2 English-to-German test set, F1-multBag-of-Words: 0.2042Bag-of-Words0.2042Doc2Vec (this paper): 0.2180Doc2Vec (this paper)0.2180Official baseline: 0.3630Official baseline0.3630
The numbers
System or settingF1-mult
Bag-of-Words0.2042
Doc2Vec (this paper)0.2180
Official baseline0.3630

Doc2Vec is the stronger of the paper’s submissions on F1-mult. Its score of 0.2180 exceeds the BoW score of 0.2042 on the English-to-German test set. The official baseline scores 0.3630 on that same metric. This gives the representation change a favorable result within the proposed approach and places its performance below the shared-task comparison supplied by the paper. Both facts are needed to interpret the experiment. The method’s internal comparison and its standing against the baseline answer different questions.

The class scores show what lies behind the products. For BAD, Doc2Vec records F1 of 0.2889, versus 0.2784 for BoW. For OK, Doc2Vec records F1 of 0.7547, versus 0.7335 for BoW. The direction of the result is therefore the same on each class. The switch to Doc2Vec does not owe its better product to a gain on retention that hides a loss on error detection, or the reverse.

WMT 2018 Task 2 English-to-German test set, F1 for BAD

Doc2Vec gives the stronger error-detection score among the submissions, with the official baseline ahead.

WMT 2018 Task 2 English-to-German test set, F1 for BADBag-of-Words: 0.2784Bag-of-Words0.2784Doc2Vec (this paper): 0.2889Doc2Vec (this paper)0.2889Official baseline: 0.4115Official baseline0.4115
The numbers
System or settingF1-BAD
Bag-of-Words0.2784
Doc2Vec (this paper)0.2889
Official baseline0.4115

The official baseline records 0.4115 for BAD and 0.8821 for OK. It outperforms the submissions on each class as well as on the product. The BAD scores are particularly relevant to the proposed use of the system because they concern the warnings intended to draw an editor’s attention. The larger OK scores reflect a different ability, namely recognizing words that survive editing. The paper reports F1 rather than separate precision and recall for these test results, so it is unclear how much of each result comes from making accurate flags and how much comes from finding a larger share of the words that needed a flag.

The better test figures for Doc2Vec therefore establish an ordering for the reported runs. They do not specify the edits that changed hands between the runs. Doc2Vec might recover some BAD decisions that BoW misses while losing others that BoW gets right. It might also make a more consistent improvement within particular groups of words. Aggregate class scores leave those possibilities unresolved. The paper’s development examples illustrate how decisions arise, while the official test results measure the consequence across the evaluated data.

What the ablations show

Replacing the representation

The paper has no component-by-component ablation suite. Its main comparison changes the text representation within the same general prediction procedure, and its development analysis examines how decisions vary with the cutoff. These comparisons help locate what the experiment establishes, even though they do not isolate every ingredient.

The BoW and Doc2Vec runs share the premise that retention can be predicted from earlier successful uses. The historical evidence is associated with a particular German word. The current text being compared with it is the English source sentence. Both runs turn a similarity score into a binary label. Changing the representation yields a Doc2Vec run that is stronger on both classes and on the official product. This result justifies preferring that complete configuration within the reported experiment.

The authors interpret the improvement as consistent with a representation that captures semantic relationships better than simple word overlap. The experiment measures the effect on edit labels, so the evidence for the interpretation is indirect. It does not include a separate judgment of semantic similarity for the English contexts. It also does not report a subset of test cases where the current and historical English contexts have little vocabulary overlap but equivalent meaning. Such cases would distinguish the proposed explanation from other ways a learned representation might affect the final labels.

Several choices travel together when the representation changes. The form of the stored comparison changes, the similarity scores have a different distribution, and the cutoff is selected for that distribution. A system evaluated with the other system’s numerical cutoff would have no clear interpretation because the scales differ. The reported design compares versions as the authors intend to use them. It does not identify whether the changed ordering of candidate words, the cutoff selected for that ordering, or both produced the test gain.

The same evidence does not support a comparison between the two Doc2Vec variants named in the method. The authors report the distributed Bag-of-Words choice and mention distributed memory as an option in gensim. There is no result for a distributed memory run. The paper’s comparison is between a direct word-count representation and the Doc2Vec configuration the authors used. A reader can attribute the observation to that configuration without extending it to all document embeddings.

Moving the cutoff

The development analysis makes the decision tradeoff concrete. If the cutoff moves up, a word whose score lies between the old and new cutoffs changes from OK to BAD. That improvement for a gold BAD occurrence can become an error for a gold OK occurrence. The table of word–cutoff decisions shows these effects at the scale of individual words. It helps explain why setting a threshold is part of the method even after the similarity scores have been calculated.

The segmentation procedure is relevant because it spreads candidate boundaries across the observed score distribution. Where similarities are densely clustered, a movement over a short numerical interval can change the decisions for many examples. Where there are few scores, a movement over a wider interval can have little effect. Candidate boundaries based on approximately equal instance counts make the plotted steps more comparable in terms of how much of the development data is at stake. They also constrain the search to the candidate cutoffs that the authors consider.

F1-mult determines how those label changes count in the plot. A change that catches more BAD words can help the BAD score and still be costly if it generates too many unwarranted warnings. It can also change performance on OK. The product allows the curve to reflect both effects at once. A bend marks a feature of that development curve under those candidate thresholds and that particular metric. It does not by itself show that choosing the bend is better than direct maximization or that the same procedure will find a stable cutoff on a different sample.

There is no test comparison of several cutoff-selection methods. The analysis demonstrates the authors’ way of making a choice in the absence of a clear peak in the BoW plot, and it gives the cutoffs taken into the reported comparison. It leaves the contribution of Kneedle to the final test results unresolved. A higher product for the Doc2Vec configuration does not measure the benefit of Kneedle, since both configurations use the same general selection procedure.

The comparisons that would test the authors’ explanations

The paper’s comments about stop words and data size are hypotheses about why the submissions performed as they did. For English stop words, the motivation for filtering is concrete. Repeated common words can influence cosine scores even when they give little evidence that a particular German word fits. For German stop words, excluding them changes which positions can receive learned predictions. These are different effects of the same preprocessing decision, and the paper does not report runs that vary either of them independently.

There is likewise no comparison of outcomes at different training-set sizes. More training material could create context entries for additional German words, provide a broader range of retained uses for words already covered, or provide more material for learning document vectors. The results do not tell which of these consequences would matter most. The authors’ suggestion that Doc2Vec would benefit from more data remains an explanation to test.

The baseline comparison sets another boundary on interpretation. It shows that a stronger set of word labels was achievable on the same task, but the paper gives too little detail about that system to use the comparison as an ablation of source-context matching. The reported scores cannot show whether adding a particular feature to the authors’ method would close the gap. They give a benchmark for the whole submission and a reason to keep the representation gain in proportion.

Limitations

Limits the authors identify

The authors explicitly restrict learned predictions to words known from training. Stop words are excluded, and unseen words are simply retained. The fallback matters because a new or excluded word can still be wrong in context. The systems’ own similarity calculations give the reader no reason to trust that word. It is left in place because the procedure has no usable comparison for it or because it falls under the filtering policy.

The authors also identify stop-word removal as a possible reason for weaker performance. The choice was made to avoid allowing frequent terms to dominate the context evidence, yet it also removes material the system could have used and takes some German words outside the learned decisions. Their discussion acknowledges that the cost of filtering may matter on the test data. Since the paper does not report corresponding unfiltered runs, this account remains a plausible explanation offered by the authors.

Their other explanation concerns the amount of data available for Doc2Vec. They suggest that using a larger collection could improve results and connect the suggestion to work they cite on semantic embeddings. The paper reports results with the data used in the shared task. It does not demonstrate that expanding the training set would improve this particular form of quality estimation, or that the ranking against the official baseline would change.

The conclusion also identifies tasks beyond the submitted system. The authors propose extending the approach to phrases, finding words missing from the translation and identifying source words that give rise to errors. These are materially different outputs. A phrase decision may need to account for several target words as a unit. Finding an omission requires predicting something at a position with no existing translated word to classify. Locating the source of an error requires evidence that points more precisely into the English sentence than a single context similarity.

Limits visible in the evaluation

The evidence comes from English-to-German IT material produced by statistical machine translation. Other domains may present different vocabulary or substantially different uses of the same words. Other sources of machine output may make different kinds of errors. Both changes could affect which words are covered by the learned dictionary and the distribution on which the cutoff depends. The experiment establishes performance in the reported setting and gives no direct test of transfer.

The class proportions are reported for training and development, and the results are summarized across the test set. The paper does not break down performance by how often a German word appears in the training data, how many contexts of retention it has, or the editing operation it undergoes when BAD. Such distinctions would be particularly relevant to this method. A common word with extensive historical evidence and a rare word with a sparse entry can receive scores from the same rule even though those scores come from very different quantities of evidence. A comparison by frequency or coverage would show whether the reported gain depends on one of those groups.

Exact reproduction of the cutoff analysis also faces ambiguities in the report. The method describes choosing cutoffs on development data for both representations, while the caption of the Doc2Vec plot calls its data the training set. For Doc2Vec, the threshold table also places 0.1 after 0.4, which is hard to reconcile with an ordered list of successive upper bounds. The narrative clearly identifies the selected segment and its cutoff of 0.21. It leaves uncertainty about the complete ordering of the candidates and the split behind the plotted points. Likewise, the use of gensim and the distributed Bag-of-Words variant is clear, while the paper leaves details of vector training and inference unstated.

The treatment of coverage has a related ambiguity. The paper says that stop words are removed from the estimation procedure and that excluded words are simply retained. It also says that unseen words are retained. It does not supply test results divided into scored words and defaulted words. The official figures therefore do not show how effective the similarity rule is among the words it actually judges, or how much the fallback contributes to the reported class scores. The training algorithm establishes that explicit historical contexts come from retained occurrences. It leaves the handling of a training word with no retained instance less fully specified than the handling of a fully unseen word.

The test figures are reported as point values. There is no repeated-run analysis or uncertainty estimate accompanying the representation comparison. The ordering is clear for the runs reported. It remains open how stable that ordering would be if the representation were trained again or the development split changed. The shared-task baseline’s lead is an observed property of the reported comparison, but the paper’s description likewise does not support a detailed diagnosis of why it was stronger.

Limits of the evidence available to each decision

The test-time comparison uses the draft word to select the historical context, but it does not use the neighboring German words to check that draft word’s local fit. This matters because an editor may change a word for a reason that depends on its German surroundings. An English source sentence associated with good uses can still sit behind a German sentence in which the word is grammatically unsuitable. The source-derived evidence is informative about where the word has worked, with local target-side evidence left outside the design.

The representations also pool the historical contexts. A broad entry can match the topic of a fresh source sentence even when the relevant meaning differs. Conversely, when only some of a word’s retained contexts resemble a fresh sentence, the aggregate may obscure that resemblance. Doc2Vec gives the comparison a richer representation of the texts. It still produces a single score for a pooled history against the current sentence. The authors offer no error analysis that traces a score to particular historical sentences or distinguishes these kinds of failure.

Finally, the observed label comes from the TER alignment with a particular post-edit. It is a workable supervision signal because it ties a prediction to an actual editing operation. Its interpretation has limits. An editor may replace acceptable wording while revising a passage, and a retained word alone cannot show that the translation captured every necessary part of the source. The measured outcome is agreement with the shared-task labels. The paper contains no study in which editors used the displayed flags and had their time, effort or finished translation quality measured. Productivity remains the motivation for localizing suspected errors, while the empirical result concerns classification.

What came after

The later work identified for this paper is the findings report for the same WMT 2018 quality estimation shared task. It cites the submission in the context of the event where the authors tested it. The contribution being carried into that broader account is a word-level system that uses the original English context to decide whether a German draft word is likely to survive editing. The shared-task setting gives that contribution a common task and evaluation against which it can be read alongside the other entries. Findings of the WMT 2018 Shared Task on Quality Estimation

That citation documents the submission’s place in the shared-task record. It supplies no basis for attributing a new implementation, a follow-up experiment with retained contexts or an extension to phrases and missing words to the findings report. The empirical record here remains the comparison on the English-to-German word task, where document vectors improved the authors’ source-context approach and the official baseline achieved the stronger results.

Cite

Cite as Prasenjit Basu, Santanu Pal and Sudip Kumar Naskar. 2018. Keep It or Not: Word Level Quality Estimation for Post-Editing. Proceedings of the Third Conference on Machine Translation: Shared Task Papers.

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

@inproceedings{basu2018keep,
  title = {{Keep It or Not: Word Level Quality Estimation for Post-Editing}},
  author = {Prasenjit Basu, Santanu Pal and Sudip Kumar Naskar},
  booktitle = {Proceedings of the Third Conference on Machine Translation: Shared Task Papers},
  year = {2018},
  doi = {10.18653/v1/w18-6457},
  url = {https://doi.org/10.18653/v1/w18-6457}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/basu-2018-keep-it-or-not-word/