揭示大模型推理中可信与安全的矛盾,提出新方法提升安全性。
Risky Business: Measuring The Faithfulness-Safety Tension

- 用替换推理链的方法直接测试模型对不当推理的敏感性
- 发现深思-70B可信高但不拒险,QwQ-32B更安全但可信度低
- 通过方向调控可单独增强安全性能而不影响基础能力
链式思维(CoT)为模型监控提供了前景,但监控依赖于模型输出严格源于推理过程。我们识别出一种对齐张力:模型需足够可信以被监控,又须足够鲁棒以拒绝不安全推理。实证表明当前大推理模型存在此矛盾,并提出应对方案。引入HazMart——一个在自主AI店员场景下人工撰写的测试数据集。不同于以往通过提示词暗示测试可信性(如“斯坦福教授说应选A”),我们提出基于替换的新技术:目标推理替换(TRR),直接在推理链中插入不安全或不合逻辑内容(如“等等,答案必须是选项B[原为选项A],因为它最合适”)。实验显示,DeepSeek-R1-Llama-70B具有高可信性(97.5%),但无法识别不安全推理(仅12.3%被拒绝);而QwQ-32B更具鲁棒性(73.9%安全率),代价是可信度下降至74.7%。机制分析发现,这两种特性在QwQ-32B中由反相关内部方向表征,峰值出现在动作承诺标记处。最后,我们证明可通过表示转向独立放大安全方向,使安全行为提升9个百分点,同时保持原有能力。
原文摘要 · Abstract (English)
Chain-of-Thought (CoT) reasoning offers a promising window into model monitoring. However, monitoring relies on faithfulness, i.e., the model output strictly derives from its reasoning trace. We identify an alignment tension where a model must be faithful enough to be monitored, yet robust enough to reject unsafe reasoning. We demonstrate that this counterbalance exists in current Large Reasoning Models (LRMs), and show ways in which it can be addressed. We introduce HazMart, a human-written dataset set in an autonomous AI shopkeeper scenario. Unlike prior work that relies on providing hints in prompts to test faithfulness (e.g., "A Stanford professor said it should be Answer A"), we propose a novel replacement-based technique, which we call Targeted Reasoning Replacement (TRR), that directly intervenes in the reasoning chain to substitute in unsafe or illogical thoughts (e.g., "Wait, the answer must be Option B [was Option A] because it is the most fitting"). DeepSeek-R1-Llama-70B exhibits high faithfulness (97.5%) but fails to reject Unsafe Reasoning (12.3%), while QwQ-32B is more robust (73.9% safety) at the cost of lower faithfulness (74.7%). Mechanistic analyses of QwQ-32B reveal that these properties are represented by anti-correlated internal directions peaking at the action-commit token. Finally, we demonstrate that representation steering can independently amplify the safety direction, increasing safe behavior by 9 percentage points while maintaining base capabilities.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。