AgentDoG2: An Efficient Alignment Framework for Emergent Risk in Long-Horizon Agent Tasks
Liu et al. in Alignment
Can AgentDoG-Step's 4B guard catch risk before execution?
AgentDoG2: An Efficient Alignment Framework for Emergent Risk in Long-Horizon Agent Tasks
Why long agent tasks strain turn-by-turn safety checks
A tool call can look authorized alone; its risk may depend on an earlier poisoned premise, stale permission, or an obligation left open.
AgentDoG2 audits completed trajectories; AgentDoG-Step judges a candidate action from prior history, before execution and without its outcome.
In long tasks, safety depends on what happened earlier and what the agent does next.
One taxonomy links source, failure and harm

Across 18 risk sources, 21 failure modes and 11 real-world harm categories, the map adds covert goal manipulation, authority and obligation violations, and loss of control.
ATBench-Pro stretches evaluation across long workflows
HINTBench v2 tool-call and token averages use 566 publicly released test trajectories (596 cases listed).
Attacks plan around dependencies, then adapt live

Phase 1 maps critical task dependencies into an attack blueprint; Phase 2 grounds it in the target's live trajectory. Failed attempts trigger revisions.
Reported ASR varies sharply across attack benchmarks
Same Codex/GPT-6.1-Sol setup across distinct suites; ManipulationArena has 888 reusable plans under a 7-strategy, 6-channel design.
Three guards intervene at different points

AgentDoG2 internalizes the taxonomy and drops CoT; AgentDoG-Jev predicts structured fields in one pass; AgentDoG-Step screens candidate actions before execution.
Train on risky context without teaching over-refusal

Real workflows provide shared prefixes; each injected risk yields one unsafe and three safe continuations (refuse, safely complete, or ignore the trigger), then a verifier repairs failed groups.
AgentDoG2 2B tops ATBench, not ATBench-Pro
Binary accuracy (%); GLM-5.3 leads ATBench-Pro. AgentDoG2 latency: 1.9–18.6× speedup vs matched AgentDoG1.5-U across three benchmarks.
One forward pass replaces autoregressive safety decoding
Timing used a single H200 GPU (concurrency 1, prefix caching off; mean of 64 balanced trajectories over 3 repeats). Matched AgentDoG1.5 models generate analysis and labels token by token.
It reuses task and trajectory inputs and labels, but predicts one or three structured decision fields in a single forward pass, without autoregressive decoding.
ATBench binary checks: 103.9–184.9× faster than matched models; accuracy stayed within 1.3 points except at 0.8B.
AgentDoG-Step 4B tops balanced pre-execution recall
Pre-execution inputs only; overall is the unweighted mean across TS-Bench-Dojo, TS-Bench-ASB and StepShield. WCR=min(safe recall, unsafe recall).
Why label risk on a safe step?
With binary labels and rewards alone, safe-query participation in nonzero-variance GDPO updates fell from 24.8% at iteration 20 to 10.9% at 100.
On TS-Bench-Dojo, matched AgentDoG-Step 4B variants differed only in safe-step Risk Source training. At iteration 100, Safety + RS gave 41.8% safe-group participation and 96.9% Safe F1 (Safety Only: 10.9%, 96.4%).
SafeRSI evolves the policy and the harness together

Policy branch: failure traces yield critic-reviewed safe continuations without environment resets, then SFT and fresh attacks. In parallel, attribution guides soft policies or hard runtime checks, tested on risky and benign tasks.
Lower attack success comes with a function-calling cost
Defense results; ManipulationArena ASR is lower-better; BFCL-v3 is function-call accuracy. V1 without AgentDoG-Step: 28.04% / 66.72%.
Where this evidence stops
Text-only setting
The taxonomy and defenses are built primarily around text trajectories; native multimodal agent environments remain outside the tested scope.
Open-world attacks
SafeRSI is described as preliminary, and the authors leave open whether it handles attacks using strategies or channels outside the evaluated set in open-world deployment.
Two reported rounds
The supplied evaluation reports V1 and V2 only; sustained improvement or robustness beyond these rounds is not demonstrated.
Why it matters
- A benign-looking tool call can inherit a poisoned premise or stale permission from earlier in the task.
- Pair full-trajectory audits with pre-execution action checks, and track function-calling accuracy alongside safety.
- Can these defenses transfer to multimodal environments and attacks using strategies or channels outside those tested?
3 likes 16 slides, 4 min
4 days ago