Elamur Research

Tree Kernels for Machine Translation Quality Estimation

Paper · 2012 · Christian Hardmeier, Joakim Nivre and Jörg Tiedemann

Summary

A machine translation system can produce a sentence without telling its reader how much confidence to place in it. Quality estimation addresses that second problem. It uses the original sentence, the proposed translation, and information available from the translation system to predict how a human would rate the result. The WMT 2012 shared task asked participants to do this for translations from English into Spanish on a 1–5 scale. It also asked them to rank the translations by quality. Both outputs came from the same underlying question about machine translation: how much can an estimator infer about a particular result before a person judges it?

The authors tested whether the grammatical structure of the sentences could help. They represented the English source with a phrase structure tree and a dependency tree, and the Spanish translation with a dependency tree. A tree kernel measures how much two trees have in common by comparing the fragments they contain. This gives the estimator access to recurring configurations of words, grammatical categories, and relations without requiring the authors to specify each configuration in advance. The estimator also used explicit measurements such as sentence length, vocabulary coverage, and word alignment. Support vector regression combined the evidence to predict a score, and sorting the scores produced the ranking.

The paper compares the shared task’s 17 explicit features with an expanded set of 99, with and without tree kernels. On the 422-sentence test set, the authors’ implementation using the baseline features alone achieved a Spearman rank correlation of 0.55. Adding the tree kernels to those features raised it to 0.61 in the submitted UU bltk system, which also achieved the highest test DeltaAvg in the paper’s table, 0.58. UU best, the submission that combined the expanded features with the trees, led the training-set cross-validation comparisons and achieved a test Spearman correlation of 0.62. The expanded system’s cross-validation advantage over the smaller tree-augmented system did not carry across the test metrics.

The results support using tree kernels early in the design of a quality estimator. The trees helped when the starting point was a modest set of explicit features, while the estimator using trees alone was much weaker in cross-validation. The authors also found that the gains from adding trees and from designing more explicit features did not reliably add up. The experiment thus offers evidence for a practical way to bring syntax into quality estimation and shows why its value has to be measured alongside the information the estimator already has.

Deep dive: Tree Kernels for Machine Translation Quality Estimation

How tree kernels use sentence structure to estimate translation quality, and what the WMT 2012 results show about combining them with explicit features. · about 31 minutes to read

The problem and its context

A score for a translation that already exists

In the shared task, the translation system had already done its work by the time the quality estimator received an example. The example contained a source sentence, a proposed Spanish translation, and information from the system that generated it. The human rating supplied with a training example was the value the estimator had to learn to predict. At test time, the estimator had to produce its own score for each sentence and use those scores to order the translations. The workshop findings describe the shared task that supplied this setting. WMT 2012 workshop findings

A numerical estimate and a ranking answer related questions. A score is a prediction on the human rating scale. A ranking identifies which translations should appear above others. An estimator can put sentences in a useful order while consistently placing their scores too high or too low. It can also be close to the assigned scores on average while reversing the order of some sentences with nearby ratings. The authors made score prediction their primary task and obtained the ranking by sorting the predicted scores. The workshop evaluation consequently let them inspect different consequences of the same design.

The evidence available to the estimator fell into several categories. The source sentence could give clues about what the translation system had been asked to handle. The target sentence could reveal an unusual form or an unexpected correspondence with the source. Diagnostic information from the translation system could suggest that some words had few available translations or that parts of the sentence were poorly aligned. Each clue has an incomplete connection to the human judgment. A sentence can contain familiar words and still convey the wrong meaning, and an unusual source sentence can receive a good translation. The regression problem is to learn how such evidence relates to scores across examples.

The setup also makes a distinction between human judgments and translation-system information. The judgments provide the training target and the basis of the evaluation. At prediction time, the useful inputs are the two sentences and the available diagnostics. The system therefore estimates quality without consulting a reference translation for the test sentence. Its score belongs to a particular source–output pair. A score for the Spanish sentence in isolation would leave out the source-side difficulty and the relationship between what was requested and what was produced.

What feature design already offered

The organizers made a set of 17 baseline features available. A feature in this setup is a measurable property that the learning algorithm can use when comparing examples. A feature might report the number of words in a sentence or express how often a source pattern occurs in the translation system’s training corpus. Each property becomes a named numerical input. The approach gives a designer a direct way to include an observation believed to matter for quality, and the shared feature set gives participants a common starting point.

The paper traces much of its expanded inventory to Hardmeier’s earlier quality prediction work. Many of those measurements, in turn, followed the approach described by Specia and colleagues. They draw on properties of the source text, the translation, and the resources used in producing it. The authors brought over measurements that fit the workshop material, left out some designed for film subtitles, and included some that had been absent from the earlier study. The resulting inventory reflects an existing line of work in which researchers specified candidate indicators and learned how to use them.

A fixed feature inventory is easy to describe at the level of individual measurements. Number of words, vocabulary coverage, and proportions of different word alignments are all quantities a reader can interpret. Their design also requires decisions about which distinctions to count. A punctuation feature might register a difference between the source and translation while overlooking the grammatical structure around the punctuation. Sentence length describes the size of an input while leaving open how its words are grouped. A designer can add increasingly specific measurements, but the possible configurations in sentences quickly exceed the handful of distinctions a simple inventory was built to record.

The shared task brought this issue into a concrete experiment. The authors had an existing collection of measurements and a smaller organizer baseline. They could extend the baseline with the larger collection, supply syntactic information through a tree kernel, or combine both. These are distinct ways of deciding which evidence the learner can access. One specifies another set of measurable properties. The other specifies a representation and which fragments of that representation count as matches.

Why compare grammatical structures?

The authors’ starting intuition was that some configurations in a source sentence may be difficult for the translation system to handle, while some configurations in the output may be associated with poor translations. Parsing gives the learner a structured description in which such patterns can recur. A constituency parse groups words into phrases and larger units. A dependency parse represents grammatical relationships between words. The same sentence can therefore supply evidence about phrase organization and evidence about the words that govern or depend on other words.

The paper builds on earlier work by Hardmeier that already applied syntactic tree kernels to quality prediction. It also draws on prior methods for comparing trees and representing dependencies in a form suitable for those comparisons. Its question is how these techniques work as part of a shared-task system whose other evidence is already fairly rich. A useful comparison requires keeping track of where the syntax enters, which other features accompany it, and how both sets of inputs influence the quality prediction.

Tree fragments let the authors consider a larger range of structural patterns than a short list of grammar counts would capture. A pattern can be local, such as a category and its immediate children, or include detail below that level. A dependency fragment can include selected dependents. The matching procedure still has a design of its own. The parse representation, the node labels, and the rules governing complete or partial child groups determine what kinds of similarity the learner can see. The experiment delegates the use of these patterns to the learning algorithm while retaining explicit decisions about how the patterns are formed.

The method, step by step

From a sentence pair to a prediction

The starting unit is a source sentence paired with its machine translation. The training examples also carry human quality ratings. For each pair, the system prepares a vector of explicit features and, in the variants that use syntax, a collection of parse trees. During learning, it uses similarities between examples to associate these inputs with the human scores. For a test example, the same kinds of measurements and trees make it possible to compare the new pair with examples that help determine the regression prediction.

From a sentence pair to a quality estimate

The steps in order.

From a sentence pair to a quality estimateStep 1: Collect the source, translation, and available diagnostics1. Collect the source, translation, and available diagnosticsStep 2: Extract and scale the explicit features2. Extract and scale the explicit featuresStep 3: Parse the source and translated sentences3. Parse the source and translated sentencesStep 4: Encode dependency relations as labeled tree nodes4. Encode dependency relations as labeled tree nodesStep 5: Combine explicit and syntactic similarities5. Combine explicit and syntactic similaritiesStep 6: Train support vector regression on human scores6. Train support vector regression on human scoresStep 7: Clip predicted scores and rank the translations7. Clip predicted scores and rank the translations

The diagram follows the variants that combine both kinds of evidence. The explicit-only variants omit the syntactic comparisons, and the tree-only variant uses the syntactic comparisons on their own. In all cases, the learning target is the human rating. None of the variants requires a separate human annotation identifying the syntactic construction that caused a translation problem.

What goes into the explicit measurements

Both workshop submissions included the complete organizer baseline of 17 features. UU best added an inventory of 82 features, bringing its explicit representation to 99. The additions overlap with the baseline in places. The authors kept the overlap and left the handling of redundant measurements to the learner. The size of the inventory therefore describes how many inputs were made available, while some of those inputs capture related evidence.

Length and vocabulary provide a starting point. Counts of words and ratios of source to target length give the estimator information about the scale of the input and output. A type–token ratio relates the diversity of word forms to the number of word occurrences. The authors include type–token measurements for both sides. These quantities can distinguish examples with similar lengths but different levels of repetition. They are also compressions of the sentence: very different texts can have the same length and vocabulary ratio.

Other measurements classify tokens by visible patterns. The inventory includes numbers, parentheses, several kinds of punctuation, quotations, apostrophe-s tokens, and alphabetic tokens grouped by length. For the two alphabetic length categories, short means ≤ 3 letters and long means ≥ 4 letters. The point of encoding these patterns as quantities is that the learner can use them alongside the more general length measurements. A difference in the presence or frequency of such tokens is evidence the learner can evaluate against the ratings. The paper gives no rule under which a particular difference automatically counts as a translation error.

Where a measurement could be defined on both sides, the authors used source and target values and added a squared difference between them. The same principle can accompany several kinds of measurements. A source count and a target count preserve the direction and magnitude of each observation. A squared difference adds a direct measure of how far apart the two values are. In symbols, the operation described by the paper is:

D = (s − t)²

Here s is the source-side value of a feature, t is the corresponding target-side value, and D is the resulting difference feature. The minus sign forms the difference, the parentheses group it, and the superscript ² squares it. A source excess and a target excess of equal size make the same contribution to D. The side-specific inputs still distinguish which sentence had the larger value.

The inventory also uses language model scores for the source and target. The paper lists scores, their logarithmic forms, and versions adjusted for sentence length. Length adjustment gives the learner a version of the evidence that accounts for how long a sentence is, alongside the original scores. Separate measurements count words outside the available vocabulary and express their share of the sentence. The authors also introduced a flag for outputs whose alphabetic token count exceeds three times the input’s count. This indicator marks a situation the designers chose to represent directly, while simpler length features are available across the full range of sentence pairs.

Source-side n-gram features measure how familiar pieces of the source are in the training corpus used by the translation system. An n-gram is a contiguous sequence of tokens of a specified length. The inventory covers 1-, 2-, 3- and 4-grams. For each length, it measures the percentage found in the source portion of that corpus. It also measures the shares in the corpus frequency quartiles. Coverage and frequency provide different information. Coverage concerns whether the sequence appears. A frequency group gives a further indication of how common an observed sequence is in the corpus.

Word alignment adds evidence about how tokens on the two sides were connected during translation. Some words are unaligned, while others appear in correspondences with different numbers of tokens on each side. The features count proportions associated with patterns including 1 : 1, 1 : n, n : 1 and m : n. Here the letters denote a variable number of words. The learner can use the prevalence of different correspondence patterns while allowing for the fact that languages may express related content using different numbers of words. The alignment proportions themselves give no human judgment about the appropriateness of a particular correspondence.

The authors also included an average count of available translations per word. They provided an unweighted version and versions weighted by word frequency or its reciprocal. A frequency weight changes how strongly a common source word contributes to the sentence-level quantity, whereas a reciprocal weight gives relatively more influence to less frequent ones. The explicit features include translation entropy as well. Based on lexical weights from the translation system, this measurement represents how dispersed the alternatives are for input words. It is available cumulatively over the sentence and as an average per word. A count of alternatives and a measure of their dispersion describe different properties of the translation choices.

These groups illustrate why overlapping information can arise. A rare word can affect vocabulary coverage, the familiarity of a longer sequence, and a weighted count of translation alternatives. A very long output may influence several length-related measurements at once. The authors applied scaling so the explicit features ranged from 0 to 1 over the training set. Those bounds describe the values used to fit the system. The paper separately describes the clipping of the final predicted quality score, which occurs after regression and uses the rating scale rather than the feature scale.

Preparing the trees

The English source was parsed in two ways. The constituency representation records phrase structure. For example, the phrase-tree illustrations use VP for a verb phrase and NP for a noun phrase. A tree can show a verb and a noun phrase as children of a larger phrase, with further detail under the noun phrase. The authors obtained the English constituency trees from the Stanford parser using the resources bundled with it. Accurate Unlexicalized Parsing

The second representation used dependency parsing. In a dependency parse, a grammatical relation connects a dependent word to another word in the sentence. The authors used MaltParser for the English and Spanish trees. They first supplied part-of-speech tags, which give words grammatical category labels. HunPOS produced them for English and SVMTool for Spanish, using resources from the OPUS project. The availability of suitable parsing resources led the authors to use dependency trees alone on the Spanish side. SVMTool

Raw dependency output and constituency output organize labels differently. A dependency relation typically belongs to an edge connecting two words. The tree kernel implementation expected a tree in which the labels were on the nodes and the edges were unlabelled. The authors followed Johansson and Moschitti’s representation to make those formats compatible. It puts the part-of-speech tags, dependency relations, and words into sequences of child nodes. The relation label can then take part in fragment matching as a node label. The paper illustrates the transformation with a dependency fragment involving the words Nicole ’s dad.

This conversion is consequential for the similarities the estimator can use. A fragment is drawn from the converted representation. Its structure can express a relation among category, relation, and word labels because these have been placed in the tree itself. The design preserves access to those kinds of information through the same basic operation used for constituency trees: compare candidate fragments for what they share. It also means the learner sees the parser’s analysis in a particular encoding, with the organization imposed by that conversion.

The authors used the parsers as supplied. They anticipated that malformed machine translation output might reduce parsing accuracy and did not add a procedure to compensate. In this experiment, the Spanish tree is therefore the structure assigned to the actual proposed translation. That is the tree compared at prediction time, whether it reflects a straightforward sentence, a translation problem, or a parsing difficulty.

What the kernels compare

The kernel for explicit features compares vectors of numerical measurements. The kernel for trees compares structures. Its intuition is that trees are similar when they contain shared fragments. Each possible fragment can be thought of as a dimension of an implicit feature space. A tree provides evidence for the fragments it contains, and the kernel computes a similarity using common substructures without requiring the learner to enumerate the entire space beforehand. The paper describes that space as infinite-dimensional because possible tree fragments are unrestricted in overall size.

The English constituency comparisons use the Subset Tree Kernel. A valid fragment in this kernel contains more than one node. If a fragment includes a child of a node, it includes that child’s siblings too. It can stop expanding further down at selected nodes, so the fragment need not contain everything below its root. This combination preserves a complete local production wherever the fragment expands a node. A production describes how a category is formed from its immediate children.

Consider the verb phrase in the paper’s diagram built around brought and the noun phrase containing a cat. A fragment can preserve the verb and noun phrase at the level where the verb phrase expands, with the noun phrase represented by its category label. It can also retain more of the detail inside the noun phrase. At that level, the rule keeps the immediate children together when it expands the noun phrase. A structure that retained only the verb child while dropping its noun-phrase sibling would fail the subset condition at the verb phrase. This is how the kernel distinguishes a partial description of a whole local expansion from an incomplete set of children within that expansion.

The English and Spanish dependency comparisons use the Partial Tree Kernel. It permits fragments containing selected children of a node. A fragment can therefore express a configuration involving some of a word’s dependents and recur in another tree with additional dependents. For the authors, this flexibility fit dependency structure because a set of dependents does not have the same role as the complete right-hand side of a constituency production. The two kernel choices encode different criteria for which recurring configurations are worth making available.

The tree comparison is made between corresponding representations across examples. An English source constituency tree is compared with another English source constituency tree. The English dependency tree and the Spanish dependency tree each have their own comparisons. Thus the estimator can learn that certain source structures are associated with particular scores or that certain output structures are associated with particular scores. The tree kernels provide these signals through same-language similarities. Whether the Spanish syntax preserves the English syntax at a particular point is outside the direct comparison these kernels compute.

A shared fragment also has no built-in positive or negative interpretation. A structure might be common in well-rated outputs, occur more often in weak outputs, or have little value for the task. Support vector regression uses the human scores and the similarities between examples to decide how the training examples contribute to a prediction. The paper describes the important dimensions of the implicit space as being selected in effect through the choice and weighting of support vectors. This is a way of learning from fragments without producing an explicit inventory of error patterns.

Combining the evidence and fitting the regressor

For the explicit vectors, the authors first tried a Gaussian radial basis function kernel, often abbreviated RBF. It has a parameter γ that controls how similarity changes with distance between feature vectors. They tuned it together with the support vector parameter C. They then tried a polynomial kernel and chose it for the final submissions after finding a marginal advantage. The polynomial degree d took the place of γ in the final parameter search. Degree controls the polynomial used in computing the similarity from the explicit feature vectors.

The paper describes the combination of kernels in words. Its additive construction can be written as follows:

K(p, q) = E(p, q) + T × [S(p, q) + A(p, q) + B(p, q)]

Here p and q are two source–translation examples, and K(p, q) is their combined similarity. E(p, q) is the explicit feature kernel. S(p, q) is the English constituency comparison, A(p, q) is the English dependency comparison, and B(p, q) is the Spanish dependency comparison. The parentheses enclose the arguments to each kernel. The plus signs add the similarities. The brackets group the tree comparisons, and × applies the common tree weight T to their sum. The single weight governs the tree terms together. The authors did not fit a separate coefficient for each representation.

In this description, an example contributes whichever representations the experiment enables. The explicit-only variants have a tree weight of 0. The tree-only condition evaluates the structural evidence in the absence of the explicit feature kernel. The paper reports a weight setting for the combined variants. That setting belongs to the numerical kernel combination, so its size alone gives no direct percentage of how much the trees contribute to a final prediction.

The regression was implemented with SVMlight and its tree kernel extensions. The authors jointly searched over C, d, and the tree weight in the final combined setup. C governs the tradeoff between fitting the training scores and the margin preference of support vector learning. A candidate setting specifies the values together, so the usefulness of a tree weight is evaluated in combination with the other choices. The authors left the remaining settings at their defaults. The procedure used 5-fold cross-validation over the training set, repeatedly fitting on part of that set and evaluating on the held-out portion. For the test run, the authors retrained with the complete training set using the settings they had found.

The regressor can output a value outside the scale accepted by the task. The paper describes a final clipping operation, which can be expressed as:

ŷ = min(5, max(1, r))

Here r is the score before clipping and ŷ is the score returned on the task’s scale. max takes the larger of its two arguments and supplies the lower bound, 1. min takes the smaller of its two arguments and supplies the upper bound, 5. The parentheses give each function its arguments, and the commas separate them. Values within the range pass through unchanged. The authors produced the submission ranking from the regression scores and broke ties randomly. This final step allowed a system trained for a numerical prediction to provide the ordered list the workshop also required.

Experiments and results

Data and conditions

The training set contained 1832 sentences drawn from earlier WMT translation test sets. A phrase-based statistical translation system supplied the Spanish translations of the English inputs. The organizers supplied information about that system and diagnostic output from producing the translations, as well as the human quality ratings. The test set contained 422 sentences rated on the same 1–5 scale. The experiment thus tested whether patterns learned through the training examples would predict quality for the held-out translation pairs in the shared task.

The organizers’ reference system and the authors’ baseline-only variant have distinct roles. The reference system was supplied by the shared task. Variant (d) is the authors’ implementation using the 17 baseline features, a polynomial kernel, and their own parameter choices. The paper reports that (d) did a little worse than the reference system and suggests that the organizer’s kernel and settings may have been better suited to those inputs. The paper compares the experimental variants against (d) in its results table. That keeps the internal comparison within the authors’ implementation, while the organizer’s result gives context for the baseline.

UU bltk is the submission with the baseline features and tree kernels. UU best is the submission with the expanded explicit set and tree kernels. The authors included a second parameter setting for each of these feature combinations. Variant (b) uses the same kinds of evidence as UU bltk, and variant (a) uses the same kinds as UU best. The remaining comparisons are (c), which uses the expanded explicit features alone, and (e), which uses the tree kernels alone. Together, these conditions allow comparisons of evidence sources and show how some outcomes vary across settings within a feature combination.

Reading the measures

DeltaAvg and Spearman rank correlation evaluate the resulting order. Higher scores indicate better ranking by the respective measures. Spearman correlation, shown as ρ in the paper, measures how closely the order of the predictions tracks the order of the human ratings. DeltaAvg is the other ranking measure named in the results table. The paper reports its values without specifying its calculation. It is important to keep the two columns distinct because they give different answers about which submission did best on the test set.

The two other measures concern the numerical scores. MAE reflects the average absolute size of prediction errors. RMS, the root mean square error, averages squared errors before taking the square root and accordingly gives larger mistakes more influence. Lower values are better for both. These measures evaluate the predicted rating on its original scale. The rank metrics can respond to changes in order even when the predicted scores move only slightly, and the error metrics can respond to changes in score magnitude even when the order stays the same.

The paper gives results for cross-validation on the training set and for the held-out test set. Cross-validation served the choice of settings and gives a view of how candidate configurations performed within the training data. The test set records the outcome of applying the retrained estimator to separate examples. The table displays cross-validation scores with greater decimal precision than test scores. Comparisons of close test values should be read at the precision the paper reports.

Cross-validation favors the combined expanded system

UU best had the strongest reported cross-validation result on each of the measures. It achieved DeltaAvg of 0.506, Spearman correlation of 0.566, MAE of 0.550, and RMS of 0.692. The expanded explicit-only variant (c) achieved 0.492 on DeltaAvg, 0.560 on Spearman, 0.554 on MAE, and 0.700 on RMS. The combined variant therefore led its explicit-only counterpart across the reported cross-validation measures. The other expanded combination, (a), also did well in cross-validation, with DeltaAvg of 0.502 and Spearman correlation of 0.564.

WMT 2012 training cross-validation, mean absolute error by system

The submitted expanded system with tree kernels has the lowest error in cross-validation.

WMT 2012 training cross-validation, mean absolute error by systemTrees alone (e): 0.632Trees alone (e)0.632Baseline explicit features (d): 0.598Baseline explicit features (d)0.598Expanded explicit features (c): 0.554Expanded explicit features (c)0.554Baseline features and trees (b): 0.568Baseline features and trees (b)0.568UU bltk: 0.566UU bltk0.566Expanded features and trees (a): 0.552Expanded features and trees (a)0.552UU best (this paper): 0.550UU best (this paper)0.550
The numbers
System or settingMAE
Trees alone (e)0.632
Baseline explicit features (d)0.598
Expanded explicit features (c)0.554
Baseline features and trees (b)0.568
UU bltk0.566
Expanded features and trees (a)0.552
UU best (this paper)0.550

The baseline-sized combination also improved on its explicit-only counterpart. In cross-validation, UU bltk had DeltaAvg of 0.466, Spearman correlation of 0.534, MAE of 0.566, and RMS of 0.712. Variant (d) had 0.422 on DeltaAvg, 0.466 on Spearman, 0.598 on MAE, and 0.748 on RMS. The direction of the change is consistent across the ranking and error measures. The expanded explicit-only variant also surpassed (d) on each measure, and its reported cross-validation scores were stronger than those of UU bltk.

The trees-alone variant (e) had the weakest cross-validation results in the table. Its DeltaAvg was 0.364, Spearman correlation was 0.392, MAE was 0.632, and RMS was 0.782. This condition matters because the tree kernel can represent many possible structures. In these data, access to that large set of implicit features did not yield an estimator as effective as the systems with the explicit numerical inputs. The improvement in the combined conditions concerns what the structural evidence can add alongside measurements that already carry information about translation quality.

The test results depend on the metric

On the test set, UU bltk achieved the highest DeltaAvg in the table, 0.58. The other baseline-and-trees variant (b) reached 0.57. UU best, its alternative (a), and the expanded explicit-only variant (c) each had a reported DeltaAvg of 0.56. This ranking measure favors the two combinations built from the smaller explicit inventory, at the precision available in the table.

WMT 2012 test set, DeltaAvg by system

The submission combining baseline features with trees leads this ranking comparison.

WMT 2012 test set, DeltaAvg by systemTrees alone (e): 0.51Trees alone (e)0.51Baseline explicit features (d): 0.52Baseline explicit features (d)0.52Expanded explicit features (c): 0.56Expanded explicit features (c)0.56Expanded features and trees (a): 0.56Expanded features and trees (a)0.56UU best: 0.56UU best0.56Baseline features and trees (b): 0.57Baseline features and trees (b)0.57UU bltk (this paper): 0.58UU bltk (this paper)0.58
The numbers
System or settingDeltaAvg
Trees alone (e)0.51
Baseline explicit features (d)0.52
Expanded explicit features (c)0.56
Expanded features and trees (a)0.56
UU best0.56
Baseline features and trees (b)0.57
UU bltk (this paper)0.58

Spearman gives UU best the leading test value, 0.62. UU bltk, (a), and (b) each report 0.61. The expanded explicit-only variant scored 0.59, the baseline explicit-only variant scored 0.55, and the trees-only variant scored 0.51. This is evidence that the tree-augmented systems can improve agreement with human ranks in this setting. It also shows why the difference between UU best and UU bltk depends on how the ranking is measured. The submission with the expanded feature set leads on Spearman, while the submission with baseline features leads on DeltaAvg.

The strongest numerical score prediction came from (a) in the test table. Its MAE was 0.63 and its RMS was 0.78. UU best and UU bltk both had MAE of 0.64 and RMS of 0.79. The expanded explicit-only variant had MAE of 0.65 and RMS of 0.80. The baseline explicit-only variant had MAE of 0.70 and RMS of 0.83. A system’s rank in the score-error columns thus depends on its calibration to the human ratings as well as on the structural or explicit information it uses.

WMT 2012 test set, mean absolute error by system

The alternative setting for the expanded features and trees gives the smallest reported average error.

WMT 2012 test set, mean absolute error by systemTrees alone (e): 0.70Trees alone (e)0.70Baseline explicit features (d): 0.70Baseline explicit features (d)0.70Expanded explicit features (c): 0.65Expanded explicit features (c)0.65Baseline features and trees (b): 0.65Baseline features and trees (b)0.65UU bltk: 0.64UU bltk0.64UU best: 0.64UU best0.64Expanded features and trees (a) (this paper): 0.63Expanded features and trees (a) (thispaper)0.63
The numbers
System or settingMAE
Trees alone (e)0.70
Baseline explicit features (d)0.70
Expanded explicit features (c)0.65
Baseline features and trees (b)0.65
UU bltk0.64
UU best0.64
Expanded features and trees (a) (this paper)0.63

The held-out results give a clearer advantage to expanding the baseline in either of the tested ways than to combining all the evidence in one submission. Variant (c) improves on (d) across the test measures. UU bltk also improves on (d) across the test measures. UU best’s cross-validation lead over UU bltk becomes a mixed test comparison: they tie at the reported precision on both error measures, and the ranking measures favor different submissions. The authors describe their submissions as outperformed by only one competing group. That contextual result concerns the shared task, while the table explains which internal configurations yielded the improvements.

What the ablations show

What happens when the explicit inventory grows

Variants (c) and (d) compare the two explicit inventories without syntax. Both use a tree weight of 0, C of 8, and a polynomial degree of 2. The comparison changes the set of input measurements while retaining those reported settings. The expanded inventory performs better across the cross-validation metrics and across the test metrics. For instance, test Spearman was 0.59 with the expanded inventory and 0.55 with the baseline. This provides evidence that the additions carry useful information even with the overlap the authors describe.

The comparison concerns the full inventory. It does not establish which of the additions account for the effect. A feature group may provide more detail about evidence already present in the baseline, or it may capture a property the baseline summarized differently. Several groups can also be useful together. Because the paper compares the inventories as bundles, the result estimates the practical effect of making the additional measurements available within this setup. It cannot support a ranking of individual additions or a claim about how performance would change if the redundant inputs were removed.

What the trees add to a compact baseline

The baseline-tree variants show what happens when the authors give structural evidence to an estimator starting from the 17 features. Both tested configurations improve on the explicit-only baseline in cross-validation and on the test set. This result supports the authors’ rapid-prototyping argument. Applying the kernel to the available parse trees gives the regression access to recurring structural evidence with no need for a separately designed feature for every candidate construction.

The comparison is at the level of fitted systems. Variant (b) uses a tree weight of 0.05, C of 4, and degree 2. UU bltk uses a tree weight of 0.03, C of 8, and degree 3. The baseline-only (d) uses C of 8 and degree 2. The variants answer a practical question about what performance the authors obtained after adding trees and tuning the resulting combination. Because the reported comparisons change settings as well as representations, they do not identify the effect of turning on the tree weight with all other choices held fixed.

The result also has a point of comparison in the explicit expansion. In cross-validation, (c) performs better than the baseline-tree variants across the reported measures. On the test set, UU bltk has better values than (c) on all four measures, and (b) is also competitive with it. The training results therefore favor the hand-designed expansion more consistently than the held-out results do. The authors use this pattern to argue that tree-based evidence can be a practical route to strong performance early in system development. The conclusion concerns the system tested and the engineering effort of specifying explicit features, which the paper did not measure directly.

What happens when trees are the whole input

The tree-only condition tests how much information the syntactic representations provide without the explicit measurements. Its cross-validation performance drops below the baseline-only system on every reported measure. The results suggest that a design relying on syntax alone would surrender predictive information available from the straightforward numerical features, even though the kernel gives it access to many patterns. Measurements from the translation system, for instance, describe aspects of candidate generation and alignment that a parse of a finished sentence pair need not expose.

On the test set, (e) comes closer to the baseline-only result. Both report MAE of 0.70. The tree-only variant has DeltaAvg of 0.51 and RMS of 0.85, compared with 0.52 and 0.83 for (d). Spearman also favors (d), at 0.55 versus 0.51. These values show why the authors emphasize that the gap narrowed at test time. They also distinguish comparable average score error from comparable performance across the evaluation. Trees alone can carry creditable predictive evidence while the combination with explicit measurements remains the stronger design in this experiment.

Why the gains do not simply accumulate

The expanded tree-augmented systems provide the most direct comparison with using the two enrichment routes separately. In cross-validation, UU best leads the table across the ranked and numerical measures, and its alternative (a) is also strong. On the test set, the expanded trees-plus-features variants improve some measures relative to the expanded explicit-only (c), but all share its reported DeltaAvg of 0.56. Compared with the baseline-tree submissions, the expanded combinations bring no consistent lead. This is the sense in which the authors’ two ways of improving the baseline fail to deliver a general cumulative gain.

Seen from the perspective of building the estimator, the result is about the marginal value of information. A structural input can help a system that has little other evidence about the sentence and yet provide a smaller benefit in the presence of a richer feature inventory. The reported comparisons are compatible with that explanation. The authors did not test whether particular explicit signals and tree fragments are redundant, and the mixed test results could also reflect parameter choices or variation across examples. The experiment establishes the shape of the measured changes more securely than it establishes their cause.

The alternative settings help illustrate this point. UU best and (b) share a tree weight of 0.05, C of 4, and degree 2. Variant (a) and UU bltk share a tree weight of 0.03, C of 8, and degree 3. Within each pair, the expansion of the explicit inventory can be examined at the same reported parameter values. The expanded system improves cross-validation in both pairs. The smaller inventory retains the higher test DeltaAvg in both pairs, and the test-error columns offer a more mixed picture. Comparing the settings within a given inventory changes the weight, C, and degree together, so those comparisons provide no isolated finding about the choice of tree weight.

The authors also report their preliminary comparison of the Gaussian and polynomial kernels for the explicit features. It produced a marginal advantage for the polynomial kernel, which they used for their submissions. The paper gives no separate numerical comparison for that change. Taken with the tree and inventory experiments, it provides context for the final setup and a reason to interpret the organizer baseline carefully: an identical feature list can give different performance under a different kernel or parameter selection.

Limitations

Limits the authors identify

The authors explicitly acknowledge that a parser may be less accurate on malformed translation output. They used its output without a procedure for recognizing or repairing bad analyses. This matters because the estimator learns from the assigned trees. Some patterns could reflect a genuine property of low-quality output, and some could arise from the parser’s reaction to that output. The quality prediction results measure the value of the resulting representation in aggregate. They do not establish the grammatical correctness of the analyses that produced the useful similarities.

The parsing resources also constrained the comparison. The English side contributed constituency and dependency trees, while the Spanish side contributed dependency trees alone. The authors attribute the difference to the availability of suitable parsing resources. Their method shows how to combine these sources under an asymmetric setup. It gives no measured answer about what Spanish constituency trees would have contributed or whether the best combination would change if the available analyses were different.

The authors flag redundancy in their explicit inventory and overlap with the baseline. They made no attempt to remove it. The larger set is therefore a useful experimental condition, but its size is an inventory count rather than a measure of independent evidence. In their conclusion, the authors also state that improvements from trees and from additional explicit features need not accumulate. That caution is visible in the test comparison between submissions and qualifies the finding that tree kernels helped in the first place.

Limits of the experimental design

The study evaluates a specific kind of translation output. The examples are English source sentences translated into Spanish by a phrase-based statistical system, with the associated diagnostics available to participants. The results establish performance within that task. An estimator using the same design on another language pair, a different text type, or an engine that exposes different diagnostics would have different inputs and potentially different predictive patterns. Generalization to such settings remains an empirical question.

The prediction target is a sentence-level human rating. A combined system can predict that rating more accurately without identifying the text span responsible for a poor score. Its syntactic comparisons provide no direct English–Spanish alignment of parse trees. Some explicit features describe token alignments, but the experiment evaluates a final score and a ranking. It supplies no assessment of error localization, explanations for individual judgments, or a direct measure of which elements of a source sentence survived in translation.

The results table groups the syntactic contribution as a whole. The English constituency kernel, English dependency kernel, and Spanish dependency kernel enter the combined system under one weight. The paper does not report separate removals of these contributions. As a result, a reader cannot determine which side of the translation pair supplied the most useful structural evidence, whether phrase structure or dependencies carried more of the gain, or whether some of the kernels mainly duplicated information from the others. The two kernel types also operate on different representations, so the experiment does not compare the fragment rules on a common input.

The evaluation reports point estimates. The paper gives no uncertainty intervals or significance tests for the differences among the displayed results. It also reports no analysis of how random tie breaking affected the rank metrics. Close comparisons are consequently best understood as observed outcomes at the reported precision. For instance, the two submissions’ equal values on the test score errors establish a tie in the table. They give no resolution about smaller differences that might exist underneath the rounded values or about which submission would lead on another sample.

Cross-validation supplied evidence for selecting settings, and the test results offer a check on those choices. The leading cross-validation condition is not the leading condition on every test metric. A single held-out split establishes that this happened in the shared task. It cannot distinguish how much of the divergence is due to the data split, the different objectives measured by the metrics, or the sensitivity of particular configurations. The paper’s joint search and the paired settings clarify the procedure without providing a complete analysis of that sensitivity.

Finally, the engineering claim is about avoiding the design of a large set of explicit structural measurements. The method still relies on tagging, parsing, a dependency tree conversion, and the resources for those steps. The paper gives no timing comparison, accounting of development effort, or measurement of the cost of computing the kernels. Its rapid-prototyping conclusion rests on the way it exposes candidate features and on the observed quality prediction results. The experiment leaves the operational cost of obtaining that benefit open.

What came after

The workshop findings connect the tree-kernel paper to the larger comparison that motivated it. They are the account of the WMT 2012 shared task that the authors cite when describing its objective and setup. The workshop setting placed the Uppsala submissions alongside an organizer baseline and competing systems in an evaluation of predicted scores and rankings. That role matters for interpreting the paper’s claim about competitive performance. The tree-kernel study gives the details of one group’s submissions and comparisons, while the workshop findings supply the common task context in which those submissions were evaluated. WMT 2012 workshop findings

The later paper on adaptive quality estimation cites the tree-kernel study and continues to address the problem of estimating machine translation quality. Its title identifies adaptation as its focus. The citation establishes a connection to the earlier study, but does not establish whether the later authors reused the parser setup, the tree fragments, or the kernel combination, or whether they used the study chiefly to situate their own approach. A technical claim of reuse or extension would require an account of that later paper’s method. Adaptive Quality Estimation for Machine Translation

Cite

Cite as Christian Hardmeier, Joakim Nivre and Jörg Tiedemann. 2012. Tree Kernels for Machine Translation Quality Estimation. 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{hardmeier2012tree,
  title = {{Tree Kernels for Machine Translation Quality Estimation}},
  author = {Christian Hardmeier, Joakim Nivre and Jörg Tiedemann},
  booktitle = {Proceedings of the Seventh Workshop on Statistical Machine Translation},
  year = {2012},
  url = {https://aclanthology.org/W12-3112/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/hardmeier-2012-tree-kernels-machine-translation-quality/