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

语言模型(大部分)知道他们知道什么

Language Models (Mostly) Know What They Know

Anthropic(Anthropic公司)
Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, Scot… 展开作者

Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, Scott Johnston, Sheer El-Showk, Andy Jones, Nelson Elhage, Tristan Hume, Anna Chen, Yuntao Bai, Sam Bowman, Stanislav Fort, Deep Ganguli, Danny Hernandez, Josh Jacobson, Jackson Kernion, Shauna Kravec, Liane Lovitt, Kamal Ndousse, Catherine Olsson, Sam Ringer, Dario Amodei, Tom Brown, Jack Clark, Nicholas Joseph, Ben Mann, Sam McCandlish, Chris Olah, Jared Kaplan

摘要:

我们研究了语言模型是否能够评估自己的主张的有效性,并预测他们将能够正确回答哪些问题。我们首先表明,当以正确的格式提供较大的模型时,它们在不同的多项选择和真/假问题上得到了很好的校准。因此,我们可以通过要求模型首先提出答案,然后评估他们的答案是正确的概率“P(真)”来实现开放式抽样任务的自我评估。我们发现令人鼓舞的性能,校准和缩放的P(真)在各种各样的任务。当我们允许模型在预测一个特定可能性的有效性之前考虑许多自己的样本时,自我评估的性能进一步提高。接下来,我们研究模型是否可以被训练来预测“P(IK)”,即“我知道”问题答案的概率,而不参考任何特定的建议答案。模型在预测P(IK)方面表现良好,并在任务之间部分泛化,尽管它们在新任务上难以校准P(IK)。预测的P(IK)概率也适当增加,在上下文中的相关源材料的存在下,并在存在的提示对解决数学应用题。我们希望这些观察为训练更诚实的模型奠定基础,并调查诚实如何推广到模型在模仿人类写作之外的目标上训练的情况。

英文摘要:

We study whether language models can evaluate the validity of their own claims and predict which questions they will be able to answer correctly. We first show that larger models are well-calibrated on diverse multiple choice and true/false questions when they are provided in the right format. Thus we can approach self-evaluation on open-ended sampling tasks by asking models to first propose answers, and then to evaluate the probability "P(True)" that their answers are correct. We find encouraging performance, calibration, and scaling for P(True) on a diverse array of tasks. Performance at self-evaluation further improves when we allow models to consider many of their own samples before predicting the validity of one specific possibility. Next, we investigate whether models can be trained to predict "P(IK)", the probability that "I know" the answer to a question, without reference to any particular proposed answer. Models perform well at predicting P(IK) and partially generalize across tasks, though they struggle with calibration of P(IK) on new tasks. The predicted P(IK) probabilities also increase appropriately in the presence of relevant source materials in the context, and in the presence of hints towards the solution of mathematical word problems. We hope these observations lay the groundwork for training more honest models, and for investigating how honesty generalizes to cases where models are trained on objectives other than the imitation of human writing.

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

↑