AgentDoG2 Opens Long-Horizon Safety Evaluators with Near-100x Faster Evaluation
Summary:The AgentDoG2 author team presents a safety framework for agents operating over long task horizons. It expands the agent-safety taxonomy through ATBench-Pro, introduces ManipulationArena and goal-manipulation attacks, and trains a family of compact evaluators spanning 0.8B to 9B parameters for both trajectory- and step-level assessment. The paper reports that these evaluators outperform a closed-source model such as GPT-6.1-Sol while running nearly 100 times faster than AgentDoG1.5, with the mo
Core Finding
AgentDoG2 extends agent-safety evaluation from isolated output filtering to two complementary scales: trajectory-level assessment of an entire execution and step-level assessment during execution. The author team updates the agent-safety taxonomy through ATBench-Pro, introduces ManipulationArena and goal-manipulation attacks, and trains AgentDoG2, AgentDoG-Jev, and AgentDoG-Step models spanning 0.8B to 9B parameters.
The central engineering move is not a larger general-purpose model. It is the creation of compact safety evaluators that can be run frequently enough to sit inside an agent loop. The paper reports performance above a closed-source comparator such as GPT-6.1-Sol and nearly 100 times faster evaluation than AgentDoG1.5. The models and datasets are released openly. The authors also explore a preliminary AgentDoG-based method for safe recursive self-improvement, although that component remains exploratory.
Why Long-Horizon Agents Need Different Safety Checks
Long-horizon risks do not always appear in a single tool call or generated sentence. Goals, environment state, tool results, and prior actions jointly determine whether a later action is safe. A step that appears harmless in isolation can become unauthorized, goal-distorting, or resource-abusive when evaluated against the complete objective and trajectory.
Conceptually, the two evaluation scales address different questions. A step-level evaluator estimates R_step(a_t | g, o_<=t), while a trajectory-level evaluator estimates R_traj(tau | g, tau). Step-level gating can intervene before damage occurs, but it is more exposed to false positives. Trajectory-level evaluation can detect delayed and compositional risks, although it usually arrives later in execution. The two should therefore operate as complementary control points rather than interchangeable classifiers.
ATBench-Pro extends the safety taxonomy, while ManipulationArena provides an environment for goal-manipulation attacks. The available summary does not disclose whether these attacks operate through prompt injection, polluted tool output, environment-state changes, or other channels. Nor does it provide the category counts or complete definitions, so ManipulationArena should not yet be treated as a complete model of real-world agent threats.
Model Family and Runtime Economics
AgentDoG2, AgentDoG-Jev, and AgentDoG-Step jointly cover trajectory- and step-level evaluation, with the paper listing 0.8B, 2B, 4B, 8B, and 9B parameter scales. The summary does not map every variant to a specific training objective or disclose its label format, context truncation policy, calibration procedure, or score aggregation method. Production users should therefore consult the model cards and training code rather than infer behavior from the names alone.
A nearly 100-fold speedup could allow safety classification to run at every step of an agent trajectory. If the earlier system relied on expensive generative judging over long contexts, compact discriminative evaluators could reduce both latency and token consumption. The paper does not decompose the speedup into model size, context length, output length, batching, or serving optimizations, however, so an equivalent reduction in total cost should not be assumed.
Raw weight memory is only the lower bound. At two bytes per parameter, the BF16 weights alone occupy about 18 GB for a 9B model and 1.6 GB for a 0.8B model. INT8 roughly halves those figures, while 4-bit quantization reduces them further, but quantization metadata, KV cache, runtime workspaces, and long trajectory inputs remain. A small evaluator does not automatically become real-time on CPUs, especially when complete trajectories contain thousands of steps.
Reported Results and Evaluation Boundaries
The paper makes three principal claims. First, the AgentDoG2 family leads on long-horizon agent-safety evaluation and exceeds the listed closed-source comparator. Second, it evaluates trajectories almost 100 times faster than AgentDoG1.5. Third, the models and attack methods achieve state-of-the-art results across diverse long-horizon scenarios.
Each claim requires separate verification. Comparisons with GPT-6.1-Sol should use identical trajectories, tool logs, risk definitions, and prompt budgets. Results should include accuracy, macro-F1, AUPRC, false-positive rate, and false-negative rate at a fixed operating threshold. Safety datasets are often highly imbalanced, so aggregate accuracy can conceal a large number of missed violations. Step-level gating should additionally quantify how much damage early intervention prevents and how often benign tasks are interrupted.
For ManipulationArena, train, validation, and test splits should be isolated by attack strategy, task template, and trajectory source. Otherwise, a model may learn local attack signatures and fail on unseen combinations. The near-100-fold acceleration claim also needs end-to-end disclosure: hardware, batch size, input and output tokens, concurrency, time to first token, total latency, and serving engine. Model-level FLOPs alone are insufficient.
Engineering Trade-offs
Compact local evaluators reduce inference cost, avoid sending sensitive traces to a closed API, and remain available when external services are degraded. Their weaknesses are narrower world knowledge, sensitivity to quantization, and degradation under distribution shift. An adversary may also construct a trajectory that appears locally normal while shifting the effective goal across several steps.
Step- and trajectory-level gates need different operating policies. A step gate should favor high recall and low false-positive blocking; a trajectory gate can apply stricter compositional rules, but it should identify risky spans and causal evidence rather than return only an aggregate score. The evaluator should run in an isolated sandbox without direct production credentials. It must not be allowed to rewrite the agent policy merely because it proposes a corrective action.
Recursive self-improvement requires additional controls. Candidate generation, safety scoring, policy revision, and redeployment form a feedback loop. If the optimizer and evaluator share systematic bias, the system can reward specification gaming, alter labels, or overfit hidden tests. A production implementation should freeze the safety constitution, maintain an inaccessible evaluation set, restrict editable components, require human approval, and preserve rollback points.
Deployment Guidance
- Run the evaluators in shadow mode first, collecting real agent traces without blocking production tasks; calibrate thresholds separately for different risk classes.
- Combine step-level and trajectory-level checks. Use the smaller gate for inexpensive early intervention and the trajectory gate for delayed, cumulative failures.
- Isolate safety evaluators from tool sandboxes and restrict their network, credential, and write access so prompt injection cannot turn the judge into a control-plane attack.
- Benchmark the 0.8B-to-4B variants first for latency, memory use, and false positives before moving to 8B or 9B models; revalidate safety quality after every quantization change.
- Reproduce results on unseen tasks, unseen attack combinations, and authentic tool logs, emphasizing false-negative rates at fixed false-positive thresholds and probability calibration.
- Do not enable unattended recursive self-improvement. Confirm model and dataset licenses, training-data boundaries, and evaluation-code availability before treating the release as a production-ready safety stack.
— END —Source: Hugging Face Daily Papers (2026-11-30)
Tags: #AgentDoG2 #Long-Horizon Agents #Agent Safety #Trajectory Evaluation #Goal Manipulation
Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.
Community Comments