Rethinking the Roles of Large Language Models in Chinese Grammatical Error Correction

Yinghui Li, Shang Qin, Jingheng Ye, Shirong Ma, Yangning Li, Libo Qin, Xuming Hu, Wenhao Jiang, Hai-Tao Zheng, Philip S. YuarXiv 2024 · DOI

TL;DR

This paper proposes a novel approach to Chinese Grammatical Error Correction (CGEC) by rethinking the role of Large Language Models (LLMs). Instead of using LLMs solely as direct correctors, the authors leverage them as "explainers" to enrich training data for smaller models and as "evaluators" for more objective assessment, leading to improved performance and a more nuanced understanding of CGEC.

What Problem Does This Paper Address?

The field of Chinese Grammatical Error Correction (CGEC) faces a challenge: while Large Language Models (LLMs) show immense potential in various NLP tasks, their direct application as CGEC correctors has been unsatisfactory. This is largely due to the "minimum change principle" often applied in CGEC, which can be restrictive for LLMs' generative capabilities. Furthermore, traditional CGEC evaluation metrics struggle with the inherent subjectivity of error correction, where multiple valid corrections might exist for a single error. This paper aims to address these limitations by exploring new ways to integrate LLMs into the CGEC pipeline, focusing on their strengths in explanation and evaluation rather than just correction.

Methods

The authors introduce two key frameworks:

  • Explanation-Augmented Training (EXAM): This framework leverages LLMs as "explainers." LLMs are prompted to identify error types, provide reference corrections, and generate detailed explanations for grammatical errors in incorrect sentences. This rich, human-like explanation data is then used to enhance the training of smaller, more traditional CGEC models. This approach allows the smaller models to benefit from the LLMs' grammatical knowledge without being directly constrained by the minimum change principle during training.
  • Semantic-incorporated Evaluation (SEE): This framework utilizes LLMs as "evaluators" to address the subjectivity of CGEC. Instead of relying solely on exact matches with golden corrections, SEE prompts LLMs to assess predicted edits based on three criteria: "Correct Edit" (NCE), "Wrong Edit" (NWE), and "Reasonable Edit" (NRE). "Reasonable Edit" is particularly important, as it accounts for valid corrections that might not be present in the gold standard. This allows for a more flexible and human-aligned evaluation of CGEC performance.

Datasets

The paper utilizes the following datasets:

  • HSK Dataset: Used for training the small CGEC models. Both full HSK data (156,870 samples) and a sampled subset (15,000 samples) were used.
  • NLPCC Test Data: A Chinese-as-a-Second-Language (CSL) dataset used for testing.
  • NaCGEC Benchmark: A dataset of Chinese native speaker errors, used for testing.

Key Insights and Ideas

  • LLMs as Explainers, Not Just Correctors: The core idea is that LLMs' rich grammatical knowledge is best utilized to generate explanations that can then be used to train smaller, more efficient models. This circumvents the limitations LLMs face when directly trying to adhere to strict CGEC rules.
  • Subjectivity in CGEC is a Feature, Not a Bug: The paper embraces the idea that there can be multiple valid ways to correct a grammatical error. Their SEE framework is designed to capture this nuance, making it more aligned with human judgment than traditional metrics.
  • Collaboration Between LLMs and Small Models: The research highlights a synergistic relationship where LLMs provide high-level guidance (explanations and evaluations), and small models handle the computationally efficient task of correction. This is seen as a promising direction for future NLP research.
  • Golden Annotations Can Be Detrimental: Surprisingly, the study found that providing LLMs with golden sentences during the explanation generation process decreased performance. This suggests that LLMs' natural generative process, when unconstrained by gold standards, is more effective for creating useful training signals.

Key Results

  • EXAM significantly improves small model performance: Across various baselines (BART-Large, mT5-Base, GECTOR-Chinese), EXAM consistently boosted F0.5 scores on both NLPCC and NaCGEC datasets, often achieving performance comparable to or better than training with full datasets. For instance, on NLPCC, BART-Large enhanced with EXAM (GPT) achieved a Word-Level F0.5 of 27.17, a notable improvement over the baseline's 18.30.
  • SEE aligns better with human evaluation: Human evaluation experiments showed that SEE's scores were more closely correlated with human judgments than traditional metrics, particularly for LLM-based evaluations.
  • LLMs as correctors still lag behind: Even with few-shot learning, LLMs directly used as correctors performed worse than smaller models on traditional metrics, reinforcing the need for alternative LLM roles.

Limitations and Future Work

  • Language Scope: The current work is focused on Chinese. The authors acknowledge that adapting EXAM and SEE to other languages, like English, would require significant prompt re-engineering due to differences in grammatical error types and rules. They plan to expand their methods to English in the future.
  • Ethical Considerations: The authors state that all data and models used are publicly available or accessed via APIs, and no ethical issues were identified.
  • Data Availability: The data used in the work will be made available upon request.

Summary updated

BibTeX
@misc{li2024rethinking,
  author = {Yinghui Li and Shang Qin and Jingheng Ye and Shirong Ma and Yangning Li and Libo Qin and Xuming Hu and Wenhao Jiang and Hai-Tao Zheng and Philip S. Yu},
  title = {{Rethinking the Roles of Large Language Models in Chinese Grammatical Error Correction}},
  year = {2024},
  eprint = {2402.11420},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.11420},
}
Figure