mlsanityData to 7 Oct 2026

Ungrammatical-syntax-based In-context Example Selection for Grammatical Error Correction

arXiv 2403.19283 ↗First posted 28 Mar 2024cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

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 syntax-oriented task like GEC, paying more attention to syntactic information can effectively boost LLMs' performance. Our code will be publicly available after the publication of this paper.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 26 of its 47 references that are in the map. First posted on arXiv 28 Mar 2024.

Builds on

26 of 47 references.

References · 26

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  8. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  9. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  10. 2016Deep Biaffine Attention for Neural Dependency Parsingcited by 334
  11. 2020GECToR -- Grammatical Error Correction: Tag, Not Rewritecited by 177
  12. 2022In-context Examples Selection for Machine Translationcited by 172
14 more
  1. 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 158
  2. 2023Compositional Exemplars for In-context Learningcited by 143
  3. 2023Unified Demonstration Retriever for In-Context Learningcited by 141
  4. 2021A Simple Recipe for Multilingual Grammatical Error Correctioncited by 108
  5. 2023Is ChatGPT a Highly Fluent Grammatical Error Correction System? A Comprehensive Evaluationcited by 97
  6. 2020Evolution of Semantic Similarity -- A Surveycited by 83
  7. 2023Coverage-based Example Selection for In-Context Learningcited by 58
  8. 2018Approaching Neural Grammatical Error Correction as a Low-Resource Machine Translation Taskcited by 56
  9. 2023Exploring Effectiveness of GPT-3 in Grammatical Error Correction: A Study on Performance and Controllability in Prompt-Based Methodscited by 37
  10. 2022SynGEC: Syntax-Enhanced Grammatical Error Correction with a Tailored GEC-Oriented Parsercited by 32
  11. 2022From Spelling to Grammar: A New Framework for Chinese Grammatical Error Correctioncited by 7
  12. 2022Quantifying syntax similarity with a polynomial representation of dependency treescited by 6
  13. 2022CSynGEC: Incorporating Constituent-based Syntax for Grammatical Error Correction with a Tailored GEC-Oriented Parsercited by 4
  14. 2023GEC-DePenD: Non-Autoregressive Grammatical Error Correction with Decoupled Permutation and Decodingcited by 3

Built on by

Not cited yet.