arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.03868cs.CLcs.AIcs.CR
收藏

安全对齐中什么重要?

What Matters For Safety Alignment?

Huawei Technologies Co., Ltd.(华为技术有限公司)

Xing Li, Hui-Ling Zhen, Lihao Yin, Xianzhi Yu, Zhenhua Dong, Mingxuan Yuan

AI总结:

本文研究了安全对齐中关键因素,发现集成推理和自我反思机制的重要性,揭示了CoT攻击的高成功率及安全风险,强调了安全约束在模型训练中的必要性。

摘要:

本文对安全对齐能力进行了全面的实证研究。我们评估了LLMs和LRMs中影响安全对齐的因素,以提供开发更安全可靠AI系统的重要见解。我们系统地调查并比较了六个关键内在模型特征和三种外部攻击技术的影响。我们的大规模评估使用了32个最近流行的LLMs和LRMs,涵盖十三个不同的模型家族,参数规模从3B到235B。评估利用了五个已建立的安全数据集,并通过56种 jailbreak 技术和四种CoT攻击策略探测模型的漏洞,产生460万次API调用。我们的关键实证发现有四点。首先,我们确定了LRMs GPT-OSS-20B、Qwen3-Next-80B-A3B-Thinking和GPT-OSS-120B为最安全的前三模型,这证实了集成推理和自我反思机制在稳健安全对齐中的显著优势。第二,训练后和知识蒸馏可能导致安全对齐的系统性退化。因此,我们主张在这些阶段将安全视为显式约束或核心优化目标,而不是仅仅从追求通用能力的角度来处理。第三,我们揭示了一个显著的漏洞:通过响应前缀使用CoT攻击可以将攻击成功率提高3.34倍,平均从0.6%提高到96.3%对于Seed-OSS-36B-Instruct。这一关键发现突显了文本生成接口和允许用户定义响应前缀的LLM服务中的安全风险,强调了对架构和部署安全措施的迫切需求。第四,角色扮演、提示注入和基于梯度的对抗提示搜索是现代模型中引发不一致行为的主要方法。

英文摘要:

This paper presents a comprehensive empirical study on the safety alignment capabilities. We evaluate what matters for safety alignment in LLMs and LRMs to provide essential insights for developing more secure and reliable AI systems. We systematically investigate and compare the influence of six critical intrinsic model characteristics and three external attack techniques. Our large-scale evaluation is conducted using 32 recent, popular LLMs and LRMs across thirteen distinct model families, spanning a parameter scale from 3B to 235B. The assessment leverages five established safety datasets and probes model vulnerabilities with 56 jailbreak techniques and four CoT attack strategies, resulting in 4.6M API calls. Our key empirical findings are fourfold. First, we identify the LRMs GPT-OSS-20B, Qwen3-Next-80B-A3B-Thinking, and GPT-OSS-120B as the top-three safest models, which substantiates the significant advantage of integrated reasoning and self-reflection mechanisms for robust safety alignment. Second, post-training and knowledge distillation may lead to a systematic degradation of safety alignment. We thus argue that safety must be treated as an explicit constraint or a core optimization objective during these stages, not merely subordinated to the pursuit of general capability. Third, we reveal a pronounced vulnerability: employing a CoT attack via a response prefix can elevate the attack success rate by 3.34x on average and from 0.6% to 96.3% for Seed-OSS-36B-Instruct. This critical finding underscores the safety risks inherent in text-completion interfaces and features that allow user-defined response prefixes in LLM services, highlighting an urgent need for architectural and deployment safeguards. Fourth, roleplay, prompt injection, and gradient-based search for adversarial prompts are the predominant methodologies for eliciting unaligned behaviors in modern models.

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

↑