Using Wikipedia Edits in Low Resource Grammatical Error Correction
Paper · 2018 · Adriane Boyd
Summary
A page in Wikipedia can change because an editor corrected a word ending, added a missing name, or updated a date. All of these changes leave behind a before-and-after pair, but only some teach a system how to correct a learner’s sentence. Adriane Boyd’s paper asks how to tell the useful revisions from the rest and whether enough of them can improve automatic correction for German. The difficulty is a shortage of sentences with expert corrections alongside a plentiful supply of German text. The experiments bring those resources together for grammatical error correction.
The paper first builds Falko-MERLIN GEC, a corpus of 24,077 pairs of original learner sentences and their manually annotated corrections. It then uses Wiki Edits to extract changed sentences from German Wikipedia’s revision history. To compare the two sources, the author adapts ERRANT, an automatic edit annotator, to German. ERRANT aligns each original sentence with its revised version and labels the changes. The German adaptation uses broad grammatical categories, identifies whether different forms belong to the same word, and draws on a German spelling dictionary. The selection procedure removes likely content changes and looks for revisions that share an edited word or a pattern of error types with the learner corpus. Approximately one third of the extracted sentences survive.
A convolutional encoder–decoder learns to turn original sentences into corrected ones. On the Falko-MERLIN test set, the system trained on the learner corpus scores 39.22 F₀.₅, a measure that gives precision more weight than recall. Adding 1M filtered Wikipedia pairs raises the score to 44.47 before any reranking. With length-normalized language scoring to reorder the system’s proposed corrections, it reaches 45.22. Unfiltered revisions also improve on the learner baseline, but increasing their quantity beyond 250K yields an uneven series of results. The best Wikipedia-only condition reaches 24.37 on the same test set.
The strongest evidence is for using Wikipedia revisions alongside the learner material. In the tested range, selecting revisions for their resemblance to learner corrections makes added data more consistently helpful. The best system scores higher on the MERLIN portion of the test set than on the Falko portion, though the paper leaves open which errors account for the difference. The German extension of ERRANT and the new learner corpus accompany the correction experiments, and the paper makes its data and source code available.
Deep dive: Using Wikipedia Edits in Low Resource Grammatical Error Correction
Wikipedia edits improve German grammatical error correction when selected to resemble the mistakes and corrections found in learner writing. · about 35 minutes to read
The problem and its context
When text is plentiful and corrections are scarce
A grammatical error correction system receives a sentence as somebody wrote it and proposes a corrected version. The training examples in this paper are pairs. One side records the learner’s wording, and the other records a human judgment about how to make that wording grammatical. The relationship between the two is the useful part. A clean German sentence can show what a well-formed expression looks like. A paired correction can additionally show what someone wrote in its place and how much of the surrounding sentence the annotator left alone.
The distinction matters because the author treats correction as a form of translation. The input and output are both German, and copying much of the input may be the right response. The training problem is to learn when a change is warranted and which change to make given the words around it. A manually corrected sentence can illustrate those decisions together. A collection of ordinary German articles supplies far more running text, but their final versions alone lack the paired information the correction system is trained to use. That framing connects the study to machine translation.
The resource constraint in this paper therefore concerns the task and its supervision. German has abundant native-language material, including the Wikipedia text and revision history used here. The author was unaware of a standard German GEC corpus for her experiments and assembled one from existing learner annotations. The resulting setup makes it possible to ask how a modest amount of carefully annotated data can guide the selection of additional material. The scarcity in question is characteristic of the setting the paper calls low-resource grammatical error correction.
Earlier work cited by the paper had developed larger English GEC resources through shared tasks. Helping Our Own ran in 2011 and 2012, and the CoNLL shared tasks followed in 2013 and 2014. These events helped supply corpora on which competing approaches could be built and compared. By the time of Boyd’s study, the English systems she describes included ensembles of neural translation systems and hybrids that combined statistical and neural translation. Her German experiment takes an existing correction architecture from that line of work and asks what can be done about the training examples available to it.
Even for English, the paper describes manually corrected corpora as modest relative to the needs of translation-based approaches. Researchers had explored several ways to supplement them. Some generated errors artificially, starting with text and creating examples that a system would learn to undo. Others used corrections obtained through crowdsourcing. Another line looked for errors and corrections in resources written by native speakers. These approaches start from different evidence about the connection between an error and its repair. For Wikipedia revisions, that connection has to be inferred from an editor’s observable change.
Why start with Wikipedia revisions?
An encyclopedia keeps earlier versions of a sentence as well as the latest wording. That history provides something ordinary article text lacks, namely an observed input and an observed replacement. When an edit repairs grammar, the two versions can play the same roles as the original and correction in a learner corpus. The trouble is that the same revision history includes all the other reasons people edit articles. The before-and-after pair tells us what changed. The reason for the change still has to be established or estimated.
The paper’s examples make the problem concrete. Adding someone’s middle name can be a small insertion. Updating a date can be a small substitution. A grammatical repair may affect a similarly short span. A procedure that finds sentences differing by only a little will retrieve all these cases. It can establish that two versions belong together and can be compared, while leaving their suitability as correction examples unresolved. Small changes are a reasonable starting point for extraction, and their usefulness for training is a separate question.
The immediate precedent was English work by Grundkiewicz and Junczys-Dowmunt. They extracted revised sentence pairs from Wikipedia and used the profile of manually corrected GEC data to choose examples for a statistical translation system. The paper also cites earlier work using Wikipedia revisions for English preposition correction. Boyd follows the broad strategy of selecting naturally occurring revisions, applies it to German, and uses a neural translation architecture. Her study needs a German learner reference and a way to describe German edits in comparable terms across the two sources.
The idea of a profile is central. An individual revision rarely comes with a label saying whether it repaired an error of the sort learners make. A learner corpus, in contrast, supplies concrete examples of the transformations annotators accept as corrections. If the examples in both collections can be described in the same vocabulary, the learner data can inform which revisions to retain. The experiment then tests the value of that resemblance where it matters for this task, on sentences from learners whose writing is held out of correction training.
The method, step by step
The study brings together two collections of paired sentences. In one, a learner wrote the original and a human annotator supplied the correction. In the other, an earlier version of a Wikipedia sentence serves as the original and a later version supplies the replacement. ERRANT describes the edits in both. The learner descriptions guide the choice of Wikipedia pairs, and the chosen sentence pairs join the learner examples in training. Separate collections of plain text supply word representations and a way to score alternate outputs.
From learner corrections and Wikipedia revisions to German correction
The steps in order.
Building the learner corpus
The learner side starts with Falko and MERLIN. Falko had developed guidelines for a minimal target hypothesis. Here, a target hypothesis is an annotator’s proposal for a grammatical version of what the learner wrote. Minimality calls for making the changes needed to reach that version while keeping as much of the original as possible. MERLIN adapted the Falko guidelines for texts from a broader range of proficiency levels. The shared approach to correction makes it reasonable to combine their annotations into one resource, while keeping track of which corpus each sentence came from. This is the study’s source of human linguistic annotation.
Boyd extracts original and corrected sentences from the annotated spans of FalkoEssayL2 v2.4, with 248 texts, FalkoEssayWhig v2.0, with 196 texts, and MERLIN v1.1, with 1,033 texts. The resulting Falko-MERLIN GEC Corpus contains 24,077 sentence pairs. The unit used by the correction system is the pair of sentences. The unit used to assign material to a partition is the learner text. All sentences from that text go into the same partition.
The intended division is 80% for training, 10% for development, and 10% for testing. Keeping texts intact matters because the sentences of an essay share a writer, a subject and surrounding discourse. With a split made sentence by sentence, parts of the same essay could appear in both training and testing. The reported procedure instead puts the entire essay on one side of any such boundary. The paper uses the held-out Falko-MERLIN test set for the correction scores.
The pooled corpus provides a common task, but it retains differences between the sources. Falko contributes advanced learner essays. MERLIN covers a wider span of proficiency. The author finds that Falko sentences are longer on average and have fewer errors per token, while MERLIN sentences are shorter and have more errors per token. Those observations concern the corpus as measured by the German edit annotator. They also explain why source-specific scores remain informative even after the examples have been gathered under the same corpus name.
A useful detail is that the learner correction begins as a sentence pair. Human annotation supplies the desired revised text, and the automatic comparison identifies the individual changes between the versions. This makes the manual and Wikipedia material comparable without assuming that Wikipedia editors used learner annotation guidelines. Both sources can be passed through the same alignment and labeling procedure. The difference in how their revisions were produced remains important throughout the study.
Extracting revision pairs and plain text
The Wikipedia material comes from German article and revision dumps dated June 1, 2018. The Wiki Edits procedure extracts before-and-after sentence pairs from the revision history, restricting attention to small differences between versions. The experiment uses a maximum extracted sentence length of 60 tokens. To justify the limit, the paper notes that 99% of sentences in Falko and MERLIN contain fewer than 60 tokens. The restriction keeps the Wikipedia extraction focused on sentence lengths that overlap with almost all the learner material.
A token is an element of the sentence as segmented for analysis. How a sentence is segmented determines what counts toward the length limit and which elements can be directly aligned across versions. An apparent change to a word boundary can also show up as an edit involving more than one token. The study consequently needs a common way to analyze sentences before comparing their individual edits. The length rule acts at the extraction stage and the comparison of tokens occurs in the later tokenization and alignment procedure.
The experiment also takes complete plain article text out of Wikipedia using WikiExtractor. This is a different use of the same collection. The article history yields ordered pairs for correction training. The plain article content yields text for learning how to represent words and pieces of words. As a consequence, the condition described as training on Falko-MERLIN alone concerns the origin of its correction pairs. The broader setup already draws on German Wikipedia for its input representations, even in the absence of added revision pairs.
Small differences make comparisons easier to inspect, but extraction alone does little to establish the purpose of a revision. A changed number and a changed determiner can each occupy a small span. The later annotation stage gives the paper a way to distinguish such patterns, and the selection stage uses that description to decide whether the sentence pair looks like useful correction data.
Turning sentence differences into labeled edits
ERRANT was originally developed to analyze English correction pairs. Its first job is to identify which parts of one sentence correspond to which parts of the other. Identical tokens can be aligned, and tokens that differ can be interpreted as substitutions, insertions, deletions or reorderings. For a pair whose correction involves several neighboring words, there may be more than one reasonable description. Which one the alignment selects affects the eventual counts of error types.
The alignment is based on Damerau–Levenshtein edit distance with a customized substitution cost. Edit distance describes the amount of change needed to get from one sequence to the other under a set of allowed operations. ERRANT uses information about characters, grammatical categories and dictionary forms to favor alignments between linguistically related words. This matters, for example, when a learner has used the wrong inflected form of the intended word. Aligning the two forms as a substitution gives the classifier a chance to recognize what they have in common. Their shared dictionary form is called a lemma.
After the initial alignment, ERRANT examines neighboring changes and can group them into a longer edit. Consider a correction that closes a space between the components of an expression. A purely token-by-token description might replace the first piece with the joined form and then delete the other piece. Grouping the adjacent operations gives a single change covering the complete expression on each side. The grouping decision determines whether the sentence contributes one error label or several and which original span is associated with the label.
Rules then assign a type to each edit. The English system described in the paper consults grammatical tags, lemmas, stems and the sentence’s dependency analysis. A grammatical tag distinguishes classes such as adjective and verb. A stem is another representation of a word’s base form, used alongside the lemma and the surface spelling. Dependency analysis describes how words are connected grammatically within the sentence. The rules combine these signals to describe what changed, using information supplied by part-of-speech tagging and dependency parsing.
It helps to distinguish the operation from the type. A deletion says that some original material disappeared. An adjective label identifies the grammatical category of the material involved. The scheme can retain both pieces of information, so that inserting an adjective and substituting an adjective form are distinguishable. The resulting annotations are descriptions of proposed repairs. The learner corpus supplies manually annotated targets, while on Wikipedia the revised version is simply the version produced by the editor.
Adapting the annotation to German
Boyd simplifies and adapts the English label scheme, using broad categories from Universal Dependencies wherever possible. The resulting part-of-speech grouping includes 14 UD categories and the German-specific STTS tag TRUNC. STTS is the German tagset from which the pipeline takes that additional category. A part-of-speech substitution receives the FORM subtype when the original and the replacement share a lemma. The scheme can then distinguish a change in form from other substitutions involving the same grammatical class. The broad categories come from Universal Dependencies.
The paper illustrates FORM with dem → den. Both forms function as determiners in the example, and ERRANT recognizes their common lemma and gives the edit the label DET:FORM. At the level of the sentence pair, someone changed a word to make the construction grammatical. At the level of the error profile, the same edit can be compared with determiner-form changes in other sentences even when their surrounding words are different. This is one way the scheme captures distinctions relevant to morphology.
Several labels cover changes that would be poorly described by one part of speech alone. MORPH covers related forms whose tags differ. ORTH covers capitalization and spacing changes. SPELL uses a German word list to flag an unrecognized original form when it has >50% character overlap with its correction. ORDER covers reordering of adjacent tokens. CONTR is for edits involving the contraction ’s, representing “it.” OTHER collects the cases that the preceding rules leave unclassified. The fallback category keeps the analysis usable even when a change resists a more specific account.
The spelling and capitalization examples illustrate why the scheme has separate labels. In Große → große, the visible change is in the initial letter’s case, and the paper puts it under ORTH. In wächseln → wechseln, the relevant evidence includes a likely misspelling and the shared characters of the two forms, and the example falls under SPELL. The difference matters for profiling: a collection heavy in capitalization changes can look different from one heavy in misspellings even when both involve small alterations to individual words.
The implementation keeps the existing processing pipeline where the author finds it adequate. The experiments use spaCy 2.0.11 with its default German analysis, but replace its lemmatizer with TreeTagger because the author found the original component insufficient. The spelling word list comes from Hunspell igerman98-20161207. The mapping from STTS categories to the broader UD tags comes from TuebaUDConverter. These are upstream decisions with effects on the resulting profiles. A different lemma can change whether a substitution qualifies for FORM, and a different word list can change whether a form qualifies as a possible misspelling. The process of assigning dictionary forms is lemmatization.
The worked example in the paper shows what the labels can express and where they lose structure. It has an adjective substituted by another form of the same lemma, labeled S:ADJ:FORM. It also has bestandenen inserted before Prüfung, with the label I:ADJ, and bestanden deleted from the sentence end, with the label D:VERB. Read as a sentence-level repair, the latter changes are related. The corrected expression uses an inflected adjective before the noun where the earlier formulation had a participial form elsewhere.
ERRANT records the insertion and deletion separately. Its recognition of word order changes requires adjacent reordering of identical surface forms, and the adjective and participle in the example differ in form. The paper identifies longer-distance movement as another difficulty. The labels still expose several properties of the edit that a filter can use, but a match between label patterns should be read at the level of the operations the annotator actually recognizes.
Filtering out likely content changes
The first filter removes entire sentence pairs with certain patterns. It rejects a pair if all its labels are drawn from punctuation, proper nouns and OTHER. It also rejects a pair whose edits change only numbers or non-Latin characters. A further rule removes a pair containing an OTHER edit longer than two tokens. These exclusions catch different kinds of revision, from changes to names and dates to longer material for which the annotator has no specific error type.
The word “only” in the first rules is consequential. A revision that changes punctuation alongside a clear grammatical form can get past the rule restricting punctuation, proper nouns and OTHER. The presence of punctuation or a proper noun change by itself is therefore compatible with retention when other changes provide suitable evidence. The longer OTHER rule has a different scope. A sufficiently long edit labeled OTHER is a reason to discard the pair even if the pair contains other labels.
These are screening decisions made before the comparison with an individual learner sentence. They favor the kinds of changes the task is designed to learn, at the cost of removing some legitimate corrections that happen to have one of the excluded patterns. A date can be updated without any change in grammaticality. A proper noun can also contain a real misspelling. The paper treats the labels as practical signals for corpus selection because it needs to process a large collection of revisions automatically.
Looking for resemblance to learner corrections
For revisions that pass the initial screen, the second stage looks for positive evidence of similarity. The paper describes several ways to find it. One is lexical. If a token changed on the original side of the Wikipedia pair and the same original token was edited somewhere in the learner corpus, the candidate can qualify. This checks whether learners and editors have changed the same observed form. The criterion concerns the form being edited and can be satisfied even when the two replacements or surrounding sentences differ.
Another route is equality of the list of error types. Two sentences can carry the same sequence of labels even when their actual wording has little in common. A list comparison retains information that a set comparison discards, including repetition. For instance, a sentence with repeated edits of one kind can have a different list from one with a single occurrence of that kind. This gives the filter a way to recognize patterns in how several changes occur together.
The paper also allows an exact set match for 2+ error types. A set contains each distinct label once. The comparison therefore captures the presence of the same types even if their ordering or frequency differs between the sentences. Requiring several distinct types for this exact-set route gives it a different role from the list match. Together, the list and set options make it possible to use more than one level of detail when deciding whether a candidate resembles an annotated learner correction.
Finally, a Wikipedia sentence can qualify through partial overlap with the type set of a learner sentence. The paper uses the Jaccard similarity coefficient for this purpose and requires a value greater than 0.5.
J(Gold, Wiki) = |Gold ∩ Wiki| / |Gold ∪ Wiki|
J is the Jaccard similarity coefficient for the sets named inside the parentheses. Gold is the set of distinct error types for a sentence in the learner corpus. Wiki is the equivalent set for a candidate Wikipedia pair. The comma separates the sets supplied to the coefficient, and = gives the expression used to calculate it. ∩ denotes the types shared by the sets, while ∪ denotes all distinct types appearing in either set. The vertical bars give the number of elements in the set they enclose, and / divides the shared-type count by the combined distinct-type count.
The denominator makes the match sensitive to types that occur on only one side. Sharing a label offers weaker evidence if the two sentences also carry many different labels. Repeating one label several times does not change the coefficient, because the inputs are sets. That is why partial set overlap and list equality can retrieve different examples. One emphasizes the extent to which the types are shared, and the other asks for a closer match to the complete sequence of labels.
Taken together, the lexical and error-type criteria let some edits qualify through a specific word and others through a recurring grammatical pattern. Each candidate that qualifies still joins training as an original and a revised sentence. The labels determine which examples enter that pool. The correction architecture is trained to produce a revised sentence from its original, using the selected pairs as its examples of the task.
Representing German words and producing corrections
The correction system works with sub-word units learned by byte pair encoding, abbreviated BPE. A sub-word vocabulary allows a word to be represented by reusable pieces. For correction, this is useful because two inflected forms can share parts of their spelling even when they are distinct words in the training text. It also gives the system a way to encode forms using pieces that occur elsewhere. The relevant operation here is subword tokenization.
The paper learns a BPE vocabulary with 30K symbols from the corrected sentences in the Falko-MERLIN training partition together with the complete plain Wikipedia article text. The plain article material is then encoded with this vocabulary and used to learn fastText representations with 500 dimensions. An embedding gives a token or sub-word unit a numerical representation for use by the correction system. The paper follows the earlier English correction setup in making these representations from text, using the method described in Enriching Word Vectors with Subword Information.
The system uses the multilayer convolutional encoder–decoder architecture of Chollampatt and Ng. The encoder builds representations of the original sentence from its sequence of units. The decoder uses those representations to produce a corrected sequence. During training, each pair gives the system an original to encode and a target to learn to generate. The paper uses the settings from the earlier English work and trains one system for each experimental condition. The principal intervention is the choice and number of sentence pairs supplied as examples of correction.
The paper also considers changing the order in which candidate corrections are preferred at output time. This process is called reranking. The edit-operation condition is labeled EO. The language-scoring conditions use a separately trained estimator of how plausible German text is, with LM Norm adjusting the score by sentence length. The training text for this estimator is the first one billion lines of deduplicated German Common Crawl, described as ~12 billion tokens. This additional text supplies evidence about well-formed sequences through a language model.
Length normalization matters at the level of candidate comparison because the score assigned to a sequence can depend on how long it is. The LM and LM Norm variants allow the experiment to compare the plain and length-adjusted use of the score. Both act on proposed corrections after the correction system has learned from the sentence pairs. Their effects can thus be examined separately from the effect of bringing Wikipedia revision pairs into training.
Experiments and results
What stayed fixed across the comparisons
The experiment evaluates on the Falko-MERLIN test set with the M² scorer. The common test set lets the author compare a correction system trained on learner pairs alone with otherwise comparable conditions that add filtered or unfiltered revisions. The training rows label the learner portion as 19K. The augmented conditions add 100K, 250K, 500K or 1M Wikipedia pairs. A further group uses 1M Wikipedia pairs as the only correction training examples, with filtered and unfiltered versions of that condition as well.
The partitions contain different numbers of sentences and different rates of edits. The Falko side has 11,038 sentences in training, 1307 in development and 1237 in testing. The MERLIN side has 9199 in training, 1196 in development and 1100 in testing. Across the whole corpus, the paper reports 2.77 errors per sentence and 0.18 per token. On the test partitions, Falko has 3.00 errors per sentence and 0.16 per token, while MERLIN has 2.54 per sentence and 0.21 per token. A Falko sentence can therefore contain more annotated errors on average even though edits are denser relative to sentence length in MERLIN.
The scorer reports precision, recall and F₀.₅. Precision describes the share of proposed corrections credited against the references. Recall describes the share of reference corrections recovered by the system. F₀.₅ gives precision greater influence than recall when combining the two. For this task, the distinction is consequential. A system can propose more edits and recover more of the references while also changing more spans in ways the scorer will not credit. The separate columns show how those effects contribute to the final score.
The learner-only baseline obtains precision of 45.38 and recall of 25.42, with an F₀.₅ of 39.22 on the combined test set. Here and in the augmentation comparisons, “learner-only” identifies the paired correction data. The shared setup uses the sub-word and embedding resources described earlier. That makes this a baseline for the value of additional paired edits under the paper’s training procedure.
How much the revision pairs helped
With no additional reranking, the filtered conditions improve in F₀.₅ at every tested increase in quantity. On the Falko-MERLIN test set, 100K filtered pairs give 42.30, 250K give 44.17, 500K give 44.33, and 1M gives 44.47. The quantity series compares the same kind of filtered resource at successive sizes. It shows a consistent direction within the sizes tried, with the larger changes in score occurring earlier in the series.
Filtered revision training on the Falko-MERLIN test set by M² F₀.₅
The score rises at each tested increase in filtered revision data.
The numbers
| System or setting | F₀.₅ |
|---|---|
| Falko-MERLIN only | 39.22 |
| Falko-MERLIN + 100K filtered edits | 42.30 |
| Falko-MERLIN + 250K filtered edits | 44.17 |
| Falko-MERLIN + 500K filtered edits | 44.33 |
| Falko-MERLIN + 1M filtered edits (this paper) | 44.47 |
The unfiltered series also improves on the baseline at the quantities tested, but its shape differs. For 100K unfiltered revisions the test F₀.₅ is 42.10. At 250K it is 43.35, then 42.55 at 500K and 43.41 at 1M. The unfiltered data can supply useful training examples even before the ERRANT filter is applied. Increasing its quantity beyond 250K gives an uneven progression, consistent with the possibility that growing the pool supplies helpful and unhelpful examples together.
At the same tested quantities, the filtered sets have the higher F₀.₅. The comparison at 1M illustrates what is driving the size-series result before reranking. With filtered edits, precision reaches 60.19 and recall is 21.75. With unfiltered edits, precision is 57.86 and recall is 21.72. Both conditions have higher precision and lower recall than the learner baseline. The improvement in the weighted score consequently reflects more reliable proposed edits as captured by precision, alongside fewer of the reference edits recovered as captured by recall.
That pattern qualifies what it means to say that the revisions improve correction. The score rises under a measure that weights precision more heavily. The same runs do not establish an improvement on both component measures. For readers who care about how much of a learner’s error burden gets addressed, the recall values carry information that would disappear if only the aggregate score were reported.
What reranking change did at the largest training size
Reranking is reported for the 1M augmentation conditions. For the system trained with 1M filtered revision pairs and the learner corpus, the score without additional reranking is 44.47. EO raises recall to 29.03 but reduces precision to 39.95, producing an F₀.₅ of 37.15. Plain language scoring reaches 44.89, with precision of 51.81 and recall of 29.26. Length-normalized language scoring reaches the experiment’s highest F₀.₅ of 45.22, with precision of 51.99 and recall of 29.73. All of these figures concern the combined test set.
Reranking after training with Falko-MERLIN and 1M filtered edits by test F₀.₅
Length-normalized language scoring gives the highest score for this training condition.
The numbers
| System or setting | F₀.₅ |
|---|---|
| No additional reranking | 44.47 |
| Edit-operation reranking | 37.15 |
| Language scoring | 44.89 |
| Length-normalized language scoring (this paper) | 45.22 |
The unfiltered augmentation conditions make clear why the paper describes language-based reranking as inconsistent. With 1M unfiltered pairs added to the learner examples, the original test F₀.₅ is 43.41. EO gives 38.07, plain language scoring gives 40.11, and length-normalized language scoring gives 42.71. The recall scores of 28.74, 28.39 and 28.69 for the respective rerankers exceed the 21.72 obtained without additional reranking. The accompanying precision losses bring all the aggregate results below the corresponding unreranked condition.
The best filtered result also depends on the source of the test sentences. With 1M filtered Wikipedia edits added to Falko-MERLIN and the length-normalized reranker applied, F₀.₅ is 44.19 on the Falko test portion and 46.52 on the MERLIN test portion. These scores compare the evaluation subsets for the same system. They describe where it performs better in absolute terms. A claim about which subset gains more from augmentation would require corresponding source-specific baselines.
Training on Wikipedia revision pairs alone
The experiment also asks how far Wikipedia corrections can go on their own as paired training data. With 1M unfiltered revision pairs and no reranking, F₀.₅ is 15.82 on the learner test set. Using 1M filtered pairs gives 15.75. The effect of filtering in these rows differs from its effect when revision pairs supplement learner corrections. Both Wikipedia-only scores without reranking sit well below the learner-only baseline.
The Wikipedia-only scores improve when candidate corrections are reranked. The best unfiltered result is 21.62 with plain language scoring. The best filtered result is 24.37 with length-normalized language scoring. In the latter setting, precision is 29.96 and recall is 13.95. The same choice of normalizing the language score therefore produces the best filtered result with or without learner correction pairs, but the resulting scores occupy quite different ranges. When learner pairs are included with the filtered revisions and normalized scoring, the combined test score is 45.22.
The term “Wikipedia-only” here refers to the examples used to train the corrector. The filtered subset was chosen by consulting a learner error profile, and the best setting uses the external German web corpus for language scoring. Its result answers a restricted question about removing learner correction pairs from the training mixture while retaining the rest of that experimental setup.
What the ablations show
Selection and quantity make different contributions
The closest comparison for the effect of the filter holds the number of added Wikipedia revisions fixed and compares the filtered and unfiltered rows. This matters because the filtering procedure discards a substantial share of extracted pairs. A comparison using every available pair before and after filtering would conflate which examples were chosen with how many examples remained. The equal-size rows ask whether a fixed-size sample of the selected material works better in combination with the same learner corpus.
The answer across the tested augmentation sizes favors selection. Every filtered row before reranking has a higher test F₀.₅ than its unfiltered counterpart. A complementary comparison within each source asks whether adding more of that kind of material keeps helping. For the filtered pool it does at the tested sizes. The unfiltered pool gives an initial improvement and an uneven progression at the larger sizes. These observations support the filter as a combined selection procedure. They leave open how much of the result comes from each rule.
The precision and recall columns help interpret what that selection accomplishes. At 250K, filtered training gives precision of 57.30 and recall of 23.04, while unfiltered training gives precision of 57.57 and recall of 21.80. The filtered gain at that size accompanies higher recall and slightly lower precision. At 1M, the two recall values are close and the filtered condition has higher precision. The same filtering recipe can affect the two component measures differently as the amount of revision data changes.
How the edit profile changed
The paper compares the distribution of selected error types in Falko, MERLIN, unfiltered Wikipedia revisions and filtered Wikipedia revisions. After filtering, approximately one third of the originally extracted sentence pairs remain. The share of potentially content-related edits falls, including edits involving proper nouns and those assigned to OTHER. Other categories occupy a larger proportion of the selected material. The analysis shows that the successive selection steps change the composition of the added corpus in the expected direction.
The filtered material still differs from the learner corpus in the density of changes. The paper reports 1.7 versus 2.8 errors per sentence and 0.08 versus 0.18 per token for the Wikipedia revisions and Falko-MERLIN in this comparison. It says that the lower density remains apparent for both the filtered and unfiltered revision collections. The value 2.8 is the figure used in this comparison, while 2.77 is the value given in the corpus statistics. Similarity under the filter can thus coexist with a lower rate of edits across an entire sentence.
That distinction helps interpret the chart of error types. The shares of labels describe the composition of the changes that occur. The per-sentence and per-token rates describe how often changes occur. A selection method can shift the former toward the learner profile while leaving a substantial gap in the latter. The paper’s resemblance criteria operate through matches of edited tokens and types, so their success does not require the two corpora to become equal in error density.
The distribution analysis also has a narrower role than a correction-by-correction output analysis. It can show that the selected training data contain a different mix of automatic labels. It leaves open whether the corrector’s improvement is concentrated among those same labels or whether the selected examples help through some broader feature they share. For example, the fact that the filter reduces potentially content-related edits does not identify which particular learner corrections become easier for the trained system.
What changes when the system chooses a different output
The reranking rows compare ways of choosing among proposed corrections after training on the same condition. On the gold-augmented runs, EO moves towards higher recall and lower precision, with a lower weighted score. This differs from what the paper reports for the earlier English architecture. The German results show that a selection method carried over from the English system can alter the balance of corrections in an unfavorable way for the German benchmark.
Language scoring makes the same two component measures move in opposite directions in the reported augmented rows. Its effect on F₀.₅ depends on the training data and on whether length adjustment is applied. With filtered augmentation, the additional recall outweighs the loss in precision in the weighted score. With unfiltered augmentation, it does not. The comparison identifies a useful combination in this experiment and shows why the training-data effect is best read first from the rows that have no additional reranking.
The paper’s normalized-language and unnormalized-language rows also isolate the practical value of the adjustment under the tested setup. Among the filtered augmentation runs, both language-scoring variants improve on the unreranked score, and the normalized variant performs better. For unfiltered augmentation, normalization improves on plain language scoring, but the unreranked result remains higher. The choice can therefore help when comparing the two ways of using language scores without guaranteeing a gain over the original decoder ordering.
Where the results are stronger
The source breakdown gives the paper a way to test an initial expectation about the difference between learner corpora. Believing that the advanced essays in Falko resembled encyclopedia prose, the author expected that resemblance to work in their favor. The best system instead has a higher absolute score on MERLIN than on Falko. One explanation proposed in the paper is that MERLIN may offer more spelling and inflection errors that can be solved using a short stretch of context. The reported corpus-level comparison leaves that explanation open.
The Wikipedia-only comparison examines a different issue, whether enough naturally occurring revision pairs can supply the correction training by themselves. Its much lower test score shows how strongly the tested setup depends on learner correction pairs when evaluated on learner writing. The comparison with filtered and unfiltered additions shows that the same material can be useful as a supplement while proving much weaker as the sole paired source. Together, these comparisons establish more about the training mixture than the aggregate best score could establish by itself.
Limitations
Limits the author identifies
The paper explicitly points to limitations in German ERRANT’s treatment of word order. When movement is accompanied by a change of form, the rules can report an insertion and a deletion where a reader would see a coordinated transformation. The bestandenen and bestanden example illustrates this issue. Longer-distance movement can also escape the adjacent-reordering treatment. As a consequence, a sentence profile can split a grammatical phenomenon into several labels that are meaningful locally but lose the relationship among the changes.
The direction of a Wikipedia edit is another concern the author identifies. An editor can introduce a grammatical error into a previously acceptable sentence. A before-and-after pipeline designates the later version as the target, even if the change is harmful. The paper proposes using language scoring to help exclude revisions of this kind. Its reported use of language scoring is for reranking outputs, so it leaves the effect of such screening as a future experiment.
The author also cautions about genre when interpreting Wikipedia-only performance. A system trained on encyclopedia edits faces a test of learner essays and other learner texts. The resulting gap reflects performance under that transfer. The paper leaves open whether better Wikipedia selection could narrow it, and whether the outcome would be different under a test closer to the source material. The low score is evidence about the particular training and test combination used here.
A more detailed output analysis is another direction the paper identifies. The study describes the training data by error type and reports aggregate correction scores, but it leaves room to examine which learner errors become easier after augmentation. That examination could distinguish correction categories served well by naturally occurring edits from categories for which examples generated artificially or gathered through crowdsourcing might be appropriate. The author presents these as possible extensions, and the current experiments do not measure their contribution.
The paper likewise proposes a route to applying the annotation beyond German. It suggests building a version that relies completely on UD analysis for languages that have a UD parser and a lemmatizer. It also suggests replacing the gold corpus used for filtering with lists of target tokens or error types. These proposals lay out ways to adapt the method when resources are scarce. The empirical work in the paper concerns German and uses the German-specific annotation and a manually corrected learner corpus.
Boundaries of the experimental evidence
The experiments train one system per condition. The reported sequence of scores establishes what happened in those runs. It leaves the variability across repeated training unmeasured, which is especially relevant to close comparisons. The filtered series has a consistent direction across the sampled quantities, and individual neighboring scores are best interpreted as observations at those settings. The paper’s quantity series also ends at 1M added revision pairs, so the behavior of larger filtered collections remains open.
The filter is evaluated as a package. The reported comparisons vary whether it was used, but they do not independently switch each screening rule and similarity criterion on and off. The improvement cannot therefore be assigned to the Jaccard cutoff, to exact list matching, to lexical overlap, or to removal of particular forms of content editing. Each could affect the resulting pool alongside the others. The equal-size comparison establishes the value of the selected collection under the tested recipe.
The error taxonomy also shapes the representation of similarity. Part-of-speech and lemma distinctions make it possible to compare real linguistic patterns across corpora, but correct categorization depends on analysis of the original and revised text. Learner sentences can contain the very forms that make those analyses difficult. A correct tag is helpful for isolating a grammatical repair. An incorrect tag or lemma can instead split closely related forms into different categories or group changes under a broad fallback label. The paper’s example of coupled changes illustrates one observable limitation of the representation.
The learner references fix what the scorer treats as an observed correction. More than one grammatical reformulation can sometimes be possible for a sentence. A system proposal’s treatment by the scorer depends on the available annotation as well as on the proposal itself. The minimal target hypotheses make the task concrete and support comparisons on a common benchmark. The reported figures describe agreement with those references under M², and the study does not evaluate a separate judgment of the acceptability of all proposed alternatives.
The learner corpus also plays several operational roles. It supplies examples of correcting learner text, and its error patterns guide Wikipedia selection. Removing its sentence pairs from correction training does not remove every dependency on manual corrections in the filtered condition. A language with Wikipedia history and no comparable reference corpus would need another way to supply that guidance. The paper suggests target lists as a possible substitute, with their effectiveness still to be established.
Finally, the benchmark does not resolve the reasons for the difference between Falko and MERLIN. Their texts differ in learner populations, sentence lengths and error rates as characterized in the paper. Those properties can vary together, and the reported subset scores do not isolate them. The proposed explanation involving spelling and inflection is plausible within the setup, but the study would need results broken down by correction type to identify which changes account for the source difference. The strongest claim supported by the experiments remains that filtered Wikipedia pairs help this German correction system on the combined learner benchmark.
What came after
Later papers cite the study from several directions. Some address the scarcity of correction examples. Others focus on error labeling, evaluation, or the reuse of Wikipedia in language technology. Their titles establish the subjects of those papers and indicate connections to Boyd’s study. Whether particular papers reproduced her filter, reused her corpus, or tested her correction architecture is unspecified in these citation records.
Finding or creating training data
Boyd’s experiment belongs to the problem of enlarging a supervised training set with material from another source. The relevant design choice is to select naturally occurring edits using the available supervised examples as a guide. The later survey takes data augmentation as its subject across natural language processing. Its scope places the use of revision pairs in a broader family of approaches for increasing the examples available to a task. A Survey of Data Augmentation Approaches for NLP
The Hindi work names a different source of correction examples in its title. It addresses generating inflectional errors for GEC, whereas Boyd searches for edits that people already made and uses learner examples to judge their suitability. The two studies meet at the question of how to obtain training pairs illustrating errors in word forms. Generation gives the later paper a way to target inflectional errors directly as its research problem. Generating Inflectional Errors for Grammatical Error Correction in Hindi
The Bangla work names error categorization, synthetic data and evaluation together. Each has a counterpart in the German study’s design: edits have to be described, extra examples have to be obtained, and the resulting corrector has to be tested. The Bangla title identifies synthetic data as the later paper’s route into augmentation. It leaves the relationship between its categorization scheme and German ERRANT unspecified. Leveraging LLMs for Bangla Grammar Error Correction
Parallel data also figure in the Sanskrit work, whose stated purpose is to provide a large corpus for translation into English. Boyd’s corpus pairs two versions of German sentences for correction. The Sanskrit paper deals with two languages and a different target task. The connection lies in constructing paired texts that suit the transformation a system is expected to learn. Itihasa: A Large-Scale Corpus for Sanskrit to English Translation
Describing errors and evaluating their correction
The Greek and Turkish citing papers take up automatic grammatical error type classification. This is the part of Boyd’s study concerned with turning differences between sentences into labels that can be counted and compared. ELERRANT names that problem for Greek. The value of the connection is specific: the editing operations visible in a sentence pair need a linguistic interpretation before they can be used to characterize a corpus. ELERRANT: Automatic Grammatical Error Type Classification for Greek
The Turkish paper names the same broad classification task for Turkish. In the German work, porting the analysis required decisions about which labels could be kept broad and which language-specific distinctions needed dedicated treatment. The Turkish title identifies another setting in which the error categories and their automatic assignment are the research problem. The title alone leaves its implementation and degree of reuse open. Towards Automatic Grammatical Error Type Classification for Turkish
The work on correction difficulty approaches GEC through evaluation. Boyd reports precision and recall against learner references, together with the weighted F₀.₅ measure, and discusses the possibility that the source corpora contain different kinds of errors. The later paper’s title makes difficulty itself part of the evaluation question. That line of inquiry bears on how to interpret a score when the corrections being aggregated vary in how hard they are to produce. Taking the Correction Difficulty into Account in Grammatical Error Correction Evaluation
Other uses of Wikipedia and applications to language learning
The English spelling correction paper also draws on Wikipedia, but its title identifies search statistics as the evidence and information retrieval as the task framing. Boyd uses the history of changed sentences to obtain paired examples. The later work instead uses a different kind of signal from the same resource for a narrower correction task. The citation connects research that uses Wikipedia as evidence for correction without establishing a shared extraction procedure. English Language Spelling Correction as an Information Retrieval Task Using Wikipedia Search Statistics
The later work on language teaching and assessment technology addresses a broader application area. Boyd’s study makes paired learner writing central to both training and evaluation, giving a concrete example of work on language technology whose benchmark reflects what learners actually wrote. The later title situates language technology in teaching and assessment. The citation establishes a connection to that application area, with the particular use of Boyd’s ideas left unspecified. On the Application of Large Language Models for Language Teaching and Assessment Technology
Cite
Cite as Adriane Boyd. 2018. Using Wikipedia Edits in Low Resource Grammatical Error Correction. Proceedings of the 2018 EMNLP Workshop W-NUT: The 4th Workshop on Noisy User-generated Text.
@inproceedings{adriane2018using,
title = {{Using Wikipedia Edits in Low Resource Grammatical Error Correction}},
author = {Adriane Boyd},
booktitle = {Proceedings of the 2018 EMNLP Workshop W-NUT: The 4th Workshop on Noisy User-generated Text},
year = {2018},
doi = {10.18653/v1/w18-6111},
url = {https://doi.org/10.18653/v1/w18-6111}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/boyd-2018-wikipedia-edits-low-resource-grammatical/