Elamur Research

SPEDE: Probabilistic Edit Distance Metrics for MT Evaluation

Paper · 2012 · Mengqiu Wang and Christopher Manning

Summary

A machine translation can use the right words in a different order from a human reference. A scorer that compares the sentences from left to right may have to treat some of those words as missing and others as extra, even when a human reader can see how they correspond. SPEDE tackles this problem in sentence-level machine translation evaluation. It learns to score the edits that connect a reference sentence to a system translation, and it gives the scorer a way to recover matches across changes in word order.

The authors begin with insertions, deletions, and substitutions that match words, lemmas, or punctuation. Instead of relying on a single cheapest sequence of edits, SPEDE combines the weights of all the permitted sequences that complete the transformation. It learns from a quality score for each sentence pair, so training requires no human annotation of the individual edits. An extension remembers positions in a sentence while it moves ahead, returns to the skipped material, and then resumes where it left off. That memory allows phrases to align even when they appear in opposite orders. A further extension uses synonym and paraphrase resources to match expressions with different wording.

In the OpenMT08 experiments, the effect of the reordering extension depended on the source language. When trained on Arabic and Urdu and tested on Chinese-to-English translations, the basic scorer obtained a Spearman rank correlation of 59.9 with human ratings, in the paper’s reporting units. The version with reordering obtained 63.8, and the version with added linguistic features reached 65.7. On the held-out Arabic portion, the basic scorer ranked translations more like the human judges than either extension did. All of these tests compared English translations. The change across splits concerns the source languages and the translations produced from them.

The authors also trained on absolute ratings from earlier WMT data and tested whether a higher predicted score would identify the translation preferred by human judges on WMT08. With WMT07 training data, the full SPEDE scorer reached 52.4% agreement on that task. It exceeded the regressions built from individual conventional metrics on every reported training split, while the strongest combined baseline and SPEDE traded the lead across splits. The experiments show how learned edits can support both ways of evaluating translations, with the clearest benefit from reordering in the Chinese-to-English comparison.

Deep dive: SPEDE: Probabilistic Edit Distance Metrics for MT Evaluation

SPEDE learns which edits matter when scoring machine translations and tests whether accounting for word order improves agreement with human judgments. · about 33 minutes to read

The problem and its context

Judging translations through a reference

The paper takes up a practical measurement problem. An evaluation campaign may collect translations from many systems, but asking people to read and assess each output takes substantial work. An automatic metric makes comparisons easier to run and repeat. Its value depends on what its scores represent. For SPEDE, the empirical question is whether an automatic score behaves like a human judgment when both are applied to the same translation.

The experiments concern sentences. A system produces a translation, and the evaluator has a reference translation of the same source material. The reference supplies an example of how the source meaning can be expressed in the target language. The evaluator must decide how much the system output resembles that example in relevant ways. The two sentences can agree in content while differing in wording or order, so identifying those correspondences is part of the assessment.

There are two decisions a sentence-level metric can support. An evaluator might want to assign a score to a sentence on a defined scale. Alternatively, the evaluator might want to choose between two system outputs for the same source sentence. The authors treat these as separate tests. Absolute ratings can supervise a scorer that is later used to make a preference prediction, but agreement with an ordering of rated sentences and agreement with a direct human choice are measured differently.

Matching text and learning which matches matter

The paper describes early automatic metrics such as the BLEU score and NIST in terms of matching n-grams, which are sequences of neighboring tokens. Matches of this kind provide evidence that the output uses similar words and short expressions. In the authors’ account, these comparatively simple metrics agreed well enough with human assessments to make evaluation across many translation systems feasible. The paper presents SPEDE as a way to preserve that practical role while broadening the evidence a scorer can use.

A measure based on shared sequences can lose evidence when the expression changes. The related work describes several ways to recover it. WordNet synonym relations can connect individual words. Paraphrase resources can connect expressions with different forms. Syntactic analysis can supply evidence about how words relate to each other even when their arrangement in the sentence differs. The paper places these approaches alongside work on syntactic features for translation evaluation and METEOR.

Once a metric recognizes several kinds of correspondence, it must decide how much each one contributes. The authors point out that earlier metrics often tune this contribution using procedures designed for the particular metric. A separate strand of work represents the evidence as numerical features and learns their weights from human scores. The paper describes studies using linear regression or support vector regression for this purpose. Regression, in this setting, means fitting a rule that predicts a numerical quality judgment from observed evidence. A Re-examination of Machine Learning Approaches for Sentence-Level MT Evaluation is among the studies the authors discuss.

The more elaborate learned evaluators could draw on a substantial preprocessing pipeline. One comparison in SPEDE comes from work that uses the output of a textual entailment system, a system concerned with whether one text supports an inference expressed by another. The authors frame the cost of running that pipeline and the difficulty of examining a prediction based on hundreds of features as practical concerns. Their alternative puts the learned weights inside the process that aligns the sentences. An analyst can inspect an edit path and see the actual words or phrases that the path connects. The entailment-based approach is described in Robust Machine Translation Evaluation with Entailment Features.

Why the order of edits matters

Translation edit rate, or TER, gives the authors a more direct starting point. It compares an output with a reference through edits, drawing on the idea of measuring word errors by a distance between texts. Once an evaluator describes the difference between two sentences as a sequence of operations, it can make explicit what stayed, what disappeared, and what appeared. SPEDE keeps that representation and changes how the evidence in the sequence is scored.

In the comparison drawn by the authors, the order of edit types matters to SPEDE. A match immediately after another match can contribute different evidence from a match surrounded by insertions and deletions. A fixed contribution for each operation would give the same credit to the matches regardless of their neighbors. SPEDE can learn a weight that depends on the operation immediately before the current one. The authors connect their discussion of weighted edits to Fluency, Adequacy, or HTER?, the work they cite for TERplus.

There is also a distinction between the order of edit types and the order in which a procedure can visit words. Traditional edit-distance procedures advance through both sentences in order. This restriction makes it possible to reuse partial calculations. It also means that if one expression appears before a second expression in the reference, their matched counterparts must appear in that order in the output. Preserving one of two crossing correspondences forces the procedure to give up the other.

The authors distinguish their aim from the adjacent transposition available in an edit-distance algorithm they discuss. A phrase in a translation may have moved across intervening material. To preserve matches on both sides of that change in order, an edit procedure needs some memory of what it has passed over. The design problem is to give it enough memory for useful crossings while keeping the possible edits constrained enough to score efficiently.

The method, step by step

Turning a comparison into a sequence of edits

SPEDE begins with a reference sentence and a system translation. It treats the reference as the starting text and the system translation as the result that the edit sequence must produce. The direction matters. A deletion accounts for material present on the reference side. An insertion accounts for material present on the system side. A substitution advances on both sides and asserts a correspondence between the items being processed. The procedure keeps track of where it is in each sentence as the sequence proceeds.

An insertion can be understood as visiting the next token in the output without consuming a reference token. A deletion visits the next reference token without consuming an output token. A substitution visits both at once. In the basic scorer, substitution is a favorable kind of operation in the sense that it is available only when a specified match exists. Its numerical contribution, like that of other edits, comes from training. The basic operation inventory admits matching words, matching lemmas, and matching punctuation. It gives a pair of otherwise unmatched tokens a route through insertion and deletion instead of a general substitution operation.

For the experiments, the authors prepare both sides with the same tokenization procedure. Tokenization determines what counts as a unit for the edit process. They use the script associated with the Penn Treebank. They use the Porter stemmer for the forms they call lemmas. A same-lemma operation in the reported setup therefore depends on the shared form produced by that preprocessing. The operation allows a correspondence that an exact word comparison alone can miss.

An edit sequence has to account for both sentences in full. Choosing a plausible match early in the comparison leaves decisions about how to handle the remaining material. More than one sequence can satisfy these requirements. An occurrence of a repeated word, for example, can offer competing places to make a match. The scoring method carries those possibilities forward rather than making an early choice based solely on a locally available edit.

How SPEDE learns and applies an edit score

The steps in order.

How SPEDE learns and applies an edit scoreStep 1: Tokenize both sentences and derive stemmed forms1. Tokenize both sentences and derive stemmed formsStep 2: Identify edits permitted at each position2. Identify edits permitted at each positionStep 3: Allow bounded jumps in the reordering version3. Allow bounded jumps in the reordering versionStep 4: Combine weights from complete edit sequences4. Combine weights from complete edit sequencesStep 5: Normalize for the lengths of both sentences5. Normalize for the lengths of both sentencesStep 6: Fit transition weights against training judgments6. Fit transition weights against training judgmentsStep 7: Score new translations with the fitted weights7. Score new translations with the fitted weights

Recording transitions between edits

The basic scorer, called pFSM in the paper, is a probabilistic finite-state machine. A finite-state machine has a set of states and rules governing which transitions it can take. A common introduction to such a machine uses strings of words or symbols as inputs. Here the string accepted by the machine is an ordered sequence of edits. Acceptance means that applying those edits to the reference can produce the system translation. The use of weights on state transitions connects this design to the literature on probabilistic finite-state transducers.

The machine has a designated starting state and a designated stopping state. Between them, a state identifies an edit operation. The starting state can enter the edit states at a fixed unit cost, subject to the validity of the operation. From an edit state, the machine can move to another edit state when the next operation is legal at the current positions. It cannot delete a reference token after reaching the end of the reference. A matching-lemma substitution requires tokens on both sides and matching forms. Once the procedure reaches the end of both sentences, it can stop.

A change of state receives a score based on features. A feature is a test that supplies a value to the scoring rule. The paper uses binary features, which indicate whether a condition is present. In the basic design, one kind of feature identifies the current operation and another identifies the combination of the previous and current operations. A match can receive a contribution for being a match and another for following a particular operation.

The assumption that the transition features need only look at neighboring edit states is a Markov assumption. It concerns the scoring of a transition, not whether every operation is possible everywhere. The current positions and the actual tokens still determine which edits are legal. In the jump extension, remembered positions further constrain which steps are possible. This division between validity and weight is important. Increasing the weight of a word match changes the contribution of a path that contains it. The increase cannot create an exact match between different tokens.

The authors give the example of a positive weight for a word match after a word match. Such a weight favors paths containing consecutive exact matches. If the same words were aligned with intervening edits, the feature for the consecutive pair would be absent at that point. The mechanism captures continuity in shared text while letting training determine its weight. The authors compare the dependence on adjacent edit types to a bigram, a sequence with two members, applied here to the edits themselves.

Weighting a complete path

The paper’s first expression gives the probability of a particular edit path for a fixed sentence pair.

w(e | s, r) = (1 / Z) ∏ᵢ₌₁^|e| exp(θ · f(eᵢ₋₁, eᵢ, s, r))

Here, r is the reference and s is the system translation. The expression w(e | s, r) is the probability assigned to edit sequence e conditional on those sentences. The vertical bar in the argument means “given.” The symbol Z is the partition function, the total unnormalized weight for the legal paths for this pair. Its reciprocal normalizes the path weights into probabilities. The product symbol ∏ multiplies the terms indexed by i, starting at 1 and continuing through |e|, the number of operations in the sequence. The terms eᵢ₋₁ and eᵢ identify the preceding and current states at the transition being scored, with the start state providing the predecessor at entry. The function f supplies the binary feature values for the transition and the sentence pair. The vector θ contains their learned weights, and the dot denotes the sum of each feature value multiplied by its corresponding weight. The exponential function exp converts that transition score into a positive factor for the product.

A path with a legal transition at every step still has to finish the transformation. An edit history that leaves either sentence unfinished receives no probability as a complete path. Among complete paths, the product allows repeated occurrences of a feature to register repeatedly. A path containing a stretch of neighboring exact matches can receive the associated transition contribution throughout that stretch.

This expression gives a distribution over possible histories of the comparison. The authors have human scores for sentence pairs, but they have no observed path that the judges chose or followed. An edit path is therefore a hidden variable. The evaluator could identify a highest-weight path to illustrate what the machine can align. Training and scoring use the aggregate over complete paths.

Combining paths and predicting a rating

The paper defines an intermediate quantity as the logarithm of the total unnormalized weight. Write E(s, r) for the set of complete legal edits for the sentence pair.

y = log ∑ₑ ∈ E(s, r) ∏ᵢ₌₁^|e| exp(θ · f(eᵢ₋₁, eᵢ, s, r))

The scalar y is the intermediate regression value for system translation s and reference r. The function log is the logarithm. The sum ∑ visits each sequence e in the set E(s, r), with ∈ meaning membership. Within a sequence, ∏ multiplies transition factors for index i from 1 through the sequence length |e|. The exponential, the feature vector f, the weights θ, and the neighboring states eᵢ₋₁ and eᵢ have the same roles as in the path probability. The dot is again the weighted sum of active features.

The difference between this expression and the previous one is essential to the score. SPEDE combines the weights before division by the partition function. Summing the conditional probabilities over the complete paths would give a fixed total for every sentence pair. The unnormalized total can vary, and its logarithm supplies the value from which the quality score is predicted. It reflects the weights of available comparisons and the number of ways those comparisons can proceed. A best edit path can illustrate which words correspond, but the score incorporates all legal paths, including others that produce different alignments.

The number of paths can grow exponentially. The authors compute the sum with a forward-backward style dynamic program. Dynamic programming reuses work from partial calculations that arrive at the same configuration. In the basic machine, the current positions and the preceding edit state convey the information needed to continue. If different edit histories arrive at that configuration, their accumulated weight can be combined. Each subsequent legal continuation applies to that combined weight. The reordering extension must also preserve the information that distinguishes a configuration with unfinished work in a skipped span.

The log total is then adjusted for the lengths of the sentences and shifted by a learned constant.

predicted score = y / (|s| + |r|) + α

Here, y is the log total for the given pair. The quantities |s| and |r| are the token lengths of the system translation and reference, and + inside the parentheses adds them. Division by that total normalizes the score for sentence length. The learned scalar α is the amount added to the normalized value. The authors describe it as an adjustment for different scoring standards, such as the seven-point and five-point scales in the experiments. In the expression it acts as an offset, shifting predicted values by the same amount within a fitted scorer.

The length normalization matters because a longer pair generally presents more opportunities for edits and full paths. Two raw log totals obtained from sentences of different lengths need not offer the same basis for a judgment. Dividing by the combined lengths makes the quantity an overall amount relative to the text being compared. Training then establishes how that quantity relates to the ratings used as targets.

Visiting a phrase out of order

The basic machine advances in order on both sides. SPEDE’s pPDA variant extends it as a probabilistic pushdown automaton, a machine that can store information as it runs. The useful memory here consists of positions needed to finish a bounded reordering. The procedure can begin on either side of a sentence pair. Consider the version in which it jumps on the system side while the reference index continues forward through its own sentence.

The first jump moves the output index forward, leaving a span of output tokens unprocessed. The machine remembers the departure position, J_start, and the landing position, J_landing. A maximum distance parameter limits how far ahead it can go. On reaching the new position, the machine can use matching substitutions. Requiring a substitution at this stage ties the jump to an actual correspondence between the texts. It gives the jump a specific purpose in the alignment.

After at least one substitution, the machine can move the output index back to J_start. It first records the point it reached after processing the later material as J_end. Returning to the original departure point lets it handle the skipped span while the reference continues from its current position. The constraints after the return require a match before the machine can discard material from the span it has returned to process. On the system side, that means a restriction on insertion before the match. The example in the paper allows a deletion on the opposite, reference side before making the substitution.

The machine works through the skipped output region until it reaches J_landing. At that point, the forward jump to J_end is compulsory. The intervening output material has already been visited, so the saved position tells the machine where to resume. The record of the jumps is then cleared. This makes the maneuver a complete excursion with a defined beginning and end. The machine does not open another unfinished jump within that excursion.

A reader can picture two expressions whose order is reversed in the output. In an ordinary pass, aligning the first expression in the reference with the later expression in the output leaves the earlier output expression behind. The jump extension leaves that earlier material pending. Once it has aligned the first expression, it can return for the skipped output expression and match it to the second expression in the reference. The two alignments cross if drawn between lines of text. The saved positions tell the machine which material remains and which material has already been handled.

The paper illustrates the effect with a Chinese-to-English sentence pair from OpenMT08. The best basic path aligns the number 43 and the word people. In the pPDA path, a forward jump leaves a gap near 43 and moves to western. The path aligns western India and then returns to the gap. At the return, the example can delete a reference comma, while inserting 43 from the system side before a substitution is blocked. The later forward jump resumes beyond the already aligned phrase. The pPDA path keeps the earlier word correspondences and recovers additional ones.

The important distinction is between a change of order and a lack of matching content. With the basic machine, some evidence for the moved expression is lost because of the order constraint on edits. With the jump extension, the same words can become available as substitution evidence. Whether their resulting paths affect the quality score favorably depends on the fitted weights and the other paths for the sentence pair. The architecture makes the comparison possible and gives regression a way to decide its contribution.

Matching beyond exact wording

The full variant, pPDA+f, retains the jump procedure and adds substitution operations based on synonym and paraphrase resources. WordNet provides the synonym relations. The paraphrase lookup comes from TERplus. A substitution can therefore connect terms with different surface forms when the resource supplies the required relation. The move changes the set of paths the machine can use, since a position previously handled with insertions and deletions may now allow a match.

Paraphrases can also involve phrases of different lengths. The method extends matching beyond a single token on each side, using substitutions that can link one token to a longer expression and substitutions that can match bigram blocks. An operation of this kind advances by the number of tokens it consumes on each side. The underlying principle is the same as in a word substitution. A resource defines which pairs are licensed, and the feature weights determine what those operations contribute when they occur in complete paths.

Reordering and paraphrase handling address different obstacles to alignment. A phrase shift changes where in the sentence a match is available. A paraphrase changes what counts as a match at all. In the full scorer, a legal path may benefit from both kinds of flexibility. The design also leaves several explanations possible for any change in the final score. A new operation can increase the number of complete paths, alter their composition, or provide a transition feature whose learned weight changes their relative contributions.

Learning from sentence judgments

Each training example supplies a sentence pair and a target quality score. The paper discusses a human assessment score or a human-targeted edit rate such as HTER as possible supervision. The experiments under discussion use human quality ratings. For each pair, the machine computes the log total, applies length normalization, and adds the offset. Fitting chooses parameters that make the resulting predictions close to the observed targets, with a penalty on the size of the feature weights.

θ* = arg minθ {∑ᵢ [ŷᵢ − (yᵢ / (|sᵢ| + |rᵢ|) + α)]² + λ ‖θ‖₂}

The symbol θ* denotes the fitted weight vector. The operator arg minθ asks for the value of θ that minimizes the objective in braces. The sum ∑ᵢ runs over training pairs, indexed by i. The target for pair i is ŷᵢ, while yᵢ is the log total of the pair’s unnormalized path weights. The system and reference token counts are |sᵢ| and |rᵢ|. The term in parentheses is the prediction using the shared offset α, which the authors learn along with the weights. The square ² turns the signed difference between target and prediction into a non-negative error and gives large errors greater influence. The positive coefficient λ controls the contribution of the regularizer, and ‖θ‖₂ denotes the L2 norm of the weight vector.

The regularizer discourages large weights when fitting the judgments. The authors start both θ and α at 0 and use λ = 5. They discard features that occur fewer than five times in the training corpus. These choices are part of the parameter-estimation procedure. At test time, the fitted weights and offset are applied to new sentence pairs with the same path-sum and length-normalization rules.

The optimization uses a limited-memory quasi-Newton method. Such a method uses information from changes in the objective and its gradient to guide updates while keeping a limited history. The paper connects the gradient computation to that for related finite-state methods and gives the scoring expression and objective. It reports the procedure at the level needed to see how sentence judgments can train edit features even though the individual paths are unobserved.

Experiments and results

What the baselines measure

The experiments compare SPEDE both with individual established metrics and with learned combinations. BLEU, NIST, METEOR v0.7, and TER are the underlying conventional metrics. The scores used for comparison come from small linear regressions fitted for those metrics following the setup of the earlier entailment-based evaluation study. In the result labels, the suffix R identifies a regression. For example, BLEU R denotes the fitted baseline based on BLEU. Comparing against fitted versions gives those baselines access to human-score training as well.

The paper also compares three forms of combination. MT R is a regression that uses evidence from multiple conventional metrics. RTE R uses features derived from textual entailment. MT+RTE R combines the two sources. That last comparison matters for the authors’ claim about a lighter evaluation procedure. The entailment system supplies a wider range of linguistic information, while SPEDE represents evidence through transitions, matches, and permitted rearrangements of the sentence pair.

The authors follow the data and evaluation choices of the earlier regression study to make the comparison direct. They use paired bootstrap resampling for statistical significance. The pairing keeps competing predictions associated with the same evaluated material when the comparison is resampled. A higher displayed score establishes a numerical ordering on that split. The paper’s significance statements add evidence about particular comparisons, and the distinction matters when two displayed scores are close. The testing method is from Statistical Significance Tests for Machine Translation.

Predicting absolute judgments on OpenMT

The OpenMT task asks how closely a metric’s ordering of sentences follows human ratings on a seven-point scale. Higher human ratings indicate a closer rendition of the meaning expressed by the reference. Each prediction is made for a system translation against a single reference. The results use Spearman’s rank correlation, written ρ. It measures agreement in the ordering of examples. A scorer can therefore do well if it orders sentences in much the same way as people even when its predicted rating values differ from theirs. The paper displays the correlation results in the units used below.

OpenMT06 contains 1,992 English translations of Arabic newswire from 8 systems. The authors use it for development with a 2-fold design, dividing the material into the first 1,000 sentences and the last 992. OpenMT08 is reserved for evaluation after development. Its sentences also come from newswire and are translated into English. The Arabic portion has 2,769 pairs from 13 systems, the Chinese portion has 1,815 pairs from 15 systems, and the Urdu portion has 1,519 pairs from 7 systems.

For the OpenMT08 results, the authors train on two source-language portions and evaluate on the third. This is a transfer test within the same target language. A scorer evaluated on Chinese-to-English outputs, for example, has fitted its parameters on Arabic-to-English and Urdu-to-English material. The authors also report a transfer across collections in which training uses all of OpenMT08 and evaluation uses OpenMT06.

The Chinese and Urdu splits

The largest visible gain from adding jumps is on the held-out Chinese portion. The basic pFSM gives 59.9 in Spearman rank correlation, while the pPDA gives 63.8. This jump-enabled comparison uses the paper’s maximum jump distance of 5. The authors report a significant pPDA improvement over the basic scorer and over the best of the individual conventional-metric regressions on this split, METEOR R at 61.1. The full pPDA+f reaches 65.7. The combined entailment and conventional-metric baseline reaches 62.7.

Spearman rank correlation on OpenMT08 Chinese with Arabic and Urdu training

The jump-enabled scorer exceeds the basic version and gains further correlation with linguistic features.

Spearman rank correlation on OpenMT08 Chinese with Arabic and Urdu trainingMT R: 57.3MT R57.3RTE R: 58.0RTE R58.0pFSM: 59.9pFSM59.9METEOR R: 61.1METEOR R61.1MT+RTE R: 62.7MT+RTE R62.7pPDA: 63.8pPDA63.8pPDA+f (this paper): 65.7pPDA+f (this paper)65.7
The numbers
System or settingSpearman ρ as reported
MT R57.3
RTE R58.0
pFSM59.9
METEOR R61.1
MT+RTE R62.7
pPDA63.8
pPDA+f (this paper)65.7

This split helps distinguish the source of the improvement from a simple advantage in lexical resources. The pPDA in the comparison has the ability to jump but lacks the synonym and paraphrase additions of pPDA+f. METEOR R already uses WordNet synonyms. The improved correlation of the jump-enabled version therefore occurs before SPEDE adds those resources. The further increase for pPDA+f shows what happens when the lexical and phrasal extensions are fitted and evaluated together with the jump mechanism.

On held-out Urdu, with training on Arabic and Chinese, the basic pFSM reaches 54.6. The pPDA reaches 55.3, and pPDA+f reaches 57.2. The individual metric regressions range from METEOR R at 49.1 to TER R at 50.1, with BLEU R at 49.9 and NIST R at 49.5. The comparison with stronger baselines looks different. RTE R reaches 54.5 and MT+RTE R reaches 55.6. On this split the full scorer has the highest displayed result, while the basic and jump-enabled versions fall below the combined baseline.

The Urdu comparison also shows why the individual regressions and combined baselines serve different roles. Against a conventional metric fitted on its own, even the basic edit procedure has a clear advantage in the reported scores. Against a system that can draw on both kinds of supervised evidence, the pPDA+f configuration supplies the strongest result among the SPEDE variants. The size of the change from pFSM to pPDA is also smaller here than on the Chinese split, so the observed benefit of the jump mechanism varies even among the splits where its displayed score rises.

Arabic evaluation and transfer to OpenMT06

With training on Arabic excluded and evaluation on the Arabic portion of OpenMT08, the pFSM reaches 61.2. The pPDA reaches 60.4, and pPDA+f reaches 59.8. METEOR R, the strongest individual metric regression on this split, reaches 60.1. RTE R reaches 59.9, while the combined MT+RTE R baseline reaches 61.1. The full scorer’s proximity to RTE R is consistent with the authors’ report of no significant difference between those two on Arabic. The basic scorer has the highest displayed result.

Spearman rank correlation on OpenMT08 Arabic with Chinese and Urdu training

The basic edit scorer leads the comparison, while adding jumps and linguistic features lowers the displayed correlation.

Spearman rank correlation on OpenMT08 Arabic with Chinese and Urdu trainingpPDA+f: 59.8pPDA+f59.8RTE R: 59.9RTE R59.9METEOR R: 60.1METEOR R60.1pPDA: 60.4pPDA60.4MT+RTE R: 61.1MT+RTE R61.1pFSM (this paper): 61.2pFSM (this paper)61.2
The numbers
System or settingSpearman ρ as reported
pPDA+f59.8
RTE R59.9
METEOR R60.1
pPDA60.4
MT+RTE R61.1
pFSM (this paper)61.2

The same ordering of the basic and jump-enabled scorers occurs when training uses all of OpenMT08 and testing uses OpenMT06 Arabic-to-English data. The pFSM reaches 65.2, the pPDA 63.4, and the pPDA+f 64.5. For that transfer setting, MT+RTE R also reaches 65.2. TER R is the strongest individual metric regression there at 63.8. The full configuration recovers some of the correlation lost when jumps are introduced, while the basic configuration shares the highest displayed result.

This result is a different test from holding out Arabic within OpenMT08. The transfer to OpenMT06 changes the collection but includes Arabic-to-English examples during training. Both tests yield a lower displayed correlation for pPDA than pFSM. That recurring direction is part of the evidence for language-dependent effects, although the change in dataset and training composition makes the magnitude of either comparison specific to its split.

Across the held-out OpenMT08 source languages, the authors also report that pFSM and pPDA significantly outperform MT R. The latter is already trained to combine information from the traditional metrics. This comparison supports the choice to fit weights within the edit calculation itself. It does not isolate transition features from every other difference between the learned edit scorer and the combined baseline.

Predicting human preferences on WMT08

The second experiment changes the test judgment. Given two translations of the same source sentence, the task is to choose the one preferred by human judges. SPEDE first assigns an absolute score to each translation against the reference. It then predicts a preference for the translation with the higher score. The reported metric is sentence-level consistency with human preferences, expressed as accuracy. The random baseline on WMT08 is 39.8%.

The WMT collections cover outputs from over 40 systems and five source languages. French, German, and Spanish are among them. The other source languages are Czech and Hungarian. WMT06 contains 10,159 sentence pairs, WMT07 contains 5,472, and WMT08 contains 6,856. These figures describe the collections. The training material consists of portions of WMT06 and WMT07 that have absolute judgments on a five-point scale. WMT08 supplies the pairwise preferences used for the test.

The experiment asks whether a scorer learned from ratings can usefully order two candidate translations in a different form of evaluation. The training target is a numerical judgment for each system translation. The test label is a preference for one candidate over another. Because the decision compares two scores from the same fitted scorer, its success depends on their relative values for that example. The experiment does not require the absolute score to reproduce a test rating on the training scale.

Training on WMT07 yields 52.4% accuracy for pPDA+f on WMT08. The combined MT+RTE R baseline yields 51.8%, and MT R reaches 51.5%. Among the individual baselines, METEOR R gives 51.4% and TER R gives 51.0%. RTE R reaches 50.7%. The paper reports a significant advantage for pPDA+f over RTE R in this training condition.

WMT08 preference accuracy after training on WMT07 ratings

The full SPEDE scorer has the highest displayed agreement with human preferences in this training condition.

WMT08 preference accuracy after training on WMT07 ratingsTER R: 51.0TER R51.0RTE R: 50.7RTE R50.7METEOR R: 51.4METEOR R51.4MT R: 51.5MT R51.5MT+RTE R: 51.8MT+RTE R51.8pPDA+f (this paper): 52.4pPDA+f (this paper)52.4
The numbers
System or settingaccuracy %
TER R51.0
RTE R50.7
METEOR R51.4
MT R51.5
MT+RTE R51.8
pPDA+f (this paper)52.4

Training on WMT06 yields 51.6% for pPDA+f on the same WMT08 test. The RTE R result is 51.8%, and MT+RTE R reaches 52.3%. METEOR R reaches 51.4%, while MT R reaches 50.8%. With training on both WMT06 and WMT07, pPDA+f reaches 52.0%. RTE R records 51.9%, and MT+RTE R reaches 52.5%. METEOR R and MT R each reach 51.5% in that condition.

Taken across the three training conditions, the full scorer exceeds the displayed accuracies of all the individual metric regressions and of MT R. The authors describe pPDA+f and RTE R as tied in the conditions using WMT06 alone and the joint training set. The displayed values in those conditions are close rather than identical. MT+RTE R leads SPEDE with WMT06 alone and with the joint training data, while SPEDE leads it with WMT07 alone. The preference results place the full edit scorer near the stronger ensemble without establishing an advantage for either across every split.

What the ablations show

Adding memory for reordering

The closest comparison for the effect of reordering is pFSM against pPDA. Both use the basic match inventory, and the latter gives the edit procedure memory for bounded jumps. Because the training and test data are held fixed within each row of the OpenMT comparison, the results reveal how the two fitted architectures behave under the same evaluation conditions. The Chinese split provides the strongest reported evidence for the change. It moves from 59.9 for pFSM to 63.8 for pPDA, with the improvement reported as significant.

The procedure changes which edit histories exist. If a reference phrase and its system counterpart can be reached only by going ahead of an earlier output region, the basic procedure cannot retain all the relevant matches in one path. The jump procedure can represent that correspondence. The experiment tests whether this architectural difference improves agreement with human ratings across a collection. For Chinese-to-English outputs in the held-out split, it does. This is a broader observation than recovering a moved phrase in a single example, since the target of comparison is the ordering across sentences.

The Urdu split gives a smaller numerical benefit for pPDA, with 55.3 compared with 54.6 for pFSM. For Arabic, the basic scorer is ahead both in OpenMT08 and in evaluation on OpenMT06. The authors relate the Arabic and Chinese contrast to earlier findings they cite about more medium- and long-distance reordering in Chinese-to-English translations. That explanation is consistent with the direction of the comparison. The scores themselves are correlations with human ratings, with no accompanying count of reorderings in each evaluated set.

The comparison also leaves open how a gain from jumps is distributed across examples. A higher rank correlation could reflect improvements on sentences with conspicuous phrase movement, more diffuse changes across many examples, or a mixture. Because the variants fit weights under different sets of possible paths, the result includes both new paths and the consequences of fitting under the new architecture. It measures the value of adding the jump procedure to the scorer as a whole.

Adding synonyms and phrase matches

Comparing pPDA with pPDA+f tests the linguistic extensions as a group. Both variants can jump. The full variant also admits synonym and paraphrase operations, including phrase substitutions. On OpenMT08, the full variant gives the strongest SPEDE score on Urdu and Chinese, with correlations of 57.2 and 65.7 respectively. Its Arabic score is 59.8, below the pPDA score of 60.4. On OpenMT06, the richer scorer reaches 64.5, above pPDA at 63.4 and below pFSM at 65.2.

These results show how the group of additions affects the fitted scorer for each split. They leave the individual contributions of WordNet synonyms, the paraphrase table, and the longer substitutions unresolved. A single added correspondence can make several complete paths possible, and the new transition features can affect how much each path contributes. A comparison of pPDA and pPDA+f consequently combines more than one change. The results support the full set of additions most clearly for the Chinese and Urdu portions in the reported OpenMT08 conditions.

The paper’s comparison with the entailment baselines is relevant here. Those baselines have access to a wider feature inventory, including information beyond the synonym and paraphrase operations detailed for SPEDE. On Chinese, pPDA+f reaches 65.7 and RTE R reaches 58.0. On Urdu the full scorer is also ahead of RTE R and the combined baseline in displayed correlation. On held-out Arabic their scores are closer, and the authors report no significant difference between pPDA+f and RTE R. The comparisons establish where the edit-based system can be competitive with a larger feature pipeline, while leaving the value of each individual feature unanswered.

What the example adds

The illustrated Chinese-to-English pair brings the alignment mechanism into view. The best pFSM path aligns 43 and people. The best pPDA path can also align western India. The full variant’s illustrated path includes still more correspondences. The advantage of showing the paths together is that a reader can identify the concrete alignments behind the change in the set of edits. The jump sequence accounts for where the procedure temporarily leaves a gap and where it returns to complete it.

The human rating for this pair is 6.5. The pFSM predicts 3.1, the pPDA predicts 4.3, and the pPDA+f predicts 5.5. METEOR R predicts 3.2 and TER R predicts 2.8. The higher predictions across the SPEDE variants move towards the human rating on this example. That behavior is easier to interpret alongside a drawing of the correspondences than it would be from the scores alone.

The displayed alignments come from the best paths, while the predictions use the full path sum. This means the illustration has a specific explanatory role. It demonstrates that a scorer with jumps can construct a comparison unavailable to the basic machine. It does not assign a share of the score increase to a particular occurrence of western India, since other permitted paths also enter the score. The aggregate results supply evidence about the usefulness of the change across the evaluated collection.

Changing the preference training data

The WMT comparison varies the source of the training ratings for the full pPDA+f scorer while keeping WMT08 as the test set. Accuracy is 51.6% with WMT06 training, 52.4% with WMT07 training, and 52.0% with joint training. Using both sets gives a score between the two single-set results. This establishes the behavior of the reported full configuration under those training choices. Since the experiment does not report pFSM and pPDA alongside it on WMT08, it does not provide a component comparison for pairwise preference.

The role of this analysis is to test whether the practical ranking of the scorer depends heavily on choosing one year’s ratings. The full scorer stays ahead of the individual metric regressions and MT R under each reported training condition. Its ordering relative to the combined entailment baseline changes. This pattern shows that the broad comparison with the conventional metrics survives the change in training data, while the comparison at the top of the reported results is sensitive to that choice.

Limitations

Limits the authors identify

The jump mechanism handles non-nested rearrangements within a fixed maximum distance. It processes a skipped span and closes the active jump before forgetting the saved positions. The authors introduce this controlled design in the context of the general difficulty of edit distance with long-distance swaps. Their method provides a specific way to recover crossing alignments, with the distance bound used in the OpenMT comparison set to 5. A swap with dependencies beyond the permitted jump structure can still require the evaluator to represent some of its content through ordinary edits.

The paper characterizes the increase in computation from the extension as modest in practice. It gives an argument about how much jumps can increase the length of the longest path and says that swaps occur less frequently than the basic edits. Those observations concern the edit process. A table of elapsed times or resource usage would be needed to quantify the advantage over the entailment-based pipeline under shared running conditions. The comparisons in the paper primarily measure agreement with judgments.

The authors also recognize that the individual metric baselines have different resources. METEOR R uses synonym information. The TER R baseline in the comparison lacks the lemma matching added in TERplus. This matters when interpreting a gain over either one. The comparisons answer how the configured evaluators perform against each other. The tighter architectural comparison for jumps keeps the basic match operations fixed and compares the two SPEDE variants.

Limits visible in the setup

The OpenMT results measure sentence-level rank correlation, so their strongest claims concern ordering. They leave the calibration of individual scores open. A metric can order sentences similarly to the judges while consistently placing its predictions towards a different part of the rating scale. The example with a human rating of 6.5 illustrates how a predicted value can move towards the rating as features change, but a single example cannot characterize calibration over the full set.

The WMT results concern agreement with preferences on the reported WMT08 test. The absolute ratings used for training come from earlier collections. Scores on that test therefore show that the fitted scorer can transfer between forms of judgment in the tested conditions. They do not explain the sources of the remaining disagreement or how a scorer would behave under different annotation practices. In particular, the paper describes choosing the higher predicted score. It gives no separate breakdown of cases with tied predictions and their effect on the reported accuracy.

The held-out source-language design in OpenMT08 tests whether weights learned from some source languages can score output from another. The sentences the metric compares are in English throughout those experiments, and the preprocessing and lexical resources operate on the target sentences. This supports a transfer claim across the source-language portions considered. Evidence for a different target language would require evaluating the ingredients that operate on that language, including the match inventory and the resources behind it.

The single-reference setup has a further consequence. Every edit alignment expresses how a system sentence relates to the chosen reference. A good translation can depart from that reference in a way the available matches do not recognize. Adding stems, synonyms, or paraphrases widens the correspondence inventory, and bounded jumps widen the allowed ordering. Coverage still depends on what those operations can express. The design has no independent account of the source sentence meaning in the edit objective described here.

There is also a mathematical qualification to the paper’s optimization argument. The authors describe the objective as convex, appealing to the convexity of the log-sum-exp term and to squaring the residual. The squared residual in the displayed objective is not generally a convex composition of that term. As a function of the prediction, squared error decreases on the side below the target and increases on the side above it. Convexity of the inner score alone therefore does not establish the claimed global convexity. The paper reports fitted results from the limited-memory quasi-Newton procedure, while its short argument leaves a global optimum guarantee unestablished.

Finally, different levels of explanation are available for the richer variants. The descriptions of alignments show what a permitted jump or substitution can do. The experiments compare complete systems fitted with those operations. The source-language pattern is compatible with the authors’ account of reordering, but the study does not count which examples improve due to a jump or separate the gains of synonym matching from those of phrase substitution. The paper establishes performance under the tested configurations more directly than it establishes the contribution of every linguistic mechanism.

What came after

The same year’s Findings of the 2012 Workshop on Statistical Machine Translation cites SPEDE. SPEDE describes itself as a submission to the shared evaluation task at that workshop, so the connection is between a metric paper and the findings of the evaluation in which it was submitted. SPEDE explains how the scorer was constructed and gives its comparisons on OpenMT and earlier WMT data. The workshop findings are the associated account of the 2012 workshop. The citation identifies that shared-task connection without establishing a further application of the edit procedure.

Meteor Universal cites SPEDE in work directed at language-specific evaluation for any target language. That focus intersects with a specific issue in SPEDE. SPEDE learns how to weigh evidence from its edit operations, while the evidence available to those operations depends on the language of the reference and output. Its OpenMT comparisons vary the source language and keep English as the target. Meteor Universal’s stated focus widens the target-language question. Its citation establishes a connection in the evaluation literature, while the use of SPEDE’s jump machinery or regression objective is unspecified.

XMEANT also cites SPEDE and addresses semantic translation evaluation without reference translations. That goal changes the inputs available to the evaluator. SPEDE starts with the reference and system translation and scores the paths connecting them. XMEANT addresses evaluation in the absence of the reference on which those paths depend. The connection established by the citation is to the broader problem of designing automatic measures of translation quality. The citation and stated scope do not establish a direct transfer of SPEDE’s edit operations.

These works place SPEDE beside shared-task measurement, target-language coverage, and evaluation without references. The most direct documented relationship is its participation in the 2012 evaluation. The subsequent citations show that reference-based, learned edit scoring remained relevant to discussions of metrics with different coverage or input requirements.

Cite

Cite as Mengqiu Wang and Christopher Manning. 2012. SPEDE: Probabilistic Edit Distance Metrics for MT Evaluation. Proceedings of the Seventh Workshop on Statistical Machine Translation.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{wang2012spede,
  title = {{SPEDE: Probabilistic Edit Distance Metrics for MT Evaluation}},
  author = {Mengqiu Wang and Christopher Manning},
  booktitle = {Proceedings of the Seventh Workshop on Statistical Machine Translation},
  year = {2012},
  url = {https://aclanthology.org/W12-3107/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/wang-2012-spede-probabilistic-edit-distance-metrics/