arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.41698cs.CL
收藏

大语言模型在语法纠错中推理层面的精确率-召回率权衡

Precision--Recall Trade-off on the Inference Level for LLMs in Grammatical Error Correction

Adam Mickiewicz University(亚当·密茨凯维奇大学)

Ryszard Staruch, Filip Graliński

AI总结:

本研究针对LLMs语法纠错,提出利用重复惩罚参数在推理时可控调整精确率-召回率权衡,经标准GEC基准实验验证该方法简洁且适用于现有LLMs。

摘要:

大语言模型(LLMs)近期被应用于语法纠错(GEC),通过全微调与基于提示的方法均取得了优异性能。作为概率序列模型,LLMs存在可直接调整标记生成行为的推理时参数,但其控制GEC特定权衡的潜力尚未被系统研究。本研究探讨语法纠错的解码策略,表明重复惩罚参数可在推理时可控调整精确率-召回率权衡,无需修改模型架构、训练流程或提示。通过在标准GEC基准上开展实验,证实基于重复惩罚的解码可实现推理时的精确率-召回率平衡控制,其概念与此前针对序列到序列GEC模型提出的方法(如对齐-预测解码(APD))相关,同时保持简洁性,且广泛适用于现有具备推理时解码惩罚的LLMs。

英文摘要:

Large language models (LLMs) have recently been adopted for Grammatical Error Correction (GEC), achieving strong performance via both full fine-tuning and prompt-based approaches. As probabilistic sequence models, LLMs expose inference-time parameters that directly modify token generation behavior; however, their potential for controlling GEC-specific trade-offs has not been systematically studied. In this work, we investigate decoding strategies for grammatical error correction. We show that the repetition penalty parameter enables controllable adjustment of the precision--recall trade-off at inference time, without modifying the model architecture, training procedure, or prompt. Through experiments on standard GEC benchmarks, we demonstrate that repetition-penalty-based decoding enables inference-time control of the precision--recall balance, conceptually related to methods previously proposed for sequence-to-sequence GEC models, such as Align-and-Predict Decoding (APD), while remaining simple and broadly applicable to existing LLMs that expose inference-time decoding penalties.

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

↑