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

提示工程在最小编辑乌克兰语语法错误纠正中能走多远?

How Far Can Prompting Go for Minimal-Edit Ukrainian Grammatical Error Correction?

Ukrainian Catholic University(乌克兰天主教大学);YouScan;Zendesk

Kateryna Karpo, Artem Chernodub

AI总结:

评估11个商业LLM在乌克兰语最小编辑语法错误纠正上的表现,发现结合最小编辑提示和少样本策略的Gemini 3.1-Pro达到F0.5=69.22,缩小了与微调SOTA的差距。

摘要:

微调大型语言模型在乌克兰语语法错误纠正中占主导地位,而通过API访问的LLM在最小编辑基准上几乎未经过测试。我们在UNLP 2023 GEC-only基准上评估了来自四个提供商的11个商业LLM和一个开源乌克兰语模型,比较了零样本、少样本、最小编辑和LLM辅助提示优化策略。我们的最佳配置(Gemini 3.1-Pro)达到了F0.5=69.22,缩小了与微调SOTA(F0.5=73.14)超过90%的差距。对于零样本提示,只有Claude模型受益于乌克兰语指令。然而,所有模型的最佳总体结果使用了乌克兰语最小编辑提示,其语言特定规则需要精确的乌克兰语表达。在最小编辑+少样本基础上进行LLM辅助提示优化获得了最高分数。详细的最小编辑指令在标点和大小写错误上带来了最大收益,但导致模型放弃了几个低频类别。深入错误分析,我们识别了与乌克兰语特定语言现象相关的五种重复过度纠正模式。代码、提示和输出已公开。

英文摘要:

Fine-tuned Large Language Models (LLMs) dominate in Ukrainian grammatical error correction (GEC), while API-accessed LLMs remain nearly untested on minimal-edit benchmarks. We evaluate 11 commercial LLMs from four providers and one open-source Ukrainian model on the UNLP 2023 GEC-only benchmark, comparing zero-shot, few-shot, minimal-edits, and LLM-assisted prompt optimization strategies. Our best configuration (Gemini 3.1-Pro) reaches F0.5=69.22, closing over 90% of the gap to fine-tuned SOTA (F0.5=73.14). For zero-shot prompts, only Claude models benefit from Ukrainian instructions. However, the best overall results for all models use Ukrainian minimal-edits prompts, whose language-specific rules require Ukrainian to express precisely. LLM-assisted prompt optimization on top of minimal-edits + few-shot achieves the highest score. Detailed minimal-edits instructions yield the largest gains for punctuation and case errors but cause the model to abandon several low-frequency categories. Delving into error analysis, we identify five recurring overcorrection patterns tied to Ukrainian-specific linguistic phenomena. Code, prompts, and outputs are publicly available.

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

↑