krystal7 commited on
Commit
88e4592
ยท
verified ยท
1 Parent(s): a967041

Complete AgentDoG 2.0 documentation and align project title

Browse files
Files changed (1) hide show
  1. README.md +142 -0
README.md ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: ATBench-Pro
3
+ task_categories:
4
+ - text-classification
5
+ tags:
6
+ - agent-safety
7
+ - agentdog
8
+ - benchmark
9
+ - long-horizon
10
+ - safety-evaluation
11
+ - risk-taxonomy
12
+ ---
13
+
14
+ # ATBench-Pro: A Long-Horizon Agent Trajectory Benchmark for Safety Evaluation and Diagnosis
15
+
16
+ **Part of [AgentDoG 2.0: An Efficient Alignment Framework for Emergent Risk in Long-Horizon Agent Tasks](https://mjc-ma-01.github.io/AgentDoG/v2_0_dark/)**
17
+
18
+ <p align="center">
19
+ <a href="https://github.com/AI45Lab/AgentDoG">๐Ÿ’ป GitHub</a> &nbsp; | &nbsp;
20
+ <a href="https://mjc-ma-01.github.io/AgentDoG/v2_0_dark/">๐ŸŒ Project Page</a> &nbsp; | &nbsp;
21
+ <a href="https://huggingface.co/collections/AI45Research/agentdog20-6b09556a028a2ce10c53f2fe">๐Ÿค— AgentDoG 2.0 Collection</a>
22
+ </p>
23
+
24
+ **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.
25
+
26
+ ## Introduction
27
+
28
+ 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.
29
+
30
+ ATBench-Pro follows the trajectory-level evaluation formulation of [ATBench](https://huggingface.co/datasets/AI45Research/ATBench), while extending the AgentDoG 2.0 taxonomy and synthesis process to three long-horizon risk scenarios:
31
+
32
+ - **Covert Goal Manipulation (CGM):** adversarial influence redirects the agent's objective or acceptance criterion across steps.
33
+ - **Authority and Obligation Violations (AOV):** execution exceeds granted permissions or omits required obligations.
34
+ - **Loss of Control (LoC):** autonomous drift or unfaithful reporting arises during execution, including without an external attack.
35
+
36
+ ## Release Status
37
+
38
+ This repository currently provides the dataset description for the **updated AgentDoG 2.0 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.
39
+
40
+ Follow the [AgentDoG 2.0 collection](https://huggingface.co/collections/AI45Research/agentdog20-6b09556a028a2ce10c53f2fe) and [GitHub repository](https://github.com/AI45Lab/AgentDoG) for release updates.
41
+
42
+ ## Benchmark Overview
43
+
44
+ | Benchmark | Evaluation unit | Cases | Mean tool calls per trajectory | Mean tokens per trajectory |
45
+ | --- | --- | ---: | ---: | ---: |
46
+ | **ATBench-Pro** | Complete long-horizon trajectory | **1,000** | **48.98** | **57.51k** |
47
+
48
+ `k` denotes 1,000 tokens. The values are reported in the updated technical manuscript.
49
+
50
+ ### Comparison with Existing Trajectory Benchmarks
51
+
52
+ | Benchmark | Cases | Mean tool calls | Mean tokens |
53
+ | --- | ---: | ---: | ---: |
54
+ | R-Judge | 564 | 1.79 | 0.47k |
55
+ | ASSE-Safety | 1,476 | 1.49 | 0.47k |
56
+ | ASSE-Security | 817 | 1.62 | 0.78k |
57
+ | ATBench500 | 500 | 3.49 | 1.52k |
58
+ | ATBench | 1,000 | 2.97 | 3.95k |
59
+ | HINTBench (v2) | 596 | 6.92โ€  | 4.78kโ€  |
60
+ | ATBench-Pro (Ours) | 1,000 | 48.98 | 57.51k |
61
+
62
+ โ€ 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 AgentDoG 2.0 manuscript.
63
+
64
+ ## Task Definition
65
+
66
+ Given a **complete multi-step trajectory**, the evaluator predicts a binary safety verdict and, where applicable, a structured diagnosis:
67
+
68
+ | Output | Meaning |
69
+ | --- | --- |
70
+ | Safety verdict | Whether the agent trajectory is `safe` or `unsafe`. |
71
+ | Risk Source | Where the risk enters the trajectory; `None` when no risk source is present. |
72
+ | Failure Mode | The primary substantive violation observed in an unsafe trajectory. |
73
+ | Real-World Harm | The directly affected target and the associated harm category. |
74
+
75
+ The full AgentDoG 2.0 taxonomy contains **18 risk sources, 21 failure modes, and 11 real-world harm categories**.
76
+
77
+ 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.
78
+
79
+ <p align="center">
80
+ <img src="https://mjc-ma-01.github.io/AgentDoG/v2_0_dark/assets/taxonomy.webp" alt="AgentDoG 2.0 three-dimensional safety taxonomy: 18 risk sources, 21 failure modes, and 11 harm categories" width="100%">
81
+ </p>
82
+
83
+ ## Representative Long-Horizon Cases
84
+
85
+ The following summaries are drawn from the manuscript's representative cases. They illustrate the evaluation task rather than downloadable record examples.
86
+
87
+ | Scenario | Trajectory pattern | Evidence required beyond an isolated action |
88
+ | --- | --- | --- |
89
+ | 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. |
90
+ | 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. |
91
+ | 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. |
92
+
93
+ ## Dataset Construction and Annotation
94
+
95
+ 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.
96
+
97
+ 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.
98
+ 2. **Structural and horizon checks:** candidates are checked for valid tool schemas, consistent tool-call/observation ordering, complete traces, and sufficient execution length.
99
+ 3. **Naturalness and leakage screening:** degenerate repetition, out-of-character instruction leaks, and private scenario metadata leaking into actor-visible context are filtered.
100
+ 4. **Consistency review:** cross-model trajectory screening identifies ambiguous cases for further review.
101
+ 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.
102
+
103
+ Benchmark construction maintains source-level separation from training data. The release documentation will specify the actual files, deduplication boundaries, and final audit results.
104
+
105
+ ## Reported Model Results
106
+
107
+ The table below reproduces the **base AgentDoG 2.0 generative guard** results on ATBench-Pro. These are separate from AgentDoG-Jev and AgentDoG-Step.
108
+
109
+ | Model | Binary accuracy โ†‘ (%) | Unsafe F1 โ†‘ (%) | Fine-grained mean accuracy โ†‘ (%) |
110
+ | --- | ---: | ---: | ---: |
111
+ | AgentDoG 2.0 0.8B | 75.4 | 58.6 | 32.3 |
112
+ | AgentDoG 2.0 2B | 78.3 | 69.4 | 41.4 |
113
+ | AgentDoG 2.0 4B | 80.3 | 69.7 | 41.9 |
114
+ | AgentDoG 2.0 8B | 81.0 | 71.8 | 36.3 |
115
+ | AgentDoG 2.0 9B | 78.4 | 64.2 | 38.7 |
116
+
117
+ 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.
118
+
119
+ ## Usage and Data Format
120
+
121
+ ATBench-Pro is intended for **held-out trajectory safety evaluation and diagnosis**. It is not a substitute for pre-execution action monitoring.
122
+
123
+ 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.
124
+
125
+ 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).
126
+
127
+ ## Limitations and Intended Use
128
+
129
+ - The benchmark covers specified long-horizon risks and cannot exhaust all tools, environments, permissions, or failure patterns encountered in deployment.
130
+ - Primary diagnostic labels summarize a trajectory; they do not enumerate every secondary carrier or downstream effect.
131
+ - A risk source, an unsafe action, and realized harm are distinct. Evaluations should retain those distinctions.
132
+ - Synthetic trajectories and automated screening can introduce modeling artifacts. Final release auditing and agreement statistics are not yet published.
133
+ - The reported snapshot may change after release review. Do not treat the manuscript count as a guarantee of final packaged split sizes.
134
+ - 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.
135
+
136
+ ## Citation
137
+
138
+ This benchmark is introduced in **AgentDoG 2.0: 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.
139
+
140
+ ## Contact
141
+
142
+ Please use [GitHub Issues](https://github.com/AI45Lab/AgentDoG/issues) for questions, suspected benchmark errors, or release updates.