DER-CGEC: A Dynamic Example Retrieval Framework for Chinese Grammatical Error Correction

To address the difficulty of fixed few-shot prompting in adapting to different types of Chinese grammatical errors, this paper proposes Dynamic Example Retrieval for Chinese Grammatical Error Correction (DER-CGEC), which investigates how dynamically selecting examples affects large language models' direct error-correction capabilities and downstream transfer performance. This paper uses the 7-Billion-Parameter Qwen2.5 (Qwen2.5-7B) as the upstream model and trains the Mengzi Text-to-Text Transfer Transformer (Mengzi-T5) using the model-generated correction candidates, error types, and explanatory information. Specifically, the method combines the character bigram Jaccard similarity between the sentence to be corrected and the example error sentences, as well as the degree of similarity between the example before and after modification, to retrieve the highest-scoring examples from each of the eight categories and then inputs the selected examples together with the sentence to be corrected into the upstream model. On the 1,790 fixed evaluation data points of the Fine-Grained Corpus for Chinese Grammatical Error Correction (FCGEC), the Chinese ERRor ANnotation Toolkit (ChERRANT) F-Measure with Beta Equal to 0.5 (F0.5) value for dynamic prompts reached 0.0882. Furthermore, in downstream experiments using three random seeds, the average F0.5 of the dynamic prompt reached 0.0064, which was also higher than that of other control groups. The experiments show that dynamically selecting examples based on input features can improve the direct error-correction performance of large language models and offers downstream transfer value.

Authors

Institutions

Publication Details

Journal
Computers and artificial intelligence.
Published
2026-12-03
DOI
https://doi.org/10.70267/cai.v3n8.122129
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

DER-CGEC: A Dynamic Example Retrieval Framework for Chinese Grammatical Error Correction

Feiran Yang
Computers and artificial intelligence.
Natural Language Processing Techniques
article

DER-CGEC: A Dynamic Example Retrieval Framework for Chinese Grammatical Error Correction

Feiran Yang
article en

Abstract

To address the difficulty of fixed few-shot prompting in adapting to different types of Chinese grammatical errors, this paper proposes Dynamic Example Retrieval for Chinese Grammatical Error Correction (DER-CGEC), which investigates how dynamically selecting examples affects large language models' direct error-correction capabilities and downstream transfer performance. This paper uses the 7-Billion-Parameter Qwen2.5 (Qwen2.5-7B) as the upstream model and trains the Mengzi Text-to-Text Transfer Transformer (Mengzi-T5) using the model-generated correction candidates, error types, and explanatory information. Specifically, the method combines the character bigram Jaccard similarity between the sentence to be corrected and the example error sentences, as well as the degree of similarity between the example before and after modification, to retrieve the highest-scoring examples from each of the eight categories and then inputs the selected examples together with the sentence to be corrected into the upstream model. On the 1,790 fixed evaluation data points of the Fine-Grained Corpus for Chinese Grammatical Error Correction (FCGEC), the Chinese ERRor ANnotation Toolkit (ChERRANT) F-Measure with Beta Equal to 0.5 (F0.5) value for dynamic prompts reached 0.0882. Furthermore, in downstream experiments using three random seeds, the average F0.5 of the dynamic prompt reached 0.0064, which was also higher than that of other control groups. The experiments show that dynamically selecting examples based on input features can improve the direct error-correction performance of large language models and offers downstream transfer value.

Computers and artificial intelligence.Vol. 3(8)
Qufu Normal University (CN)
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.

Laika access coming soon