arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.00985cs.CL

增强用于语法错误纠正的文本编辑:以阿拉伯语为案例研究

Enhancing Text Editing for Grammatical Error Correction: Arabic as a Case Study

Computational Approaches to Modeling Language Lab(语言建模计算方法实验室);New York University Abu Dhabi(纽约大学阿布扎克分校);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Bashar Alhafni, Nizar Habash

AI总结:

本文提出一种从数据中直接推导编辑标签的文本编辑方法,用于阿拉伯语语法错误纠正,在多个基准上取得SOTA或相当结果,且速度比现有系统快六倍以上,并通过集成模型进一步提升性能。

摘要:

文本编辑将语法错误纠正(GEC)框架化为序列标注问题,其中编辑标签被分配给输入标记,应用这些编辑后得到纠正后的文本。该方法因其高效性和可解释性而受到关注。然而,尽管文本编辑在英语中已被广泛探索,但对于像阿拉伯语这样形态丰富的语言,文本编辑在很大程度上仍未得到充分研究。在本文中,我们引入一种文本编辑方法,直接从数据中推导编辑标签,从而消除了对语言特定编辑的需求。我们展示了该方法在阿拉伯语(一种双言现象且形态丰富的语言)上的有效性,并研究了不同编辑表示对模型性能的影响。我们的方法在两个阿拉伯语GEC基准上取得了SOTA结果,并在另外两个基准上与SOTA表现相当。此外,我们的模型比现有阿拉伯语GEC系统快六倍以上,使我们的方法在实际应用中更具实用性。最后,我们探索了集成模型,展示了如何通过组合不同模型进一步实现性能提升。我们公开提供了代码、数据和预训练模型。

英文摘要:

Text editing frames grammatical error correction (GEC) as a sequence tagging problem, where edit tags are assigned to input tokens, and applying these edits results in the corrected text. This approach has gained attention for its efficiency and interpretability. However, while extensively explored for English, text editing remains largely underexplored for morphologically rich languages like Arabic. In this paper, we introduce a text editing approach that derives edit tags directly from data, eliminating the need for language-specific edits. We demonstrate its effectiveness on Arabic, a diglossic and morphologically rich language, and investigate the impact of different edit representations on model performance. Our approach achieves SOTA results on two Arabic GEC benchmarks and performs on par with SOTA on two others. Additionally, our models are over six times faster than existing Arabic GEC systems, making our approach more practical for real-world applications. Finally, we explore ensemble models, demonstrating how combining different models leads to further performance improvements. We make our code, data, and pretrained models publicly available.

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

↑