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

通过细粒度语义置信度奖励教大语言模型弃权(不执行)

Teaching LLMs to Abstain via Fine-Grained Semantic Confidence Reward

Computational Linguistics and Consciousness Sciences Lab, Southern University of Science and Technology, China(南方科技大学计算语言学与意识科学实验室)

Hao An, Yang Xu

AI总结:

针对现有大语言模型弃权方法依赖粗粒度信号导致知识边界认知不精确的问题,提出基于细粒度语义置信度奖励的强化学习框架,通过语义聚类训练模型实现精准事后弃权,并提出新评估指标,在多基准上显著提升可靠性。

摘要:

缓解大语言模型(LLMs)的幻觉问题对其可靠部署至关重要。现有方法通常对LLMs进行微调,使其对超出知识范围的问题弃权(不执行)回答。但这些方法往往依赖粗粒度信号引导LLM弃权,例如整体置信度或多个采样答案的不确定性分数,这可能导致模型对自身知识边界的认知不精确。为此,我们提出一种基于**细粒度语义置信度奖励(FiSCoRe)**的新型强化学习框架,通过样本专属置信度引导LLM弃权。具体而言,该方法通过采样多个候选答案并进行语义聚类,随后训练LLM保留高置信度聚类内的答案、丢弃低置信度聚类内的答案,从而提升事后弃权的准确性。此外,我们提出了一种新指标,用于更全面地评估弃权微调任务的可靠性。我们的方法在域内和分布外基准上均显著提升了可靠性。

英文摘要:

Mitigating hallucinations in Large Language Models (LLMs) is critical for their reliable deployment. Existing methods typically fine-tune LLMs to abstain from answering questions beyond their knowledge scope. However, these methods often rely on coarse-grained signals to guide LLMs to abstain, such as overall confidence or uncertainty scores on multiple sampled answers, which may result in an imprecise awareness of the model's own knowledge boundaries. To this end, we propose a novel reinforcement learning framework built on $\textbf{\underline{Fi}ne-grained \underline{S}emantic \underline{Co}nfidence \underline{Re}ward (\Ours)}$, which guides LLMs to abstain via sample-specific confidence. Specifically, our method operates by sampling multiple candidate answers and conducting semantic clustering, then training the LLM to retain answers within high-confidence clusters and discard those within low-confidence ones, thereby promoting accurate post-hoc abstention. Additionally, we propose a new metric for evaluating the reliability of abstention fine-tuning tasks more comprehensively. Our method significantly enhances reliability in both in-domain and out-of-distribution benchmarks.

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

↑