StepSafe:通过上下文感知安全推理学习及时干预
StepSafe: Learning Timely Intervention with Context-Aware Safety Reasoning
AI总结:
本研究针对智能体安全的步骤级干预监督不足问题,提出ASPO训练框架与StepSafe护栏,在5个智能体安全基准测试中实现开源护栏最优的安全-效用帕累托性能,Youden's J值达53.0(4B)。
摘要:
智能体系统的安全性本质上是顺序性的:某一动作是否安全取决于先前动作、工具输出、信息披露以及智能体之间的交互。近期研究已将智能体安全护栏从事后轨迹级评估转向步骤级动作诊断和主动风险预测,但现有训练目标对步骤证据如何随时间累积、何时足以证明干预合理的监督有限。我们提出\methodlong~(ASPO):一种用于步骤级及时干预的训练框架。前缀级阶段对齐允许为每个步骤的决策分配信用:它将每个响应与同一前缀下采样的其他响应进行比较,奖励符合阶段的动作——在风险显现前继续、在澄清仍可避免伤害时询问、在伤害不可逆前停止。自适应反馈自蒸馏进一步为每个决策背后的推理分配信用,模型本身作为教师,可看到干预步骤的标注以及从安全步骤的误报中挖掘的规则。其训练数据包含每个步骤的违规分类和干预窗口,并通过自进化多智能体红队测试进行扩展。最终我们提出\textsc{StepSafe},一种具备及时干预能力的步骤级推理护栏,在5个智能体安全基准测试中,于安全-效用帕累托曲线上实现了开源护栏的最优性能,Youden's J值为53.0(4B参数),对比基准为46.2。
英文摘要:
Safety in agentic systems is inherently sequential: whether an action is safe depends on prior actions, tool outputs, information disclosures, and interactions among agents. Recent work has shifted agent safety guardrails from post-hoc trajectory-level assessment toward step-level action diagnosis and proactive risk prediction, yet existing training objectives provide limited supervision for how step evidence accumulates over time and when it becomes sufficient to justify intervention. We propose \methodlong~(ASPO): a training framework for step-level timely intervention. Pre-fix level stage alignment allows crediting each decision at its own step: it compares each response with the other responses sampled at the same prefix and rewards the action that fits the stage, continuing before the risk is visible, asking while clarification can still avert harm, and stopping before harm is irreversible. Adaptive feedback self-distillation further credits the reasoning behind each decision, with the model itself as a teacher that sees the step annotations on intervention steps and rules mined from its own false alarms on safe steps. Its training data carry a violation taxonomy and an intervention window at every step and are extended through self-evolving multi-agent red-teaming. Finally we present \textsc{StepSafe}, a step-level reasoning guardrail with timely intervention, that achieves the state-of-the-art peformance among open-source guardrails across five agent-safety benchmarks on safety-utility pareto curve with Youden's $J$ of 53.0 (4B) against 46.2.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。