Elamur Research

Factored Statistical Machine Translation for Grammatical Error Correction

Paper · 2014 · Yiming Wang, Longyue Wang, Xiaodong Zeng et al.

Summary

A grammar correction system has to decide when to change a sentence and what to put in its place. Those decisions become harder when nearby errors affect one another. Wang and colleagues approach grammatical error correction as a kind of machine translation within English. They train a system on pairs consisting of a learner sentence and its corrected counterpart. At test time the system proposes a complete sentence, so leaving a passage untouched and editing it are outcomes of the same search. The work was designed for CoNLL-2014, which required participants to address all 28 error types and used F0.5, a score that favors precision over recall.

The authors ask whether a system trained on a limited collection of sentence pairs can benefit from seeing more than the written forms of words. They test word stems, prefixes, suffixes, and grammatical categories obtained through part-of-speech tagging. Each representation supplements the original words. Their strongest version gives articles and prepositions tags that preserve the identity of the particular word. A general determiner category can indicate the kind of word that belongs in a position, while a tag such as DT_the also distinguishes the word the. The authors test these representations without generating artificial learner mistakes to expand the original parallel corpus.

On the authors’ held-out test, the system with modified tags improves F0.5 by 3.70 points over the word-only phrase-based baseline, a relative improvement the paper reports as 32.54%. Ordinary part-of-speech tags also improve the score. Stems and suffixes give smaller gains, and prefixes lower it. The baseline has the highest precision and lowest recall among the individual systems. The best factored system thus owes its higher F0.5 to recovering more reference edits while giving up some precision. Passing sentences through a second correction system, including a version trained partly on first-pass outputs, brings only small gains over the baseline. A single system that combines stems and modified tags scores below it.

The authors submit the modified-tag system to the shared task. On the official test of 50 essays with 2,203 errors, it obtains precision of 0.3127, recall of 0.1446, and F0.5 of 0.2537 using the original reference edits. Those scores place it 7th among the thirteen teams. With alternative answers included, its F0.5 is 0.3488 and it places 5th. The official error breakdown indicates comparatively better correction of verbs and articles or determiners among the categories examined. The more general result comes from the controlled comparison on the authors’ split, where changing how words are represented produces a larger gain than the combinations of correction systems they tried.

Deep dive: Factored Statistical Machine Translation for Grammatical Error Correction

Factored statistical machine translation learns to correct English learner writing from paired sentences using word forms and grammatical tags. · about 31 minutes to read

The problem and its context

A correction can change the context for another correction

For a learner, an automatic correction system can help improve the grammatical quality of a draft. For a writer using a first language, it can remedy mistakes that survive ordinary composition. In either setting, a proposed change has consequences beyond whether the system recognized an unusual form. The replacement itself has to fit the sentence. A system that flags the right location and inserts the wrong word has still produced a faulty correction. A system that changes a grammatical expression on the strength of weak evidence can make the text worse than it was.

The paper focuses on how to organize the decisions a correction system has to make. One design gives each error type a dedicated procedure. An article procedure examines articles, for instance, while another procedure looks for trouble with noun number. This division makes it easier to specify the evidence relevant to a particular decision. It also creates a question about the relationship between decisions. A noun’s number can affect the appropriateness of a nearby determiner or the form of a verb. If the noun itself is wrong, the surrounding words provide an imperfect basis for deciding which other word needs a change.

Earlier approaches covered in the paper include hand-built rules, methods learned from data, and systems that combine the two. The authors describe gains on frequent error types across these approaches. They also observe that many systems separate detection from correction and design their components around individual categories. The earlier UM-Checker illustrates both choices. For the CoNLL 2013 task, it runs a cascade of five specialized components in sequence, each responsible for detecting and correcting a different type of error. The input to a later component may already contain changes made by an earlier one.

A cascade makes it possible to give full attention to the details of a category. It can also make individual stages easier to formulate as classification problems. The paper identifies a cost when neighboring mistakes are handled this way. A decision made for one error type can change the evidence used by the next procedure. An early false detection can prompt a needless adjustment, and the resulting sentence then becomes the input for more decisions. As coverage expands, the design problem includes both the behavior of the added components and the order in which they act.

The scale of the shared task made this concern more pressing. Earlier shared tasks offered narrower targets, including a focus on prepositions and determiners in HOO 2012. CoNLL 2013 limited its correction task to five error types. The 2014 task asked participants to address all the errors covered by its 28 categories. It also adopted F0.5 as the official measure, with greater emphasis on the proportion of proposed edits that are right. The authors saw these changes as a reason to investigate a shared correction procedure and let detection and replacement be resolved together.

Paired sentences make correction a translation problem

The translation approach gives the learner sentence the role of a source and its corrected counterpart the role of a target. Both are in the same language. A system can learn that a stretch of source text corresponds to a different stretch of target text, or that the same words recur on both sides. At decoding time, it uses such correspondences to look for a plausible target sentence. A span that stays the same requires no separate handoff from an error detector to a replacement procedure.

Phrase-based statistical translation provides the starting point. A phrase in this setting is a span of words handled together by the translation system. A correspondence can therefore draw on nearby words as well as on the form being changed. One learned correspondence might preserve a span, while another might favor a different form in a particular local context. A complete correction can result from several such decisions. This makes the procedure applicable across error types without requiring a separate detector for each one. The range of changes it can use still depends on what it can learn from data.

Other researchers had already tried translation for correction, including work that addressed learner texts and work that used grammatical information to improve translation. The paper identifies parallel data as a recurring constraint. A collection of corrected prose can supply evidence about well-formed text, but learning a correction also calls for examples of how learner wording lines up with revised wording. Some prior work addressed that shortage by creating artificial errors in sentences. The paper associates this strategy with earlier work such as Correcting ESL Errors Using Phrasal SMT Techniques.

Earlier translation-based systems also gave the translator grammatical evidence through tags or tree structure. The authors take up that direction and ask which linguistic descriptions of individual words are useful for their correction task. A word’s ending may show something about its inflection. A stem can connect related forms that have different spellings. A grammatical tag can supply a category shared by different words. The common question is whether the patterns available through those descriptions help when the exact word sequences available for learning corrections are scarce.

The paper draws on Factored Translation Models for a way to make those descriptions available. In factored translation, the input and output can carry multiple attributes at each word position. The written word remains one of the attributes. A tag or stem is another. This lets the authors keep the basic correction-as-translation task intact while testing how much can be gained by changing the information available about a word. Their experiments also revisit cascading, this time with complete translation-based correctors whose outputs can themselves become material for training a second pass.

The method, step by step

Building the sentence pairs

The authors start with the NUS Corpus of Learner English, abbreviated NUCLE. They turn the error-annotated material into aligned pairs at the sentence level. The learner sentence goes on the source side, and its reference correction goes on the target side. Each pair supplies examples of what stays and what changes in context. This organization is needed before the translation training procedure can try to discover correspondences between portions of the source and target.

The conversion reveals some source sentences without a corresponding target sentence. The authors trace those missing counterparts to problems in the reference annotations and remove the unpaired material. An absent target caused by an annotation problem would make a poor training example. In particular, the absence of a corrected sentence should be distinguished from a genuine edit that removes words from a sentence. Dropping the incomplete pair keeps the training input aligned with the correction task the authors intend to study.

The next preparation step addresses sentence-initial capitalization. A token can start with a capital because of its position in the sentence, even when its usual spelling in another position is lower-case. The Moses truecaser puts initial forms into their most probable casing. After decoding, the system applies the corresponding de-truecasing step. This separates a predictable convention of sentence position from the evidence the translation system uses when learning and applying corrections.

URLs receive different treatment. The authors find that they are common in the corpus and see little benefit in letting an ordinary correction procedure edit them. They enclose them in XML markup that tells the decoder to pass them through unchanged. That turns the preservation of these strings into an explicit instruction. An ordinary word or phrase goes into translation search, where different target renderings can compete. A marked URL is carried to the output as it stands.

Training and applying the factored grammar corrector

The steps in order.

Training and applying the factored grammar correctorStep 1: Pair learner sentences with reference corrections1. Pair learner sentences with reference correctionsStep 2: Remove unpaired sentences and normalize casing2. Remove unpaired sentences and normalize casingStep 3: Mark URLs for unchanged output3. Mark URLs for unchanged outputStep 4: Attach linguistic factors to word forms4. Attach linguistic factors to word formsStep 5: Learn correspondences and tune correction scores5. Learn correspondences and tune correction scoresStep 6: Decode learner sentences into corrected sentences6. Decode learner sentences into corrected sentencesStep 7: Restore sentence casing7. Restore sentence casing

Keeping the word while adding a description

The simplest comparison system has access to the surface form, the word as it appears after preprocessing. In a factored system the token still has that form, but it is also accompanied by at least one attribute. The attributes are attached at the word level, so an attribute and the associated word occupy the same position in the representation. A view of the sentence as words can coexist with a view of it as a sequence of categories, stems, or fragments of words.

Keeping the surface form matters because generalization can discard useful distinctions. Two forms may end in the same letters while belonging to unrelated words. Two words may receive the same part-of-speech tag while being unsuitable substitutes for one another. The extra factor gives the system another basis for learning or applying a correspondence. The original word supplies lexical detail that the extra description may omit. The comparisons therefore ask what each extra factor contributes alongside the words.

The first kind of information investigated is a stem. The authors use the English Porter algorithm for stemming, a procedure that reduces related word forms to a common or more nearly common representation by stripping endings. A stem is useful here as a compact description of a word, even if it is an unsuitable string to put in the final sentence. The actual correction still has to be expressed in surface words, where tense, number, and other distinctions can be visible.

The authors explain their choice of stems in terms of the work the attribute needs to do. Stemming is easier to obtain than identifying a linguistically analyzed base form, or lemma. In a same-language translation task, they reason that a correspondence between stem or lemma representations is straightforward to learn, and that either serves as auxiliary information. Their experimental comparison concerns the Porter stem and the other factors they actually train with. The rationale for choosing a stem does not depend on substituting stem strings into learner prose.

The prefix attribute takes the first three letters of a word. If a word is shorter, the whole word becomes its prefix attribute. This is a positional definition. The retained letters can be an ordinary part of a word’s spelling whether or not they constitute a meaningful prefix in morphology. The authors consider the possibility that the beginning of a word will supply evidence for capitalization changes. They include the factor to test that possibility alongside other kinds of word-form information.

The suffix attribute takes the last three characters. This, too, is a fixed-width description of spelling. The motivation is that the ends of inflected nouns and verbs can carry evidence about number and agreement. A system that sees a common ending across different words can represent that similarity even when the complete word forms differ. What the factor supplies is the ending. The sentence context and the learned correspondences still have to support the choice of a particular correction.

These descriptions make different distinctions available. A stem can bring related inflected forms together, whereas a suffix can highlight how those forms differ at the end. A prefix highlights a different region of spelling and can retain much of the identity of a very short word. The fixed character spans are inexpensive descriptions in the sense intended by the paper. Their usefulness is an experimental question because the patterns they make easy to learn need to coincide with patterns relevant to the errors in the corpus.

Making some grammatical tags more specific

A part-of-speech tag describes the grammatical category assigned to a word in its context. A sequence of such tags can expose a recurring pattern across sentences that use different vocabulary. The authors are interested in using that regularity to help recover items such as missing determiners, prepositions, and modal verbs. The categories come from the tag set of the Penn Treebank, which has 45 tags, and the Stanford parser supplies the tags for the words in context.

A conventional tag says what kind of word occupies a position. DT marks a determiner in the paper’s example. A context that commonly takes a determiner can therefore be represented as such at the tag level. Choosing the particular word is a narrower decision. The ordinary tag alone leaves a, an, and the indistinguishable when they receive the same category. Their spellings are already present in the surface factor, but the lower-resolution tag sequence does not encode which one occurs.

The authors create modified part-of-speech tags, abbreviated MPoS, by preserving word identity in the tags for articles and prepositions. In the example, the receives DT_the, of receives IN_of, and to receives TO_to. The first portion retains the conventional tag, while the added portion identifies the word. The paper illustrates this with a sentence about a card containing biometric data. In the phrase about the risk of falsification, the modified sequence distinguishes the and of at the tag level, while nearby nouns continue to carry their ordinary grammatical labels.

This choice puts more detail into a limited portion of the tag sequence. Nouns and verbs can still be represented by the categories that group their various instances together. Articles and prepositions receive the greater specificity the authors want for those correction decisions. The approach was inspired by earlier work with preposition-specific tags. The paper’s extension covers articles as well, so the trial compares the regular tag set with a version that makes both changes together.

A correction still takes place through the translation search. The presence of DT_the in the representation does not instruct the system to add the at a prescribed point. It gives the learned correction process evidence expressed at a different level of detail. A sentence with an absent word has no input tag at the missing position. To supply the word, the system must learn from aligned contexts in which a source span corresponds to a target span containing it, and the decoder must favor that candidate in the sentence being corrected.

Learning correspondences and scoring corrected sentences

The experiments use Moses 1.0 for translation training and decoding. Within the sentence pairs, the authors need links between words that correspond across sides. They obtain word alignments with GIZA++ and use the grow-diag-final procedure to reconcile alignment evidence across directions. The resulting links feed training for translation and reordering through the Moses scripts. The paper attributes the alignment work underlying the toolkit to A Systematic Comparison of Various Statistical Alignment Models.

The distinction between a sentence pair and a word alignment is important for understanding what the system is given. Pairing says which corrected sentence belongs with a learner sentence. Alignment estimates which parts within those sentences correspond. The authors provide the pairs, while the training procedure infers the more local links. Those links support learning that a source span can be rendered as a particular target span. Evidence that words can occur in a different order on the target side can also contribute to the reordering component.

A further source of evidence concerns the plausibility of target wording. The authors train one language-scoring component on the reference sentences, representing the domain of corrected learner writing. They train another on English monolingual data from WMT2014, representing a more general domain. This part of the design can use sentences that have no corresponding learner version. A monolingual sentence shows a sequence of words on the output side. A paired sentence additionally shows how a piece of learner wording was revised.

For this scoring the authors describe a 5-gram configuration trained using SRILM. An n-gram is a sequence of consecutive tokens. In a 5-gram language score, the probability assigned at a word position can depend on up to four preceding words. The authors use improved modified Kneser-Ney smoothing, which gives the probability estimates a way to draw on shorter contexts when the longer sequence is scarce. They quantize the probabilities and the back-off weights, reducing the precision at which those values are stored. A back-off weight governs the contribution used when a shorter context supplies the estimate.

The in-domain and general-domain language scores are linearly interpolated during decoding. The interpolation gives each source of evidence a weighted share in the combined language estimate. A common expression can have support from general written English, while a sequence characteristic of the corrected essays can have support from the in-domain data. The paper specifies the interpolation and the data behind it, but gives no interpolation weights. Its experimental comparison concerns changes in the translation factors and combinations within this scoring setup.

The translation system brings its different kinds of evidence together through log-linear scoring. In practical terms, such a score combines weighted feature values to rank candidate output sentences. The weights determine how strongly the evidence from correspondences, reordering, or target-language plausibility affects the search. The authors fit weights with minimum-error-rate training, abbreviated MERT, using the development data to tune the decisions. Training the translation correspondences and tuning the weights serve different purposes. Correspondence training supplies candidate changes and evidence for them, while tuning adjusts how the decoder balances the evidence when choosing outputs.

At test time a learner sentence goes through the same relevant preprocessing. A factored system has the additional word attributes it expects. The decoder uses its learned correspondences and scoring components to select a target sentence. Protected web addresses are passed through, and casing is restored. The scoring procedure for evaluation is applied after the system produces its corrections. It compares the proposed edits against reference edits so that a system can be assessed on both the correctness and the coverage of its changes.

Trying a second pass and trying two factors at once

Once the authors have individual systems, they investigate two senses in which those systems’ information can be combined. In a cascade, the first system produces a sentence that becomes the input to the second. The two passes each have the opportunity to change the text. The final output is whatever the second pass produces. In a multi-factor design, several attributes participate in a single translation process. The distinction affects both training and the way errors can reach the final answer.

For cascades, the methodology sets out several ways to train the second pass. One is to use the same original sentence pairs at both stages, with a different factor at each stage. The stages thus see the same underlying learner and reference material through different representations. At test time, however, the second system receives a sentence that has gone through the first one. What it sees at inference can differ from the original kind of source on which it was trained.

Another approach deliberately uses the first system’s outputs as training sources for the second, pairing each with the corresponding reference correction. The point is to teach the later stage about the kinds of sentences it will receive. Those sentences may contain residual learner errors, successful edits, and changes introduced by the first pass that themselves need repair. The methodology considers both a factored second stage and a phrase-based second stage. The authors discuss this use of system-generated training material under transductive learning.

An enlarged-data version gives the second stage the original learner–reference pairs as well as the first-pass-output–reference pairs. The authors retain duplicate sentences. The new pairs arise from applying a corrector to existing material, so the data expansion changes the source examples while reusing their reference targets. This differs in construction from the artificial-error approach discussed in the introduction, which starts from well-formed text and creates mistakes. The cascade changes what the second pass can learn from, even though it draws on the same underlying collection of learner and corrected sentences.

In the multi-factor approach, the authors describe translating stems to target stems, translating the grammatical tags, and using the resulting factors to generate target surface forms. Their methodology discusses pairing factors, with stems and part-of-speech information as an example. The reported joint system uses both stems and modified tags alongside the words. A single output is constructed using several descriptions, so there is no completed first-pass sentence for a second whole-sentence corrector to overwrite. The experiment asks whether the strengths seen with separate representations persist when both are imposed on the same decoding process.

Experiments and results

The held-out study and the shared-task test

The paper reports an internal comparison and a separate official evaluation. In the internal study, the authors randomly draw development and test sentence pairs from their parallel corpus, keeping both sets separate from the training data. The development set contains 500 sentences, with 10,532 source tokens and 10,438 target tokens. The internal test set contains 900 sentences, with 18,032 source tokens and 17,906 target tokens. The development split is used in preparing the system’s decisions, while the test split supplies the common comparison for the word-only and factored versions.

The corpus statistics list 55,503 sentences for the parallel corpus, with 1,124,521 source tokens and 1,114,040 target tokens. The additional English monolingual corpus contains 85,254,788 sentences and 2,033,096,800 tokens. These figures describe different sorts of evidence. The parallel corpus supplies examples of revisions, including places where the source and target agree. The much larger monolingual collection supplies examples for scoring target-language sequences. Its token count therefore gives the scale of the general-domain language data, while the parallel figures describe the collection used to learn correction correspondences and draw the internal splits.

The official test comes from the shared task. It consists of 50 essays containing 2,203 errors. The paper uses it to report the submitted system’s scores and standing against the other teams. The internal comparisons instead use the authors’ sentence-level split to evaluate alternative designs. As a result, the paper’s headline relative gain and its official shared-task score answer different questions. The former comes from comparing versions of the system under the authors’ experimental setup. The latter measures how the version they selected performed under the task’s conditions.

What the scorer counts

The authors evaluate grammatical edits with the M² Scorer. Precision measures how many of the edits the system proposes are credited against the reference. Recall measures how many of the reference edits the system recovers. Both concern changes to the original wording, instead of the proportion of output sentences that are perfect. A system can make relatively few edits, get a high proportion of those edits right, and still leave much of the reference work undone.

F0.5 combines the two measures with a preference for precision. This matters when choosing between correction systems. Searching for more possible mistakes can recover edits missed by a conservative system and can also introduce unwarranted changes. A higher F0.5 means that, under this scoring preference, the balance of credited edits and extra attempts improved. That judgment should be read together with the separate precision and recall scores to see which part of the tradeoff moved.

For the internal experiment, the paper presents absolute scores for the baseline and signed changes for the other systems. The phrase-based word-only baseline scores 25.58 in precision, 3.53 in recall, and 11.37 in F0.5. The factored entries report gains or losses relative to those numbers on the same split and scale. The official evaluation uses a different presentation, with results such as 0.2537 for F0.5. Reading the conventions separately preserves the distinction between a point change in the internal comparison and an absolute official score.

A single modified tag set gives the largest gain

The individual systems all retain the words and add one representation. The prefix version scores below the baseline, with an F0.5 change of -0.77. The stem and suffix versions improve the measure by +0.18 and +0.60. With ordinary part-of-speech tags the change is +2.45, and with modified tags it is +3.70. The authors report the latter result as a relative improvement of 32.54% over the phrase-based baseline. These numbers express the best gain in two ways, one on the reported F0.5 scale and one relative to the baseline score.

Individual factored systems on the held-out NUCLE test, F0.5 change versus the word-only baseline

Modified grammatical tags give the largest improvement, while the prefix factor lowers the score.

Individual factored systems on the held-out NUCLE test, F0.5 change versus the word-only baselineSurface words and prefixes: -0.77Surface words and prefixes-0.77Surface words and stems: +0.18Surface words and stems+0.18Surface words and suffixes: +0.60Surface words and suffixes+0.60Surface words and ordinary part-of-speech tags: +2.45Surface words and ordinarypart-of-speech tags+2.45Surface words and modified part-of-speech tags (this paper): +3.70Surface words and modifiedpart-of-speech tags (this paper)+3.70
The numbers
System or settingF0.5 points versus baseline
Surface words and prefixes-0.77
Surface words and stems+0.18
Surface words and suffixes+0.60
Surface words and ordinary part-of-speech tags+2.45
Surface words and modified part-of-speech tags (this paper)+3.70

Every extra factor changes the balance between precision and recall in the same broad direction. Precision falls and recall rises. Relative to the baseline, the prefix version changes precision by -15.74 and recall by +12.20. It makes more progress on reference coverage than the baseline, but the precision loss is large enough that F0.5 declines. The stem version changes precision by -14.84 and recall by +13.00, and the suffix version changes them by -14.57 and +14.77. Of the individual systems, the suffix version makes the largest reported gain in recall.

Ordinary part-of-speech tags change precision by -11.63 and recall by +9.79. Modified tags change them by -10.25 and +10.60. The modified tags therefore give the best precision among the factored versions and improve recall over ordinary tags. The difference between the tag systems and the spelling-based systems is especially informative. The latter can recover more reference edits, but they give up more precision in doing so. Under F0.5, the system that best balances the two is the one with the more specific grammatical tags.

The signed results make clear why the reported improvement needs its metric named. The modified-tag system attains a better F0.5 than the baseline while making a smaller proportion of correct proposals. A reader interested in whether the system changed more things correctly can look to recall. A reader interested in the reliability of its proposed changes can look to precision. The paper’s preferred system is the one selected by the combined measure used for the task.

The submitted system under two reference conditions

The authors submit the standalone modified-tag system, labeled Sys+MPoS. With the original official references it obtains precision of 0.3127, recall of 0.1446, and F0.5 of 0.2537. With alternative answers admitted, precision is 0.4317, recall is 0.1972, and F0.5 is 0.3488. The submission places 7th in the original-reference evaluation and 5th when alternatives are included, among thirteen teams.

Alternative answers affect what the scorer can credit. A learner sentence can allow more than one acceptable revision, so a system output can qualify under an expanded set of reference edits even if the original set gives it no credit. The paper reports the two scoring conditions for the same submitted system. The higher scores under the alternative condition record a difference in evaluation coverage, with the correction procedure held fixed.

Submitted modified-tag system on the official CoNLL-2014 test, F0.5 by reference condition

Including alternative answers gives the submitted system a higher score.

Submitted modified-tag system on the official CoNLL-2014 test, F0.5 by reference conditionOriginal reference edits: 0.2537Original reference edits0.2537Reference edits with alternative answers (this paper): 0.3488Reference edits with alternative answers(this paper)0.3488
The numbers
System or settingF0.5
Original reference edits0.2537
Reference edits with alternative answers (this paper)0.3488

The official report also breaks out the submitted system’s correction rates for five frequent error types. The paired entries give the figures for the original and alternative reference conditions in that order. Verb tense, labeled Vt, has 21/22 credited corrections among 203/201 errors, with rates of 10.34/10.94. The category V0 has 9/9 credited corrections among 57/54 errors, with rates of 15.79/16.67. The Vform category has 11/18 corrections among 156/169 errors, and the rates are 7.05/10.65. These distinct rows show why a broad statement about verbs is best read alongside the particular verb categories.

Articles and determiners have 84/131 credited corrections among 569/656 errors, with rates of 14.76/19.97. The noun-number category has 31/42 credited corrections among 319/285 errors, with rates of 9.72/10.91. Both the counts of credited edits and the reference totals can vary when the accepted answers change. In the V0 row, for example, 9/9 credited corrections appear alongside different error totals, and the reported rates differ. The article and determiner row also has an especially large number of errors among the categories listed, giving that category considerable importance in understanding the official result.

What the ablations show

What each extra representation contributes

The central controlled comparison is the replacement of a words-only representation with words plus a factor. The authors hold the correction problem and internal evaluation split in common and train separate systems with different auxiliary information. This permits a comparison among representations even though adding a factor can affect several parts of the learned translation process. The systems show what happens when that representation is available to training and decoding. They offer less direct evidence about which exact decoding decisions were responsible for the result.

The prefix comparison is useful because it tests a plausible but weakly motivated cue alongside stronger candidates. The authors suggest that the beginning of a word might help with initial capitals. In the aggregate comparison, the prefix system has the largest loss of precision among the individual factored systems and produces the lowest F0.5. The paper offers a data-based explanation. Relatively few training errors may concern prefixes, leaving little opportunity to learn useful prefix-driven corrections. This is a proposed explanation for the observed result, since the experiment measures the effect of including the prefix factor rather than separately varying the abundance of prefix-related errors.

Stems and suffixes fare better on F0.5, with gains the paper describes as small. Their recall improvements show that spelling and inflection cues can help the system reach corrections it previously missed. The much larger improvements with grammatical tags establish where the stronger aggregate evidence lies in these experiments. A tag can group forms by their function in context, which is information a fixed range of characters only approximates. Contextual categories appear particularly useful for this implementation of phrase-based correction.

The ordinary-tag comparison also helps interpret the modified-tag result. Ordinary tags already give a gain of +2.45 in F0.5 relative to the internal baseline, so a benefit is present before article and preposition identities are added to the tag sequence. The modified version improves on the ordinary version in both precision and recall on this split. The two modifications are bundled together, so the overall improvement cannot be allocated separately to article-specific tags and preposition-specific tags. The paper’s error-type analysis gives a closer view of where the modified representation is effective.

Correction rates depend on the error category

On the internal test, the paper compares stems, suffixes, and modified tags for six frequent types. The results are percentages for handling the particular error category. They are distinct from the overall precision, recall, and F0.5 scores used to rank systems. Looking at the category percentages can explain why a system with modest aggregate performance may still do well on a type of change that matters to a reader of learner writing.

For articles and determiners, the stem system reaches 37.65%, the suffix system 36.47%, and the modified-tag system 29.41%, across a category listed with 85 errors. All are comparatively strong for this category in the paper’s analysis. The result also shows that the overall winner falls behind both word-form variants on that row. The authors suggest that articles and determiners are well represented in both training and test data, giving the systems more chances to learn recurrent corrections. The comparison demonstrates the category advantage for the stem and suffix settings on this split. The explanation involving exposure in training remains an interpretation.

The noun-number row, listed with 51 errors, also favors stems. The rates are 33.33% for the stem system, 19.61% for the suffix system, and 23.53% for the modified-tag system. This is consistent with the idea that a stem can connect different forms of the same word and make number-related changes easier to learn. The result also clarifies the role of the suffix system’s larger overall gain in recall. Recovering more reference edits in aggregate does not mean it has higher correction coverage for each inflection-related category.

For the 39 preposition errors, the stem and suffix versions each reach 10.26%, while the modified tag version reaches 12.82%. The direction of the comparison agrees with the motive for distinguishing the identity of a preposition in the tag sequence. It reinforces the earlier evidence the authors cite for preposition-specific tags. In this experiment the percentages are for the preposition category as a whole. They support a category-level result, with the paper offering no separate estimate for each individual preposition.

The verb-tense row, listed with 41 errors, records 17.07% for stems and 12.20% for both suffixes and modified tags. For the row labeled Rloc-, listed with 79 errors, the rates are 15.20% for stems, 13.92% for suffixes, and 10.13% for modified tags. The accompanying discussion gives more attention to categories for which the linguistic motivation is clearer. These rows nevertheless help account for the fact that the overall ranking and the category rankings differ. The category rates address the recovery of certain edits, while overall F0.5 also reflects the precision costs of the systems’ proposals.

Word collocation or idiom errors are difficult across the three compared systems. The rates for the 66 errors in that category are 9.10% with stems, 10.61% with suffixes, and 6.10% with modified tags. The lowest of these rates belongs to the highest-scoring system in the aggregate comparison. The authors suggest that idioms are infrequent in the training data and that some contain words unseen in training. A category tag can show that a word occupies a grammatical position and still leave the correct expression hard to recover when the needed wording has little evidence in the parallel corpus.

A second pass can preserve mistakes or add them

The combination results test whether useful behavior from separate systems can be retained when they operate together. The reported cascades start with the suffix-based system. One follows it with a phrase-based pass, another follows it with a suffix-based pass trained on the same corpus, and a data-augmentation variant trains the phrase-based second stage with additional pairs made from first-pass outputs. The paper separately reports a single translation system that uses stems and modified tags jointly. These settings address the same broad aim by changing different parts of the procedure.

Correction combinations and the best individual system on the held-out NUCLE test, F0.5 change versus baseline

The standalone modified-tag system outscores the cascades and the joint stem-and-tag setting.

Correction combinations and the best individual system on the held-out NUCLE test, F0.5 change versus baselineSuffix pass followed by phrase-based pass: +0.45Suffix pass followed by phrase-basedpass+0.45Suffix pass followed by suffix pass: +0.09Suffix pass followed by suffix pass+0.09Suffix pass followed by phrase-based pass with added training pairs: +0.40Suffix pass followed by phrase-basedpass with added training pairs+0.40Joint stems and modified tags: -0.90Joint stems and modified tags-0.90Standalone modified tags (this paper): +3.70Standalone modified tags (this paper)+3.70
The numbers
System or settingF0.5 points versus baseline
Suffix pass followed by phrase-based pass+0.45
Suffix pass followed by suffix pass+0.09
Suffix pass followed by phrase-based pass with added training pairs+0.40
Joint stems and modified tags-0.90
Standalone modified tags (this paper)+3.70

The suffix-to-phrase cascade improves F0.5 by +0.45 over the word-only baseline, and the suffix-to-suffix cascade improves it by +0.09. Their respective precision changes are -14.70 and -15.04, and their respective recall changes are +14.61 and +14.13. The suffix system on its own has an F0.5 change of +0.60. The reference point therefore matters. The small gains for the cascades are gains over the word-only system, while the individual suffix result shows that a second pass fails to improve the aggregate score of the first-stage design.

The cascade using an enlarged training set for the phrase-based second pass gains +0.40 in F0.5 over baseline, alongside a precision change of -14.76 and a recall change of +14.61. The additional data were intended to help the second pass learn how to handle text already revised by the first. In the reported comparison, the recall change is the same as for the cascade with the ordinary phrase-based second pass, and the precision change is a little less favorable. This establishes the outcome of adding those particular training pairs under the reported conditions.

The authors observe that a stage can introduce genuinely new mistakes. Once such a change reaches the next stage, it forms part of the context for that stage’s search. The later system may retain it, alter it, or change another word in response to it. The final scores give the net result of these processes. The paper does not provide intermediate edit counts tracing how many first-pass corrections survived and how many errors were introduced at each stage. Error propagation is thus a mechanism the authors observed and use to interpret the combination results, with its numerical contribution left unspecified.

The joint stem-and-modified-tag system lowers F0.5 by -0.90 relative to the baseline. Its precision change is -15.87, and its recall change is +11.72. This comparison concerns a single factored search, so it tests a different mechanism from putting a second corrector after the first. A stem and a tag can each be useful in a separate system without their combined use giving the decoder a better set of choices. The paper establishes that adding both in the reported configuration worsened the tradeoff measured by F0.5. It leaves the cause of that outcome open.

Limitations

Limits the authors identify

The authors treat the supply of paired examples as a constraint. A sentence pair can show a learner form, its revision, and the context for the change. Many combinations of words and errors will occur too rarely for a system based on learned correspondences to estimate them well. The factors were chosen to let examples share information through stems, endings, or tags. The official results and the variation by error category show that a richer representation still leaves a considerable share of reference edits unrecovered.

The authors point to training frequency and unseen vocabulary when discussing collocations and idioms. This is a difficulty with the particular evidence available for those changes. A correction can require knowledge of a preferred expression, even when the sentence’s categories and inflections are otherwise plausible. Relating words by their stems or grammatical functions can help with recurring patterns, while a particular expression remains hard to supply if its wording is weakly represented in the training material. The low rates for this category give the paper’s most direct illustration of that limit.

The authors also identify errors accumulating in a cascade. The second pass inherits the output of the first as a sentence to correct, including any damage that first pass has done. The data-augmentation scheme attempts to address this by putting intermediate outputs into training pairs, but the corresponding cascade offers no improvement over the ordinary phrase-based second pass in the reported F0.5 comparison. The evidence supports caution about these specific pipelines and training choices. The authors close by emphasizing the room for improvement left by the task’s coverage of 28 error types.

Limits of the comparisons and evaluation

The strongest internal result is a comparison with the authors’ own words-only phrase-based baseline. It supports a claim about what the modified-tag representation adds within their data, toolkit, and scoring setup. The shared-task rank supplies a different comparison, against submissions from other teams on the official essays. Only the selected system receives official results in this paper. The relative gain of 32.54% therefore describes the authors’ test comparison, and there is no corresponding measured baseline gap for the official essays.

The internal test comes from the same parallel corpus used to draw the other experimental splits. The paper describes the split at the sentence-pair level. It gives no analysis of performance across different random draws or under a split designed to separate essay topics or writers. The official evaluation supplies separate evidence on the shared-task essays for the submitted system. The study does not extend the comparison to other genres, other languages, or a separate population of writers.

The paper uses strong language about the advantage of the best version and describes the small stem and suffix gains as insignificant. The results presented for those comparisons are point estimates. There are no uncertainty intervals or test details to show how much the ordering might vary with a different internal split. The small gains and losses are consequently best treated as observed behavior in the configurations reported. The tag comparisons give clear differences in reported scores, while their stability across other samples remains unmeasured.

The category analysis gives another boundary on interpretation. The internal breakdown compares three individual systems across six frequent types, and the official breakdown covers five frequent types for the submitted system. The results make it possible to examine variation among those categories. They give limited insight into why other errors were missed, or how the systems compare across the full task inventory. Similarly, the official change when alternative answers are accepted shows sensitivity to reference coverage. It does not establish how many remaining proposed revisions a reader would find acceptable.

Some of the representation choices come with plausible explanations that the study leaves unresolved. The authors justify stems in preference to lemmas, but give no head-to-head set of lemma results. Modifying the tags for both articles and prepositions in the same system leaves their separate contributions unidentified. The paper also does not measure the accuracy of the parser’s tags on learner sentences. A grammatical attribute can help when it captures an informative pattern and can be harder to use when the source sentence makes its category uncertain. The experiments measure the overall effect of the representation under those conditions.

Finally, the combination results cover a limited selection of the configurations described in the method. The reported cascades are centered on a suffix first pass, and the joint result covers the stem and modified-tag pairing. The paper gives no intermediate precision and recall for the pass-by-pass corrections or corresponding outcomes for every training recipe it sketches. This limits what can be inferred about the causes of the small cascade gains and the joint system’s loss. The comparisons remain sufficient to explain the authors’ selection of the simpler modified-tag system for submission.

What came after

The documented follow-up reaches the CoNLL-2014 submission. The authors selected the modified-tag version after their internal comparisons, then evaluated it on the official essays under the original and alternative reference conditions. That test established how the selected system performed in the shared task. The paper’s preceding experiments explain why the authors chose it from among the versions they built.

There is no later citing study documented here from which to trace a subsequent implementation or extension. The connection that can be drawn is to earlier work, which supplied the translation framework and the idea of distinguishing individual prepositions in grammatical tags. Within that line of work, the paper tests the same principle for articles as well as prepositions, measures it against plain tags and word-form factors, and finds that it gives the strongest overall correction result among the systems the authors compared.

Cite

Cite as Yiming Wang, Longyue Wang, Xiaodong Zeng, Derek F. Wong, Lidia S. Chao and Yi Lu. 2014. Factored Statistical Machine Translation for Grammatical Error Correction. Proceedings of the Eighteenth Conference on Computational Natural Language Learning: Shared Task.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.3115/v1/w14-1711

@inproceedings{wang2014factored,
  title = {{Factored Statistical Machine Translation for Grammatical Error Correction}},
  author = {Yiming Wang, Longyue Wang, Xiaodong Zeng, Derek F. Wong, Lidia S. Chao and Yi Lu},
  booktitle = {Proceedings of the Eighteenth Conference on Computational Natural Language Learning: Shared Task},
  year = {2014},
  doi = {10.3115/v1/w14-1711},
  url = {https://doi.org/10.3115/v1/w14-1711}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/wang-2014-factored-statistical-machine-translation-grammatical/