Elamur Research

Deepfix: Statistical Post-editing of Statistical Machine Translation Using Deep Syntactic Analysis

Paper · 2013 · Rudolf Rosa, David Mareček and Aleš Tamchyna

Summary

A translation can use the right verb and noun and still get their relationship wrong. In one example from the paper, Moses translates an English sentence about government spending on schools. It chooses the Czech verb utrácet and the noun škola, but leaves out the preposition za. The resulting Czech can be read as saying that the government destroys the schools. Deepfix addresses this kind of error after machine translation. It keeps the chosen verb and noun and asks whether the noun should appear with a different preposition, a different grammatical case, or both. The paper tests this approach on translation from English into Czech.

Deepfix analyzes the English sentence and its Czech translation together. It links corresponding words and identifies which nouns depend on which verbs or other nouns. For each Czech noun under consideration, it estimates how likely different grammatical forms are, given the Czech parent word and the form of the corresponding English noun. A second estimate also takes the identity of the Czech noun into account. Both estimates come from the full training set of CzEng 1.0, an English–Czech collection of approximately 15 million sentences as described by the authors. If a candidate form clears a threshold for the proposed edit, Deepfix regenerates the affected Czech words. An adjective that agrees with a noun can therefore receive a new ending when the noun changes case.

The automatic scores for Moses output moved in the favorable direction on WMT10, WMT11 and WMT12. On WMT12, the BLEU score rose from 13.81 to 13.85. The authors also asked human judges to assess the changed sentences against the English source and a human translation, with the identities of the original and revised versions hidden. Deepfix changed 569 out of 3003 WMT12 sentences. The judges recorded improvements in 321 cases (56% of the changed sentences), degradations in 135 (24%), and no definite preference in 113 (20%).

The human judgments show where the practical benefit lies. A system that makes small grammatical edits can prevent a consequential misreading even when the change in a corpus-wide score is slight. The degradations matter too. Deepfix relies on the analyses it receives, and the authors found that errors in the analysis of the Czech translation were the most frequent explanation in their sample of bad changes. A rare but correct grammatical form could also lose out to a more common one. The result is evidence for targeted, statistically guided repair in the tested English-to-Czech setting, with a measurable cost when the system changes a sentence for the worse.

Deep dive: Deepfix: Statistical Post-editing of Statistical Machine Translation Using Deep Syntactic Analysis

Deepfix uses sentence structure to repair Czech translations from English, with human judges finding more improvements than degradations. · about 34 minutes to read

The problem and its context

A grammatical choice can change the event

The error Deepfix targets sits between choosing a word and expressing what that word is doing in the sentence. A system can find reasonable translations for a verb and its accompanying noun, yet connect them in a way that changes the meaning. The spending example makes the distinction concrete. The Czech noun for the schools is already there, and the verb can express spending. The question is whether the grammatical construction makes the schools the object of destruction or the destination of spending. Restoring za favors the intended interpretation while retaining the words that identify the action and the institutions involved.

The paper calls this the problem of valency. A verb can be used in different senses, and a valency frame describes the arguments associated with a sense and the forms those arguments can take. An argument might be expressed through a noun with a particular preposition and case. A verb used for motion can occur with a phrase identifying a destination, for instance, but the form of that phrase need not be the same for every destination or every language. In practice, the translator needs to choose words and construct the grammatical relationships that make those words convey the intended sense.

The paper illustrates the point with English go and Czech jít. Going to a doctor, to a center, and to a concert can all be expressed with English to. The corresponding Czech phrases in the paper use k with the dative for the doctor, do with the genitive for the center, and na with the accusative for the concert. English and Czech can describe a similar relation while making different choices about how to express it. Even among closely related English constructions, the English preposition by itself cannot tell a system which Czech construction to use.

Case is part of the choice because a Czech noun’s role can be expressed in its grammatical form. The preposition and the noun ending are frequently connected. A system that chooses a different preposition may need to change the case as well, and the case change can reach other words within the phrase. That makes this a problem of morphology as well as of how words depend on one another. Deepfix needs to identify the relevant relationship before deciding what surface text to change.

The difficulty is particularly visible when the languages supply different grammatical cues. The authors contrast Czech, where the order of words is relatively flexible and prepositions often identify the semantic roles of verb arguments, with English, where position relative to the verb can supply such information. In the spending example, the English on is a clue worth retaining even though the corresponding Czech preposition happens to be missing. Looking only at the Czech words would leave the editor with less evidence about which interpretation the translation was supposed to convey.

Why put the repair after translation?

In the authors’ account of the field, statistical machine translation was the prevailing approach, yet its output still fell short of human translation in both word choice and grammar. Researchers had tried to incorporate detailed linguistic information into translation itself. As the authors describe that experience, adding such information directly was difficult, and a more elaborate translation procedure did not routinely yield better output. An editor placed after the translator offered another place to use linguistic analysis. It could examine a completed sentence, identify a specified kind of error, and change the construction involved.

Previous work by the authors had explored this division of labor with Depfix. That system uses handwritten rules on shallow syntactic dependency trees. It can address errors such as failures of grammatical agreement by looking for configurations that a rule can describe. Deepfix takes up a different part of the problem. A useful valency choice can depend on the governing word, the noun it governs, and the available evidence from English. A rule for each combination would put a heavy burden on manual description. The authors therefore obtain the evidence for these choices from a bilingual corpus.

The two systems also give structure different jobs. A shallow tree is sufficient to express certain agreement relationships for Depfix’s rules. Deepfix uses a deeper representation to group a preposition with the noun it belongs to and retain the noun’s grammatical case in the same representation. Its decision is then about the form of a dependent noun within that structure. The authors say the systems can be combined because they target different errors. They present this as a property of the designs, with their detailed evaluation centered on Deepfix.

There was already a statistical approach to automatic post-editing. Simard and colleagues had taken the output of a rule-based translator and paired it with human translations. They trained a phrase-based system to translate from the imperfect output into the human version, even though both sides of that editing task were in the same language. The authors of Deepfix recount substantial gains in that setting and note that the edited rule-based system outperformed the statistical translator used on its own. Applying a similar editing stage to the statistical translator’s output produced a different outcome in the same earlier work. The researchers observed no improvement in that case. Statistical Phrase-Based Post-Editing

What earlier statistical editing had established

The paper identifies the work of Oflazer and El-Kahlout on English-to-Turkish translation as an early positive result for statistical editing of statistical output. They trained a system to post-edit the output of a statistical translator and repeated the editing procedure. The reported gain after the two iterations was 0.47 BLEU points. The Deepfix authors emphasize that this result came from a comparatively small training set and that the earlier work did not discuss how the method would scale.

The authors also discuss Bé­chara and colleagues’ work on French-to-English translation. A version that followed a similar approach yielded a statistically significant gain of 0.65 BLEU points. The researchers then supplied the editor with information from the original sentence by attaching source words to some words in the intermediate translation. That version reached a reported improvement of 2.29 BLEU points. The Deepfix paper treats the use of source information as pertinent to its own problem while raising the same question about the size of the training data.

These earlier systems give the Deepfix authors a specific comparison to make. A broad post-editor can learn how imperfect translations differ from human translations. With source annotations, it can also draw on information that the intermediate translation has lost. Deepfix narrows the decision to the grammatical realization of a noun attached to a particular parent. It expresses that decision in terms of features chosen to capture valency. Both strategies can consult the source, but attaching source words to translated text and conditioning a repair on the source noun’s grammatical form supply different kinds of evidence.

The authors first test the earlier approach on English–Czech data, then evaluate their targeted editor. These investigations serve different purposes. The former asks whether a previously successful style of statistical editing transfers to their setting. The latter asks whether a particular class of error can be repaired reliably enough to improve the translations people see. The distinction matters because a corpus-wide comparison can detect effects of the whole editor, while a closer inspection of targeted fixes can reveal whether the intended repair succeeded and what damage it caused elsewhere.

The method, step by step

From a translation to a decision about a noun

Deepfix receives an English sentence and the Czech sentence that Moses produced for it. It begins by separating the sentences into words and assigning each word grammatical information and a dictionary form. The dictionary form is called the lemma. A lemma lets the system group inflected variants of a word under the same identity. The grammatical information records distinctions that the dictionary form alone would lose. Keeping both is important here because Deepfix wants to recognize the same noun across examples without discarding the case of the noun in the sentence it is editing.

The system then establishes correspondences between the English and Czech words using their lemmas. This is word alignment. Its purpose in Deepfix is to identify the English noun whose grammatical form can inform the repair of a particular Czech noun. The two nouns may appear in different positions in their sentences, and their accompanying prepositions need not correspond word for word. The pipeline therefore builds an explicit correspondence before trying to transfer information about the form of an argument.

Next, the system analyzes the two sentences as dependency trees. A dependency tree records which word depends on which other word. Through dependency parsing, Deepfix can look for a noun’s governing word even if the relevant words are separated in the sentence. The tree indicates the pair whose grammatical relationship should be considered. The alignment indicates where to look for evidence about that relationship in the English source. A grammatical label on each noun tells the system what form it currently has.

Deepfix can then ask a localized question. Given the Czech parent and the English form of the aligned noun, which Czech noun forms are plausible? It tests the probabilities of alternatives against thresholds for different kinds of edits. When it accepts a change, it turns the revised grammatical specification back into words. If a dependent adjective or noun has to share the changed case, regeneration continues along the relevant dependencies.

How Deepfix turns a translation into a grammatical repair

The steps in order.

How Deepfix turns a translation into a grammatical repairStep 1: Separate words and assign lemmas and tags1. Separate words and assign lemmas and tagsStep 2: Align English and Czech words by lemma2. Align English and Czech words by lemmaStep 3: Build dependency trees and label grammatical forms3. Build dependency trees and label grammatical formsStep 4: Score alternative forms for Czech noun arguments4. Score alternative forms for Czech noun argumentsStep 5: Apply alternatives that clear their thresholds5. Apply alternatives that clear their thresholdsStep 6: Regenerate affected words and agreeing descendants6. Regenerate affected words and agreeing descendants

What the deeper tree represents

The tree used by Deepfix is tectogrammatical, a deep syntactic representation based on Functional Generative Description. Its content nodes stand for words such as nouns, adjectives and full verbs. The node records the lemma and other attributes. A function word such as a preposition or auxiliary verb is represented through attributes of the associated content node. This arrangement lets Deepfix associate a preposition with the noun whose form it helps specify.

Consider how the system needs to handle the spending example. The verb and noun provide the content words behind the relation. The English on belongs in the description of how the English noun is used. On the Czech side, za belongs in an alternative description of the noun under the spending verb. Inserting that preposition becomes an edit to the grammatical form of the noun node. The same relation between the two content words remains available before and after the edit.

The relevant attribute is called a formeme. It is a compact string that records selected grammatical properties of a content word and, when needed, information about accompanying function words. A noun formeme begins with n, which identifies the syntactic category. It can include a preposition, and it ends with a marker specifying the noun’s form. These components let the system reason about a joint choice of preposition and case in Czech or about a noun’s construction in English.

The English label n:subj marks a noun functioning as a subject. In n:on+X, the n again identifies a noun, on is its preposition, and X is the marker the representation uses for an English noun with a preposition. An English phrase with to can similarly have the formeme n:to+X. These labels express how the noun appears in the source construction. They supply a grammatical clue that is more specific than the identity of the English verb alone.

For a Czech noun, the final marker records its morphological case, using a number from 1 to 7. The label n:1 identifies a noun in the nominative without a preposition. In n:za+4, the noun occurs with za in the accusative. The Czech n:4 also specifies the accusative, with the preposition absent. Comparing those last two formemes shows why a repair can be meaningful even if the noun’s spelling stays the same. Their case specifications match, while their preposition specifications differ.

Other formemes mark where agreement must be maintained. The labels adj:attr and n:attr identify adjectival and nominal dependents that agree morphologically with their parent. In Czech, that includes sharing the parent’s case. Such a label matters at a different point in processing from n:za+4. The latter defines a candidate for the argument’s own form, while the agreement labels tell the regenerator which related words can be affected by the accepted change.

The linguistic idea of a valency frame concerns a verb sense and the set of arguments it allows or requires. The formeme representation provides a practical way to express the forms those arguments take. In the spending example, the paper gives the English subject the form n:subj and the phrase describing the object of expenditure the form n:on+X. In Czech, the corresponding labels are n:1 for the subject and n:za+4 for the expenditure phrase. Deepfix borrows this account of how a sense is expressed and makes its repair decision for an individual noun and parent.

The parent can also be a noun. The authors extended the same procedure to noun–noun relationships, keeping the dependent word nominal. Their terminology continues to call the parent the verb when describing the usual case. The distinction is relevant to scope. A procedure that takes a parent lemma and a noun form can be applied to a nominal parent without introducing a different kind of prediction. The authors found the extension useful in practice and say that most corrections still concerned nouns governed by verbs.

The two probability estimates

For the more general decision, Deepfix estimates the probability of a Czech noun form given the lemma of its Czech parent and the formeme of the aligned English noun.

P(fₙ | lᵥ, fᴱᴺ)

P denotes a probability. The parentheses enclose the predicted outcome and the information on which it is conditioned. fₙ is a possible formeme for the Czech noun, with the subscript n marking the noun argument. The vertical bar means “given.” lᵥ is the lemma of the Czech governing word, with v referring to the usual case of a parent verb. fᴱᴺ is the aligned English noun’s formeme, and EN marks its language. The comma separates the two items of conditioning information.

This estimate groups different Czech nouns together when they share the same parent lemma and the same English construction. The generalization is useful when that combination points strongly to a particular Czech form. If examples with the same parent and English form repeatedly use a certain Czech preposition and case, the estimate can draw on all of them. The system can then propose that form even when the current noun contributes little evidence of its own.

The more specific estimate adds the lemma of the Czech noun argument.

P(fₙ | lᵥ, lₙ, fᴱᴺ)

P again means conditional probability, and the parentheses contain the outcome and the conditioning information on either side of the vertical bar. fₙ is the candidate Czech noun formeme. The comma-separated conditioning information includes lᵥ, the Czech parent’s lemma, lₙ, the Czech dependent noun’s lemma, and fᴱᴺ, the English formeme, with EN marking the source language. The subscripts v and n distinguish the parent from the dependent whose form is being chosen.

The noun lemma can resolve a distinction that the more general estimate has to average over. The motion examples illustrate the kind of distinction at stake. An English phrase with to can accompany destinations that take different prepositions in Czech. An estimate that sees only the Czech motion verb and the English form can find several plausible outcomes. When it also sees the identity of the Czech noun, it can distinguish contexts that had looked alike under the broader description.

The authors apply the estimates in sequence. Deepfix first uses the general estimate to make changes where the Czech parent and English form supply sufficiently clear evidence. The noun-specific estimate follows. This pass can revise a choice made by the first one if the noun favors a different construction. It can also make a change where the broader estimate had left the form untouched. The sequence gives Deepfix a way to use recurring constructional patterns and lexical distinctions in the same sentence.

The quantities describe the grammatical labels found in the training data under the specified conditions. They are distinct from the probability that a human judge will prefer a particular edit. The distinction becomes important when an uncommon form is legitimate, or when the parser assigns a misleading form to the sentence being edited. In either situation, a frequent construction can receive a high score while being a poor replacement in context.

Training from English–Czech examples

The authors compute both estimates from the full training set of CzEng 1.0, which they describe as containing approximately 15 million sentences. CzEng supplies corresponding English and Czech text. In terms of the two estimates, a training observation relates a Czech noun form to a Czech parent lemma and an aligned English noun form. For the more specific estimate, the relevant context also includes the Czech noun lemma. Counting occurrences under these different descriptions gives the system a broad set of observations for the first pass and a more selective set for the second.

The estimates use add-one smoothing. The idea is to give each possible outcome an extra count in the estimation procedure, so that a form’s absence from the matching observations does not force its estimated probability to zero. Smoothing matters especially when context is more specific. Requiring a particular Czech noun as well as the parent and the English form can reduce the number of examples available for that context. The point of gathering evidence from a large corpus is to make both levels of description useful, while smoothing gives the estimates a way to handle gaps in what was observed.

The training evidence tells Deepfix which forms occur under those conditions in the parallel text. The development exercise tells it when to act on those estimates. The authors manually select editing thresholds using WMT10 and its Moses translations. This division is central to the method. Corpus counts can suggest a likely form, while the threshold governs whether the editor treats that suggestion as a strong enough reason to alter a particular output.

The corpus procedure here also differs from the one used for the phrase-based post-editing comparison. That comparison constructs pairs whose inputs are machine translations and whose targets are human translations, then learns to edit from one to the other. Deepfix uses the bilingual corpus to estimate the distribution of grammatical forms. At application time, it brings those estimates to a machine translation whose grammatical structure must first be recovered. The two procedures therefore learn different relationships from their data.

How an estimate becomes an edit

For a Czech noun under consideration, Deepfix obtains scores for possible formemes. An alternative must exceed the fixed threshold assigned to its edit type and to the pass making the decision. There are separate settings for changing only the case, switching prepositions, adding a preposition and removing one. A choice involving a preposition can include a case change as well. The formeme gives the editor a single object in which to express both parts of the change.

In the general pass, the threshold for a case-only change is 0.55, and the threshold for switching prepositions is 0.90. This pass has no enabled setting for adding or removing a preposition. In the noun-specific pass, the threshold is 0.78 for a case-only change, 0.84 for a switch of preposition and 0.86 for adding a preposition. Removal is disabled there too. These are manually chosen operating settings. The paper gives the values used in the experiments and the authors’ reasoning for disallowing removal.

The asymmetry arises because a common construction can be the wrong replacement. The authors observed that where a verb and noun can occur with or without a preposition, the version without one frequently occurs more frequently. A frequency-driven editor can then assign the prepositionless version a higher probability even when the existing preposition gives the noun a meaning that the source requires. Disabling removal limits this particular route to a bad edit. It also narrows the repairs the system can attempt if a translation contains an unwanted preposition.

The spending example shows how the noun-specific estimate and the threshold work together. Deepfix considers the form of the Czech noun meaning school, governed by utrácet, with the English source form n:on+X. The estimate for the original Czech formeme is as follows.

P(n:4 | utrácet, škola, n:on+X) = 0.07

P is the conditional probability, and the vertical bar separates the proposed form from the information used to estimate it. n:4 is a Czech formeme, with n marking a noun and 4 specifying accusative case without a preposition. The comma-separated entries are utrácet, the parent lemma, škola, the noun lemma, and n:on+X, the aligned English noun’s formeme. In the latter label, n identifies the noun, on identifies its preposition, and the plus sign attaches the English form marker X to the preposition. The equals sign gives the estimate, 0.07, for the original form under those conditions.

The most probable candidate reported for the same context adds the preposition za.

P(n:za+4 | utrácet, škola, n:on+X) = 0.89

P denotes the probability of the form to the left of the vertical bar given the entries to its right. The outcome n:za+4 specifies a Czech noun, the preposition za and accusative case 4, with the plus sign connecting the preposition and case marker. The colon separates the noun category from its grammatical specification. The commas separate the parent lemma utrácet, the Czech noun lemma škola and the English form n:on+X. That English form identifies a noun with on and the marker X. The equals sign records the estimated probability, 0.89, for the candidate.

The candidate exceeds the addition threshold of 0.86 in the noun-specific pass. Deepfix therefore replaces školy with za školy. The new formeme preserves the case of the noun and adds a preposition that makes the spending interpretation available. This example also shows what the threshold tests. The system has scores for the original and the alternative, but the rule described by the authors compares the alternative’s probability with the setting for that edit type.

Putting the revised form back into the sentence

A formeme is an instruction about grammatical form. To produce text, the pipeline regenerates the words corresponding to the changed node. Depending on the edit, this may alter the noun ending, the accompanying preposition, or both. The noun lemma remains the basis for producing the new form. This allows the output to retain the selected noun while changing how it participates in the sentence.

When a noun changes case, other words may have to change with it. Deepfix follows the descendants of a regenerated node where morphological agreement requires it. An agreeing adjective is the typical example. The process is recursive, so a change can continue through successive agreeing descendants. The scope of regeneration is determined by the grammatical dependencies and agreement markings already calculated for the sentence.

The implementation brings these stages together in Treex, a modular framework written in Perl. The English analysis uses the Morče tagger and the MST parser. A tagger supplies grammatical labels to words, and a parser builds the dependency relations used to locate the governing word. The Czech analysis uses the Featurama tagger and the RUR parser. RUR is particularly relevant because it was adapted to analyze machine-translated text, the kind of imperfect input the editor must inspect. Using Parallel Features in Parsing of Machine-Translated Sentences for Correction of Grammatical Errors

GIZA++ provides the word alignments, and the implementation uses intersection symmetrization. In this procedure, the alignment retains correspondences supported by the directional alignments being combined. Such a correspondence supplies the link through which the English formeme enters the Czech prediction. A missed or incorrect link can therefore affect the evidence for a candidate even when the two sentences have otherwise been analyzed correctly. A Systematic Comparison of Various Statistical Alignment Models

The pipeline involves different decisions at different levels. The aligner and parsers provide the context of an edit. The probability estimates rank possible grammatical forms within that context. The thresholds determine whether the editor acts, and regeneration realizes the decision as Czech text. An error in the result can originate at any of these stages. The paper’s manual inspection is valuable because aggregate scores alone cannot reveal which stage supplied the misleading evidence.

Experiments and results

Testing the earlier editing approach on English–Czech

Before evaluating Deepfix, the authors tested the approach of Bé­chara and colleagues on 1 million sentence pairs from CzEng 1.0. They considered both English-to-Czech and Czech-to-English translation. The baseline was the bilingual translation system before statistical post-editing. The plain editor worked on the intermediate machine translation. The contextual editor could also see selected source words associated with that translation.

To prepare examples for the editor, the authors divided the training pairs into 10 parts. They trained 10 translation systems, with each system leaving out the part that it then translated. This gives every part a machine translation from a system trained on other parts of the corpus. The authors combined those outputs and paired them with the corresponding human target sentences. That combined material served as training data for the editing step.

For the contextual version, the source word was added to an intermediate word when the strength of the link between them exceeded a threshold. The authors used 0.8, the setting associated with the best results reported in the earlier work. They tuned the systems on WMT11 and evaluated them on WMT12. The confidence intervals reported for this comparison were obtained by bootstrap resampling. Statistical Significance Tests for Machine Translation Evaluation

On WMT12 English-to-Czech translation, baseline BLEU was 10.85±0.47. The plain editor scored 10.70±0.44, and the contextual editor scored 10.73±0.49. In the Czech-to-English direction on WMT12, baseline BLEU was 17.20±0.53, followed by 17.11±0.52 for the plain editor and 17.18±0.54 for the contextual version. Each edited score was below the corresponding baseline, and the paper reports that the differences were statistically insignificant.

This test gives the authors a reason to pursue a more targeted approach in their setting. It shows that the earlier style of editing produced no demonstrated BLEU improvement in the reported English–Czech experiment. It does not isolate a cause. The paper suggests that the training set may already have been too large for this form of second-stage editing to help, but the comparison uses a fixed amount of data. The tested threshold also represents a particular configuration of the contextual approach. These results belong to a separate experiment from the later Deepfix scores, with its own training setup and baseline.

Moses before and after Deepfix

The main evaluation compares the outputs of an English-to-Czech Moses system with the same outputs after Deepfix editing. The datasets are WMT10, with 2489 parallel sentences, and WMT11 and WMT12, each with 3003 parallel sentences. The authors used WMT10 and its Moses translations to tune the editing thresholds. WMT11 and WMT12 show what happened when the chosen thresholds were applied to the other sets. The paper’s final human comparison uses WMT12. Findings of the 2012 Workshop on Statistical Machine Translation

The automatic evaluation reports BLEU, NIST and PER. BLEU and NIST are quality scores for which an increase is favorable. PER is an error measure for which a decrease is favorable. These scores summarize output across a dataset against human translations. They can register a small net change when the editor leaves much of the material alone. They cannot directly show which particular change restored the intended interpretation of a sentence.

Moses before and after Deepfix on WMT10, WMT11 and WMT12 by BLEU

BLEU rises with Deepfix on the development set and both separately reported evaluation sets.

Moses before and after Deepfix on WMT10, WMT11 and WMT12 by BLEUMoses, WMT10 development: 15.66Moses, WMT10 development15.66Moses with Deepfix, WMT10 development (this paper): 15.74Moses with Deepfix, WMT10 development(this paper)15.74Moses, WMT11: 16.39Moses, WMT1116.39Moses with Deepfix, WMT11: 16.42Moses with Deepfix, WMT1116.42Moses, WMT12: 13.81Moses, WMT1213.81Moses with Deepfix, WMT12: 13.85Moses with Deepfix, WMT1213.85
The numbers
System or settingBLEU
Moses, WMT10 development15.66
Moses with Deepfix, WMT10 development (this paper)15.74
Moses, WMT1116.39
Moses with Deepfix, WMT1116.42
Moses, WMT1213.81
Moses with Deepfix, WMT1213.85

On the WMT10 development set, the reported BLEU change was +0.08. The paper reports changes of +0.03 on WMT11 and +0.04 on WMT12. The meaningful comparison in each pair of bars is between original and edited output on the same set. A comparison of the absolute scores across WMT10, WMT11 and WMT12 would also reflect differences among the sets. The larger gain on WMT10 is particularly important to read in light of its role in choosing the thresholds.

The NIST scores follow the same direction. On WMT10, the development set, Moses scored 5.442 and the Deepfix output scored 5.470, with a reported change of +0.028. On WMT11, the scores were 5.726 and 5.737, with a change of +0.011. On WMT12, the original scored 5.263 and the edited output 5.283, with a change of +0.020. NIST supplies another aggregate view of the same original and revised translations.

Moses before and after Deepfix on WMT10, WMT11 and WMT12 by PER

The edited output has a lower error score in every within-set comparison.

Moses before and after Deepfix on WMT10, WMT11 and WMT12 by PERMoses, WMT10 development: 58.44%Moses, WMT10 development58.44%Moses with Deepfix, WMT10 development (this paper): 58.26%Moses with Deepfix, WMT10 development(this paper)58.26%Moses, WMT11: 57.17%Moses, WMT1157.17%Moses with Deepfix, WMT11: 57.09%Moses with Deepfix, WMT1157.09%Moses, WMT12: 60.04%Moses, WMT1260.04%Moses with Deepfix, WMT12: 59.91%Moses with Deepfix, WMT1259.91%
The numbers
System or settingPER %
Moses, WMT10 development58.44%
Moses with Deepfix, WMT10 development (this paper)58.26%
Moses, WMT1157.17%
Moses with Deepfix, WMT1157.09%
Moses, WMT1260.04%
Moses with Deepfix, WMT1259.91%

For PER, the paper reports changes of -0.18 for WMT10 development, -0.08 for WMT11 and -0.13 for WMT12. With all the scores moving in the favorable direction, the automatic results are consistent with a beneficial effect. The authors treat them as indications because the edits are small and the aggregate metrics cannot reliably settle whether Deepfix’s particular changes help or hurt. They use human assessment to look directly at the translations affected by the intervention.

The spending example explains why this evaluation choice matters. Inserting a preposition can be a modest change to a string even when the reader’s interpretation of the event changes substantially. A similarly small substitution can also introduce a grammatical error that was absent before. A corpus score combines such cases with many words and sentences the editor leaves alone. The blind comparison can ask a more direct question about the particular sentence where Deepfix acted.

What the human judges saw

The authors divided the WMT12 material into 4 parts and assigned each part to one of two annotators, A and B. For each changed sentence, the annotator received the English source sentence, the human reference translation, and the two Czech outputs. The comparison was blind, so the annotator did not know which Czech output was the original and which came from Deepfix. The experiment measures whether the change affected the quality of the translation in either direction.

A judge could prefer one version or mark the outcome indefinite. The paper gives two reasons for an indefinite judgment. The versions can both be acceptable, making the edit a substitution of one correct form for another. Both versions can also be incorrect, leaving no clear improvement or degradation. The category captures a lack of a definite preference in this task. It cannot be interpreted as a count of grammatical equivalences.

Deepfix changed 569 out of 3003 WMT12 sentences, or about 20% in the authors’ description. Across those changed sentences, 321 (56%) were judged improvements, 135 (24%) degradations, and 113 (20%) indefinite. The percentages describe the changed sentences. The 56% figure consequently tells a reader how frequently a sentence the system touched was judged better under this protocol. The whole-set count makes clear how frequently the system reached the point of making an edit.

The separate parts give a view of how the outcomes varied within the evaluation. In part 1, annotator A rated 126 changed sentences and marked 57 (45%) as improvements, 35 (28%) as degradations and 34 (27%) as indefinite. In part 3, the same annotator assessed 150 changed sentences, with 88 (59%) improvements, 29 (19%) degradations and 33 (22%) indefinite outcomes. The share of favorable judgments varied even across parts assigned to the same person.

Annotator B assessed 112 changed sentences partly 2, recording 62 (55%) improvements, 29 (26%) degradations and 21 (19%) indefinite judgments. In part 4, B assessed 181 changed sentences, with 114 (63%) improvements, 42 (23%) degradations and 25 (14%) indefinite judgments. Impro­vements outnumbered degradations in each part. Because A and B rated different translations in this division of the task, the part-level figures cannot establish how much of the variation comes from the material and how much comes from differences in judgment.

The authors also had both annotators assess 100 sentence pairs to measure agreement. There were 60 pairs for which both judges chose a preferred version. Agreement on those 60 pairs was 97%. Over all 100 pairs, where agreement also required matching use of the indefinite category, it was 65%. The two agreement figures answer different questions. A clear preference from both judges was usually in the same direction. Reaching a shared decision about whether either output deserved a preference was more difficult.

The automatic and manual results address different aspects of the intervention. The former show small favorable movements across the evaluated sets. The latter reveal a sizeable group of helpful changes and a smaller group of damaging ones among the WMT12 sentences that Deepfix modified. A reader interested in whether to trust individual edits needs the latter distribution, including the indefinite cases. A reader interested in corpus-level movement can use the automatic scores together with the scope of the edits and the role of the development set.

What the ablations show

The paper reports no systematic component ablation of Deepfix, but it does compare variants of earlier post-editing, examine agreement under different judgment conditions and inspect incorrect repairs.

What source context did for the earlier editor

The plain and contextual editors offer the clearest component-style comparison in the paper. Both try to turn intermediate translations into better target-language sentences. The contextual version adds source information at sufficiently strong alignments. In the WMT12 results, context brought the edited BLEU score closer to the unedited baseline in each direction, and neither version improved on that baseline. The experiment shows how the added information behaved in the particular phrase-based editing setup the authors tried.

For Deepfix, the English source supplies a different feature at a different stage. A form such as n:on+X helps identify the construction intended for a Czech argument, and the grammatical tree identifies the parent whose valency bears on the choice. The outcome of the contextual comparison therefore says little by itself about the value of the English formeme in Deepfix. A direct test would need the same Deepfix pipeline evaluated with and without that feature under comparable settings. The paper’s results evaluate the feature as part of the complete system.

How much the two passes explain

The paper explains why a broader pass can make useful generalizations and why the noun-specific pass can refine them. The spending example supplies a concrete instance of a noun-specific decision. The predicted form with za exceeds the threshold for addition, an edit type permitted in that pass. The example makes the logic and the implementation of the decision intelligible.

The evidence does not tell how often that kind of decision explains the overall improvement. The authors do not report separate test results for the broad pass, the noun-specific pass alone, or the sequential editor with one pass disabled. Furthermore, the passes differ in their thresholds and in which operations they can perform. The reported results consequently combine the effect of conditioning on the noun with the effect of permitting different edits at different strengths of evidence.

The same applies to the inclusion of nominal parents. The authors report that the extension to noun–noun valency was useful and that most edits still concerned verb–noun valency. There is no separate evaluation that compares those edits or reports the full pipeline with nominal parents excluded. The extension broadens the editor’s scope, while the corpus scores and blind judgments evaluate the system with that choice already in place.

What the inspected failures reveal

The authors manually examined a sample of incorrect formeme changes. They found cases where the grammatical analysis of the Czech sentence was wrong, cases where the English analysis was wrong, and cases where the original form was rare but correct. Problems with the Czech analysis were the most frequent explanation in the inspected sample. The authors also describe the taggers, parsers and aligner more generally as sources of problems in the pipeline.

These observations explain several routes to a bad edit. If the Czech tree attaches the noun to the wrong parent, Deepfix asks about the wrong valency relationship. If the English analysis supplies the wrong form, the prediction uses a misleading description of the source. If both analyses are sound but the original Czech construction is unusual, the distribution in the training corpus can favor a replacement that weakens or changes the translation. A high alternative probability can arise in any of these situations because it is computed from the context the pipeline supplies.

The authors say that using RUR, which is partly adapted to machine-translated input, reduced parser errors. This is evidence from their experience with the analysis stage. The paper gives no numerical comparison of final translation quality with the parser substituted, so the reported human gains cannot be assigned a particular share attributable to RUR. The observation identifies a point where the authors saw an improvement in the analysis that precedes editing.

The choice to disable preposition removal likewise follows observed failures during development. Removing an infrequent preposition could erase a distinction carried by the source simply because the unmarked construction was more frequent. The explanation supports the authors’ choice of what to permit in their reported system. There is no final comparison with removal enabled, so the evaluation does not establish how much of the observed balance between helpful and harmful edits depends on that restriction.

Where disagreement enters evaluation

The overlap between annotators tests the judgment procedure instead of the architecture. Agreement of 97% among the 60 pairs with a preference from both judges concerns the direction of the preference once both judges made one. Agreement of 65% over all 100 pairs also includes whether the change deserved a definite judgment. A sentence can present a recognizable improvement to one judge while the other sees two acceptable variants, two defective variants or insufficient reason to prefer either.

This difference helps explain why the paper reports a separate indefinite category. The study could have treated every change as either a win or a loss, but that would have hidden an important distinction in what annotators could decide. Giving the ambiguous cases their own outcome provides a more faithful account of how frequently the system’s edits produced a discernible benefit or cost. It also sets a limit on how confidently readers can interpret fine distinctions among the part-level percentages.

Limitations

Limits identified by the authors

The authors regard the automatic gains as too small to settle the quality of the individual edits. Their intervention can add a preposition, change a noun’s case, or regenerate agreeing words. The effect on an aggregate score can remain slight even in sentences where the change makes an important difference. The human study addresses this issue for Deepfix’s changes on WMT12. Its scope is the sentences changed by the tested system on that dataset.

The authors also emphasize the dependence on linguistic analysis. The Czech input is the output of a translator and can already have grammatical defects. The tools that analyze it were trained on correct sentences. An unusual construction can make an analysis unreliable, and the authors point out that a malformed sentence can be hard to analyze even when the reason for the difficulty is apparent. A mistaken analysis can therefore determine the context of an edit before the probability calculations begin.

Source analysis and word alignment matter for related reasons. An erroneous English label can send the system toward the wrong Czech construction. A faulty alignment can connect a Czech noun to the wrong source information. Because the method uses a narrow collection of features, these decisions have a direct effect on the evidence entering the estimate. The editor has limited opportunity to recover the intended context once an earlier stage has supplied a different one.

The authors’ example of a rare correct form shows a limit even when the input has been analyzed well. The probability of a form in the corpus reflects how often it occurs in the selected context. A low-frequency form can still be appropriate for the intended sense of the sentence. The authors’ manual thresholds reduce the circumstances in which the editor acts, and their exclusion of preposition removal addresses one recurring failure. Rare alternatives remain possible among the operations the system is allowed to perform.

For transfer to another language pair, the authors say that the target language would need an analysis pipeline capable of producing a deep dependency representation suitable for the editor. They also argue that a simplified tree could suffice because Deepfix uses only a small portion of the information in a full tectogrammatical representation. They suggest deriving what is needed from shallow dependency trees with a small set of rules. This is a proposed route to extending the method. The paper supplies no evaluation of such a conversion or transfer.

Limits visible in the experimental setup

The evaluation is directed at a family of repairs, with each decision framed as a choice about a dependent noun’s form. The system can change an interpretation when that interpretation hinges on case or a preposition, as the spending example demonstrates. Errors that require replacing a content word, adding a missing argument or reorganizing the clause fall beyond the decision defined by these probability estimates. Those boundaries give the method a manageable target and constrain what the reported improvement establishes about translation quality as a whole.

The authors’ framing draws on valency as a relation between a verb sense and its possible arguments. In the repair procedure, the information about the parent is its lemma, and each prediction concerns an individual noun. The features do not explicitly identify a verb sense or jointly score a complete frame of arguments in a sentence. Context can enter through the noun and the English form, but different intended meanings can still share those features. This helps account for why strong corpus evidence can remain insufficient in some examples.

The thresholds were manually chosen using WMT10. Any result on that set inherits its role in development. The favorable automatic scores on WMT11 and WMT12 extend the evaluation beyond the tuning material, while the blind WMT12 study adds evidence from another type of judgment. The paper does not give a threshold sensitivity analysis on those sets. A reader can see how the selected settings performed, but cannot infer from the results how quickly performance would change under different settings or after a switch of translator.

The study of the earlier editing approach uses 1 million sentence pairs. Deepfix’s estimates use the full CzEng 1.0 training set of approximately 15 million sentences as described in the paper. The systems differ in what they learn and how they use source information. Their experiments also have separately reported baselines. This setup supports a conclusion about Deepfix’s effect on its own translation input and a separate conclusion about the earlier approach in the authors’ test. It gives no matched estimate of the contribution of the deeper representation apart from the other differences in the experiments.

The manual study tells how the observed effects were distributed among the changed WMT12 sentences. Because the judges concentrated on those sentences, it cannot reveal how many valency errors went undetected in the remaining outputs. The 569 changed sentences measure the reach of the intervention, while the 321 improvements measure favorable judgments within that reach. Estimating the fraction of all existing valency errors repaired would require knowing how many such errors were present before editing, including in sentences the system left untouched.

The judgment categories also limit what can be learned about the size of each effect. An improvement can be a correction with a large consequence for meaning or a smaller grammatical improvement. The same range exists among degradations. The counts give each changed sentence one outcome under the protocol. They establish the balance of judgments without quantifying how consequential the changes were to readers or how many individual repairs occurred within each sentence.

The authors report bootstrap intervals for the earlier post-editing experiment. In the detailed Deepfix evaluation, the automatic results are presented as scores and differences, with the manual assessment used to judge the effect of the small changes. The significance statement associated with the earlier experiment applies to that experiment. The direction of Deepfix’s corpus scores and the distribution of its manual judgments provide evidence of different kinds, with the latter carrying the direct assessment of changed sentences.

Finally, the conclusion mentions improvements on the outputs of two statistical translation systems, while the detailed evaluations of Deepfix identify Moses as the source of the translations. The numerical results and manual judgments can therefore be described concretely for Moses. The conclusion’s broader statement supplies no separate setup or score that would let a reader assess the other system’s results on the same terms. The detailed evidence supports the method in the tested English-to-Czech Moses setting.

What came after

The paper’s documented trajectory ends with proposals for improving the analysis of machine-translated sentences and adapting the editor to other language pairs. There is no documented later study here whose results establish that either proposal was carried out.

The first direction follows from the failure analysis. Deepfix depends on a grammatical tree of a sentence that may already be defective. The authors’ experience with RUR suggests that a parser adapted to that input can improve the evidence available before editing. A subsequent evaluation of this direction would have to connect the quality of the analysis with the quality of the resulting edits. Fewer parsing mistakes would matter to Deepfix insofar as they supplied better parent relationships and grammatical forms for the decisions the editor actually makes.

The second direction follows from how little of the deep tree the editor needs. The authors propose building a simplified representation from a shallow dependency analysis, retaining the content-word relationships and grammatical attributes relevant to valency correction. In principle, that would reduce the amount of language-specific infrastructure required for a transfer. The argument concerns the information the method consumes. The experiments establish the observed effects for English-to-Czech editing, leaving cross-language transfer and simplified analysis as questions beyond the reported tests.

Cite

Cite as Rudolf Rosa, David Mareček and Aleš Tamchyna. 2013. Deepfix: Statistical Post-editing of Statistical Machine Translation Using Deep Syntactic Analysis. 51st Annual Meeting of the Association for Computational Linguistics Proceedings of the Student Research Workshop.

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

@inproceedings{rosa2013deepfix,
  title = {{Deepfix: Statistical Post-editing of Statistical Machine Translation Using Deep Syntactic Analysis}},
  author = {Rudolf Rosa, David Mareček and Aleš Tamchyna},
  booktitle = {51st Annual Meeting of the Association for Computational Linguistics Proceedings of the Student Research Workshop},
  year = {2013},
  url = {https://aclanthology.org/P13-3025/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/rosa-2013-deepfix-statistical-post-editing-statistical/