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

《我不知道:使用[IDK] token 对不确定性进行显式建模》

I Don't Know: Explicit Modeling of Uncertainty with an [IDK] Token

HPI;University of Potsdam(波茨坦大学);Tel Aviv University(特拉维夫大学)

Roi Cohen, Konstantin Dobler, Eden Biran, Gerard de Melo

AI总结:

为缓解大语言模型的幻觉问题,本研究提出通过添加[IDK]特殊token并设计对应目标函数的校准方法,让模型显式表达不确定性,在多架构多任务上验证有效且知识损失小,并开展了消融与权衡分析。

摘要:

大语言模型(Large Language Models)能够捕捉现实世界知识,因此在众多下游任务中表现出色。尽管近年来取得了诸多进展,这类模型仍容易出现俗称的“幻觉”问题,导致其生成不符合事实的错误文本。\n本研究提出了一种可用于缓解幻觉问题的新型校准方法:我们在模型词表中加入一个特殊的[IDK](即“我不知道”)token,并引入一种目标函数,针对错误预测将概率质量转移到[IDK] token 上,使模型能够在输出中显式表达不确定性。\n我们在多种模型架构和事实性下游任务上对所提方法进行了评估,发现经该方法训练的模型能够在以往会出错的场景下表达不确定性,且仅会造成少量编码知识损失。我们还针对该方法的多种变体开展了大量消融实验,并对方法的精确率-召回率权衡进行了详细分析。

英文摘要:

Large Language Models are known to capture real-world knowledge, allowing them to excel in many downstream tasks. Despite recent advances, these models are still prone to what are commonly known as hallucinations, causing them to emit unwanted and factually incorrect text. In this work, we propose a novel calibration method that can be used to combat hallucinations. We add a special [IDK] ("I don't know") token to the model's vocabulary and introduce an objective function that shifts probability mass to the [IDK] token for incorrect predictions. This approach allows the model to express uncertainty in its output explicitly. We evaluate our proposed method across multiple model architectures and factual downstream tasks. We find that models trained with our method are able to express uncertainty in places where they would previously make mistakes while suffering only a small loss of encoded knowledge. We further perform extensive ablation studies of multiple variations of our approach and provide a detailed analysis of the precision-recall tradeoff of our method.

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

↑