KNGED: a Tool for Grammatical Error Diagnosis of Chinese Sentences
Paper · 2014 · Tao-Hsing Chang, Yao-Ting SUNG, Jia-Fei HONG et al.
Summary
A sentence can be easy to understand and still give a learner trouble with grammar. A reader may recognize the intended action and its duration even when the duration appears in the wrong place. An automatic diagnostic system has to decide which part of the wording signals a problem, then decide what kind of problem it signals. KNGED addresses those decisions for written Chinese produced by second-language learners. The authors focus on recurring error patterns that can be recognized in parts of a sentence. This choice responds to a difficulty they identify in Chinese writing: a comma can separate complete sentences, clauses, or fragments, so punctuation provides an uncertain starting point for analyzing the full grammatical structure.
KNGED draws on rules written by hand and rules generated from examples in a learner corpus. For the hand-written rules, the authors describe an error pattern alongside a corresponding corrected pattern and use their Chinese Written Corpus to compare how frequently the patterns occur. The automatic procedure starts with annotated errors, takes nearby words and their grammatical categories, and proposes combinations with different degrees of specificity. It keeps candidates that occur often enough in the erroneous material and whose frequency there is sufficiently high relative to their frequency in correct material. Automatic generation covers unnecessary and missing words, while the hand-written collection also covers inappropriate word choice and word order.
When KNGED examines a sentence, it looks for word-choice errors first and word-order errors next. A match in either category settles the diagnosis. Otherwise, the system checks for unnecessary and missing words. If there is evidence for both, it compares the strongest matching rule from each category, with an extra requirement for choosing redundancy. A sentence that passes through these checks without a match is labeled correct. The system therefore returns a sentence judgment and, when it flags an error, a single category.
On the formal run of the NLPTEA 2014 Chinese-as-a-foreign-language shared task, the authors report a best detection F1 of 0.6444 and a best identification F1 of 0.2983. F1 combines precision and recall. The configuration that achieved both of these results caught many erroneous sentences, with detection recall of 0.9051, but also flagged many correct ones, with a false positive rate of 0.9040. Stricter rule filters reduced the false positive rate to 0.2686, alongside a drop in detection recall to 0.3120. Changing only the rule for resolving a conflict between missing and unnecessary words left detection scores unchanged and altered identification scores. The experiments show how corpus-derived rules can extend a hand-written inventory, and how the choice to flag a sentence and the choice of an error category can respond to different settings.
Deep dive: KNGED: a Tool for Grammatical Error Diagnosis of Chinese Sentences
KNGED uses hand-written and corpus-derived rules to flag grammar errors in Chinese learner writing and identify the kind of error it finds. · about 31 minutes to read
The problem and its context
What a diagnosis has to decide
KNGED is an attempt to make some judgments about Chinese learner writing automatic. A teacher reading a composition can use an error flag to find a sentence that merits attention. A category such as missing word or word order can then indicate where to begin looking. The authors cite earlier research on second-language writing in which corrective feedback helped learners develop grammatical competence. That research gives the authors a reason to build a diagnosis system. The judgments evaluated in their own work concern the sentences and their error categories.
The distinction between detection and identification is central to the paper. Suppose a reader agrees that a sentence contains an error. The diagnosis may still be wrong if it says a word should be deleted when the annotated problem is one of order. At the detection level, the system and the annotator agree that the sentence contains a problem. At the identification level, the difference between deleting and moving a word matters. The two tasks give different views of whether the output would direct a reader towards the problem recorded in the learner data. The broader area includes grammatical error correction and learner language.
The four kinds of errors in KNGED describe the relation between an erroneous expression and a corrected one. A missing word is something that would have to be supplied. A redundant word is something present where it should be absent. A selection error involves a word the learner has chosen inappropriately. A disorder error concerns the arrangement of material. These are descriptions of what has gone wrong at the surface of the sentence. Each can have a more detailed grammatical explanation, and the authors’ annotation scheme includes those finer distinctions. The diagnostic program uses the broad categories to organize its rules and choose what to report.
Why the authors work with local patterns
The paper begins with a contrast in how written sentence boundaries can be interpreted. Its account treats a period in English as a useful cue for isolating a unit of grammatical analysis. In Chinese, the authors observe that a stretch ending at a period can express a complete thought while containing several smaller units separated by commas. One of those pieces can be a complete sentence, but it can also be a clause or a phrase. An analyzer that takes every comma as the end of a sentence would have to contend with pieces of different grammatical kinds. Treating the whole stretch as a single structure leaves the analyzer to account for the connections among those pieces. The comparison is with English.
This matters for a system that would start by building a complete grammatical tree. A tree records how words or groups of words fit into larger grammatical units. To use a full tree as the basis for an error judgment, the procedure needs a unit to analyze and a sufficiently dependable account of its internal structure. The authors regard this approach as impractical for the learner sentences under discussion. Their alternative is to ask whether a part of the input exhibits a recognizable error pattern. That decision can sometimes be made while leaving the larger structure unresolved. The approach the authors discuss as an alternative starting point is parsing.
Learner word order gives a reason to expect those smaller patterns to be informative. The paper illustrates this with a Chinese sentence that puts 四年, a duration meaning four years, before 工作, the verb for working. The authors explain the order by appealing to transfer from Korean, whose typical ordering they describe as subject–object–verb, and contrast it with the subject–verb–object ordering they describe for Chinese. For the construction in their example, they say the work verb should precede the duration. The diagnostic cue is the relative position of those expressions. A rule can look for that cue without having to analyze all the material that expresses where the person came to work or assign a grammatical role to every word in the sentence.
The example also shows what the authors mean by generalizing an error. An individual learner can put a particular duration in front of a particular verb. A reusable pattern describes some of the grammatical properties of that sequence so that it can apply to other sentences. It can retain a particular word when that word is important and use a grammatical category when the wording can vary. The relation to the corrected form helps specify what the rule is intended to recognize. This use of recurring forms is what connects observations about learner writing to the rule inventory that KNGED searches.
How earlier studies chose their targets
As the authors describe it, work on learner English often began by asking which errors recur in a corpus, a collected body of writing. They report that Donahue applied an existing error taxonomy to writing tests from learners of English and found a different set of frequent problems from those found in native writers. Comma use, inappropriate words, and omissions were prominent in that sample. The authors regard the sample as too limited to characterize what most learners of English do. The Cambridge Learner Corpus, with approximately 16 million words tagged, gave a larger basis for describing recurring difficulties. In the account cited by the paper, word choice, prepositions, and determiners were among its most frequent error categories.
The paper connects these findings to automatic detection work with a deliberately restricted target. Some of the systems in its review tackle preposition errors. Others handle articles or determiners along with prepositions. A focused task makes the relevant grammatical decision easier to specify. A program built to evaluate a preposition, for instance, has a recognizable starting point in the sentence. The paper cites both research on this decision and shared-task work in which related errors were evaluated. Two examples are The Ups and Downs of Preposition Error Detection and the HOO 2011 Pilot Shared Task.
The Chinese learner studies in the review suggest a different set of priorities. In a study of learners whose first language was English, Wang found frequent problems with missing material, word order, and sentence structure. The paper also describes an analysis of 35,884 erroneous sentences from the HSK corpus. Word order appeared among the predominant categories there, together with missing adverbial and predicate material. These observations help explain why KNGED gives explicit attention to omitted components and the ordering of material. They concern the particular learner groups and corpora discussed in those studies.
Earlier automatic work on Chinese had already used the HSK Dynamic Composition Corpus to study word-order errors. The authors also describe a Chinese grammaticality system by Lee and colleagues that supplemented the HSK material with manually specified rules for frequent errors. These are precedents for working from learner examples and using a targeted rule inventory. KNGED’s own design brings those practices together with a procedure that proposes additional rules automatically and tests them against erroneous and correct material. The closest work in the paper’s review is A Sentence Judgment System for Grammatical Error Detection.
The method, step by step
From a learner sentence to a reusable rule
The basic object in KNGED is a pattern associated with an error category. Imagine starting from a sentence whose annotation identifies an unnecessary word. The word itself can be a useful clue, but it may also occur in grammatical sentences. The material around it can help specify the relevant construction. A proposed rule might preserve the unnecessary word and some of its neighbors, or it might describe the neighbors by grammatical category. The broader description can match new wording, while the more specific description can constrain the contexts in which a match is possible. Whether a given formulation is useful depends on how it behaves in the writing the authors use to evaluate candidates.
KNGED has a preparation stage and a sentence-judgment stage. Preparation produces a rule base, a collection of patterns the program can look for. The hand-written and automatic routes use different criteria to decide which patterns enter that collection. During diagnosis, the program tests the input against the retained patterns. It resolves competing evidence by category order or by comparing rule scores, depending on the kinds of rules that match. The system uses writing with linguistic annotation.
How KNGED builds rules and diagnoses a sentence
The steps in order.
Preparing the learner writing
The paper distinguishes the convention’s dry-run data, its formal-run data, and the authors’ Chinese Written Corpus. The dry run is the development material the authors cite when explaining the priority given to different rule categories. The formal run is the setting for the reported submissions. The Chinese Written Corpus supplies learner writing for constructing and checking the rule base. The description of hand authoring additionally refers to the training material made available through the shared task as the starting point for drafting rules.
The writing in the Chinese Written Corpus came from learners with a basic level of competence or higher. Collection ran from September 2010 to June 2013. The writers were studying Chinese in Taiwan at 12 institutions, including National Taiwan Normal University’s Mandarin Training Center. The authors record 37 different first languages among the learners. At the stage described in the paper, 1,147 compositions covered two topics and contained approximately 750 thousand words. These figures describe the authors’ writing collection. The formal-run experiment has its own input sentences and its own scoring conditions.
The authors kept information about the compositions and their writers, including title, nationality, first language, and institution. They kept text and image documents. The metadata describes and organizes the collected writing. The rule formats illustrate a different kind of information, taken from the sentences themselves, such as words, word categories, and relative position. The diagnosis procedure has no step that uses a writer’s nationality or first language to select rules.
The compositions were scored under Chinese writing guidelines based on the ACTFL 2012 proficiency criteria. Each text was assessed by two experts or people trained to evaluate writing, and the authors describe a cross-evaluation procedure using their composition standard. From Distinguished and Superior through Advanced, Intermediate, and Novice, the scheme allows finer distinctions within the latter groups. The paper gives 11 proficiency categories in all. The composition scores characterize the writing by proficiency, while a separate stage tags specific errors. A proficiency judgment applies to a composition, whereas a local error annotation records something about the learner wording.
The authors entered the scores, metadata, and corpus information into their error-tagging system. It includes a facility for dividing Chinese text into words and assigning a grammatical category to each word. The division supplies the units used in the rules. The categories allow a rule to apply to a kind of word in addition to making it possible to refer to a particular written form. A sequence of characters can thus be represented by its words and by a parallel sequence of categories. These operations are tokenization and part-of-speech tagging.
The annotation scheme classifies errors along two dimensions. One is a surface comparison between the learner form and the corrected form. An element may be absent, present unnecessarily, chosen inappropriately, or out of position. The other is the linguistic form involved in that change. This second dimension can describe the word class, sentence structure, or a more specific construction. The taggers assign the broad surface class first and then describe the linguistic form more closely. The distinction is reflected in the rules. A rule belongs to a surface class such as redundancy, but its terms may name lexical or grammatical evidence relevant to a particular construction.
These annotations do work that a collection of unmarked compositions could not do by itself. To generate a candidate around an unnecessary word, the procedure needs to know which material was marked unnecessary. To compare how often the candidate occurs in erroneous and correct material, the procedure needs a way of distinguishing those bodies of sentences. The annotated examples make it possible to start from a known error and then ask how well its surroundings generalize. A match in the corpus is evidence about the pattern’s distribution. The diagnosis algorithm later treats a surviving pattern as evidence about a new sentence.
Writing and checking patterns by hand
The hand-written route starts with examples from the shared-task training data. The authors formulate a pattern for the erroneous wording and a parallel description for its corrected form. This gives an author room to express a construction whose relevant pieces are hard to capture with a fixed local template. A word-order rule, for instance, can represent the relationship the author considers important without first committing to the same length used for every automatically generated candidate.
The authors then query the Chinese Written Corpus through a program created for this purpose. They submit the erroneous pattern and record how many corpus sentences fit it. They submit the corrected counterpart and get a count for that pattern as well. The rule survives the check when the corrected form occurs more frequently than the error form. The comparison therefore concerns two related patterns and their frequencies in the corpus. The corpus plays a checking role after a person has proposed both patterns.
This check gives the authors evidence that their description of a correction corresponds to a form that appears in the writing collection. It also puts each error proposal in relation to a specific alternative. If an author chooses a very general corrected pattern, however, many sentences could match it for reasons unrelated to the intended error. The frequency comparison is the paper’s practical screening criterion. The diagnostic value of a retained pattern still depends on what its error side matches in the sentences being judged.
The resulting inventory contains 840 hand-written rules. The paper assigns 90 to missing words, 73 to redundant words, 51 to word selection, and 626 to word disorder. Word disorder is particularly prominent in this inventory. Those counts measure the amount of coverage the authors wrote and retained for each category. The contribution of a category in use also depends on how many inputs its rules match, the quality of those matches, and when the category is consulted.
Generating candidates around a marked error
The automatic route begins with a marked learner error and proposes local descriptions of the context. Its fixed template has three terms. The middle term can represent the material involved in the error, while the terms on either side give the surrounding context. In the redundancy example, the center is the word 是 or its tag SHI. The corpus annotation identifies the word as unnecessary in that construction. By enumerating different representations of the center and its surroundings, the procedure can propose several rules from the same learner example.
The terms can refer to words or to their parts of speech. Keeping 是 in the center specifies a lexical form. Using SHI expresses the position through the tag assigned to that word. The same choice is available for neighboring material. The paper’s example includes 在, represented by the tag P, on the right of the center. A pattern can make the specific word 在 part of the evidence, or ask for an item with the tag P in that position. It can also use material farther from the center. The figure shows patterns that reach to 巴西, the place name at the end of the example, or use its category Nc.
The notation records distance as well as order. The plus sign links adjacent items. The greater-than sign in a pattern indicates that the items on its sides are separated. A rule can therefore ask for 是 directly followed by 在, for instance, while allowing intervening material between the center and a farther term. This greater-than sign is part of the pattern language. In the count comparisons below, the same sign has its ordinary mathematical meaning. Combining words, category tags, and the two kinds of positional relation lets the system vary the specificity of a pattern while keeping the same number of terms.
The example yields 32 candidate redundancy rules. At this point, each is a proposed description of where the marked error occurs. A pattern with a category tag may apply to more sentences because it accepts different words in a slot. A pattern with a particular word has a narrower matching condition. Either can be valuable. Their usefulness turns on whether the contexts they match tend to contain the kind of problem that prompted the proposal. The paper uses corpus counts to make that decision.
Using corpus counts to screen candidates
The automatic filter asks how often a candidate occurs in erroneous sentences and how that frequency compares with its frequency in correct sentences. The paper defines the comparison as a ratio.
r = positive(pr) / negative(pr)
Here, pr is the proposed rule. positive(pr) is its occurrence count in the corpus material containing erroneous sentences, and negative(pr) is its occurrence count in the correct material. The slash indicates division, and the equals sign defines r as the resulting ratio for that proposal. An occurrence in erroneous material increases the numerator. An occurrence in correct material increases the denominator. The ratio is later used again when matching rules compete during diagnosis.
The authors apply two thresholds together.
positive(pr) > p and r > k
In this condition, positive(pr) counts occurrences of candidate pr in the erroneous material. The threshold p sets the minimum evidence required from that material, with the greater-than sign requiring the count to exceed it. The candidate’s ratio r must also exceed the threshold k. The word and means both tests must pass. The authors choose the thresholds experimentally. The paper describes the occurrence count as a check against rules supported by too little evidence and the ratio as an indicator of how selective a candidate might be for erroneous material.
The two parts of the filter answer different questions. A candidate may have few matches in correct material and still be supported by very few instances overall. The count requirement addresses this case. Conversely, a candidate can appear often in erroneous material because it describes a common construction and also appear frequently in correct material. The ratio requirement addresses that case. A retained rule must have sufficient support under the count threshold and sufficient preference for the erroneous material under the ratio threshold.
With p and k both set to 2 in the worked example, 11 of the 32 candidates are retained. That is the result of applying the filter to the example in the rule-generation figure. The formal shared-task submissions use settings reported separately. Across the corpus, the authors report generating 13,890 redundancy rules and 2,497 missing-word rules. Those figures describe the automatically generated inventory reported in the method. The paper gives no corresponding automatic inventories for word choice and word order.
The distinction between the two rule-generation routes is important. The hand-written screen compares the frequency of an error pattern with that of its separately formulated correction. The automatic screen compares occurrences of the same candidate in erroneous and correct material. In one case, the proposed correction provides the comparator. In the other, a candidate’s behavior across groups of sentences provides the comparator. Both routes use the corpus to limit what reaches the rule base, with different kinds of evidence attached to the retained patterns.
Choosing a sentence label
KNGED first looks for a word-selection rule that fits the input. If it finds a match, it assigns the selection category and ends the search. Otherwise, it looks for a word-disorder match. A match there produces a word-order diagnosis. The authors say they gave these categories their positions after examining the behavior of rules on the dry run. Word selection gave the highest accuracy in that inspection, and word disorder was more accurate than the missing-word and redundant-word rules. The order turns that observation into an explicit preference when several categories could apply to the same input.
If both higher-priority checks fail, the program looks for missing-word and redundant-word patterns. When the evidence is for just one of those categories, it assigns that category. When it finds both, the program takes the highest-scoring match within each category. The comparison uses the ratio attached to the rules. Taking the strongest match on each side means a category with many weak matches gains no advantage merely from their number at this step.
rr > y × mr
The quantity rr is the highest r among the matching redundant-word rules. The quantity mr is the highest r among the matching missing-word rules. The adjustable multiplier y specifies how strongly the redundant-word match has to outrank the missing-word match. The multiplication sign applies that multiplier to mr, and the greater-than sign makes the decision strict. If the inequality holds, the sentence receives the redundant-word label. Otherwise it receives the missing-word label, which also covers equality at this decision boundary.
The authors introduced the multiplier because redundant-word rules tended to reach higher ratios more readily. A missing element has to be inferred from what surrounds the position where it should be. The redundancy example shows how a candidate for an extra element can use that element itself in addition to its surroundings. The multiplier is the paper’s way of adjusting the comparison between the two categories. It is used after candidate matching, so it changes the category selected in an ambiguous case rather than the rule inventory.
If none of the ordered checks produces a match, KNGED labels the sentence correct. In the logic of the algorithm, that output follows from exhaustion of the checks. Similarly, the first successful check can settle the judgment before evidence for a lower-priority category is considered. The corrected patterns are useful during rule construction, but the judgment procedure ends with a label. The paper evaluates that label at the level of detecting an error and at the level of identifying its type.
Experiments and results
The shared-task runs
The evaluation reports three submissions to the formal run of the NLPTEA 2014 Chinese-as-a-foreign-language shared task. The authors compare parameter settings of KNGED. They give no separate baseline score for another system, a hand-written-only variant, or an automatic-only variant in the results table. The comparison is consequently between different uses of the same rule framework. The Chinese Written Corpus provides material for building the rules, and dry-run analysis informs the order of the checks. The scores below are the reported results on the formal run.
Run 1 uses p of 3 and k of 2 to filter automatic candidates, with y set to 50 for disputes between redundancy and omission. Run 2 raises p to 10 and k to 1000, keeping y at 50. The changes in this run demand more occurrences in erroneous material and a stronger contrast with correct material. Run 3 restores p to 3 and k to 2 and sets y to 1. Run 1 and Run 3 therefore differ in how they settle a disagreement about which category to assign. Run 2 changes both filters that determine whether a candidate is available for matching.
The table reports a false positive rate alongside accuracy, precision, recall, and F1 for the detection and identification views of performance. At detection level, the basic decision is whether a sentence contains an error. A false positive is a correct sentence flagged as erroneous, so the false positive rate describes how frequently correct inputs are flagged. Detection precision concerns how frequently flagged inputs are erroneous. Detection recall concerns how frequently erroneous inputs are flagged. Accuracy looks at the overall outcome across the evaluated inputs, while F1 combines precision and recall into a score sensitive to either of them being low.
The identification columns judge the more specific outcome. A sentence flagged as erroneous can be assigned the wrong category, so a positive detection can fall short at identification. The paper gives accuracy, precision, recall, and F1 at this level, without elaborating the aggregation of the identification scores across categories. The two F1 columns should be read with their different targets in mind. One summarizes the error flag, and the other summarizes the effort to identify what kind of error the sentence contains. This is an example of reporting several outcomes on a shared evaluation benchmark.
Detection and the cost of flagging broadly
Run 1 and Run 3 each reach detection F1 of 0.6444. They also have the same detection accuracy of 0.5006, precision of 0.5003, and recall of 0.9051. They find many of the erroneous inputs, but their false positive rate is 0.9040. A high probability of being flagged applies to correct inputs as well as erroneous ones in these configurations. Detection F1 describes the balance of precision and recall for the target, while the false positive rate shows the burden of false alarms among the sentences that should pass.
Run 2 reaches detection precision of 0.5374 and detection accuracy of 0.5217. Its detection recall is 0.3120, giving an F1 of 0.3948. Its false positive rate is 0.2686. The more stringent settings thus yield a configuration that wrongly flags fewer correct sentences and finds fewer erroneous ones. Its detection precision is higher than in the other submissions, while the drop in recall is large enough to make its F1 lower. Accuracy favors Run 2 among the submitted settings. Recall and F1 favor the settings used in Run 1 and Run 3.
KNGED submissions on the formal run, detection F1
The submissions with looser rule filters tie on detection F1 and outperform the stricter submission on that metric.
The numbers
| System or setting | F1 |
|---|---|
| Run 1 (this paper) | 0.6444 |
| Run 2 | 0.3948 |
| Run 3 | 0.6444 |
These results give different answers to different practical questions. Detection recall describes how much of the annotated error material would reach someone reviewing the flags. The false positive rate describes how frequently that person would also have to look at correct sentences. Precision reflects the proportion of flags that correspond to errors. A difference in accuracy can coexist with a very different ordering by F1 because accuracy also gives credit for correct sentences that pass. The paper’s highest detection F1 is tied to a setting that flags a large share of both kinds of input.
The identical detection results for Run 1 and Run 3 follow the structure of the decision procedure. Both submissions use the same filters to create the rule base. The parameter that changes is applied only after the program has found matches for both missing and redundant words. The sentence would receive an error flag whichever category won. Hence the table’s agreement extends across detection accuracy, precision, recall, F1, and the false positive rate.
Identifying the error type
Run 1 has identification precision of 0.2696 and identification recall of 0.3337. Its identification accuracy is 0.2149, and its identification F1 is 0.2983. Among the reported submissions, that is the best identification F1. The same run was tied for best detection F1. In the paper’s abstract, the reported F1 figures are 0.64 for detection and 0.30 for identification. The formal-run table supplies the greater precision used here.
Run 3 has identification precision of 0.2607, recall of 0.3189, and accuracy of 0.2074. Its identification F1 is 0.2869. Every detection result is shared with Run 1, while the identification results favor Run 1. The direct comparison is especially informative because the matching procedure and candidate filters use the same settings. The difference is associated with which label wins when rules in the two lower-priority categories both match.
Run 2 has identification precision of 0.2516 and recall of 0.0903. Its identification F1 is 0.1329. It also has identification accuracy of 0.4109, the highest such accuracy reported. The paper supplies the aggregate values without a breakdown of which decisions contributed to this combination. In the reported results, the stronger accuracy and the lower recall describe different aspects of the run. The stricter setting is the best submission by identification accuracy and the weakest by identification F1.
KNGED submissions on the formal run, identification F1
The submission that demands stronger evidence for redundancy in a conflict has the highest identification F1.
The numbers
| System or setting | F1 |
|---|---|
| Run 1 (this paper) | 0.2983 |
| Run 2 | 0.1329 |
| Run 3 | 0.2869 |
The separation between the two tasks is visible across the submissions. A rule can help draw attention to an erroneous sentence even when its category leads the program away from the annotated diagnosis. Conversely, the label comparison can change the quality of identification while leaving the flagged set intact. The formal results put numbers on both effects. They offer a direct way to see why detection performance alone would give an incomplete account of what a reader receives from KNGED.
What the ablations show
The paper offers no ablation that removes a source of rules or changes the order of the category checks, but it compares parameter settings and discusses the behavior of the rules found on the dry run.
A controlled change to the diagnosis
Run 1 and Run 3 isolate the multiplier used once both redundancy and omission rules have matched. The threshold is 50 in Run 1 and 1 in Run 3. In Run 1, a redundant-word rule needs a much greater ratio relative to the strongest missing-word rule before redundancy wins. The stricter preference for missing words applies only to sentences that reach this comparison. A missing-word match on its own still yields a missing-word diagnosis, and a redundant-word match on its own still yields a redundant-word diagnosis.
The result supports that stricter conflict policy within this comparison. Identification F1 is 0.2983 in Run 1 and 0.2869 in Run 3. Identification precision and recall also favor Run 1. Detection F1 remains at 0.6444 in both. This agreement on detection matters for the interpretation. The comparison concerns the usefulness of the labels assigned after matching. It does not show better screening of grammatical sentences or recovery of errors the system had previously missed at the detection level.
The authors’ explanation is that redundancy rules can acquire high ratios more easily than omission rules. With a common threshold for deciding between them, a ratio that is typical of a redundancy rule could outrank a strong omission match. The multiplier changes the evidence required to choose redundancy. The aggregate improvement is consistent with that explanation. The paper gives no counts of how many inputs reached the comparison or which annotated categories were recovered when a label changed. The controlled result therefore concerns the combined identification metrics.
A joint change to the rule filters
Run 1 and Run 2 keep y at 50 and change the two admission thresholds together. Raising the occurrence threshold from 3 to 10 requires more observed support in erroneous sentences. Raising the ratio threshold from 2 to 1000 asks for a much stronger preference for those sentences over correct ones. Both changes tend to exclude candidates that would have been eligible under the looser setting. The design evaluates the stricter combination as a package. A contribution specific to either threshold cannot be identified from the submitted runs.
The lower false positive rate and lower recall fit what the rule filtering changes. Removing a rule can prevent an erroneous sentence from being flagged if it depended on that match. It can also prevent a correct sentence from being flagged by a broad or misleading pattern. The formal-run results show both outcomes in aggregate. Detection recall is 0.3120 under the stricter setting, compared with 0.9051 under the looser setting with the same multiplier. The respective false positive rates are 0.2686 and 0.9040.
Changes to the inventory can also affect identification for a sentence that still gets flagged. A match that would have settled the diagnosis early can disappear, leaving another category to determine the outcome. Among redundancy and omission rules, the most highly scored available match can change if an earlier candidate has failed the count threshold. The difference between the two runs reflects the resulting decisions of the whole procedure. The paper gives no retained rule counts for the individual formal-run settings and no mapping from removed rules to changed decisions, so the results do not identify where these effects were concentrated.
What the authors learned from inspecting the rules
The authors’ inspection of the dry run motivates the category order. They judged word-selection rules more accurate than the other categories, and word-disorder rules stronger than the rules for redundancy and omission. In a procedure that returns a single label, putting stronger categories earlier gives their matches precedence. The paper explains the preference through this qualitative comparison. It gives no scores for an alternative order, so there is no direct estimate of the contribution made by this ordering.
The discussion also describes differences between hand-written and generated patterns. The hand-written patterns can describe more complicated structures, but in the authors’ inspection this did not make them consistently more accurate. The automatically generated group contained patterns absent from the hand-written collection, and the authors found that thresholding could yield rules they regarded as fairly reliable. These observations address the feasibility of expanding the inventory through automatic extraction. They give a reason to use learner examples as a source of patterns that a person did not anticipate.
The evidence for that expansion and the evidence for the full system address different questions. An automatically generated pattern can be novel and useful in some examples without improving a particular aggregate measure once it competes with other rules. Run 2 also shows that imposing stricter requirements on automatic candidates changes both kinds of detection outcomes. The paper contains no comparison that measures the combined system against each source of rules in isolation. Its rule inspection establishes that the inventories differ in content and complexity, while the shared-task runs show how the combined procedure responds to its settings.
Limitations
Limits the authors identify
The authors describe the Chinese Written Corpus as a collection still being expanded. The automatic system looks for recurring examples, which makes the variety of the corpus consequential. A construction can be available for rule generation only if the learner material supplies recognizable evidence for it. A broader writing collection could offer more examples of existing categories and examples of constructions the current collection rarely contains. The paper presents such expansion as a route to stronger performance. Its experiments use the corpus available at the time.
Automatic generation is limited to redundancy and missing words. This leaves word choice and word order dependent on manually constructed patterns in the reported system. Those categories are important in the authors’ account of learner writing, and they also occupy the first positions in the diagnostic search. Extending automatic generation to them would require procedures for extracting and evaluating their characteristic contexts. The authors discuss this as a direction for improving the system. The automatic inventories they report cover the other two categories.
The generated patterns also have only three terms. This still allows lexical variation, part-of-speech descriptions, and relative distance, but a longer construction can contain more potentially relevant material than a single candidate records. The authors regard the ability to find more complex rules as another way to extend coverage. The method’s example demonstrates what the chosen template can express around an unnecessary word. It offers no performance comparison with a template that can express a larger structure.
The authors see the additional patterns discovered by the program as grounds for pursuing more automatic diagnosis. That prospect depends on the ability to find useful patterns for additional errors and recognize more complex constructions. The formal-run results characterize the combined system. In particular, the automatic procedure draws on annotations and the system uses rules drafted by hand. The longer-term possibility the authors raise should be read in light of those dependencies.
Limits visible in the evaluation
The reported recall and false positive rates constrain a claim about the system’s practical use. The higher-recall configurations flag correct sentences frequently, while the stricter configuration leaves many erroneous sentences unflagged. Selection of a desirable configuration would depend on the relative costs of false alarms and missed errors. The paper does not estimate those costs for teachers or learners. Its measurements characterize the outputs on shared-task sentences. Classroom effects and changes in learner writing would require evidence from the use of those outputs as feedback.
The aggregate results leave open how well the system works for particular grammatical constructions. The paper has counts of rules by category, but a large number of rules for a category does not show that the category was frequent on the formal run or that the rules recognized it accurately. Similarly, the description of corpus collection shows breadth in first languages and proficiency levels. The evaluation gives no separate formal-run results by learner group, proficiency category, or composition topic. Overall metrics cannot establish how evenly performance extends across those divisions.
The results table gives values for a few configurations. The size and composition of the formal-run set are left unspecified in the account of these results, and no uncertainty estimates accompany the metrics. The ranking of the reported settings is available directly from the table. The extent to which a difference would persist on new compositions is harder to judge. In particular, the narrow difference in identification between the multiplier settings is an observed comparison on the formal run. Its broader reliability is unmeasured.
The absence of a separate baseline limits comparison with alternatives. The paper describes preceding Chinese work on error detection and judgment, but its own results table contains only submissions of KNGED. A result from a different corpus or a task restricted to one error would not automatically furnish a common comparison. Within the reported experiment, the evidence supports claims about how KNGED behaves under different thresholds. The table leaves its performance relative to other systems on the same inputs open.
There is also a distinction between the performance of a sentence label and the usefulness of a correction. The diagnosis algorithm returns a single category when it flags a sentence. An input could contain an error that matches an early rule and another one a later rule would have matched. The program stops when it has selected a category. That design supports the sentence-level decision evaluated in the paper. It offers no account of how well the system would enumerate several errors, locate their full spans, or propose and verify repairs in context. The presence of corrected patterns during rule construction provides no evaluation of sentence rewriting.
Details that affect reproducibility
The automatic filter’s ratio depends on counts in erroneous and correct material. The paper defines the quotient but leaves the handling of a zero correct-material count unspecified. Such a case matters because an otherwise well-supported candidate could have no observed match in correct sentences. Treating that count as a special case, applying smoothing, or declining the candidate would have different consequences for admission and for subsequent comparisons of rule scores. The formula and threshold conditions specify the intended ranking principle, while that boundary case is unresolved in the description.
The paper illustrates automatic generation in detail through the unnecessary-word example. Its account of missing-word generation is less explicit. In a redundancy example, the marked word can occupy the center of the pattern because it appears in the learner sentence. For an omission, relevant evidence must come from the context of the missing material and the annotation that marks the problem. The paper reports the resulting missing-word inventory but does not walk through an example that shows how the procedure represents that center or derives its variants. The common frequency tests are clear. The full construction procedure for omissions is less fully specified.
The decision procedure uses ratios to choose among competing missing-word and redundant-word matches. The method explicitly defines those ratios while describing the automatically generated candidates. It also includes hand-written rules for both categories, with a different criterion for admission. The description leaves open whether all the hand-written matches participate in the same ratio comparison and, if so, how their ratios are obtained. This matters only when trying to reproduce the precise set of choices available to the algorithm, but it affects the correspondence between the written procedure and an implementation.
Finally, the paper reports the relative accuracy of categories on the dry run as the reason for their order, without giving a full account of the comparisons used to determine it or the search that produced the threshold settings. The formal runs show the effects of the combinations the authors submitted. They establish neither how finely the parameters were explored nor how the resulting preferences would behave under a different distribution of error types. A reader can reproduce the reported decision logic from the category order and multiplier condition while still facing questions about how every rule was obtained and scored.
What came after
Later work explicitly building on KNGED remains undocumented. The documented research connection is to the earlier Chinese learner studies discussed by the authors, which use annotated writing to study recurring errors and develop judgment procedures. KNGED combines that use of learner writing with a rule-generation procedure for omissions and redundant words. The paper closes by proposing more varied learner material, automatic extraction for additional error categories, and patterns that can express more complex constructions. Those are directions the authors set out, with their empirical results confined to the rule inventories and shared-task submissions reported in the paper.
Cite
Cite as Tao-Hsing Chang, Yao-Ting SUNG, Jia-Fei HONG and Jen-I Chang. 2014. KNGED: a Tool for Grammatical Error Diagnosis of Chinese Sentences. International Conference on Computers in Education.
@inproceedings{chang2014knged,
title = {{KNGED: a Tool for Grammatical Error Diagnosis of Chinese Sentences}},
author = {Tao-Hsing Chang, Yao-Ting SUNG, Jia-Fei HONG and Jen-I Chang},
booktitle = {International Conference on Computers in Education},
year = {2014},
url = {https://library.apsce.net/index.php/ICCE/article/view/3069}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/chang-2014-knged-tool-grammatical-error-diagnosis/