arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.17249cs.CLcs.AIcs.LG
收藏

机器人知道自己只是在梦见电子羊吗?

Do Androids Know They're Only Dreaming of Electric Sheep?

Columbia University(哥伦比亚大学);Microsoft(微软)

Sky CH-Wang, Benjamin Van Durme, Jason Eisner, Chris Kedzie

AI总结:

本文提出在Transformer语言模型内部表示上训练探针以检测幻觉,发现其在领域内数据上可早至第4层可靠检测幻觉,并在响应级和跨度级评估中达到或超过专家人类标注者,为语言模型幻觉评估提供了可行且高效的替代方法。

摘要:

我们设计了在Transformer语言模型内部表示上训练的探针,用于预测其在三个有依据的生成任务上的幻觉行为。为了训练探针,我们对采样(自然生成的)和人工编辑(合成的)参考输出进行了跨度级别的幻觉标注。我们的探针经过窄域训练,发现它们对训练领域敏感:从一个任务到另一个任务,或从合成幻觉到自然幻觉,它们的泛化能力较差。然而,在领域内数据上,它们能够在许多Transformer层上可靠地检测幻觉,早在第4层就达到了其峰值性能的95%。在此,探针被证明在评估幻觉方面是准确的,在响应级别检测F1上优于多个当代基线,甚至超过了一位专家人类标注者。同样,在跨度级别标注上,探针在三个生成任务中的两个上达到或优于专家标注者。总体而言,我们发现当模型状态可用时,探针是语言模型幻觉评估的一种可行且高效的替代方案。

英文摘要:

We design probes trained on the internal representations of a transformer language model to predict its hallucinatory behavior on three grounded generation tasks. To train the probes, we annotate for span-level hallucination on both sampled (organic) and manually edited (synthetic) reference outputs. Our probes are narrowly trained and we find that they are sensitive to their training domain: they generalize poorly from one task to another or from synthetic to organic hallucinations. However, on in-domain data, they can reliably detect hallucinations at many transformer layers, achieving 95% of their peak performance as early as layer 4. Here, probing proves accurate for evaluating hallucination, outperforming several contemporary baselines and even surpassing an expert human annotator in response-level detection F1. Similarly, on span-level labeling, probes are on par or better than the expert annotator on two out of three generation tasks. Overall, we find that probing is a feasible and efficient alternative to language model hallucination evaluation when model states are available.

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

↑