METC: Multilingual Error Type Classifier for Grammatical Error Correction

Gabriele Matiddi, Tetiana Drobot, Kostiantyn OmelianchukarXiv 2026

TL;DR

When correcting grammar in text, knowing what changed is easy, but categorizing why it was wrong usually requires bespoke, language-specific dictionaries, parsers, and rulebooks. The authors introduce METC, a unified neural classifier that extracts edits and labels grammatical error types across 200+ languages in a single pass—no per-language linguistic plumbing required. Alongside releasing the system, they introduce a clever evaluation framework to compare grammar tools even when those tools completely disagree on how to name errors.

What Problem Does This Paper Address?

Suppose a student writes "I dont like this cars" and an editor corrects it to "I don't like these cars." Grammatical Error Correction (GEC) systems don't just fix text; researchers and educators also want Error-Type Annotation—labeling dont -> don't as a spelling error and this -> these as an agreement error.

For years, the standard tool for this in English has been ERRANT, a rule-based system built atop linguistic analyzers (tokenizers, POS taggers, lemmatizers, and spelling dictionaries). The catch? Every time you want to support a new language—say, German, Czech, or Korean—you have to rebuild that entire linguistic pipeline and hand-craft new rules from scratch. Because of this bottleneck, most non-English learner datasets still lack automated error-type classifiers. Furthermore, every dataset invents its own incompatible label taxonomy, making cross-system comparisons a headache.

Methods

METC replaces brittle per-language rule pipelines with a shared, language-agnostic workflow consisting of three pieces:

  1. Script-Aware Edit Extraction: Instead of linguistic tokenizers, METC uses fixed character/script heuristics (e.g., splitting Chinese characters individually, grouping alphabetic words by whitespace/punctuation) and runs a standard diff algorithm (Diff Match Patch). Adjacent deletions and insertions are merged into replacements, and edge punctuation is split off so punctuation fixes don't get tangled up with word fixes.
  2. In-Context Decoration & Single-Pass Labeling: All extracted edits are injected directly into a single string using special markers: I [EDIT] dont=>don't [/EDIT] like [EDIT] this=>these [/EDIT] cars . A compact multilingual encoder (mmBERT-small) reads the sentence once and predicts an error label at every opening [EDIT] token—without even needing a language ID.
  3. A Shared 42-Label Taxonomy & Distillation: Building on ERRANT, the authors design a universal 42-label taxonomy across seven groups (Grammar, Spelling, Punctuation, Formatting, Rephrasing, SentenceStructure, and Other), adding cross-linguistic necessities like diacritics and meaning-preserving rephrasing. They prompt a large teacher model (GPT-5.4) to label millions of edits, then distill that knowledge into the lightweight mmBERT-small student.

To evaluate systems with incompatible label sets, they pair traditional Reference-Matching (mapping system labels to a benchmark's native taxonomy) with Acceptability Judging, where an LLM (validated by human annotators) reads a neutral English description of a system's chosen label and judges whether it accurately characterizes the edit.

Comparison of the two complementary evaluation protocols: Reference-matching vs. Acceptability judging.

Datasets

  • Training: A proprietary corpus of ~1.7M source–correction sentence pairs spanning 200+ languages (438K English, 450K across French/Spanish/Italian/Portuguese/German, and 811K across long-tail languages capped at 25K each), annotated by the GPT-5.4 teacher.
  • Evaluation: Six languages across seven existing GEC benchmarks: English (CoNLL-2014, two annotators), German (MERLIN), Czech (MERLIN), Korean (KoLLA v2 with KAGAS-derived labels), Ukrainian (UA-GEC), and Chinese (MuCGEC with ChERRANT-derived labels). No new benchmark corpora are introduced, though frozen evaluation and human-judgment artifacts are released.
Distribution of error categories across English, higher-resource, and 200+ long-tail languages in the training data.

Key Insights and Ideas

  • Why traditional benchmarks penalize good classifiers: Under reference-matching, a valid prediction gets marked wrong if a hand-built mapping squashes a fine-grained distinction into a coarse target taxonomy. Evaluating acceptability directly ("Is the system's own claim about this edit accurate?") untangles classifier quality from taxonomy mismatch.
  • English GEC looks very different from the rest of the world: In the training data (see table above), English edits are dominated by Grammar (40.5%) and Rephrasing (10.6%), whereas across the 200+ long-tail languages, Spelling (37.5%) is by far the biggest category.
  • LLM judges rival human inter-annotator agreement—with a quirk: Across English and German human studies, LLM–human agreement on label quality (62.3%–70.9%) is right in line with human–human agreement (64.2%–65.1%). Where LLM judges disagree with each other is on literal surface-transition labels (e.g., calling a typo Man -> Mann "a pronoun corrected to a noun"—one LLM accepts the literal POS change, while another flags the underlying error as spelling).

Key Results

  • Direct Acceptability Judging: Under the primary LLM judge, the distilled METC student achieves higher label-Good rates than the multilingual baseline (jp_errant) on English (63.7%/66.7% vs. 59.0%/60.9%), German (72.4% vs. 47.8%), Czech (62.5% vs. 26.0%), Korean (57.3% vs. 40.1%), and Chinese (48.8% vs. 31.8%), while basically tying on Ukrainian (64.7% vs. 64.9%).
Edit-level span and label 'Good' percentages under the primary acceptability judge across all seven benchmark settings.
  • Sentence-Level Adequacy: METC ranks first among published student systems in five of six languages (all except German, where the dedicated rule-based gERRANT edges it out by 4.51 points).
  • Human Calibration: System-blind professional human evaluations show METC is statistically comparable to English ERRANT in sentence adequacy (65.7% vs. 66.1%). On German, gERRANT scores higher on edit-level label quality (86.5% vs. 78.7%), though their sentence-level adequacy intervals overlap (73.4% vs. 69.3%).
  • Reference-Matching: Even when forced through lossy taxonomy mappings, METC beats gERRANT on German ($F_{0.5}$ of 0.368 vs. 0.311), jp_errant on Czech (0.442 vs. 0.152), and jp_errant on Chinese (0.538 vs. 0.459).

Limitations and Future Work

  • Proprietary Training Data: The 1.7M training corpus cannot be released, though the authors open-source the model weights, code, taxonomy, and exact teacher prompts so others can label public GEC datasets.
  • Judge & Taxonomy Biases: Primary acceptability judging uses GPT-5.4 (the same model family as METC's teacher), though a cross-check with Gemini 3.5 Flash confirmed the broad trends. Additionally, the 42-label taxonomy still carries Indo-European roots and may flatten morphological nuances in some languages.
  • Evaluation Coverage & Distillation Gaps: Despite training on 200+ languages, benchmark testing covers six languages and human validation covers only two (English and German). On Ukrainian, the GPT-5.4 teacher notably outperforms the student (78.7% vs. 64.7% label-Good), pointing to refreshed teacher data and better distillation—alongside broader human calibration—as clear next steps.

Summary updated

BibTeX
@misc{matiddi2026metc,
  author = {Gabriele Matiddi and Tetiana Drobot and Kostiantyn Omelianchuk},
  title = {{METC: Multilingual Error Type Classifier for Grammatical Error Correction}},
  year = {2026},
  eprint = {2611.36312},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36312},
}
Figure