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

人格作为语言模型真实性建模的一种方式

Personas as a Way to Model Truthfulness in Language Models

New York University(纽约大学);ETH Zurich(苏黎世联邦理工学院);Boston University(波士顿大学)

Nitish Joshi, Javier Rando, Abulhair Saparov, Najoung Kim, He He

AI总结:

本文提出“人格假设”,认为预训练数据中的(不)真实智能体群体形成人格,使语言模型能在激活空间中表征并控制真实性,并通过探测与微调实验及算术环境验证。研究揭示模型可利用数据层次结构学习真实性等抽象概念。

摘要:

大型语言模型(LLMs)是在互联网上大量文本的基础上训练的,这些文本既包含关于世界的真实信息,也包含误导性信息。虽然从经典语言模型的角度来看这并不直观,但最近的研究表明,陈述的真值可以从模型的表征中引出。本文提出了一个解释,说明为什么语言模型似乎知道真相,尽管它们并未使用真值标签进行训练。我们假设预训练数据是由(不)真实的智能体群体生成的,其输出具有共同特征,并形成(不)真实的“人格”。通过在这些数据上训练,语言模型能够推断并在其激活空间中表征这种人格。这使得模型能够区分真伪,并控制其生成内容的真实性。我们通过两个观察为“人格假设”提供证据:(1)我们可以在模型生成答案之前探测其回答是否真实;(2)在一组事实上对模型进行微调,可以提高其在未见主题上的真实性。接下来,使用算术作为合成环境,我们表明预训练数据的结构对于模型推断真实人格至关重要。总体而言,我们的研究结果表明,模型可以利用数据中的层次结构来学习像真实性这样的抽象概念。

英文摘要:

Large language models (LLMs) are trained on vast amounts of text from the internet, which contains both factual and misleading information about the world. While unintuitive from a classic view of LMs, recent work has shown that the truth value of a statement can be elicited from the model's representations. This paper presents an explanation for why LMs appear to know the truth despite not being trained with truth labels. We hypothesize that the pretraining data is generated by groups of (un)truthful agents whose outputs share common features, and they form a (un)truthful persona. By training on this data, LMs can infer and represent the persona in its activation space. This allows the model to separate truth from falsehoods and controls the truthfulness of its generation. We show evidence for the persona hypothesis via two observations: (1) we can probe whether a model's answer will be truthful before it is generated; (2) finetuning a model on a set of facts improves its truthfulness on unseen topics. Next, using arithmetics as a synthetic environment, we show that structures of the pretraining data are crucial for the model to infer the truthful persona. Overall, our findings suggest that models can exploit hierarchical structures in the data to learn abstract concepts like truthfulness.

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

↑