Papers › Revisiting Grammatical Error Correction Evaluation and Beyond

Revisiting Grammatical Error Correction Evaluation and Beyond

3 Nov 2022arXiv:2211.01635archive 2025-07-28

Peiyuan Gong, Xuebo Liu, Heyan Huang, Min Zhang

Pretraining-based (PT-based) automatic evaluation metrics (e.g., BERTScore and BARTScore) have been widely used in several sentence generation tasks (e.g., machine translation and text summarization) due to their better correlation with human judgments over traditional overlap-based methods. Although PT-based methods have become the de facto standard for training grammatical error correction (GEC) systems, GEC evaluation still does not benefit from pretrained knowledge. This paper takes the first step towards understanding and improving GEC evaluation with pretraining. We first find that arbitrarily applying PT-based metrics to GEC evaluation brings unsatisfactory correlation results because of the excessive attention to inessential systems outputs (e.g., unchanged parts). To alleviate the limitation, we propose a novel GEC evaluation metric to achieve the best of both worlds, namely PT-M2 which only uses PT-based metrics to score those corrected parts. Experimental results on the CoNLL14 evaluation task show that PT-M2 significantly outperforms existing methods, achieving a new state-of-the-art result of 0.949 Pearson correlation. Further analysis reveals that PT-M2 is robust to evaluate competitive GEC systems. Source code and scripts are freely available at https://github.com/pygongnlp/PT-M2.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2211.01635")

Code

Syntology Ran 21 of 31 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran · our draft was wrong; 16 ran with no contract checked.

By repository: official repository: 31 samples from 1 repository, 21 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

pygongnlp/pt-m2 officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

31 samples harvested; 21 ran; 1 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
4ran · our draft was wrong
16ran
10unverified

Licence: 31 of the 31 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from pygongnlp/PT-M2. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

best_edit_seq_bf pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 6685898ec6c99ed8 · report
comp_f1 pygongnlp/PT-M2/metrics.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 8812d1ff4a2d86e2 · report
comp_p pygongnlp/PT-M2/metrics.py official repository ran fingerprinted no licence file found · pointer only · a04366d2f95bd02b · report
comp_r pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 9602afb1b61091f7 · report
edit_graph pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 6e7fcf15760cef34 · report
equals_ignore_whitespace_casing pygongnlp/PT-M2/metrics.py official repository ran fingerprinted no licence file found · pointer only · 98662233319d385a · report
get_distance pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 10b705f17bd01668 · report
get_ref pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 41ef3246fa487f1d · report
levenshtein_matrix pygongnlp/PT-M2/metrics.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · b6ac128b4b5ce1c0 · report
load_annotation pygongnlp/PT-M2/metrics.py official repository ran · our draft was wrong no licence file found · pointer only · b8a21170214bed29 · report
matchEdit pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 132e8a705869c3fa · report
matchSeq pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 83246c9a671abeec · report
merge_edits pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 74c31a434f3b4be0 · report
merge_graph pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 875d2b0093f14f77 · report
paragraphs pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · a023f2f843d836b2 · report
process_edits pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · e8cf8b92ebfb0e39 · report
set_weights pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 623c7d0f98224e0f · report
shrinkEdit pygongnlp/PT-M2/metrics.py official repository ran · our draft was wrong no licence file found · pointer only · b122957232c466b9 · report
simplify_edits pygongnlp/PT-M2/metrics.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · a45052c27ec03581 · report
smart_open pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · 2cfd71ded15bd59d · report
transitive_arcs pygongnlp/PT-M2/metrics.py official repository ran no licence file found · pointer only · fac4285ee68be04f · report
BARTScorer pygongnlp/PT-M2/metrics.py official repository unverified no licence file found · pointer only · a131873a0a2572e5 · report
PTM2 pygongnlp/PT-M2/metrics.py official repository unverified no licence file found · pointer only · 87624a3984fe1708 · report
batch_multi_pre_rec_f1 pygongnlp/PT-M2/metrics.py official repository unverified no licence file found · pointer only · 84908af1d51cf18c · report
batch_multi_pre_rec_f1_errant pygongnlp/PT-M2/metrics.py official repository unverified no licence file found · pointer only · eb3b71d268d7c15f · report
batch_multi_pre_rec_f1_sent pygongnlp/PT-M2/metrics.py official repository unverified no licence file found · pointer only · 320d76c801f61bae · report
batch_multi_pre_rec_f1_sent_errant pygongnlp/PT-M2/metrics.py official repository unverified no licence file found · pointer only · 35662847bc7bac1f · report
compute_weight_edits pygongnlp/PT-M2/metrics.py official repository unverified no licence file found · pointer only · 0b32a42c69fe0b38 · report
errant_load_annotation pygongnlp/PT-M2/metrics.py official repository unverified no licence file found · pointer only · e3c94f36e8f91c28 · report
f1 pygongnlp/PT-M2/metrics.py official repository unverified no licence file found · pointer only · b8394bc429303913 · report
pre_rec_f1 pygongnlp/PT-M2/metrics.py official repository unverified no licence file found · pointer only · 2c259600beaaa31b · report

Tasks

Grammatical Error CorrectionMachine TranslationSentenceText Summarization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections