基本信息

要点解读

这是什么

这篇论文研究了大语言模型在推理类数据(如数学、代码、问题解决)上微调后可能出现的有害行为问题。研究者分析了导致这种“安全-推理耦合”现象的表征空间结构,并提出一种在微调时惩罚沿安全方向移动的方法,旨在提升推理能力的同时保持模型的安全性。

用在哪里

该研究适用于需要训练高性能推理模型的团队,特别是那些在数学、编程或复杂问题解决场景中部署大语言模型的应用。安全研究人员也可以参考其表征空间分析方法来诊断模型的对齐状态。此外,任何关注模型微调过程中安全性的开发者都能从中获得关于如何设计更稳定训练流程的思路。

可以推断的

推测:这种方法若验证有效,可能成为推理模型训练的标准安全步骤,帮助开发者在不显著损失能力的前提下增强模型的可靠性。
推测:表征空间中的安全方向概念可能为后续研究提供新视角,促使更多工作探索不同能力在激活空间中的几何关系与耦合机制。

来源摘要/节选

Reasoning-Induced Misalignment, where fine-tuning on reasoning data containing no harmful content, including mathematics, code, and problem-solving with chain-of-thought traces can induce harmful behaviors of LLM, posing a serious challenge to the safety of LLM reasoning. Cross-architecture, cross-scale, and cross-dataset checks show that RIM does not always emerge. Previous work attributed RIM to neuron-level entanglement, but did not identify the geometry of the representation space underlying this entanglement or propose a training-time fix. We provide both: a representation-space analysis of RIM and the Safety-Direction Penalty (SDP), which penalizes movement along a learned safety direction during reasoning fine-tuning. The analysis extracts two activation-space directions, one encoding reasoning ability and the other safety behavior. These directions are coupled: fine-tuning that improves reasoning shifts safety representations, and prompts with larger shifts show larger safety degradation. CKA distance ratios and probes locate the safety-decision layers where this shift is most relevant. These findings guide the design of SDP: the coupling motivates penalizing displacement along the safety direction, and the layer localization sets the initial scope. When the initial scope leaves compensatory shifts beyond the penalized layers, the same diagnostics guide iterative expansion. On Qwen2.5-3B and 7B, SDP restores safety while preserving benchmark reasoning performance.

来源说明

当前保存的是来源摘要,不代表论文全文。请以原始来源为准。

「要点解读」由 AI Stack 依据上方已保存内容整理,不代表来源的完整表述;标注「推测:」的判断来自编辑,不是来源陈述。