arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02064cs.LGcs.AIcs.CL
收藏

对Llama3-8b-Instruct自生成文本识别能力的检查与控制

Inspection and Control of Self-Generated-Text Recognition Ability in Llama3-8b-Instruct

Christopher Ackerman, Nina Panickssery

AI总结:

本研究探讨了LLM是否能识别自身生成的文本,发现Llama3-8b-Instruct模型能够区分自身输出与人类输出,并通过残差流中的特定向量控制其行为和感知,揭示了模型自我归属的认知机制。

摘要:

已报告LLM能够识别其自身生成的文本,这可能对AI安全有重要影响,但研究较少。我们调查这一现象,以确定其在行为层面是否稳健发生,观察行为是如何实现的,以及是否可以控制。首先,我们发现Llama3-8b-Instruct聊天模型(而非基础Llama3-8b模型)能够可靠地区分自身输出与人类输出,并提供证据表明聊天模型很可能利用其在训练后对自身输出的经验来完成文本识别任务。其次,我们识别出残差流中一个在模型正确识别自身生成文本时被差异激活的向量,证明该向量对自我归属相关信息的响应,并提供证据表明该向量与模型中的“自我”概念相关,并展示该向量与模型感知和声明自我归属能力的因果关系。最后,我们证明该向量可用于控制模型的行为和感知,通过将其应用于模型生成输出时,可引导模型声称或否认作者身份;通过将其应用于模型阅读的文本时,可引导模型相信或不相信其写了任意文本。

英文摘要:

It has been reported that LLMs can recognize their own writing. As this has potential implications for AI safety, yet is relatively understudied, we investigate the phenomenon, seeking to establish whether it robustly occurs at the behavioral level, how the observed behavior is achieved, and whether it can be controlled. First, we find that the Llama3-8b-Instruct chat model - but not the base Llama3-8b model - can reliably distinguish its own outputs from those of humans, and present evidence that the chat model is likely using its experience with its own outputs, acquired during post-training, to succeed at the writing recognition task. Second, we identify a vector in the residual stream of the model that is differentially activated when the model makes a correct self-written-text recognition judgment, show that the vector activates in response to information relevant to self-authorship, present evidence that the vector is related to the concept of "self" in the model, and demonstrate that the vector is causally related to the model's ability to perceive and assert self-authorship. Finally, we show that the vector can be used to control both the model's behavior and its perception, steering the model to claim or disclaim authorship by applying the vector to the model's output as it generates it, and steering the model to believe or disbelieve it wrote arbitrary texts by applying the vector to them as the model reads them.

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

↑