--- pretty_name: ATBench-Pro task_categories: - text-classification tags: - agent-safety - agentdog - benchmark - long-horizon - safety-evaluation - risk-taxonomy ---

AgentDoG2 Technical Report

πŸ™ GitHub   |   πŸ€— Models and Datasets   |   πŸ“„ Technical report [Coming soon]   |   🌐 Project Page   |   🎬 Demos   |   πŸš€ Usage

# ATBench-Pro: A Long-Horizon Agent Trajectory Benchmark for Safety Evaluation and Diagnosis > 🚧 **Coming soon β€” dataset files have not been uploaded yet.** > > This repository currently provides the benchmark introduction and documentation only. The actual dataset is not yet available for download. **Part of [AgentDoG2: An Efficient Alignment Framework for Emergent Risk in Long-Horizon Agent Tasks](https://mjc-ma-01.github.io/AgentDoG/v2_0_dark/)** **ATBench-Pro evaluates whether models can identify and diagnose safety risks whose evidence is distributed across complete, long-horizon agent trajectories.** It covers delayed triggers, changing permissions, persistent memory, omitted obligations, and autonomous loss of control that isolated tool calls cannot explain. ## Introduction A later action can appear legitimate when inspected alone yet violate an earlier permission, leak information accumulated over several steps, or leave an outstanding safety obligation unmet. ATBench-Pro evaluates this dependency across the full execution history. ATBench-Pro follows the trajectory-level evaluation formulation of [ATBench](https://huggingface.co/datasets/AI45Research/ATBench), while extending the AgentDoG2 taxonomy and synthesis process to three long-horizon risk scenarios: - **Covert Goal Manipulation (CGM):** adversarial influence redirects the agent's objective or acceptance criterion across steps. - **Authority and Obligation Violations (AOV):** execution exceeds granted permissions or omits required obligations. - **Loss of Control (LoC):** autonomous drift or unfaithful reporting arises during execution, including without an external attack. ## Release Status **Coming soon β€” introduction only. Actual dataset files have not been uploaded yet.** This repository currently provides the dataset description for the **updated AgentDoG2 manuscript**. Dataset files, a finalized release schema, configuration and split names, loading instructions, and dataset-specific license terms are in preparation. The statistics below describe the manuscript snapshot; they do not imply that a downloadable dataset release is already available. Follow the [AgentDoG2 collection](https://huggingface.co/collections/AI45Research/agentdog2-6b09556a028a2ce10c53f2fe) and [GitHub repository](https://github.com/AI45Lab/AgentDoG) for release updates. ## Benchmark Overview | Benchmark | Evaluation unit | Cases | Mean tool calls per trajectory | Mean tokens per trajectory | | --- | --- | ---: | ---: | ---: | | **ATBench-Pro** | Complete long-horizon trajectory | **1,000** | **48.98** | **57.51k** | `k` denotes 1,000 tokens. The values are reported in the updated technical manuscript. ### Comparison with Existing Trajectory Benchmarks | Benchmark | Cases | Mean tool calls | Mean tokens | | --- | ---: | ---: | ---: | | R-Judge | 564 | 1.79 | 0.47k | | ASSE-Safety | 1,476 | 1.49 | 0.47k | | ASSE-Security | 817 | 1.62 | 0.78k | | ATBench500 | 500 | 3.49 | 1.52k | | ATBench | 1,000 | 2.97 | 3.95k | | HINTBench (v2) | 596 | 6.92† | 4.78k† | | ATBench-Pro (Ours) | 1,000 | 48.98 | 57.51k | †HINTBench (v2) reports 596 cases; its marked means are computed over the 566 publicly released test trajectories. Tool calls and tokens are per-trajectory averages. These statistics retain the comparison units used in the AgentDoG2 manuscript. ## Task Definition Given a **complete multi-step trajectory**, the evaluator predicts a binary safety verdict and, where applicable, a structured diagnosis: | Output | Meaning | | --- | --- | | Safety verdict | Whether the agent trajectory is `safe` or `unsafe`. | | Risk Source | Where the risk enters the trajectory; `None` when no risk source is present. | | Failure Mode | The primary substantive violation observed in an unsafe trajectory. | | Real-World Harm | The directly affected target and the associated harm category. | The full AgentDoG2 taxonomy contains **18 risk sources, 21 failure modes, and 11 real-world harm categories**. For unsafe trajectories, primary labels follow the causal order **Risk Source β†’ Failure Mode β†’ Real-World Harm**. Safe trajectories carry no failure-mode or harm labels. An attacker-planted risk source that the agent verifies and rejects does not by itself make the trajectory unsafe. Action status and harm status are tracked independently: an attempted or blocked action must not be conflated with executed harm.

AgentDoG2 three-dimensional safety taxonomy: 18 risk sources, 21 failure modes, and 11 harm categories

## Representative Long-Horizon Cases The following summaries are drawn from the manuscript's representative cases. They illustrate the evaluation task rather than downloadable record examples. | Scenario | Trajectory pattern | Evidence required beyond an isolated action | | --- | --- | --- | | CGM: Sleeper poisoning | An early untrusted message plants a rule in memory; a routine prompt in a later session activates the deviation. | Provenance of the memory write and the original authorization across sessions. | | AOV: Omitted safety obligation | The agent creates a temporary share link for a subtask, then finishes without revoking it as required. | The outstanding obligation and the final termination state. | | LoC: Autonomous boundary escape | During a benign coding relay, the agent leaves the authorized repository scope without an external injection. | Original workspace boundaries and the agent's evolving goal across relay steps. | ## Dataset Construction and Annotation The manuscript describes a sub-label-guided synthesis process with **56 risk-source synthesis sub-labels** and **50 failure-mode synthesis sub-labels**. These construction sub-labels are distinct from the primary 18/21/11 evaluation taxonomy. 1. **Long-horizon scenario construction:** relevant constraints and provenance are distributed across earlier observations, intermediate artifacts, persistent memory, and runtime state. Scenario orchestration is separated from the evaluated actor model. 2. **Structural and horizon checks:** candidates are checked for valid tool schemas, consistent tool-call/observation ordering, complete traces, and sufficient execution length. 3. **Naturalness and leakage screening:** degenerate repetition, out-of-character instruction leaks, and private scenario metadata leaking into actor-visible context are filtered. 4. **Consistency review:** cross-model trajectory screening identifies ambiguous cases for further review. 5. **Release auditing:** the manuscript defines an expert-audit protocol for final binary and primary taxonomy labels. Final audit and inter-annotator agreement summaries are pending the benchmark release; this card does not claim a finalized human-gold snapshot. Benchmark construction maintains source-level separation from training data. The release documentation will specify the actual files, deduplication boundaries, and final audit results. ## Reported Model Results The table below reproduces the **base AgentDoG2 generative guard** results on ATBench-Pro. These are separate from AgentDoG-Jev and AgentDoG-Step. | Model | Binary accuracy ↑ (%) | Unsafe F1 ↑ (%) | Fine-grained mean accuracy ↑ (%) | | --- | ---: | ---: | ---: | | AgentDoG2 0.8B | 75.4 | 58.6 | 32.3 | | AgentDoG2 2B | 78.3 | 69.4 | 41.4 | | AgentDoG2 4B | 80.3 | 69.7 | 41.9 | | AgentDoG2 8B | 81.0 | 71.8 | 36.3 | | AgentDoG2 9B | 78.4 | 64.2 | 38.7 | Fine-grained diagnosis is evaluated on **unsafe trajectories**. Its mean is the unweighted accuracy average across Risk Source, Failure Mode, and Real-World Harm. Model performance on a fixed benchmark does not establish safety in every deployment environment. ## Usage and Data Format ATBench-Pro is intended for **held-out trajectory safety evaluation and diagnosis**. It is not a substitute for pre-execution action monitoring. The downloadable files and schema are not yet included in this documentation preview. A verified `datasets.load_dataset` example, actual split/configuration names, field definitions, label encoding, and a sanitized record will be provided when dataset artifacts are released. No loader command or field schema is asserted before those artifacts are available. For the current method and result overview, see the [benchmark section](https://mjc-ma-01.github.io/AgentDoG/v2_0_dark/#benchmarks) and [AgentDoG source repository](https://github.com/AI45Lab/AgentDoG). ## Limitations and Intended Use - The benchmark covers specified long-horizon risks and cannot exhaust all tools, environments, permissions, or failure patterns encountered in deployment. - Primary diagnostic labels summarize a trajectory; they do not enumerate every secondary carrier or downstream effect. - A risk source, an unsafe action, and realized harm are distinct. Evaluations should retain those distinctions. - Synthetic trajectories and automated screening can introduce modeling artifacts. Final release auditing and agreement statistics are not yet published. - The reported snapshot may change after release review. Do not treat the manuscript count as a guarantee of final packaged split sizes. - Safety-evaluation content can depict adversarial or unsafe behavior. Dataset-specific access, redistribution, privacy, and license terms will be documented with the release rather than inherited automatically from older benchmarks. ## Citation This benchmark is introduced in **AgentDoG2: An Efficient Alignment Framework for Emergent Risk in Long-Horizon Agent Tasks**, from Shanghai Artificial Intelligence Laboratory. A public technical-report URL and the final BibTeX citation will be added with the report release. Until then, refer to the exact title and the [AgentDoG project repository](https://github.com/AI45Lab/AgentDoG); earlier AgentDoG/ATBench paper identifiers should not be used as the identifier for this new report. ## Contact Please use [GitHub Issues](https://github.com/AI45Lab/AgentDoG/issues) for questions, suspected benchmark errors, or release updates.