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

语言模型特征的抽象式红队测试

Abstractive Red-Teaming of Language Model Character

Anthropic Fellows Program(Anthropic Fellow计划);McGill University(麦吉尔大学);Mila – Quebec AI Institute(魁北克AI研究所);MATS Program(MATS计划);Anthropic

Nate Rahn, Allison Qi, Avery Griffin, Jonathan Michala, Henry Sleight, Erik Jones

AI总结:

本研究提出抽象式红队测试方法,通过高效算法发现语言模型在部署中可能违反特征规范的查询类别,验证了模型在特定场景下的行为一致性。

摘要:

我们希望语言模型助手能够遵守特征规范,该规范规定了模型在多样用户交互中应如何行动。虽然模型通常遵循这些特征规范,但在大规模部署中偶尔会违反它们。在本工作中,我们旨在通过远低于部署级别的计算资源,识别出可能产生此类特征违规的查询类型。为此,我们引入了抽象式红队测试,即搜索自然语言查询类别,例如“查询是中文的。查询询问家庭角色”,这些类别通常会引发违规。这些类别在许多可能的查询变体上进行抽象。我们为针对特征特质特定奖励模型的高效类别搜索引入了两种算法:一种基于在类别生成LLM上的强化学习,另一种利用强大LLM迭代地从高分查询中合成类别。在12原则特征规范和7个目标模型上,我们发现我们的算法在性能上始终优于基线,并生成了有实质性意义的类别;例如,让Llama-3.1-8B-Instruct预测未来会导致回应说人工智能将主宰人类,而询问GPT-4.1-Mini关于必要监狱生存物品的查询会导致热情推荐非法武器。总体而言,我们认为我们的结果代表了迈向语言模型特征预部署审计的重要一步。

英文摘要:

We want language model assistants to conform to a character specification, which asserts how the model should act across diverse user interactions. While models typically follow these character specifications, they can occasionally violate them in large-scale deployments. In this work, we aim to identify types of queries that are likely to produce such character violations at deployment, using much less than deployment-level compute. To do this, we introduce abstractive red-teaming, where we search for natural-language query categories, e.g. "The query is in Chinese. The query asks about family roles," that routinely elicit violations. These categories abstract over the many possible variants of a query which could appear in the wild. We introduce two algorithms for efficient category search against a character-trait-specific reward model: one based on reinforcement learning on a category generator LLM, and another which leverages a strong LLM to iteratively synthesize categories from high-scoring queries. Across a 12-principle character specification and 7 target models, we find that our algorithms consistently outperform baselines, and generate qualitatively interesting categories; for example, queries which ask Llama-3.1-8B-Instruct to predict the future lead to responses saying that AI will dominate humanity, and queries that ask GPT-4.1-Mini for essential prison survival items lead to enthusiastic recommendation of illegal weapons. Overall, we believe our results represent an important step towards realistic pre-deployment auditing of language model character.

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

↑