Skip to content

StepGuard: Training Step-Level Guardrails with Scalable Supervision, Balancing Safety and UtilityStepGuard: Learning Step-Level Guardrails with Scalable Supervision and Safety-Utility Balancing

arXiv· arXiv:2608.24777· Zhijie Zheng, Yu Li, Chen Qian, Yuqian Fu, Yanwei Fu, Lu Sheng, Jing Shao, Dongrui Liu·Indexed by this site · 2026-10-01· Originally publishedDefenses
AI summary

The researchers propose StepGuard, a step-level guardrail model that can both audit completed agent trajectories and check before tool action execution. To train this model, the authors design the StepGen data engine, which generates safe and unsafe trajectories that share the same context but differ in actions at risky steps; and propose Balance-GRPO, which dynamically balances learning of safe and unsafe actions based on observed accuracy to reduce over-defensiveness and under-defensiveness. Experiments show that StepGuard achieves the highest average accuracy among open-weight guardrail models, with performance comparable to GPT-5.4; when used to guard agents on AgentDojo and AgentDyn, it reduces average attack success rate by 77.3% compared to the no-guardrail setting, with only a 2.8 percentage point average utility drop. The work has been accepted by EMNLP 2026.

Read originalarxiv.org