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

价值探针:用于束搜索红队测试的学习价值函数

Value Probes: Learned Value Functions for Beam-Search Red Teaming

Anthropic

Jonathan F. Jao, Andrew Kyle Lampinen

AI总结:

本研究将语言模型审计建模为马尔可夫决策过程,提出价值探针方法结合束搜索,使18种目标行为的峰值审计分数提升约50%,且可利用小模型数据拟合,效率更高。

摘要:

语言模型的自动化红队审计是评估安全相关行为的重要方式,这类审计隐含地在可能的对话路径树中搜索:每一轮审计模型决定继续哪段对话,而大型语言模型(LLM)评判对话质量。我们强调该审计过程是一个马尔可夫决策过程,其中状态为对话历史,动作为候选回复,奖励为目标行为的评判分数。基于此视角,我们对审计提出两项主要改进:首先,我们采用束搜索而非仅依赖审计模型进行审计;其次,我们将寻找可能导致问题行为的状态的问题解释为价值估计。令人惊讶的是,我们证明该价值函数可通过从目标模型的激活值进行线性探针来估计,以预测折扣未来奖励——我们将此方法称为“价值探针”。通过在束搜索审计中使用价值探针作为启发式方法,我们能够大幅提升审计成功率。在18种目标行为和3种规模的模型上,与(标记匹配的)标准审计方法相比,我们的方法将峰值审计分数提高了约50%。此外,我们证明价值探针可使用来自较小模型的离策略数据进行拟合。我们还对各个组件进行了消融实验,结果表明我们的方法是更昂贵的大型语言模型后续处理的性能相当且效率更高的替代方案。我们希望这些方法能改进语言模型审计并催生更安全的模型。

英文摘要:

Automated red-team auditing of language models is an important way to evaluate safety-relevant behaviors. These audits implicitly search a tree of possible conversation pathways: at each turn an auditor model decides which conversation to continue, and an LLM judge scores the dialogue. We emphasize that this auditing procedure is a Markov decision process, where states are the conversation history, actions are candidate responses, and rewards are judge scores for the target behavior. By adopting this perspective, we introduce two major improvements to auditing. First, we propose adopting beam search for the audit rather than relying on the auditor alone. We then interpret the problem of finding states that are likely to lead to problematic behavior as value estimation. Surprisingly, we show that this value function can be estimated by linear probing from the target model's activations to predict discounted future rewards - a method we term "Value Probes." By using Value Probes as a heuristic in our beam-search audit, we are able to substantially improve auditing success. Across 18 target behaviors and 3 scales of models, our approach raises peak audit scores by roughly 50% compared to (token-matched) standard auditing approaches. Furthermore, we show that Value Probes can be fit using off-policy data from smaller models. We also ablate individual components, and show that our method offers a comparably-performant and more efficient alternative to more expensive language model follow-ups. We hope these methods will improve language model auditing and lead to safer models.

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

↑