Using Parallel Features in Parsing of Machine-Translated Sentences for Correction of Grammatical Errors
Paper · 2012 · Rudolf Rosa, Ondřej Dušek, David Mareček et al.
Summary
A mistranslated word ending can hide the grammatical relationship that a correction system needs to find. In Czech, a noun’s case can help identify it as the subject, and matching forms can help connect an adjective to the noun it modifies. If machine translation assigns the wrong form, a Czech parser may misread the sentence before a repair rule has a chance to act. The authors adapt a parser to this problem and test it in DEPFIX, a system for correcting the Czech output of statistical translation from English.
The authors change what the parser can see and what it encounters during training. When analyzing a Czech translation, the parser can consult the grammatical analysis of the corresponding English sentence through word alignments. It can use the grammatical category of an aligned word, the role that word plays in English, and whether a proposed Czech relationship has a counterpart in the English analysis. During training, the authors also expose the parser to incorrect Czech inflections. They learn which changes to make by comparing machine translations with human translations, then apply sampled changes to the words of a Czech training treebank while preserving its sentence structures.
The evaluation measures the translations that DEPFIX produces after parsing. Each adaptation often raises the BLEU score of the corrected output. Across the automatic comparisons, the combined parser produces significantly higher BLEU in 4 cases against the original MST parser and in 3 against the unmodified RUR implementation. In blind judgments of GOOGLE translations, the combined setup significantly outperforms both parser baselines on WMT11 and WMT12. In the WMT12 comparison with unmodified RUR, the annotator prefers the combined setup in 51% of sentences where the outputs differ, prefers unmodified RUR in 30%, and assigns equal quality in 18%.
The authors’ inspection of individual trees shows how the changes can help. An English subject label can support recognition of a Czech subject whose case is wrong. An English dependency can support recognition of an adjective’s governing noun when their Czech forms disagree. The translation scores and judgments provide evidence for these changes as part of a grammatical repair pipeline. The accuracy of the parser’s trees over a full test set remains an open question.
Deep dive: Using Parallel Features in Parsing of Machine-Translated Sentences for Correction of Grammatical Errors
The paper tests whether English source syntax and simulated Czech inflection errors help a parser support grammatical repair of machine translations. · about 33 minutes to read
The problem and its context
An error can obscure its own repair
The paper examines a problem that arises when one stage of a translation pipeline has to interpret the mistakes of another. A statistical translation system produces a Czech sentence. A grammatical post-editor then tries to repair that sentence using rules about how Czech words should behave together. Before it can enforce a rule, it needs an analysis of the words the rule applies to. A rule about subject–predicate agreement, for example, needs to know which word is the subject and which word is its predicate. Grammatical error correction & learner language
For Czech, this analysis depends partly on morphology, the system of word forms and their grammatical properties. Case can help identify a noun’s role. Number, gender and case can provide evidence that an adjective modifies a particular noun. The authors emphasize that Czech allows relatively free word order, so a word’s position can leave open a relationship that its form would normally help resolve. Choosing an incorrect form therefore has consequences for both the text and its analysis.
Phrase-based statistical machine translation can produce incompatible forms even on adjacent words. The explanation the authors give is that those words may have been translated as parts of different phrases. A noun and its modifier can each emerge from a locally selected phrase with forms that disagree when placed together. A reader then faces an awkward or potentially misleading sentence. The post-editor faces an additional uncertainty about whether the words belong together in the first place.
Dependency parsing represents sentence structure through directed links between words. In a link between a noun and its modifying adjective, the noun is the head, or parent, and the adjective is the dependent, or child. A dependency label describes the grammatical role of the dependent. A parser trained on ordinary Czech can learn that matching forms support an adjective–noun link. On machine output, that well-founded preference can steer it away from a relationship that would become clearer once an inflection was repaired. The quality of the evidence available to the parser changes with the kind of text it receives.
One way to train for this situation would be to collect machine translations and have people annotate their dependency trees. The authors identify two difficulties with that route. The annotation would be expensive, and a training collection built from particular translation systems could be less useful for the outputs of other systems. Their alternatives exploit resources that are available elsewhere in the workflow. An existing treebank gives examples of Czech structures, and the original English gives evidence about what the translation was intended to express.
What bilingual parsing had already made possible
The paper places this approach among methods for analyzing bitext, meaning paired texts that convey corresponding content in different languages. It describes work by Huang and colleagues that uses bilingual constraints to resolve difficult decisions during shift-reduce parsing, where an analysis is assembled through successive operations. It also discusses Chen and colleagues’ use of bilingual constraints on parts of dependency trees, and their subsequent use of statistical translation to obtain a parallel treebank for training. Haulrich’s work is particularly close in implementation. It adds evidence from aligned words to a parser originally designed for a single language.
The authors distinguish their goal by the condition of the target sentence. The earlier bilingual parsing work they discuss generally seeks better analyses of accurate, human-translated text. Here the target is itself an imperfect system output, and the intended beneficiary of the analysis is a rule-based repair stage. The authors note that the English source tends to be grammatically well formed, which makes tagging and parsing it easier. These circumstances give the English analysis a specific role. It can help recover evidence that would normally be available from well-formed Czech.
The paper also distinguishes this use of bilingual evidence from cross-language parser transfer. The work it reviews in that area addresses languages with weak or unavailable parsers by exploiting similarities with languages that have stronger resources. Some approaches remove dependence on particular words, a strategy known as delexicalization. Another study the paper describes uses a word-by-word translation of a treebank to obtain extra training material. Czech already had strong dependency parsers, as the authors note in connection with the multilingual shared tasks. Their starting point is an existing Czech analysis system whose behavior needs to be adapted to a specific kind of noisy input. Cross-Language Parser Adaptation and Multi-Source Transfer of Delexicalized Dependency Parsers
A further line of earlier work uses a grammar designed to analyze the bilingual pair directly. The paper mentions inversion transduction grammars and work that combines bilingual parsing with word alignment. The authors choose dependency parsers because suitable tools and training data are available for English and Czech. Their design makes the connection between the two languages through features supplied to the Czech parser. English analysis and bilingual word alignment give it inputs it can use while deciding which Czech dependencies to favor. Inversion Transduction Grammars and Joint Parsing and Alignment
Earlier work on translation errors and noisy text
The immediate setting is grammatical post-processing. The paper cites earlier work that applies a grammar checker to statistical translation output and builds directly on the DEPFIX system, which already used the English analysis in its correction rules. The present work moves some of that source evidence earlier in the pipeline. A rule can benefit from English information while deciding which form to change, and the Czech parser can benefit from English information while deciding which words the rule should operate on. Using a Grammar Checker for Machine Translation
The paper also describes research by Xiong and colleagues that supplies syntactic information to a classifier for identifying erroneous words in translations. That study uses a robust link grammar parser for its analysis. Rosa and colleagues make the parser itself the component under adaptation. This matters for interpreting the eventual evaluation. A change in the finished translation could originate in a better identification of the relation that a repair rule uses, even though the paper measures the result after the rule has run. Error Detection for Statistical Machine Translation
Foster and colleagues provide the precedent for introducing errors into parser training data. In the work reviewed here, the changes imitate errors made by people, including misspellings, repetitions and omissions, and the error patterns are specified by hand. The present paper focuses on incorrect inflections in machine translations. It estimates which changes to introduce from examples of actual translation output. The practical question is what a parser can learn when it sees grammatical structures paired with word forms that sometimes provide misleading evidence about those structures.
The method, step by step
Training and use have different inputs
The parser is adapted in two places. During training, the authors can create Czech sentences with plausible inflection errors and still supply the dependency analysis that the parser is expected to recover. When a new machine translation arrives, the authors can analyze the corresponding English source and use its word-level links to the Czech output. The first change alters the examples from which the parser learns. The second adds evidence it can draw on when scoring a dependency. The experimental design allows either change to be used on its own.
Consider the subject-finding problem. The training procedure can show a Czech subject in a form a translation system might produce, while still identifying it as the subject in the training analysis. The bilingual procedure can tell the parser that the English word corresponding to a Czech candidate is labeled as a subject. Both kinds of information can help when Czech case is misleading. One comes from earlier examples of disagreement between forms and roles. The other comes from the English sentence associated with the current translation.
The following sequence follows the combined setup from the construction of noisy training examples to the repair of a new translation. The English–Czech alignments used to carry source features belong to both parser training and its later application. The Czech–Czech alignments used to estimate inflection changes belong to the preparation of training data.
Training the adapted parser and repairing a translation
The steps in order.
The dependency parser and its training trees
The authors reimplement the MST dependency parser so they can insert the source-side features. They call their implementation RUR and use MCD to refer to the original implementation in the experiments. RUR uses a first-order, non-projective setup. First-order scoring concentrates on individual candidate links. A candidate specifies a parent and a child, and its features describe the evidence for that attachment. Non-projective parsing permits links that cross when drawn over the words in their sentence order. The result is a dependency tree whose organization is compatible with such crossings. Non-Projective Dependency Parsing
RUR is trained with single-best MIRA, the learning procedure the authors specify for the parser. The single-best setting concerns the candidate analysis used in training. RUR assigns dependency labels in a second stage with a separate MIRA-based labeler. This order matters because the labeler can use properties of the chosen tree. At the first stage the question is which word governs a dependent. At the second it is what grammatical relation that attachment expresses. The paper describes the original MCD implementation as supporting k-best MIRA and a wider range of parsing configurations. Multilingual Dependency Analysis with a Two-Stage Discriminative Parser
The parallel training resource is the Prague Czech-English Dependency Treebank, PCEDT 2.0. A treebank pairs sentences with structural analyses. This one pairs English sentences with their human translations into Czech. The English dependency trees are derived from manually annotated phrase structures in the Penn Treebank. A phrase structure groups words into constituents, while a dependency tree records relations between heads and their dependents. The Czech dependency trees used here were produced automatically with MCD. GIZA++ provides word alignments between the English and Czech sides. The Penn Treebank and Statistical Word Alignment
The origin of the two sets of trees matters for understanding what the parser learns. The English side supplies structured source evidence paired with human-translated Czech. The Czech side supplies attachment and label targets for RUR’s training. When Czech word forms are changed, those training trees stay in place. At application time RUR analyzes the translated Czech, and the English input is analyzed by MCD trained on the English CoNLL 2007 data. The source-side analysis is therefore available for a new pair even though its authors have no treebank annotation for that particular translation. The CoNLL 2007 Dependency Parsing Shared Task
What RUR sees in the Czech sentence
A parser feature is a property used as evidence when evaluating a proposed analysis. RUR first has its monolingual features, which come from the Czech sentence. The tagger Morče supplies a coarse grammatical tag and a lemma for each relevant word. A lemma is the dictionary form that identifies a word across its different inflections. The coarse tag is a compact description of the grammatical category and, for categories that express case, the case value. The tags provide information about categories and forms, while the lemmas allow the parser to learn about particular words. The Czech Statistical and Rule-Based Taggers
Each coarse Czech tag has two letters. The first encodes the main part of speech, with 12 possible values. The second gives case for categories that display it, with 7 possible values, or a more detailed part of speech for the other categories, with 22 possible values. The paper lists nouns, adjectives, pronouns, numerals and prepositions among the categories for which the second letter represents case. This tag is distinct from the fine-grained tag used to estimate and generate inflection errors. A distinction that is present in the full tag may be available only indirectly, or be absent, in the coarse one. Part-of-speech tagging and A Statistical Parser for Czech
For a proposed parent and child, RUR can use the coarse tags and lemmas at the endpoints, as well as the tags in the immediately preceding and following positions. It also uses a bag of the coarse tags between the endpoints, which represents what categories occur there without keeping their full sequence. A signed distance feature records how far apart the words are in sentence order and which direction separates them. The distance is represented in buckets with values 1, 2, 3, 4, 5 and 11. The parser combines features in several ways so that a pattern can depend on properties of both endpoints or on an endpoint together with its context.
The dependency labeler receives the same set of features and can add information from the selected tree. It can check whether a dependent is the first or last child of its parent in sentence order, and it can use the number of children of a node. This information is available after attachment decisions have established a tree. The resulting labels are useful to a repair system because the same geometric arrangement of words can involve different grammatical roles, only some of which call for a particular rule.
Turning English analysis into evidence for Czech links
The English and Czech sentences are first aligned at the word level. A word alignment records correspondences between words in the two versions. For a candidate Czech relation, the parser looks for the English words aligned with the Czech parent and child. Where a correspondence exists, it can use attributes of the aligned English word. When both endpoints have correspondences, it can ask a question about their relationship in the English tree.
The first parallel feature is the aligned tag. It gives the English word’s category according to the Penn Treebank tag set. For example, the paper’s example uses the tag NNP on the English counterpart of the Czech name Martin. The feature gives the Czech parser a more specific observation than the simple fact that there is an alignment. It identifies a grammatical category on the source side and lets the parser learn when that category is informative in combination with Czech evidence.
The second is the aligned dependency label. It records the grammatical role of the corresponding English word using the PCEDT 2.0 label set. In the example, the proposed Czech child Martin aligns to a word with the English label Sb. The parent jel aligns to a word with the label Pred. This is evidence drawn from the corresponding words’ positions in the English tree. The English label on a word remains available when testing Czech attachments to different candidate parents, provided the word alignment exists.
The third is aligned edge existence. This feature tests the direction of the proposed relation. It is true when the source counterpart of the proposed Czech parent directly governs the source counterpart of the proposed Czech child. The example gives a true value for the Czech edge from jel to Martin. For the proposed relation from jel to autem, the feature is false. Both words can have English tags and dependency labels, and their aligned words can still lack a direct English dependency in the proposed direction. The aligned edge feature captures precisely that additional piece of information.
The contrast between a false value and a missing feature is important to the procedure. In the illustrated edge from do to zahraničí, the parent lacks the aligned information shown for the child, and the edge feature is unavailable. The authors skip a feature when its required correspondence is missing. An unavailable comparison thus contributes no judgment about whether the English relation exists. Elsewhere, when the relevant English words are present and the relation is absent, that absence can be represented as a false value.
The parallel features are combined with Czech coarse tags and lemmas. As a result, evidence from the English tree can have different implications in different Czech contexts. An English edge offers agreement between a candidate relation and the source analysis. The candidate is still evaluated as a relation within the Czech sentence, where the words, local context, position and other available features also supply evidence. This is how the authors use source structure while retaining a trained Czech parser as the decision-maker.
Learning how Czech inflections go wrong
The other intervention starts by translating the English side of PCEDT into Czech with Moses. The authors tag those translations with Morče. For each of these machine translations they already have a human Czech translation, namely the Czech side of the parallel treebank. This produces a pair of Czech sentences linked through a common English original. One supplies the training words and structures the authors want to preserve. The other supplies examples of forms a statistical system actually produces.
The next task is to align words in these two Czech sentences. A useful match for this purpose connects a word in the human translation with a machine-translated counterpart whose form can be compared. The authors use their Monolingual Greedy Aligner. It evaluates all candidate links and selects the currently highest-scoring eligible link. Once it links a particular reference word to a particular machine-output word, it removes other candidates involving either endpoint. This enforces one-to-one alignment. The procedure stops when the remaining candidates fail to clear a threshold, so either sentence can contain words left unpaired.
The score uses the resemblance of the word forms, or of the lemmas when available, based on Jaro–Winkler distance. A second term scores the similarity of the fine-grained grammatical tags. A third captures similarity in relative position within the sentence. The last uses adjacent links that the aligner has already chosen, giving evidence that the words under consideration lie next to corresponding words in both sentences. Because this last input depends on the aligner’s current state, a link already in place can inform a later alignment choice.
The paper describes a linear combination for the score. Its structure can be written as follows.
S(A, B) = ∑ᵢ wᵢ fᵢ(A, B)
Here A is a word in the Czech reference translation and B is a word in the Czech machine translation. S(A, B) is the score of linking those words. The index i runs over the alignment features. fᵢ(A, B) is the current value of feature i for the pair, and wᵢ is its weight. The summation sign means that the weighted contributions are added together. The proximity evidence can change as links are chosen. The authors set the weights and threshold by hand using ten sentence pairs and report that the resulting alignments were adequate for their purpose.
For each aligned pair the authors record the fine-grained tag on the human-translated side and the tag on the machine-translated side. The reference tag specifies the starting category of the transition. The machine-output tag supplies an observed result for that category. Maximum-likelihood estimation from these counts gives a conditional distribution. In count form, the estimate described in the paper is the following.
P(t′ | t) = C(t, t′) / ∑ᵤ C(t, u)
P(t′ | t) is the estimated probability of drawing target tag t′ when the reference tag is t. The vertical bar indicates that the estimate is conditional on the reference tag. C(t, t′) counts aligned pairs with reference tag t and machine-output tag t′. In the denominator, u ranges over the machine-output tags, and the summation adds their counts for that same reference tag. The slash denotes division. A draw can return the original tag, since the distribution also reflects aligned pairs whose tags agree.
The authors then visit the words on the Czech side of PCEDT and sample a tag for each position according to the distribution for its original tag. When the sampled tag changes, they ask a Czech morphological generator for a word form with that tag and the original lemma. The paper reports that about 20% of fine-grained tags were changed by the sampling procedure. It also reports that in 4% of cases a form for the sampled tag was unavailable and the original was retained. These figures describe the training-data alteration.
The Czech sentences now contain a mix of original forms and generated alternatives. A word can carry a form that would normally make its syntactic role less plausible, while the training tree still assigns it that role. The lemma and dependency structure remain fixed. This makes the adaptation specific to inflection. The authors can vary how a familiar syntactic structure is expressed on the surface without having to supply a new tree for every generated version. RUR learns from the resulting trees using the same parsing setup.
PCEDT conveniently supplies English sentences, Czech human translations and Czech trees, but these resources can also be drawn from separate collections for the inflection procedure. The authors point out that text with reference translations can supply the aligned observations used to estimate tag changes. Those changes can then be applied to other text for which dependency trees are available. The two roles of the data are estimation of translation-induced changes and preservation of syntax during parser training.
From a parse to a corrected sentence
DEPFIX uses these analyses in the TectoMT/Treex framework. Its rules inspect the Czech tree and can consult the word-aligned English parse. A rule can require a clause subject to have nominative case or enforce agreement between a subject and predicate, or between a noun and an attributive modifier. Depending on the relationship, the relevant properties include gender, number and case. A change to a grammatical property leads to regeneration of the Czech word form.
The paper illustrates a subject–predicate repair involving přišel, glossed as “he came.” In the example, the form has the wrong number and gender. The rule needs to find the grammatical relationship before it can decide what properties should agree. If the Czech parser assigns the subject elsewhere, a well-specified agreement rule may have the wrong inputs. If the parser finds the intended attachment, DEPFIX has a structure on which to base the change. This connection between parsing and rule application is the reason the authors evaluate the parser through the quality of the final translations.
Experiments and results
Test sets and comparison systems
The evaluation begins with English-to-Czech translation test data from WMT10, WMT11 and WMT12. The corresponding sets are newssyscombtest2010, newssyscombtest2011 and newstest2012. They supply English sources, reference translations and outputs from statistical translation systems. The authors use outputs from GOOGLE, UEDIN and BOJAR for the automatic evaluation. The human evaluation uses randomly chosen GOOGLE translations from WMT11 and WMT12, with 1000 sentences sampled from each test set.
The comparison between systems has several layers. Raw SMT output shows how the translation looks before DEPFIX runs. The MCD condition runs DEPFIX with Czech parses from the original MST implementation. The RUR condition uses the authors’ reimplementation without either adaptation. RUR+PARA adds features from aligned English words and their parse. RUR+WORS uses the training treebank with simulated inflection errors. RUR+WORS+PARA applies both changes. The parser variants are judged through the same downstream correction system.
These baselines answer different questions. Raw output is relevant to a user deciding whether to run post-processing at all. MCD is relevant to a system that already uses the earlier parser and wants to know whether to adopt the new one. Plain RUR holds the authors’ reimplementation fixed and provides the most direct baseline for testing the changes to its information and training data. Keeping these comparisons separate matters because a gain over untranslated post-processing input can include the contribution of DEPFIX itself.
The authors choose an indirect evaluation because the intended dependency tree of an ungrammatical translation can be difficult to define. An anomalous form may support competing analyses. The most literal reading of the surface string may differ from the reading that a human repairer thinks the sentence was meant to express. The paper evaluates the corrected Czech strings, using both reference-based scoring and judgments by people who can see the English original. This makes the endpoint concrete while leaving attachment accuracy unmeasured.
Automatic evaluation with BLEU
BLEU compares translations with references using overlap in word sequences. It gives the authors a common score for raw translations and for the results of DEPFIX with each parser. A higher value in these experiments means better performance on that reference-based metric. The translation set is the unit for the score, so the table reports a corpus-level result for each test-set and translation-system comparison. A gain indicates that the final text scores better under this measure. Bleu: A Method for Automatic Evaluation of Machine Translation
The automatic results show gains of different sizes and some close comparisons. In the WMT English-to-Czech suite comparison where the combined configuration scores 17.03 BLEU, raw output scores 16.57, MCD scores 16.95 and plain RUR scores 16.85. The parallel-only configuration scores 16.90, and the altered-training-only configuration scores 16.96. Here each individual adaptation raises the score relative to plain RUR, and the combined setup reaches the highest score in that comparison.
In the suite comparison where the combined setup reaches 16.54 BLEU, the raw translation scores 15.91 and plain RUR scores 16.29. The parallel-only setting and MCD both score 16.35. Altered training alone scores 16.45. This is a case where the combined setup is significantly better than the alternatives on that row, including both individual adaptations. Elsewhere in the suite, altered training and the combined setting tie at 20.53 BLEU, with 20.26 for raw output and 20.42 for plain RUR. These comparisons illustrate both how the adaptations can work together and how much of the observed improvement a single change can supply in a particular setting.
Some rows are nearly flat across configurations. In one comparison, raw output scores 14.36 BLEU, plain RUR scores 14.37, the altered-training-only setting scores 14.40 and the combined setting scores 14.39. In another, MCD reaches 16.32, plain RUR and both individual adaptations score 16.31, and the combined setting scores 16.30. These are comparisons among the WMT test sets and systems in the automatic evaluation. The table’s significance analysis gives the numerical ordering of such close scores its proper context.
The authors compute 95% confidence intervals using 1000 bootstrap samples. They find that RUR+WORS+PARA scores significantly higher than MCD in 4 cases and significantly higher than plain RUR in 3 cases. Using the comparisons reported in the paper, all three adapted settings avoid a statistically significant BLEU loss against either parser baseline. The authors interpret this pattern as evidence that the changes can give a small improvement when parsing translated output for DEPFIX. The distribution of scores across test conditions supports a qualified claim about the adaptation, with the benefit varying by comparison.
What the human judges compared
The manual experiment pits the combined configuration against raw SMT output, MCD and plain RUR in separate pairwise judgments. The input underlying each pair is a translation from GOOGLE. An annotator sees the two Czech versions for a sentence, its English source and a reference translation. The test is blind and the items are shuffled. The annotator can prefer either version or judge the pair to be of equal quality. WMT11 has two independent annotators. WMT12 has one.
The annotations concern sentences where the relevant pair of systems produced different text. Each baseline therefore has its own set of judged differences. On WMT11, the combined version differs from the raw translation for 422 of the sampled sentences. It differs from the MCD condition in 211 and from plain RUR in 217. On WMT12, the corresponding denominators for these pairwise comparisons are 420, 188 and 187. The percentages reported by the paper are shares of these differing sentences. They describe the direction of judgment when the choice of system changes the text.
Against raw GOOGLE output on WMT11, annotator A prefers the combined DEPFIX version in 301 cases, or 71% of the differing pairs. The raw version wins in 79, or 19%, and the remaining 42, or 10%, are judged equal. Annotator B gives the combined version 284 preferences, or 67%, and the raw version 69, or 16%. This annotator also records 69 equal-quality judgments, reported as 16%. On WMT12, the combined version wins 270 preferences, or 64%, against the raw output’s 88, or 21%, with 62 equal judgments, or 15%. These comparisons show the performance of the full repair pipeline against the translation as initially produced.
The MCD and RUR comparisons isolate a narrower change, since the alternatives also use DEPFIX. For WMT11, annotator A prefers the combined variant to MCD in 120 differing pairs, or 57%. MCD is preferred in 65, or 31%, and equal quality is assigned in 26, or 12%. Annotator B gives the combined variant 107 preferences, or 51%, and MCD 56, or 26%, with 48 equal judgments, or 23%. The annotators differ in how frequently they select a winner, while both select the combined variant more frequently than MCD.
Against unmodified RUR on WMT11, annotator A gives the combined version 123 preferences, or 57%, and gives RUR 64, or 29%. There are 30 equal judgments, or 14%. Annotator B gives the combined version 118 preferences, or 54%, and gives RUR 53, or 24%, with 46 equal judgments, or 21%. The WMT11 chart uses annotator A’s counts for that matched comparison. The gap between the preference counts can be understood alongside the number of equal judgments and the 217 sentences on which the outputs differ.
WMT11 GOOGLE translations, annotator A’s preferences on pairs differing between the RUR variants
The annotator prefers the combined parser’s correction more often than the correction based on plain RUR.
The numbers
| System or setting | preference count |
|---|---|
| DEPFIX with plain RUR | 64 |
| DEPFIX with RUR+WORS+PARA (this paper) | 123 |
On WMT12, the comparison with MCD gives the combined variant 86 preferences, or 45%, and MCD 64, or 34%, with 38 equal judgments, or 20%. In the comparison with plain RUR, the combined variant gets 96 preferences, or 51%, and RUR gets 57, or 30%, with 34 equal judgments, or 18%. The chart for WMT12 uses the MCD comparison. It shows a case where the combined setup leads in preferences and the equal-quality category still accounts for a substantial share of the judgments.
WMT12 GOOGLE translations, preferences on pairs differing between MCD and the combined RUR variant
The combined variant receives more preferences than the correction based on the original MST parser.
The numbers
| System or setting | preference count |
|---|---|
| DEPFIX with MCD | 64 |
| DEPFIX with RUR+WORS+PARA (this paper) | 86 |
The paper tests for significance with a one-sided paired t-test. It encodes a preference for the combined configuration as 1, a preference for the baseline as -1 and an equal-quality judgment as 0. This encoding gives wins and losses opposite directions and treats equal judgments as neutral. Under that test, the authors report that the combined configuration significantly outperforms MCD and plain RUR on both manually evaluated test sets. The claim concerns overall judged translation quality for the evaluated comparisons.
Agreement between the WMT11 annotators
The WMT11 experiment allows the authors to examine how often the two annotators agree. They report both the observed agreement rate and Cohen’s kappa, which adjusts agreement for what would be expected from the annotators’ category-use rates. With the equal-quality judgments included, agreement for the comparison with raw output is 77% and kappa is 0.54. In the comparison with MCD these values are 79% and 0.66. For plain RUR they are 75% and 0.60.
The authors also calculate agreement after removing pairs for which either annotator assigns equal quality. Among the retained pairs, the comparison with raw output has 92% agreement and kappa of 0.74. The comparison with MCD has 95% agreement and kappa of 0.90. The comparison with plain RUR has 94% agreement and kappa of 0.85. The second calculation describes agreement on direction when both annotators choose a winner. The first describes agreement when deciding whether a difference is worth a preference is itself part of the task.
The distinction reflects the authors’ view that choosing opposite versions is a more serious disagreement than one annotator selecting a winner while the other considers the versions equal. It also helps explain why preference counts and agreement figures serve different purposes. Counts tell how each annotator distributed judgments in a given system comparison. Agreement tells how consistently the annotators made the same choice on the same pair. The WMT11 data support both looks at the judgments. The WMT12 data describe the decisions of a single annotator.
What the ablations show
Changing the training data and the runtime evidence separately
The automatic comparisons among the RUR variants let the authors test two broad interventions. Plain RUR establishes the result with neither intervention. RUR+PARA introduces the aligned English features, while RUR+WORS introduces the simulated inflections during training. The combined variant has both. Since DEPFIX remains the downstream component for all four RUR conditions, these comparisons address the effect of supplying it with parses from the different configurations.
Parallel features frequently help in this comparison. In the test-set and translation-system condition where the combined setting scores 17.12 BLEU, plain RUR scores 17.03 and parallel features alone raise the result to 17.05. In the condition where the combined setting scores 15.74, the values for plain RUR and parallel features alone are 15.66 and 15.72, respectively. Source evidence can therefore contribute to the final translation score even when the parser was trained on the original word forms.
Altered training also has its own effect. In the automatic comparison that reaches 18.25 BLEU with both changes, RUR scores 18.09, altered training alone scores 18.21, and parallel features alone score 18.19. In the comparison that reaches 20.53 with both changes, altered training reaches the same 20.53, while parallel features alone give 20.47 and plain RUR gives 20.42. These results establish that changing the inflections seen during training can help even when the parser uses only the Czech-side evidence on a new sentence.
The patterns across rows also constrain the account of the combined variant. In some settings its score exceeds those of both individual variants. In others an individual setting ties it or edges ahead. A dependence can be difficult for reasons the training alterations address, for reasons the source features address, or for both. BLEU supplies evidence about how these changes perform together in the complete pipeline, and the paper supplements it with inspection of specific trees to understand what changes in the analysis.
Recognizing a subject when its case is misleading
The first type of example concerns subjects. The authors explain that Czech requires a subject to be in nominative case, and translations sometimes violate this requirement. A parser that has learned to rely on case can then pass over the intended subject. The altered training corpus can contain words annotated as subjects whose sampled inflections give them another case. Such examples let the parser learn attachments in contexts where the normal case clue is unreliable.
The aligned dependency label provides a different way to recognize a subject. If a Czech word aligns to the English subject, its English label supplies evidence about the Czech word’s role. This is a property of the aligned node. The English subject label can help even when the most useful source observation is the role of this single word. The parser still evaluates Czech attachments, so the label enters as evidence about the candidate alongside the Czech tag, lemma and context.
For DEPFIX, recognizing the intended subject has consequences beyond choosing a dependency label. It can make a nominative-case repair applicable to the right word. It can also give a subject–predicate agreement rule the correct pair to inspect. The inspection thus gives a plausible account of how an improvement in the analysis can affect the repaired text. The evidence here is the authors’ comparison of selected trees, and the particular contribution of the English label is their interpretation of those examples.
Finding which noun an adjective modifies
The second type of example concerns an adjective and its governing noun. In well-formed Czech, agreement in number, gender and case can help the parser identify the noun. Machine translation can produce an adjective and noun whose forms fail to agree. If there are competing attachments, the expected morphological pattern may then be stronger for the wrong candidate or give little support for the intended one.
Here the authors emphasize aligned edge existence. The proposed Czech noun and adjective can align to English words that are directly connected in the appropriate direction. That observation describes the relation between the two endpoints. It can support attaching the Czech adjective to the intended noun even when their surface forms make the link look unlikely. Once that attachment is available to DEPFIX, the correction rule can inspect the grammatical properties of the words that belong together.
This example also clarifies the different information carried by the two features highlighted in the inspection. A node label is evidence about the function of an aligned word in the source analysis. An edge check is evidence about the source relationship between the counterparts of a proposed Czech head and dependent. A subject’s grammatical role can be useful across several potential attachments. Evidence of a direct English edge varies with the selected pair and its direction. The authors use these cases to explain why source information can help at more than one point in the parser’s decisions.
How far the comparisons identify a cause
The automatic comparisons separate the two main adaptations, and the tree inspection gives examples of their possible mechanisms. The paper’s feature-level evidence comes from those examples. It gives no separate aggregate score for dropping aligned tags, aligned dependency labels or aligned edges from the otherwise combined parser. Calling one of these features crucial in an example therefore identifies an explanation for a particular kind of decision. Its contribution across the test data remains open.
The human evaluation addresses a complementary question. It measures the combined variant against raw output and against the two unadapted parser baselines. The evidence for the individual variants comes from the automatic evaluation, so the manual results establish a preference for the combined approach under the reported conditions. They leave open how frequently a human would prefer one adaptation alone or attribute the combined result to a particular source feature. The paper brings together separate intervention comparisons, judgments of the combined system and observations of selected parses. Each bears on a different part of the explanation.
Limitations
Limits identified by the authors
The authors evaluate parsing through the effectiveness of DEPFIX because a correct tree for an ungrammatical translation is hard to define and annotate. Their choice gives a direct measure of whether the complete pipeline produces better translations under BLEU and human judgment. It leaves open attachment and label accuracy on a full collection of translated sentences. The paper’s cases of improved subject or noun identification help explain the observed translation gains, while a systematic evaluation of those decisions would require another annotation and comparison procedure.
The training procedure deliberately covers a restricted family of errors. It substitutes available inflected forms while preserving lemmas and tree structure. The authors identify other kinds of translation irregularities as a direction for further work. Their method as tested addresses misleading morphology in otherwise preserved structural examples. Translation errors that change lexical choice, omit material or alter the structure present a different training problem. The paper’s comparison with earlier work on errors made by people helps locate this boundary. The present intervention is designed around the inflection patterns observed in machine output.
The authors also describe their source features as few and simple. They expose local properties of aligned source nodes and the existence of a directed edge. More elaborate use of the English analysis remains a research question. The current features depend on the availability and quality of the underlying source parse and word correspondences. A source word can support a decision where it supplies a relevant grammatical clue, and the method skips a feature when its required alignment is unavailable. The paper points to other possible applications, including translation error classification, confidence estimation and multilingual question answering, as proposals beyond the reported tests.
Limits visible in the experimental setup
The translation experiment gives the strongest evidence for English-to-Czech statistical translation with DEPFIX. Czech morphology motivates the training changes and figures directly in the correction rules. The particular source features encode information from an English parser and tag set. Testing several translation systems broadens the automatic evidence within this setting. The effectiveness of the same changes for another language pair, another source analysis or a correction stage with different rules remains unmeasured.
The Czech training trees are automatic, and the artificial changes preserve those trees as the supervision supplied to RUR. This distinction matters because preservation and correctness are separate properties of the data. The training examples hold the original annotation fixed across word-form changes. Their ability to teach a structure therefore depends partly on the analysis assigned before any form was changed. The paper’s outcome measures concern the usefulness of the resulting parser in the repair pipeline. They leave the effect of relying on these automatic training trees, relative to another annotation source, unresolved.
The learned inflection distribution also depends on the Czech–Czech matching step. A tag pair is informative about an inflection error to the extent that the two aligned words really are comparable in context. Human and machine translations may choose different expressions, and taggers can make mistakes on noisy forms. The counts describe what the tool observes under its alignment and tagging procedures. The aligner’s one-to-one restriction and score threshold help select plausible counterparts, while also shaping which examples contribute to the estimates. The authors calibrate the aligner on ten sentence pairs and judge it sufficient. The paper gives no task-wide measurement of how its alignment errors affect the learned distribution.
Moses supplies the translation output from which the training-time changes are estimated. The tests on GOOGLE, UEDIN and BOJAR provide evidence that this training signal can help with other systems’ translations in the reported setup. The estimates nevertheless reflect the observed output used to collect them. How the procedure behaves when the training and test systems make substantially different kinds of inflection errors remains open. A related uncertainty concerns generation. Where the sampled tag has no realizable form for a lemma, the adaptation retains the original word, so the final corruption also depends on which forms the generator can supply.
The human judgments are confined to GOOGLE output on WMT11 and WMT12. Within each comparison they apply to sentences whose corrected versions differ. A preference rate such as 57% for WMT11 annotator A against plain RUR refers to those differing pairs. It measures the direction of judgments when the parser change leads to a different string. The broader effect also depends on how often a pair of configurations changes the output at all. The reported counts of differing sentences are therefore part of the interpretation of the preference rates.
Annotator agreement is available for WMT11. The WMT12 comparisons rely on one annotator, so they provide a further test set and a different pattern of preferences without a second independent judgment on the same items. The retained-pair agreement figures on WMT11 describe cases in which both annotators decide that a difference merits a preference. The figures that include equal judgments give the broader measure for the task as administered. Both are informative, and their denominators answer different questions.
Finally, the automatic and human measures capture the submitted translation strings after all the rules have run. A rule may leave a sentence unchanged even after a better attachment, and an attachment change can affect one part of a sentence while another error remains. A better final translation provides evidence that the adapted analysis is useful to DEPFIX. It leaves room for changes in the trees that do not reach the final string, as well as for errors in the final text that lie outside the scope of the rules. The reported improvement is consequently most precise as a result about parsing in service of this repair task.
What came after
Cross-lingual coreference resolution
Cross-lingual Coreference Resolution of Pronouns (2014) cites the paper from a different grammatical task. Coreference resolution concerns finding expressions that refer to the same entity. In pronoun resolution, the question is which expression a pronoun refers back to. Rosa and colleagues’ parser faces a different decision, about the grammatical head or role of a word in translated Czech. The connection visible from the citation and title is the use of a cross-language setting to study a linguistic decision that can be difficult within the sentence under analysis. Cross-lingual Coreference Resolution of Pronouns
In the translation repair paper, the transfer is explicit and local. A Czech word’s aligned English counterpart supplies a tag or role, and a pair of counterparts can provide evidence for a dependency. The later title identifies pronoun coreference as its task, and the citation establishes a connection to the earlier work. The particular role of RUR’s features or its training procedure in the later study is unspecified. The defensible link is between research on exploiting grammatical evidence across languages and research on resolving reference across languages.
A later citation in Slavic Forest, Norwegian Wood
Slavic Forest, Norwegian Wood (2017) also cites the paper. The citation establishes a later connection, while the title alone leaves the nature of that connection open. The earlier work supplies several distinct points of contact for research using paired linguistic data, including English-to-Czech feature projection, error simulation in parser training and evaluation through downstream grammatical repair. Which of those points the later work uses is unspecified by the citation. Slavic Forest, Norwegian Wood
Cite
Cite as Rudolf Rosa, Ondřej Dušek, David Mareček and Martin Popel. 2012. Using Parallel Features in Parsing of Machine-Translated Sentences for Correction of Grammatical Errors. Proceedings of the Sixth Workshop on Syntax, Semantics and Structure in Statistical Translation.
@inproceedings{rosa2012using,
title = {{Using Parallel Features in Parsing of Machine-Translated Sentences for Correction of Grammatical Errors}},
author = {Rudolf Rosa, Ondřej Dušek, David Mareček and Martin Popel},
booktitle = {Proceedings of the Sixth Workshop on Syntax, Semantics and Structure in Statistical Translation},
year = {2012},
url = {https://aclanthology.org/W12-4205/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/rosa-2012-parallel-features-parsing-machine-translated/