Elamur Research

SHEF-NN: Translation Quality Estimation with Neural Networks

Paper · 2015 · Kashif Shah, Varvara Logacheva, Gustavo Paetzold et al.

Summary

When a machine translation arrives, a reader or editor may have no independently translated version against which to check it. Quality estimation addresses that situation by predicting how useful the output is from the material already at hand. SHEF-NN studies two versions of this problem. One asks how much editing a sentence is likely to need. The other asks which words in the translation are likely to need attention. Both are part of the practical problem of evaluating machine translation.

For sentence-level estimation, the authors use neural networks trained on ordinary text to score the wording of the source sentence and its translation. They give those scores to a regression system that learns to predict the amount of human editing from examples. On the development set, the two neural scores alone achieve a mean absolute error of 0.1474, compared with 0.1479 for the shared-task baseline. The strongest development result comes from a linear support vector regressor combining the neural scores with the full set of conventional features. On the official English–Spanish test set, this submission records a mean absolute error of 0.14 and a Spearman correlation of 0.28, compared with 0.15 and 0.13 for the baseline.

For word-level estimation, the authors represent each Spanish output word and its aligned English source word as vectors learned from text. A sequence tagger uses these representations to predict whether each output word receives a GOOD or BAD label. Training the tagger on sentences that needed substantial editing was especially important. On the official test set, the bilingual embedding system scores 38.43 on F1 for the BAD class, the task’s main metric, compared with 16.78 for the baseline. The baseline leads on GOOD-class F1 and weighted F1. The embedding system’s main gain is therefore in identifying words marked for correction. Its representations are word embeddings.

The authors also try giving the tagger an explicit similarity score for an aligned source and target word. Its effect depends on the system using it. On the official test set it improves BAD-class F1 when added to one QuEst++ configuration and slightly reduces it for the strongest embedding configuration. The experiments establish that features learned from ordinary text can help estimate editing effort and locate probable word errors. They also show how strongly the word-level result depends on which examples train the tagger and which class the evaluation emphasizes.

Deep dive: SHEF-NN: Translation Quality Estimation with Neural Networks

SHEF-NN uses neural language scores and word embeddings to estimate how much machine translation needs editing and which words need attention. · about 33 minutes to read

The problem and its context

Quality without a reference translation

Sentence-level quality estimation asks for a prediction about a translation that already exists. The prediction system receives the source sentence and the machine output. During training, it can learn from what a human editor subsequently did to that output. At prediction time, supplying the edited version would defeat the purpose. The desired score is useful precisely when the amount of editing is still unknown. In this paper, editing effort has an operational definition based on the distance between the original output and its human post-edit.

The word-level version asks for a different kind of information. A sentence score can tell an editor that a translation is likely to need work, but it gives no location for that work. A word tag can direct attention to a particular part of the output, but it gives a narrower account of the sentence as a whole. A sentence that reads smoothly may use an inappropriate translation of a source word. A sentence with several awkward choices may contain many individual words that can be retained. These are reasons to study the tasks separately even when their training examples come from the same translations and post-edits.

The distinction between a reference at prediction time and an edited version used to construct labels matters for both tasks. The authors need human post-edits to define what the supervised systems should learn. The neural feature extractors learn from text independently of those labels. The regression and tagging systems then use the labels to learn the connection between those features and editing decisions. Whenever the paper describes the word-level submission as using unsupervised features, it is describing how those features were obtained. The resulting GOOD and BAD predictions still depend on supervised training.

Why feature design was a bottleneck

The paper describes quality estimation as a feature-based prediction problem. Features aim to capture properties such as target-language fluency, the adequacy of the translation to its source, and the complexity of the material being translated. A feature may be a simple measurement of a sentence or the result of running an external linguistic tool. Some features can use information about how the translation system produced its output. Others operate on the source and translation as observable text, which makes them applicable in a black-box setting.

These families of evidence address different questions. A target-side fluency score can give a clue about whether the wording resembles usage in the language. A source-side measure can give a clue about the difficulty or unusualness of the material that had to be translated. A bilingual measure can ask whether a part of the output appears to match the corresponding part of the source. Fluency alone has limited bearing on that last question. A sentence may be well formed and still express the wrong information. Features help a supervised estimator decide how much weight to give each kind of evidence.

The authors identify two limitations in the feature engineering of their time. Developing and extracting many features takes effort, and a feature that helps on one dataset or language pair may have a different effect elsewhere. Most features also consider sentence pairs in isolation, leaving contextual evidence from other segments unused. SHEF-NN responds to the engineering problem by learning representations and scoring functions from text. Its actual experiments still score individual sentences and label words within them. The discussion of surrounding segments identifies a broader problem than the one tackled by the submitted systems.

The existing systems in the paper supply a practical setting for testing new evidence. For the sentence task, the authors take a large collection of black-box features from the QuEst framework and examine what happens when the neural scores are added. For the word task, they use QuEst++ as the basis of a separate system that receives a new cross-language similarity feature. The earlier framework provides conventional features against which the contribution can be measured. The two names refer to related work with distinct roles in the experiments. QuEst and QuEst++.

Why neural representations might help

The paper draws on earlier work that learns from the linguistic company a word keeps. In a neural approach to predicting the next word, the preceding words determine a distribution over possible continuations. If a continuation is unusual given those words, the predictor can assign it low probability. Repeating this operation across a sentence yields information about how well the wording fits patterns learned from other text. SHEF-NN uses that information as a candidate signal of translation quality, while the supervised estimator learns its actual relation to editing. The relevant earlier approach is described in A Neural Probabilistic Language Model.

For the tagging task, the reusable object is a vector for each word. Earlier work discussed by the authors learns these vectors by using a word to predict its surroundings or by using surrounding words to predict the word itself. Training on that prediction problem gives each vocabulary item a numerical representation that can encode aspects of its syntactic and semantic behavior. The hope for quality estimation is that a classifier can learn something shared by words with related patterns of use. The representations used in SHEF-NN come from the line of work discussed in Linguistic Regularities in Continuous Space Word Representations.

Cross-language comparison introduces a further problem. Learning English and Spanish vectors separately gives each language its own coordinate system. A coordinate in one space need have no direct interpretation in the other. The paper cites earlier work that uses known word correspondences to learn a linear transformation between these spaces. That work sought potential translations by looking for nearby vectors after the transformation. SHEF-NN adapts the comparison to an existing translation. It asks how similar an output word is to the source word aligned with it and supplies the answer as a feature. The earlier use is described in Exploiting Similarities among Languages for Machine Translation.

The method, step by step

From training text to predictions about edits

The two tasks share a design. The authors first learn information about words or sequences from corpora. They then apply what they learned to the English source sentences and their Spanish machine translations. A separate supervised predictor learns how these derived features relate to the edits observed in the shared-task training data. The sentence predictor outputs an estimate of editing effort. The word predictor outputs a sequence of GOOD and BAD labels.

What travels from the neural training stage to the supervised stage differs by task. For a whole sentence, the authors want a small number of measurements. They score the English sentence and the Spanish sentence separately, yielding a pair of features that can be combined with an existing feature inventory. For a word, they want a representation that preserves more detail. They supply the vector of the output word, optionally the vector of an aligned source word, and in some settings a similarity value for the pair. The workflow therefore has a shared structure even though its feature extraction and prediction stages use different algorithms.

From text corpora to sentence scores and word tags

The steps in order.

From text corpora to sentence scores and word tagsStep 1: Train language scorers and word embeddings on text1. Train language scorers and word embeddings on textStep 2: Prepare source–translation pairs and post-edit labels2. Prepare source–translation pairs and post-edit labelsStep 3: Score source and translated sentences separately3. Score source and translated sentences separatelyStep 4: Align words and assemble features for target tokens4. Align words and assemble features for target tokensStep 5: Fit sentence regressors and word sequence taggers5. Fit sentence regressors and word sequence taggersStep 6: Predict editing effort and flag likely word errors6. Predict editing effort and flag likely word errors

Scoring a sentence with its preceding context

The continuous space language model, abbreviated CSLM, predicts a word from a fixed-length history of words that precede it. At a position in a sentence, the input is an ordered list of those preceding words. The output assigns probabilities to vocabulary entries that might appear next. A word’s probability depends on the preceding wording. The same word may consequently receive different probabilities in different sentences or at different points in a sentence. This is the function of the language model.

hⱼ = (wⱼ₋ₙ₊₁, …, wⱼ₋₂, wⱼ₋₁)

Here hⱼ is the history used to predict the word at position j. Each w with a subscript is the word at the position given by that subscript. The symbol n specifies the span of the prediction, including the position being predicted. The history starts at j minus n plus one and ends immediately before j. The commas and parentheses mark an ordered sequence, and the ellipsis stands for the intervening positions. The paper explains the use of a finite word history without giving a numerical value for n in this description.

P(Wⱼ = vᵢ | hⱼ),  i ∈ [1, N]

Here P is a conditional probability, Wⱼ denotes the word to be predicted at position j, and vᵢ is vocabulary entry i. The vertical bar means that the probability is computed given the history hⱼ. The equals sign inside the expression identifies the event whose probability is being evaluated. The symbol ∈ means that index i ranges over the vocabulary entries from 1 through N, where N is the vocabulary size. Evaluating the distribution at the entry for the actual next word gives the probability the scorer assigns to that observed continuation.

At the input, the network represents each word as a one-hot vector. The element corresponding to the vocabulary entry is active and the other elements are 0. That encoding tells the network which word occurred. The learned word projection turns this vocabulary indicator into a continuous representation. The architecture has four hidden layers. The projection layer uses 320 units for each context word. The subsequent three layers each have 1024 units and take part in estimating the probabilities. The network learns its parameters by back-propagation, using the observed training text to adjust the predictions.

Computing a neural output over a large vocabulary is expensive. The implementation the authors use puts a softmax over a shortlist consisting of the 32k most frequent words. A softmax turns a set of scores into probabilities over its alternatives. For words outside the shortlist, the implementation obtains probabilities from a conventional back-off language model. Back-off lets the scorer use shorter histories when the available counts give insufficient support to a longer one. The architecture thus has a route for scoring less frequent words as well as the words in its neural shortlist. The shorter histories are instances of an n-gram.

The CSLM toolkit is used to train the neural scorers. The paper names Europarl, News-commentary and Newscrawl as the monolingual corpus sources for the language-scoring stage. The authors use Moore–Lewis data selection to choose training material for the neural scorers with respect to the task’s development data. They tune the neural scorers using a concatenation of newstest2012 and newstest2013 from the WMT translation track. This tuning is a different use of development data from selecting the regression systems on the quality-estimation development set. The corpus-selection approach comes from Intelligent Selection of Language Model Training Data.

The authors give token counts and perplexity values for the language-scoring resources. The English column lists 4.3G training tokens and 137.7k development tokens. The Spanish column lists 21.2M training tokens and 149.4k development tokens. Perplexity measures how much uncertainty a scorer leaves when predicting the observed text, with a lower value indicating that it assigns more probability to the words that actually occur. For English, the reported perplexities are 164.63 for the back-off scorer and 116.58 for the CSLM. For Spanish they are 145.49 and 87.14, respectively. These are measurements of language prediction. The later quality-estimation tests determine whether the scores help with editing predictions.

The authors apply the English scorer to source sentences and the Spanish scorer to their translations, extracting one feature for each side of the sentence pair. They produce these features on the training, development and test splits of the sentence task. This gives the regressor access to different evidence from the two languages. An unusual source expression may be harder to translate, and unusual target wording may indicate a problem in the output. Those are possible interpretations of the scores. The estimator learns its own relation between the two measurements and the edit-distance target.

Turning sentence features into an editing estimate

The sentence experiments organize their inputs around three feature collections. BL denotes the shared-task baseline features. AF denotes the full collection of 80 black-box QuEst features. CSLM denotes the source and target scores. The authors evaluate the neural scores on their own and also attach them to both existing collections. The resulting combinations have 19 features with BL and 82 with AF. Keeping these configurations separate lets the development experiments test whether the new features carry a usable signal and whether they add information to features already available.

The support vector regression implementation is from scikit-learn. Support vector regression, or SVR, learns to predict a continuous value from a feature vector. The authors consider a linear kernel, which leads to a predictor that combines the feature values linearly, and a radial basis function kernel, abbreviated RBF, which lets the relation vary nonlinearly across regions of the feature space. The parameters for these regressors are optimized with grid search, which evaluates choices from a pre-defined set of candidate parameter values.

They also use Gaussian process regression, abbreviated GP, with the GPy toolkit. A Gaussian process defines a distribution over prediction functions and specifies how predictions at different feature vectors are related. The authors follow settings similar to those of their earlier shared-task submission. Their procedure for feature selection starts by training a GP to obtain a feature ranking. They keep the top 20 features from the pool of 82 and retrain a sparse GP on the full training split. The sparse approximation uses 50 inducing points, which serve as a compact representation for the regression. The selected features are also evaluated with linear SVR, which helps distinguish the effect of selecting inputs from the effect of the final regressor. The earlier submission is SHEF-Lite.

Learning a representation for each word

For the word task, the authors train embeddings with word2vec. They choose continuous bag-of-words, or CBOW, from the two approaches described in the paper. CBOW uses the words around an occurrence to predict the word in the middle. Skip-gram reverses the direction, using the word to predict its context. The authors give speed and suitability for larger datasets as reasons for choosing CBOW. The paper tests the resulting features in quality estimation without presenting a direct comparison between the two word2vec training objectives.

CBOW gives each vocabulary item a vector learned through repeated prediction on the corpus. The surrounding words used in training include context on either side of the word being predicted. Once the embeddings have been learned, the system can look up the stored vector of a word in a quality-estimation example. The tagging features described here use that word’s learned representation. The representation captures patterns collected across training occurrences, and the sequence tagger operates on the resulting features for the words in the current translated sentence.

The authors train 500-dimensional vectors. The CBOW context window spans up to 10 words on either side of the central word. They set the sub-sampling option to 1e-05, which controls the downsampling of frequent words during training. They use negative sampling with 10 draws from a noise distribution. This training method pairs the observed prediction target with sampled alternatives, so the network learns to distinguish the observed word from those alternatives. The paper describes the embedding data by referring to the corpora listed with the language-scoring resources. The trained representations are used to extract features on the training, development and test splits of the word task.

For the simplest word input, the tagger receives the 500-dimensional vector of the target word. In the bilingual input, it also receives the 500-dimensional vector of the aligned source word. This gives it access to evidence about the source term as well as the choice made in the translation. Providing both vectors leaves room for the supervised tagger to use information from either side in ways that a single comparison value would compress. An optional similarity feature makes one particular relation between the words explicit.

Finding the source word to compare with the translation

The shared-task data did not supply the source-to-translation word links that the authors needed for the bilingual features. They train a bilingual alignment system with GIZA++ on the data used for their word2vec work and apply it to the quality-estimation pairs. The alignment assigns candidate source positions to output positions. The candidates can include more than one source position for a target word. To pick a source word for the feature, the authors retain the candidate with the highest lexical probability from alignment training. The word alignment approach draws on A Systematic Comparison of Various Statistical Alignment Models.

The alignments used here have a different job from the alignments used to create the BAD labels. The bilingual alignment connects an English source word to a Spanish machine-translated word so that the predictor can examine the pair. The label construction connects the Spanish machine output to a Spanish post-edit so that the training procedure can identify what was changed. One alignment supplies input evidence. The other helps define the answer the tagger is supposed to learn.

Selecting a single source candidate provides a consistent input format. It also places a consequential decision upstream of the tagger. If the aligner pairs a target word with an unrelated source word, the bilingual features describe that proposed pair. Even a good source link may capture only part of the evidence when a phrase is translated as a unit. The supervised sequence tagger can use the features it is given, but the paper’s feature construction gives it the selected source candidate instead of a distribution across candidates.

Putting source and target vectors into a common space

The separate English and Spanish embedding spaces work as independent features. An explicit similarity between a source and a target word requires bringing their vectors into comparable coordinates. The authors extract a bilingual dictionary using the alignment settings, drawing on parallel material from the corpora used in their setup. Paired entries from this dictionary serve as examples for learning a linear transformation. The authors fit its matrix by stochastic gradient descent, which adjusts the parameters from training examples.

z = M a

Here a is the original vector for a source-language word, M is the learned transformation matrix, and z is that word’s projected vector in the target-language space. The juxtaposition of M and a denotes matrix–vector multiplication. The equality defines the result of applying the transformation. The proposal relies on the assumption that analogous relations among words in separately trained spaces can be approximated by a linear map.

After projecting the source vector, the authors compare it with the vector of the aligned output word using cosine similarity. Cosine similarity measures how closely the vectors point in the same direction, taking their lengths into account through normalization. In the earlier translation work, similarity served to search for a candidate in the target vocabulary. Here the candidate has already been chosen by the translation system and paired with a source word by the aligner. The similarity score measures that particular pair. A high score can provide evidence for a plausible lexical correspondence, and the tagger learns how to combine it with the other inputs. The comparison is an application of semantic similarity.

Teaching the tagger where to expect errors

The word task has a substantial imbalance between labels. The authors find many sentences with few edits, including sentences that need none. A tagger trained mostly on such material can learn to predict GOOD often and score well on that class, while leaving many marked errors undetected. Training on a more error-rich sample changes the examples the tagger sees. The authors rank training sentences by HTER, the sentence-level edit score, and retain a subset from the high end of the ranking.

This selection operates on sentences. A selected sentence contributes both the words that needed edits and the words that could be kept. The method therefore leaves the target sequence intact for training, while increasing the exposure to BAD labels. The authors compare training on the full split, on the 5K highest-HTER sentences and on the 2K highest-HTER sentences. They choose the smaller subset for the official embedding submissions based on BAD-class development F1. The filter uses labels that are available during training. At prediction time the tagger is asked to label the test translations without first knowing their editing scores.

Both word-level systems are trained as conditional random field taggers. A conditional random field, or CRF, assigns scores to candidate label sequences using the observed inputs. In a linear chain, adjacent labels are related, so the decision for a word can depend on how its label fits with labels nearby. That is different from training a separate independent decision for every output position. It is also more local than a system designed to incorporate cues from adjacent sentences in a document.

SHEF-W2V, the system using word2vec features, uses pystruct’s linear-chain CRF with a structured SVM solver. The structured solver trains the system to distinguish the annotated sequence from competing sequences of labels. SHEF-QuEst++ takes the 40 features described in the earlier QuEst++ work and adds the source-to-target similarity value in its augmented configurations. It uses CRFSuite with either Adaptive Regularization of Weight Vector, abbreviated AROW, or Passive Aggressive, abbreviated PA. These are training algorithms for the tagger. A comparison between the two complete system families therefore includes differences in their features and in how the taggers are fitted.

Experiments and results

The shared English–Spanish data

The evaluations are the sentence and word tasks from the WMT15 quality-estimation shared task. The sentence-level training split contains 11, 271 English source segments with their Spanish machine translations, post-edits and edit scores. The development split has the same types of information for 1, 000 segments. The official test set comprises 1, 817 source and machine-translation pairs. A single online statistical translation system produced the outputs, and crowdsourced translators produced the post-edits. The word task uses the same underlying translation data.

The sentence target is HTER. The paper computes it using the TER tool to compare the machine output with its human post-edit. This defines the prediction target in terms of the changes needed to reach the edited output. The authors use tokenized text, ignore differences in case, and use exact matching in the edit computation. They cap the sentence scores at 1. As a consequence, HTER is a measurement defined by the post-editing and scoring procedure. A supervised sentence estimator is evaluated by how well its predictions agree with those scores.

For word labels, the authors use the TER alignments between output and post-edit to mark individual tokens as GOOD or BAD. They again tokenize the text, ignore case and require exact matches. For the word-label procedure, they disable shifts in the alignment. Replacements and insertions are the operations the paper lists as errors. The labels are therefore derived automatically from the relationship between the translation and its post-edit. They provide a repeatable training and evaluation target tied to the editing procedure.

Sentence-level metrics and development results

Mean absolute error, or MAE, averages the magnitude of each difference between a predicted HTER value and the observed one. Root mean squared error, or RMSE, squares the individual differences before averaging and then takes the square root. It places greater weight on larger errors. Spearman correlation compares the ordering induced by the predictions with the ordering of the observed scores. A system can be good at ranking sentences by expected effort while having room to improve the numerical size of its predictions. The paper evaluates both aspects.

The sentence baseline uses a support vector regressor with an RBF kernel and 17 features. On the development set, it records MAE of 0.1479, RMSE of 0.1965 and Spearman correlation of 0.1651. With the same kernel and just the two CSLM features, SHEF-SVM obtains MAE of 0.1474, RMSE of 0.1959 and Spearman correlation of 0.1911. Combining the baseline and CSLM features gives MAE of 0.1464, RMSE of 0.1950 and Spearman correlation of 0.1924. The gain from the neural scores alone is modest in the error metrics, and the ranking metric also moves in their favor.

The full 80-feature QuEst set with the RBF regressor gives development MAE of 0.1497, RMSE of 0.1944 and Spearman correlation of 0.2259. This comparison with the baseline illustrates why the authors report several metrics. The richer set gives a better ordering and lower RMSE while increasing MAE. Adding the CSLM scores to this collection under the same kernel yields MAE of 0.1452, RMSE of 0.1920 and Spearman correlation of 0.2325. With the 82-feature input held fixed and a linear kernel, the results improve to MAE of 0.1422, RMSE of 0.1889 and Spearman correlation of 0.2736. This is the strongest configuration on all three reported development metrics.

Sentence regressors on the Task 1 development set by mean absolute error

The lowest error comes from linear regression over the full feature set augmented with neural language scores.

Sentence regressors on the Task 1 development set by mean absolute errorBaseline RBF: 0.1479Baseline RBF0.1479CSLM only, RBF: 0.1474CSLM only, RBF0.1474Baseline plus CSLM, RBF: 0.1464Baseline plus CSLM, RBF0.1464Full QuEst features, RBF: 0.1497Full QuEst features, RBF0.1497Full QuEst features plus CSLM, RBF: 0.1452Full QuEst features plus CSLM, RBF0.1452Full QuEst features plus CSLM, linear (this paper): 0.1422Full QuEst features plus CSLM, linear(this paper)0.1422
The numbers
System or settingMAE
Baseline RBF0.1479
CSLM only, RBF0.1474
Baseline plus CSLM, RBF0.1464
Full QuEst features, RBF0.1497
Full QuEst features plus CSLM, RBF0.1452
Full QuEst features plus CSLM, linear (this paper)0.1422

The selected-feature systems answer a related question about feature economy. Linear SVR using the selected 20 features gives MAE of 0.1459, RMSE of 0.1896 and Spearman correlation of 0.2465 on the development set. The GP on the selected features gives MAE of 0.1493, RMSE of 0.1917 and Spearman correlation of 0.2187. Judged by RMSE, the smaller linear input comes close to the full linear system. On MAE and rank correlation the larger input retains a clearer advantage. The authors also report that both neural scoring features make the GP’s shortlist.

Sentence-level official results

The authors submit the linear SVR with all 82 features as SHEF-SVM and the GP on the selected feature set as SHEF-GP. The official table reports rounded values with the precision used by the paper. The baseline records test MAE of 0.15 and RMSE of 0.19. SHEF-SVM achieves 0.14 on MAE and 0.18 on RMSE. SHEF-GP shows 0.15 and 0.19 at the reported precision. The regression error results therefore favor the full linear submission, while the GP’s figures match the baseline at that precision.

Both submissions score 0.28 on test Spearman correlation, compared with 0.13 for the baseline. The official table also reports DeltaAvg, which is a ranking metric. Its reported values are 0.22 for the baseline, 0.51 for SHEF-SVM and 0.31 for SHEF-GP. The paper lists these official scores without detailing the calculation. The two submissions share a Spearman result, and DeltaAvg gives a higher score to the linear system. The official performance can thus be described as an improvement over the baseline in ranking for both submissions, with the linear system also improving both reported error measures.

Word-level metrics and development results

For each word label, the paper considers precision, recall and F1. For the BAD label, precision asks how often words flagged by the tagger are annotated as BAD. Recall asks how many of the words annotated as BAD the tagger flags. F1 combines precision and recall and gives a high value only when both are sufficiently high. The paper reports F1 for BAD and GOOD separately, along with W-F1, its weighted average of the class F1 scores. The main shared-task measure for this evaluation is F1 on BAD. That priority matters because GOOD is frequent, so the weighted score and the error-class score can favor different configurations.

In the development results, the baseline has BAD-class F1 of 17.07 and GOOD-class F1 of 89.07. Its W-F1 is 75.48. The word2vec tagger trained on the full split obtains BAD-class F1 of 0.35 using Spanish vectors alone and 0.0 using Spanish and aligned English vectors. The respective GOOD-class F1 values are 89.39 and 89.38. These figures illustrate the problem that motivated the filter. A system trained on the full split can achieve high GOOD-class F1 while making very little headway on the errors that the shared task gives priority to.

As the training set is restricted to higher-HTER sentences, the bilingual tagger’s BAD-class F1 reaches 22.77 with the 5, 000-sentence subset and 38.64 with the 2,000-sentence subset. The monolingual system reaches 14.82 and 35.38 on the respective subsets. Within the smaller subset, adding the similarity feature raises the monolingual tagger’s BAD-class F1 to 35.53. The analogous bilingual addition yields 38.45, below the 38.64 of the version using the two vectors alone. The development comparison identifies the bilingual feature configuration and the smaller training subset as the strongest observed combination for BAD-class F1.

Bilingual word2vec training subsets on the Task 2 development set by BAD-class F1

Training on the smaller set of high-edit sentences gives the strongest error-label score.

Bilingual word2vec training subsets on the Task 2 development set by BAD-class F1Full training split: 0.0Full training split0.0BI-5000: 22.77BI-500022.77BI-2000 (this paper): 38.64BI-2000 (this paper)38.64
The numbers
System or settingBAD-class F1
Full training split0.0
BI-500022.77
BI-2000 (this paper)38.64

With the similarity feature supplied to both QuEst++ development configurations, AROW records BAD-class F1 of 38.54, GOOD-class F1 of 75.72 and W-F1 of 68.58. PA records BAD-class F1 of 34.86, GOOD-class F1 of 24.42 and W-F1 of 26.42. The much stronger GOOD-class and weighted results for AROW accompany an advantage on the primary metric. The strongest embedding system and the QuEst++ AROW system are closer when the comparison is confined to finding the BAD labels. Their GOOD-class scores give a fuller view of the choices implied by each result.

Word-level official results

For the embedding systems, the official results use the smaller high-HTER training subset and both source and target vectors. The authors submit one configuration with those vector features and another that also includes the cosine similarity feature. On the official test set, W2V-BI achieves BAD-class F1 of 38.43. The similarity variant, W2V-Bi-SIM, achieves 38.40. The baseline achieves 16.78. The authors identify the embedding result as particularly encouraging because the input representations were learned from text without quality labels. The CRF’s use of those representations still depends on training against word-level quality labels.

The official results also include QuEst++ systems with and without the similarity score under AROW and PA. QuEst++ with AROW goes from BAD-class F1 of 37.69 without the score to 38.36 with it. The conclusion in the paper emphasizes this successful use of the new feature. Under PA, the corresponding scores are 35.16 and 34.30. Together with the embedding comparison, these results show why the reported improvement belongs to the AROW configuration. The same scalar feature can have a different effect when the other features or the training procedure change.

Official word taggers on the Task 2 test set by BAD-class F1

Bilingual word2vec features give the highest score in the table, with the augmented QuEst++ AROW system close behind.

Official word taggers on the Task 2 test set by BAD-class F1Baseline: 16.78Baseline16.78W2V-BI (this paper): 38.43W2V-BI (this paper)38.43W2V-Bi-SIM: 38.40W2V-Bi-SIM38.40QuEst++ AROW: 37.69QuEst++ AROW37.69QuEst++ AROW with similarity: 38.36QuEst++ AROW with similarity38.36QuEst++ PA: 35.16QuEst++ PA35.16QuEst++ PA with similarity: 34.30QuEst++ PA with similarity34.30
The numbers
System or settingBAD-class F1
Baseline16.78
W2V-BI (this paper)38.43
W2V-Bi-SIM38.40
QuEst++ AROW37.69
QuEst++ AROW with similarity38.36
QuEst++ PA35.16
QuEst++ PA with similarity34.30

The official GOOD-class and weighted scores change the picture. The baseline has GOOD-class F1 of 88.93 and W-F1 of 75.71, compared with 71.63 and 65.73 for W2V-BI. The embedding configuration with similarity scores 71.52 on GOOD and 65.27 on W-F1. For QuEst++ with AROW, the addition of similarity moves GOOD-class F1 from 71.11 to 67.58 and W-F1 from 64.69 to 62.07. Its improvement in finding BAD labels comes alongside decreases in both of those measures. A reader interested in using the tags to direct editing attention can see how much the system choice depends on giving errors priority.

The authors report that their submissions outperform the baselines and many other entries, with the word-embedding submission singled out in their conclusion. The official results reproduced in the paper show the baseline and Sheffield systems. Within those results, the strongest evidence is the advantage over the baseline on BAD-class F1 for the word task and the advantage on rank correlation for the sentence task. The scores on the other reported metrics make the scope of each improvement explicit.

What the ablations show

The sentence scores add information under a fixed kernel

The clearest sentence comparison asks what happens when the neural language scores are added while the RBF kernel and the base feature collection stay fixed. On the development set, each addition improves all three reported metrics. This holds when the starting collection is the short baseline set and when it is the full QuEst collection. The second comparison matters because a richer feature inventory might already capture much of the evidence in source and target language probabilities. There is still measurable room for the two scores to help.

The CSLM-only experiment asks a separate question. It tests whether the score pair is informative enough to use on its own. The two features edge past the 17-feature baseline on all three reported development measures. With the larger QuEst feature inventory in play, the interpretation depends on the metric. The CSLM-only regressor has lower MAE than the 80-feature RBF regressor, while the latter gives a better rank correlation and lower RMSE. The evidence supports the usefulness of the neural features and the value of combining them with other measurements. It gives a more qualified picture of what the pair can replace.

There is a further distinction between training a better language scorer and improving a better quality estimator. The CSLM has lower perplexity than the reported back-off scorer for each language. That establishes the language prediction comparison. The quality-estimation feature comparison adds or removes the CSLM scores. It does not substitute corresponding back-off scores under otherwise identical conditions. The paper therefore shows that these neural scores work as inputs, and leaves open how much of their benefit depends on the neural architecture specifically.

Feature selection and the choice of regressor

The comparison between linear and RBF support vector regression is easiest to interpret when both receive the full augmented set of 82 features. The linear entry leads on MAE, RMSE and Spearman correlation on the development set. The result bears on the supervised regression layer. The language features themselves still come from a nonlinear neural scoring function. A linear combination can use the resulting features effectively even when the computation that produced them was more complex.

The selected-feature comparison provides a limited check on how much of the full input is needed. The reduced linear system comes close in RMSE and gives up more ground in the other measures. Both CSLM features appear among the GP’s top 20, so the reduction keeps them. That selection result supports their value as a pair of inputs drawn from a much larger pool. The experiments do not remove the English score and Spanish score separately, which leaves their individual contributions unresolved.

The two selected-feature rows also compare the linear support vector regressor with the GP using the reduced input. Here the linear regressor is stronger on the development measures in the table. For the official submissions, the linear system and the GP differ in both regressor and input set. The government of that choice is the development evidence, but the official result does not isolate those factors. The controlled comparison on the reduced input and the end-to-end comparison on the test set answer related questions with different conditions.

Changing which sentences teach the tagger

The word-level training comparisons are motivated by the reported distribution of HTER. In their inspection of the training and development data, the authors report that 15% of sentences contain no errors. In the training split, 50% of the sentences have HTER of 0.15 or lower, and 75% have HTER of 0.28 or lower. The authors report similar distributions on the development and test splits. The paper’s plot makes clear that many sentences provide relatively little information about the BAD class even though they can be valuable examples of acceptable words.

The larger filtered set contains 5, 000 training sentences and represents 44% of the training data. The smaller set contains 2, 000 sentences and represents 18%. In the selected smaller subset, HTER spans 0.34 to 1, with a mean of 0.49 and a variance of 0.018. These figures describe the sentence-level score distribution for the filtered training set. They help explain what the tagger sees after selection. Its examples are drawn from the upper portion of a distribution dominated by translations needing fewer edits.

Within either embedding feature family, using a high-HTER subset improves development F1 on BAD compared with full-data training. The largest change is visible in the bilingual comparison, where the full-data entry has BAD-class F1 of 0.0 and the smaller-subset entry has 38.64. The improvement occurs along with lower GOOD-class F1. In the reduced-data condition the tagger is better at recovering the designated error class, while the full-data condition is better at identifying the words annotated as acceptable. The choice of metric tells the reader which behavior the shared task rewards.

The experiment changes both how many sentences are used and which sentences are used. The smaller sample supplies a more concentrated set of heavily edited translations. It also supplies fewer training sequences. A same-size sample selected at random or a full-data training run that assigned different weights to the labels would separate some of those effects, but the paper reports no such comparisons. Its evidence concerns a specific selection strategy and the resulting balance of performance between classes.

How much does the aligned source word help?

The development table allows a comparison between target-only and bilingual embeddings at each tested subset size. With 5, 000 high-HTER examples, the BAD-class score is higher with aligned source features, as it is with 2,000 examples. The full-data setting provides a counterexample to a simple claim that bilingual inputs always help. Both full-data taggers find almost none of the errors according to the primary metric, and the bilingual entry has the lower BAD-class F1. Evidence that the source vector helps is strongest under training conditions that already give the tagger enough exposure to errors.

At the smaller subset size, the bilingual vectors give higher BAD-class F1 while the monolingual vectors give higher GOOD-class F1 and weighted F1. The added information helps the criterion used to select the official submissions. The result also identifies why the paper’s main conclusion is specific to error detection. Even among the embedding systems, the feature choice that does best under that criterion does not lead on the other scores.

The paired vectors and the optional similarity score offer two different ways of exploiting the alignment. With both vectors present, the tagger can use patterns in the source and target representations independently. A cosine score adds an explicit measure of correspondence and reduces it to a single value. On the development split, that extra value slightly helps the target-only representation and slightly hurts the bilingual representation on BAD-class F1. On the official test split, the bilingual versions show the same direction of change as their development counterparts. One plausible interpretation is that the useful information in the similarity score overlaps with evidence already supplied by the paired vectors. The paper measures the effect of adding the score and leaves that explanation untested.

The similarity feature depends on how it is used

QuEst++ offers another test of the same feature. On the official test set, the AROW comparison keeps the training algorithm fixed and varies the presence of the similarity score. BAD-class F1 improves with similarity while the GOOD-class and weighted scores decline. In the parallel test comparison for PA, all three reported F1 measures decline with the added feature. AROW itself performs better than PA within each corresponding test feature condition, and it also leads in the reported development comparison with similarity included.

These results locate the contribution at the level of a trained predictor. The paper learns the same kind of cross-language score for each use, while the companion features and the algorithm govern how the score enters the labeling decision. The experiments support a benefit for one QuEst++ setting on its primary metric. They give much weaker evidence for a general benefit from making this similarity explicit. The highest official BAD-class F1 in the paper comes from using the two separately represented words without the extra score.

Limitations

Limits identified by the authors

The authors motivate their feature design by pointing out that the effect of hand-engineered features can vary across datasets and language pairs. They describe the learned features as language independent and relatively inexpensive in linguistic resources. In context, this is a claim about how the features are designed. The approach avoids the need to devise a distinct set of language-specific rules for its new scores and embeddings. The authors’ own argument about transfer makes evaluation on a new language pair a separate empirical question.

The paper also observes that quality estimation commonly overlooks evidence beyond the segment being scored. The experiments here stay within the source and translated sentence for the sentence features and within a translated sequence for the word tags. Training on corpora exposes the feature extractors to broad patterns of usage, but the experiments do not pass neighboring document segments to the estimator. Consequently, an error visible only through an inconsistency elsewhere in a text lies outside the document context modeled by these submissions.

The authors explicitly characterize the effect of the similarity feature as less clear than the effect of adding source vectors. Their development results show changes in both directions. Their positive conclusion about the feature is supported by the AROW test comparison for BAD-class F1. They also identify the abundance of lightly edited sentences as a problem for learning to detect errors. Their response is selective training and an emphasis on the BAD class, with the consequences for GOOD and weighted F1 visible in the results.

Limits that follow from the experimental setup

The evaluation concerns English–Spanish output from a single statistical translation system. A different producer of translations could make different kinds of errors or produce a different balance of good and bad tokens. The scorers, embeddings and alignment procedure can in principle be trained for other language pairs. The measured relationship between these features and editing decisions is established for the shared-task data. The paper does not test another producer or language pair to determine how that relationship transfers.

The resource requirements differ between settings. The neural sentence scores require monolingual text and the resources used for the shortlist and back-off scorer. The bilingual word features require a means of aligning the source with the output. The explicit similarity further requires bilingual correspondences from which to estimate the mapping. The paper uses sizeable corpora, a trained aligner and an automatically extracted dictionary. Its claim about limited linguistic resources is compatible with substantial requirements for text and bilingual evidence.

The sentence target is edit distance to a particular post-edit, with tokenization, exact matching, case insensitivity and a cap. These choices define what the regressor can be credited with predicting. An edit can reflect the way an editor chose to express a valid translation, and some distinctions in output are suppressed by the scoring settings. Likewise, the word-level annotations represent edits recovered by a tool under specified alignment settings. They give a reproducible operational target. The paper does not supply independent judgments of semantic adequacy or direct measurements of editor time, so the results pertain to predicting the benchmark’s edit-derived labels.

The word-level method attaches bilingual evidence to a selected source candidate, so it inherits the aligner’s decisions. The paper gives no independent accuracy measurement for the alignments and no breakdown of tagging performance by alignment reliability. If a low similarity is caused by an incorrect alignment or by a legitimate translation spread over several words, its value as an error cue will differ from the value it has for a straightforward lexical mismatch. The overall F1 scores combine those possibilities. They do not identify when the source alignment or the vector mapping is responsible for an individual success or failure.

The experiments give point estimates from the reported splits. The tables do not provide uncertainty intervals or significance tests. This matters particularly for the close word-level scores of the strongest submissions and for the small gains obtained by adding the similarity feature. W2V-BI leads W2V-Bi-SIM on BAD-class test F1 in the reported comparison, and AROW improves on that metric when similarity is added. The repeatability of those specific differences under another sample or training run remains open.

Finally, the word-level selection criterion gives priority to BAD-class F1, while a person using the labels may care about how many unnecessary alerts they receive as well as how many errors are missed. The paper’s results show changes in GOOD-class F1 and W-F1 alongside the improvements on BAD. They do not measure the downstream editing behavior of someone shown the predicted labels. At the sentence level, the comparison similarly supports claims about numerical error and ordering, without establishing how a particular editing workflow would use the scores. The paper evaluates prediction against edits already made, which sets the scope of the practical conclusions.

What came after

The workshop findings paper places SHEF-NN in the shared evaluation that gave its comparisons meaning. The common task separates predicting overall editing effort from identifying erroneous output words, and supplies the baselines and official evaluation against which the Sheffield submissions are compared. The findings paper cites SHEF-NN in that workshop context. Its connection is through the shared evaluation of these approaches. There is no documented architectural extension to attribute to it. Findings of the 2015 Workshop on Statistical Machine Translation.

MARMOT cites SHEF-NN from a toolkit project focused on word-level translation quality estimation. Its scope corresponds to the branch of SHEF-NN that turns features of a translation and its source into judgments about individual output words. In SHEF-NN, that branch was an experimental system within a shared task. MARMOT’s documented contribution is a toolkit for the word-level task. The citation establishes the connection, while the toolkit’s scope alone leaves open whether it adopts SHEF-NN’s exact embedding features, its HTER-based training filter, or its tagging configuration. MARMOT: A Toolkit for Translation Quality Estimation at the Word Level.

Cite

Cite as Kashif Shah, Varvara Logacheva, Gustavo Paetzold, Frederic Blain, Daniel Beck, Fethi Bougares and Lucia Specia. 2015. SHEF-NN: Translation Quality Estimation with Neural Networks. Proceedings of the Tenth Workshop on Statistical Machine Translation.

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

@inproceedings{shah2015shef,
  title = {{SHEF-NN: Translation Quality Estimation with Neural Networks}},
  author = {Kashif Shah, Varvara Logacheva, Gustavo Paetzold, Frederic Blain, Daniel Beck, Fethi Bougares and Lucia Specia},
  booktitle = {Proceedings of the Tenth Workshop on Statistical Machine Translation},
  year = {2015},
  doi = {10.18653/v1/w15-3041},
  url = {https://doi.org/10.18653/v1/w15-3041}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/shah-2015-shef-nn-translation-quality-estimation/