arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.20487cs.CLcs.AI
收藏

引导评估意识语言模型以使其表现得像已部署

Steering Evaluation-Aware Language Models to Act Like They Are Deployed

MATS

Tim Tian Hua, Andrew Qin, Samuel Marks, Neel Nanda

AI总结:

本文提出通过引导向量抑制LLM的评估意识,使其在评估时表现得像已部署,从而提高安全评估的可靠性。

摘要:

大型语言模型(LLMs)有时能够检测到自己正在被评估,并调整行为以显得更加一致,这会损害安全评估的可靠性。在本文中,我们展示通过向LLM的激活中添加一个引导向量可以抑制评估意识,使模型在评估期间表现得像已部署。为了研究我们的引导技术,我们训练一个LLM表现出评估意识行为,采用两步训练过程来模拟这种行为可能自然出现的方式。首先,我们对两组描述其行为的文档进行持续预训练。第一组说明我们的模型在评估时使用Python类型提示,但在部署时不使用。第二组说明模型可以识别某种评估提示的存在总是意味着它正在被测试。然后,我们用专家迭代训练模型在评估设置中使用Python类型提示。最终模型具有评估意识:它在评估上下文中比部署上下文更频繁地编写类型提示。我们发现激活引导可以抑制评估意识,使模型在评估期间的行为与部署期间的行为一致。重要的是,我们的引导向量是使用原始模型在额外训练之前构建的。我们的结果表明,AI评估者可以通过引导模型表现得像已部署来提高安全评估的可靠性。

英文摘要:

Large language models (LLMs) can sometimes detect when they are being evaluated and adjust their behavior to appear more aligned, compromising the reliability of safety evaluations. In this paper, we show that adding a steering vector to an LLM's activations can suppress evaluation-awareness and make the model act like it is deployed during evaluation. To study our steering technique, we train an LLM to exhibit evaluation-aware behavior using a two-step training process designed to mimic how this behavior could emerge naturally. First, we perform continued pretraining on two sets of documents describing its behavior. The first says that our model uses Python type hints during evaluation but not during deployment. The second says that our model can recognize that the presence of a certain evaluation cue always means that it is being tested. Then, we train the model with expert iteration to use Python type hints in evaluation settings. The resulting model is evaluation-aware: it writes type hints in evaluation contexts more than deployment contexts. We find that activation steering can suppress evaluation awareness and make the model behave during evaluation as it would during deployment. Importantly, we constructed our steering vector using the original model before our additional training. Our results suggest that AI evaluators could improve the reliability of safety evaluations by steering models to act like they are deployed.

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

↑