arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.04492cs.AI
收藏

ChatGPT用于阿拉伯语语法错误纠正

ChatGPT for Arabic Grammatical Error Correction

The University of British Columbia(不列颠哥伦比亚大学);MBZUAI(穆罕默德·本·扎耶德人工智能大学)

Sang Yun Kwon, Gagan Bhatia, El Moatez Billah Nagoud, Muhammad Abdul-Mageed

AI总结:

本文研究指令微调大语言模型在阿拉伯语语法纠错中的能力,发现GPT-4在专家提示下表现较好,并提出利用合成数据的方法,在QALB基准上取得新的最优结果。

摘要:

近年来,经过指令微调以遵循人类指令的大型语言模型(LLMs)在各种英语自然语言处理任务中展现出显著能力。然而,它们在语法错误纠正(GEC)任务中的表现,尤其是在非英语语言中的表现,仍然在很大程度上未被探索。本文深入研究了指令微调LLMs在阿拉伯语GEC中的能力,该任务因阿拉伯语丰富的形态而变得复杂。我们的研究结果表明,各种提示方法结合(上下文)少样本学习,表现出相当的有效性,其中GPT-4在专家提示下达到了最高65.49的F1分数(比我们建立的基线高出约5个点)。这凸显了LLMs在低资源环境中的潜力,为生成用于模型训练的有用合成数据提供了一种可行的方法。尽管取得了这些积极结果,我们发现指令微调模型无论其规模大小,其表现都显著低于规模小得多的完全微调模型。这一差距凸显了LLMs仍有很大的改进空间。受低资源机器翻译方法的启发,我们还开发了一种利用合成数据的方法,该方法在两个标准阿拉伯语基准上显著优于先前模型。我们的工作为阿拉伯语GEC设定了新的最先进水平,在2014年和2015年QALB数据集上分别达到72.19%和73.26的F1分数。

英文摘要:

Recently, large language models (LLMs) fine-tuned to follow human instruction have exhibited significant capabilities in various English NLP tasks. However, their performance in grammatical error correction (GEC) tasks, particularly in non-English languages, remains significantly unexplored. In this paper, we delve into abilities of instruction fine-tuned LLMs in Arabic GEC, a task made complex due to Arabic's rich morphology. Our findings suggest that various prompting methods, coupled with (in-context) few-shot learning, demonstrate considerable effectiveness, with GPT-4 achieving up to $65.49$ F\textsubscript{1} score under expert prompting (approximately $5$ points higher than our established baseline). This highlights the potential of LLMs in low-resource settings, offering a viable approach for generating useful synthetic data for model training. Despite these positive results, we find that instruction fine-tuned models, regardless of their size, significantly underperform compared to fully fine-tuned models of significantly smaller sizes. This disparity highlights a substantial room for improvements for LLMs. Inspired by methods from low-resource machine translation, we also develop a method exploiting synthetic data that significantly outperforms previous models on two standard Arabic benchmarks. Our work sets new SoTA for Arabic GEC, with $72.19\%$ and $73.26$ F$_{1}$ on the 2014 and 2015 QALB datasets, respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑