mlsanityData to 14 Oct 2026

Encode Errors: Representational Retrieval of In-Context Demonstrations for Multilingual Grammatical Error Correction

arXiv 2606.15416 ↗First posted 13 Jun 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Grammatical Error Correction (GEC) involves detecting and correcting the wrong usage of grammar. While large language models (LLMs) with in-context learning (ICL) capabilities have shown significant progress on various natural language processing (NLP) tasks, their few-shot performance on GEC remains suboptimal. This is mainly due to the challenge of retrieving suitable in-context demonstrations that capture error patterns instead of semantic similarity. In this paper, we demonstrate that LLMs can inherently capture information related to grammatical errors through their internal states. From these states, we extract the Grammatical Error Representation (GER), an informative and semantically neutral encoding of grammatical errors. Our novel GER-based retrieval method significantly boosts performance in ICL settings on multilingual GEC datasets, improving the precision of correction. For high-resource languages, our results on 8B-sized open-source models match those of closed-source models such as Deepseek2.5 and GPT-4o-mini. For low-resource languages, our F0.5 scores surpass the baseline by up to a factor of 1.20. This method provides a more precise and resource-efficient solution for multilingual GEC, offering a promising direction for interpretable GEC research.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 31 of its 50 references that are in the map. First posted on arXiv 13 Jun 2026.

Builds on

31 of 50 references.

References · 31

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  4. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  5. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
  6. 2020Nearest Neighbor Machine Translationcited by 209
  7. 2020GECToR -- Grammatical Error Correction: Tag, Not Rewritecited by 177
  8. 2021A Simple Recipe for Multilingual Grammatical Error Correctioncited by 108
  9. 2023Finding Support Examples for In-Context Learningcited by 104
  10. 2021Efficient Nearest Neighbor Language Modelscited by 93
  11. 2019Parallel Iterative Edit Models for Local Sequence Transductioncited by 81
  12. 2020Seq2Edits: Sequence Transduction Using Span-level Edit Operationscited by 58
19 more
  1. 2018Approaching Neural Grammatical Error Correction as a Low-Resource Machine Translation Taskcited by 56
  2. 2021Instantaneous Grammatical Error Correction with Shallow Aggressive Decodingcited by 53
  3. 2023Exploring Effectiveness of GPT-3 in Grammatical Error Correction: A Study on Performance and Controllability in Prompt-Based Methodscited by 37
  4. 2024Advancing Parameter Efficiency in Fine-tuning via Representation Editingcited by 37
  5. 2020Stronger Baselines for Grammatical Error Correction Using Pretrained Encoder-Decoder Modelcited by 33
  6. 2022SynGEC: Syntax-Enhanced Grammatical Error Correction with a Tailored GEC-Oriented Parsercited by 32
  7. 2024Prompting open-source and commercial language models for grammatical error correction of English learner textcited by 24
  8. 2023GrammarGPT: Exploring Open-Source LLMs for Native Chinese Grammatical Error Correction with Supervised Fine-Tuningcited by 23
  9. 2023Enhancing Grammatical Error Correction Systems with Explanationscited by 19
  10. 2022Sequence-to-Action: Grammatical Error Correction with Action Guided Sequence Generationcited by 15
  11. 2023GEE! Grammar Error Explanation with Large Language Modelscited by 15
  12. 2023Learn to Memorize: Scalable Continual Learning in Semiparametric Models with Mixture-of-Neighbors Induction Memorycited by 12
  13. 2022Type-Driven Multi-Turn Corrections for Grammatical Error Correctioncited by 9
  14. 2024Evaluating Prompting Strategies for Grammatical Error Correction Based on Language Proficiencycited by 9
  15. 2023Improving Seq2Seq Grammatical Error Correction via Decoding Interventionscited by 8
  16. 2023Byte-Level Grammatical Error Correction Using Synthetic and Curated Corporacited by 7
  17. 2024RepEval: Effective Text Evaluation with LLM Representationcited by 6
  18. 2023ICLEF: In-Context Learning with Expert Feedback for Explainable Style Transfercited by 5
  19. 2026Neural Grammatical Error Correction for Romaniancited by 2

Built on by

Not cited yet.