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

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 GERbased 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 F 0.5 scores surpass the baseline by up to a factor of 1.2.This method provides a more precise and resource-efficient solution for multilingual GEC, offering a promising direction for interpretable GEC research.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.1090
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Wen Luo, Houfeng Wang, Guangyue Peng, David C. S. Li
Natural Language Processing Techniques
article

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

Wen Luo, Houfeng Wang, Guangyue Peng, David C. S. Li
article en

Abstract

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 GERbased 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 F 0.5 scores surpass the baseline by up to a factor of 1.2.This method provides a more precise and resource-efficient solution for multilingual GEC, offering a promising direction for interpretable GEC research.

Peking University (CN)
National Natural Science Foundation of China, National Science and Technology Major Project
Quality Education
Openalex Percentile: Top 90%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.