[Paper Review] Weakly Supervised Grammatical Error Correction using Iterative Decoding
This paper proposes a weakly supervised Grammatical Error Correction (GEC) system using a Transformer model pre-trained on 4 billion tokens of Wikipedia revision history, which is inherently noisy and not curated for GEC. It introduces an iterative decoding strategy that applies incremental corrections over multiple passes, significantly improving performance on CoNLL’14 and JFLEG benchmarks—achieving an F₀.₅ of 58.3 (single model) and 62.4 GLEU (ensemble) without any human-annotated GEC data in the final stage.
We describe an approach to Grammatical Error Correction (GEC) that is effective at making use of models trained on large amounts of weakly supervised bitext. We train the Transformer sequence-to-sequence model on 4B tokens of Wikipedia revisions and employ an iterative decoding strategy that is tailored to the loosely-supervised nature of the Wikipedia training corpus. Finetuning on the Lang-8 corpus and ensembling yields an F0.5 of 58.3 on the CoNLL'14 benchmark and a GLEU of 62.4 on JFLEG. The combination of weakly supervised training and iterative decoding obtains an F0.5 of 48.2 on CoNLL'14 even without using any labeled GEC data.
Motivation & Objective
- Address the scarcity of large-scale, human-annotated GEC training data by leveraging Wikipedia revision histories as a weakly supervised source.
- Overcome the limitation of single-shot decoding in models trained on noisy, out-of-domain data by introducing an iterative correction process.
- Demonstrate that models pre-trained on Wikipedia edits alone can achieve strong GEC performance through iterative decoding, even without fine-tuning.
- Improve domain transfer from Wikipedia to GEC by aligning the model's behavior with the incremental editing style of human editors.
- Achieve state-of-the-art results on CoNLL’14 and JFLEG benchmarks using only weak supervision and iterative decoding.
Proposed method
- Pre-train a Transformer sequence-to-sequence model on 4.1 billion tokens of raw Wikipedia revision histories, treating each edit as a weakly supervised source-target pair.
- Apply an iterative decoding algorithm that performs beam search in each step and only accepts a rewrite if its cost is below a threshold of the identity translation cost.
- At each iteration, the model generates a new sentence by applying a high-confidence correction to the current input, allowing gradual refinement.
- Use a threshold-based filtering mechanism to ensure only meaningful, low-cost rewrites are accepted, preventing unnecessary or harmful edits.
- Fine-tune the pre-trained model on the Lang-8 GEC corpus and ensemble four such models to further improve performance.
- Integrate language modeling and spell-checking components to enhance robustness and fluency in the final output.
Experimental results
Research questions
- RQ1Can a Transformer model pre-trained on large-scale, noisy Wikipedia revisions achieve competitive GEC performance without any human-annotated GEC data?
- RQ2Does iterative decoding significantly improve GEC performance compared to single-shot decoding when training on weakly supervised, out-of-domain data?
- RQ3To what extent can iterative decoding mitigate the domain gap between Wikipedia edits and formal GEC tasks?
- RQ4How does fine-tuning on Lang-8 and model ensembling affect performance when combined with iterative decoding on weakly supervised pretraining?
- RQ5Can a model trained on Wikipedia edits generalize to GEC benchmarks like CoNLL’14 and JFLEG, and how does it compare to prior SOTA methods?
Key findings
- The model achieves an F₀.₅ of 48.2 on the CoNLL’14 benchmark using only Wikipedia revisions for pretraining and iterative decoding, without any fine-tuning on human-annotated GEC data.
- After fine-tuning on Lang-8 and using iterative decoding, the single model achieves an F₀.₅ of 58.3 on CoNLL’14, setting a new SOTA for single models.
- Ensembling four fine-tuned models with iterative decoding yields an F₀.₅ of 58.3 on CoNLL’14 and a GLEU score of 62.4 on JFLEG, achieving state-of-the-art performance.
- Iterative decoding improves performance over single-shot decoding by a substantial margin, especially on the pre-trained model, which otherwise performs poorly.
- The model trained on Wikipedia edits alone makes many non-grammatical but stylistically beneficial edits (e.g., conciseness, clarity), which are less appropriate for GEC—highlighting the need for domain adaptation via fine-tuning.
- Fine-tuning on Lang-8 shifts the model’s behavior toward conservative, grammatically focused corrections, reducing editorial-style changes and improving alignment with GEC objectives.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.