arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.07702cs.CL
收藏

提示开源与商业语言模型进行英语学习者文本的语法错误纠正

Prompting open-source and commercial language models for grammatical error correction of English learner text

Writer Inc.(Writer公司);King’s College London(伦敦国王学院);Imperial College London(伦敦帝国学院)

Christopher Davis, Andrew Caines, Øistein Andersen, Shiva Taslimipoor, Helen Yannakoudakis, Zheng Yuan, Christopher Bryant, Marek Rei, Paula Buttery

AI总结:

本研究评估七个开源和三个商业LLMs在四个GEC基准上的表现,发现LLMs并非总优于有监督模型,开源模型在最小编辑基准上表现更佳,且零样本提示具竞争力。

摘要:

得益于生成式AI的最新进展,我们能够提示大型语言模型(LLMs)生成流畅且符合语法的文本。此外,研究表明,当输入不合语法的句子作为提示时,我们可以引导LLMs尝试进行语法错误纠正(GEC)。我们通过测量LLMs在既定基准数据集上的表现,评估其在GEC任务中的能力。以往的研究仅在部分英语GEC数据集上考察了GPT*模型,我们则评估了七个开源和三个商业LLMs在四个既定GEC基准上的表现,从而超越了这些研究。我们调查了模型性能,并报告了针对各错误类型的结果。结果显示,除非在特定情境下——即商业LLMs在标注了流畅度修正的基准上而非最小编辑基准上——LLMs并不总是优于有监督的英语GEC模型。我们发现,在最小编辑基准上,多个开源模型的表现优于商业模型,且在某些设置下,零样本提示与少样本提示同样具有竞争力。

英文摘要:

Thanks to recent advances in generative AI, we are able to prompt large language models (LLMs) to produce texts which are fluent and grammatical. In addition, it has been shown that we can elicit attempts at grammatical error correction (GEC) from LLMs when prompted with ungrammatical input sentences. We evaluate how well LLMs can perform at GEC by measuring their performance on established benchmark datasets. We go beyond previous studies, which only examined GPT* models on a selection of English GEC datasets, by evaluating seven open-source and three commercial LLMs on four established GEC benchmarks. We investigate model performance and report results against individual error types. Our results indicate that LLMs do not always outperform supervised English GEC models except in specific contexts -- namely commercial LLMs on benchmarks annotated with fluency corrections as opposed to minimal edits. We find that several open-source models outperform commercial ones on minimal edit benchmarks, and that in some settings zero-shot prompting is just as competitive as few-shot prompting.

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

↑