Ungrammatical-syntax-based In-context Example Selection for Grammatical Error Correction
Chenming Tang, Fanyi Qu, Yunfang Wu

TL;DR
This paper introduces a syntax-focused in-context example selection method for grammatical error correction using large language models, demonstrating improved performance over traditional methods by emphasizing syntactic similarity.
Contribution
It proposes a novel ungrammatical-syntax-based selection strategy for in-context learning in GEC, enhancing LLM performance by leveraging syntactic structure similarity.
Findings
Outperforms word-matching and semantics-based methods on GEC benchmarks
Syntactic similarity improves LLM accuracy in GEC tasks
Two-stage selection process further boosts results
Abstract
In the era of large language models (LLMs), in-context learning (ICL) stands out as an effective prompting strategy that explores LLMs' potency across various tasks. However, applying LLMs to grammatical error correction (GEC) is still a challenging task. In this paper, we propose a novel ungrammatical-syntax-based in-context example selection strategy for GEC. Specifically, we measure similarity of sentences based on their syntactic structures with diverse algorithms, and identify optimal ICL examples sharing the most similar ill-formed syntax to the test input. Additionally, we carry out a two-stage process to further improve the quality of selection results. On benchmark English GEC datasets, empirical results show that our proposed ungrammatical-syntax-based strategies outperform commonly-used word-matching or semantics-based methods with multiple LLMs. This indicates that for a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsNatural Language Processing Techniques · Speech and dialogue systems · Speech Recognition and Synthesis
