利用大语言模型进行孟加拉语语法纠错:错误分类、合成数据与模型评估
Leveraging LLMs for Bangla Grammar Error Correction:Error Categorization, Synthetic Data, and Model Evaluation
AI总结:
本文通过构建含12类错误的孟加拉语GEC数据集Vaiyakarana并对LLMs进行指令微调,使模型在语法错误识别上接近人类水平,GEC性能较零样本提升3-7个百分点。
摘要:
大语言模型(LLMs)在包括英语在内的许多语言的自然语言理解(NLU)任务中表现极为出色。然而,尽管孟加拉语是全球第五大使用语言,其语法纠错(GEC)仍发展不足。在本工作中,我们研究如何利用LLMs改进孟加拉语GEC。为此,我们首先对孟加拉语的12类错误进行了广泛分类,并对母语为孟加拉语的使用者进行了调查以收集真实世界错误。接着,我们设计了一种基于规则的噪声注入方法,用于生成与正确句子对应的语法错误句子。由此构建的Vaiyakarana数据集包含567,422个句子,其中227,119个为错误句子。该数据集随后被用于对LLMs进行指令微调,以完成孟加拉语GEC任务。评估表明,与零样本设置相比,使用Vaiyakarana进行指令微调可将LLMs的GEC性能提升3至7个百分点,并使其在语法错误识别方面达到接近人类的水平。然而,在错误纠正方面,人类仍然更胜一筹。
英文摘要:
Large Language Models (LLMs) perform exceedingly well in Natural Language Understanding (NLU) tasks for many languages including English. However, despite being the fifth most-spoken language globally, Grammatical Error Correction (GEC) in Bangla remains underdeveloped. In this work, we investigate how LLMs can be leveraged for improving Bangla GEC. For that, we first do an extensive categorization of 12 error classes in Bangla, and take a survey of native Bangla speakers to collect real-world errors. We next devise a rule-based noise injection method to create grammatically incorrect sentences corresponding to correct ones. The Vaiyakarana dataset, thus created, consists of 5,67,422 sentences of which 2,27,119 are erroneous. This dataset is then used to instruction-tune LLMs for the task of GEC in Bangla. Evaluations show that instruction-tuning with \name improves GEC performance of LLMs by 3-7 percentage points as compared to the zero-shot setting, and makes them achieve human-like performance in grammatical error identification. Humans, though, remain superior in error correction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。