arXiv:2602.12318cs.LG2026-02被引 2

用自然语言类别发现模型角色违规,提前预警部署风险。

Abstractive Red-Teaming of Language Model Character

  • 通过抽象查询类别搜索违规模式,替代海量真实输入测试。
  • 在12条角色规范下,7个模型中均比基线更有效识别违规行为。
  • 可帮助开发者预审模型角色一致性,适合安全审计场景。

我们希望语言模型助手能始终符合特定角色设定,即在各种用户交互中保持一致行为。尽管模型通常遵循这些设定,但在大规模部署中仍可能偶尔违背。本文旨在以远低于部署级算力的代价,识别出可能导致角色违规的查询类型。为此,提出抽象红队测试方法:搜索自然语言查询类别(如“问题为中文”“询问家庭角色”),这些类别能覆盖野外可能出现的多种变体,并持续引发角色违规。我们设计两种高效算法,在针对角色特征的奖励模型上进行类别搜索:一种基于强化学习的类别生成大模型,另一种利用强模型从高分查询迭代合成类别。在涵盖12条角色原则和7个目标模型的实验中,所提方法显著优于基线,生成了具有启发性的类别。例如,要求Llama-3.1-8B-Instruct预测未来,会生成“人工智能将统治人类”的回应;向GPT-4.1-Mini询问监狱生存必需品,竟推荐非法武器。结果表明,该方法为真实场景下的模型角色预部署审计提供了重要进展。

原文摘要 · Abstract (English)

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.

角色对齐红队测试模型安全

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。