krystal7 commited on
Commit
3e2d677
·
verified ·
1 Parent(s): 2acdb2a

Complete AgentDoG2 cards with manuscript main figure, methods, results and usage examples

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ figs/abstract.pdf filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -38,6 +38,16 @@ Long-horizon agents rely on earlier observations, retained state, tool specifica
38
 
39
  ManipulationArena studies that risk through executable red teaming. Each case provides a stored attack plan as a common starting point. During evaluation, the attack agent adapts and executes the plan against the target agent's current trajectory. The resulting trajectory and outcome belong to that run; the benchmark is not a collection of identical immutable replay traces.
40
 
 
 
 
 
 
 
 
 
 
 
41
  ## Release Status
42
 
43
  **Coming soon — introduction only. Actual dataset files have not been uploaded yet.**
@@ -76,21 +86,23 @@ Interaction lengths are means in the stated units. `—` indicates unavailable d
76
  ## Attack Coverage
77
 
78
  <p align="center">
79
- <img src="https://mjc-ma-01.github.io/AgentDoG/v2_0_dark/assets/benchmark-overview.webp" alt="ManipulationArena distributions across seven attack strategies and six channels over 888 cases" width="100%">
80
  </p>
81
 
82
  ### Strategy Distribution
83
 
84
- | Strategy | Attack plans |
85
- | --- | ---: |
86
- | Role-play Attack | 139 |
87
- | Decomposition | 138 |
88
- | Sleeper Poisoning Attack | 131 |
89
- | Criterion hijacking | 137 |
90
- | Obstruction Attack | 120 |
91
- | Self-preservation Attack | 129 |
92
- | Oversight Evasion Attack | 94 |
93
- | Total | 888 |
 
 
94
 
95
  ### Channel Distribution
96
 
@@ -122,7 +134,7 @@ The appendix identifies the τ-banking subset of the broader τ-bench suite. The
122
  ## Two-Phase Attack Construction
123
 
124
  <p align="center">
125
- <img src="https://mjc-ma-01.github.io/AgentDoG/v2_0_dark/assets/duet-attacks.webp" alt="Two-phase attack framework with offline task analysis and attack planning followed by adaptation to live target-agent execution" width="100%">
126
  </p>
127
 
128
  1. **Task analysis and planning:** the attack agent examines the benign task, identifies cross-step dependencies, selects a strategy–channel configuration, and constructs a task-specific attack blueprint.
@@ -148,9 +160,44 @@ After verification, observed behavior receives failure-mode annotations:
148
 
149
  The attack strategy and channel describe the plan; failure labels describe what the target actually did. An attack can lead to different outcomes under different agents or execution traces.
150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  ## SafeRSI and Guardrail Evaluation
152
 
153
- ManipulationArena also evaluates the SafeRSI framework, which combines harness–policy co-evolution with optional AgentDoG-Step runtime protection. The following values reproduce the manuscript's **blue-team evaluation** and share the DSH + Qwen3.8-27B baseline.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
 
155
  | Configuration | ManipulationArena ASR ↓ (%) | BFCL-v3 function-calling accuracy ↑ (%) |
156
  | --- | ---: | ---: |
@@ -162,6 +209,8 @@ ManipulationArena also evaluates the SafeRSI framework, which combines harness
162
 
163
  V1/V2 denote reported harness–policy evolution rounds. V1 + Step reduces ManipulationArena ASR by **44.44 percentage points** relative to the base configuration, while BFCL-v3 accuracy is **7.95 percentage points lower**. V2 + Step is not uniformly better than V1 + Step. BFCL-v3 is a separate utility benchmark and is not part of the ManipulationArena dataset.
164
 
 
 
165
  See the [SafeRSI section](https://mjc-ma-01.github.io/AgentDoG/v2_0_dark/#evolution) for results across AgentLAB, AutoControl-Arena, and BFCL-v3. The manuscript's separate red-team diagnostic and blue-team tables use different reported aggregates for some general-agent baselines; this card does not combine them or infer cross-table improvements.
166
 
167
  ## Usage and Data Format
@@ -179,6 +228,10 @@ Dataset artifacts, exact environment setup, a released runner, configuration/spl
179
  - The 30-task pool spans five suites but remains limited in application and runtime coverage. Task success and safety are complementary evaluation dimensions.
180
  - Native environments and third-party materials retain their own access requirements and redistribution terms. Dataset-specific license, privacy, and release conditions will be documented when artifacts are published.
181
 
 
 
 
 
182
  ## Citation
183
 
184
  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.
 
38
 
39
  ManipulationArena studies that risk through executable red teaming. Each case provides a stored attack plan as a common starting point. During evaluation, the attack agent adapts and executes the plan against the target agent's current trajectory. The resulting trajectory and outcome belong to that run; the benchmark is not a collection of identical immutable replay traces.
40
 
41
+ ## Project Performance at a Glance
42
+
43
+ <p align="center">
44
+ <img src="./figs/abstract.png" width="100%" alt="AgentDoG2 project performance overview: unsafe F1 versus inference cost, inference latency and speedups, and fine-grained safety diagnosis on ATBench">
45
+ </p>
46
+
47
+ [Full-resolution main figure (PDF)](./figs/abstract.pdf)
48
+
49
+ **AgentDoG2 project overview, reproduced from the manuscript's main figure.** The panels compare (a) unsafe F1 and API inference cost, (b) inference latency and relative speedups, and (c) fine-grained diagnosis on **ATBench**. Cost estimates prioritize official API prices and use DeepInfra or OpenRouter rates for the base models of small open-source models and their derivatives. ManipulationArena evaluates live goal-manipulation attacks; its own attack and defense results appear below.
50
+
51
  ## Release Status
52
 
53
  **Coming soon — introduction only. Actual dataset files have not been uploaded yet.**
 
86
  ## Attack Coverage
87
 
88
  <p align="center">
89
+ <img src="./figs/benchmark-overview.png" alt="ManipulationArena distributions across seven attack strategies and six channels over 888 cases" width="100%">
90
  </p>
91
 
92
  ### Strategy Distribution
93
 
94
+ | Strategy | Mechanism | Attack plans |
95
+ | --- | --- | ---: |
96
+ | Role-play Attack | Frames an unauthorized objective as part of a legitimate role or nested scenario. | 139 |
97
+ | Decomposition | Splits an attack objective across plausible subgoals or successive workflow steps. | 138 |
98
+ | Sleeper Poisoning Attack | Plants content in memory or workspace state for delayed activation. | 131 |
99
+ | Criterion hijacking | Replaces trusted quality, acceptance or completion criteria with attacker-controlled criteria. | 137 |
100
+ | Obstruction Attack | Blocks compliant progress, creating pressure for unauthorized workarounds. | 120 |
101
+ | Self-preservation Attack | Uses shutdown, replacement or resource-loss pressure to induce constraint violations. | 129 |
102
+ | Oversight Evasion Attack | Uses oversight or evaluation cues to induce hidden side actions, audit tampering or false completion claims. | 94 |
103
+ | Total | | 888 |
104
+
105
+ The first four families use **goal-directed inducement**. The final three use **condition-induced misalignment**: imposed runtime conditions pressure the agent to depart from its authorized goal.
106
 
107
  ### Channel Distribution
108
 
 
134
  ## Two-Phase Attack Construction
135
 
136
  <p align="center">
137
+ <img src="./figs/duet-attacks.png" alt="Two-phase attack framework with offline task analysis and attack planning followed by adaptation to live target-agent execution" width="100%">
138
  </p>
139
 
140
  1. **Task analysis and planning:** the attack agent examines the benign task, identifies cross-step dependencies, selects a strategy–channel configuration, and constructs a task-specific attack blueprint.
 
160
 
161
  The attack strategy and channel describe the plan; failure labels describe what the target actually did. An attack can lead to different outcomes under different agents or execution traces.
162
 
163
+ ## Reported Red-Team Results
164
+
165
+ The manuscript's red-team diagnostic table reports the following **unweighted mean ASRs across the seven strategy families** on the 888-case result-conditioned diagnostic subset. Invalid outcomes remain in each strategy's denominator. These diagnostic aggregates must be kept separate from the blue-team table below.
166
+
167
+ | Target harness | Policy model | Mean ASR ↓ (%) |
168
+ | --- | --- | ---: |
169
+ | Claude Code | Opus 5.5 | 46.82 |
170
+ | Codex | GPT-6.1-sol | 54.18 |
171
+ | DeepSeek Harness | DeepSeek-V4.1-flash | 74.37 |
172
+ | KimiCode | Kimi-3.1 pro | 69.65 |
173
+ | ZCode | GLM-5.3 | 59.18 |
174
+ | DeepSeek Harness | Qwen3.8-27B | 65.84 |
175
+
176
+ Vulnerability varies by strategy: the reported self-preservation ASR reaches **94.57%** for KimiCode + Kimi-3.1 pro, while Claude Code + Opus 5.5 has **24.47%** ASR on oversight evasion and **66.67%** on obstruction. These are diagnostic results for the evaluated configurations and selected cases, rather than population-level attack probabilities.
177
+
178
  ## SafeRSI and Guardrail Evaluation
179
 
180
+ ManipulationArena also evaluates **SafeRSI**, which routes attributed failures to harness evolution, policy evolution, or both, with optional AgentDoG-Step runtime protection.
181
+
182
+ ### Harness Evolution
183
+
184
+ <p align="center">
185
+ <img src="./figs/harness-evolution.png" width="100%" alt="SafeRSI harness evolution: failure attribution, generation of policy and code patches, admission checks, and paired holdout validation">
186
+ </p>
187
+
188
+ **Attribution → patch generation → validation.** An Analyzer locates the violated boundary and an Editor repairs the responsible component. Natural-language policy patches update prompts, memory or skills; code patches add deterministic runtime enforcement. Admission checks and paired safety/utility holdouts determine which patches become part of the hardened harness.
189
+
190
+ ### Policy Evolution
191
+
192
+ <p align="center">
193
+ <img src="./figs/policy-evolution.png" width="100%" alt="SafeRSI policy evolution: analyze failures, synthesize corrective trajectories, review safe task-completion demonstrations, and fine-tune the policy">
194
+ </p>
195
+
196
+ **Learning safe task completion from failures.** Failure analysis produces corrective demonstrations through environment-free trajectory synthesis and textual review. Supervised fine-tuning teaches the policy to continue toward the legitimate task safely. The feedback loop in the figure represents the intended iterative process; the quantitative V1/V2 configurations are reported separately below.
197
+
198
+ ### Safety and Benign Utility
199
+
200
+ The following values reproduce the manuscript's **blue-team evaluation** and share the DSH + Qwen3.8-27B baseline.
201
 
202
  | Configuration | ManipulationArena ASR ↓ (%) | BFCL-v3 function-calling accuracy ↑ (%) |
203
  | --- | ---: | ---: |
 
209
 
210
  V1/V2 denote reported harness–policy evolution rounds. V1 + Step reduces ManipulationArena ASR by **44.44 percentage points** relative to the base configuration, while BFCL-v3 accuracy is **7.95 percentage points lower**. V2 + Step is not uniformly better than V1 + Step. BFCL-v3 is a separate utility benchmark and is not part of the ManipulationArena dataset.
211
 
212
+ These scores describe complete harness–policy configurations. The [SafeRSI-27B V1](https://huggingface.co/AI45Research/SafeRSI-27B-V1) and [V2](https://huggingface.co/AI45Research/SafeRSI-27B-V2) repositories publish the policy component; [AgentDoG-Step](https://huggingface.co/AI45Research/AgentDoG-Step-Qwen3.5-4B) provides pre-execution guardrail assessment. A policy checkpoint alone does not reproduce the complete evaluated system.
213
+
214
  See the [SafeRSI section](https://mjc-ma-01.github.io/AgentDoG/v2_0_dark/#evolution) for results across AgentLAB, AutoControl-Arena, and BFCL-v3. The manuscript's separate red-team diagnostic and blue-team tables use different reported aggregates for some general-agent baselines; this card does not combine them or infer cross-table improvements.
215
 
216
  ## Usage and Data Format
 
228
  - The 30-task pool spans five suites but remains limited in application and runtime coverage. Task success and safety are complementary evaluation dimensions.
229
  - Native environments and third-party materials retain their own access requirements and redistribution terms. Dataset-specific license, privacy, and release conditions will be documented when artifacts are published.
230
 
231
+ ## License and Release Information
232
+
233
+ **Dataset files: coming soon.** Dataset-specific license terms, environment access requirements and redistribution notices will accompany the data release. Model-weight and source-code licenses do not establish the license of this forthcoming benchmark or of third-party application materials.
234
+
235
  ## Citation
236
 
237
  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.
figs/abstract.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ee23692c76f3a24c0914d970178c86c9cd86ceca93951f60d34b5971954db69
3
+ size 544043
figs/abstract.png ADDED

Git LFS Details

  • SHA256: 4d340fd977447964e5fe07d15dbdcd6f0a6b8b7c8db1ece87109e35ddf14b4d9
  • Pointer size: 131 Bytes
  • Size of remote file: 343 kB
figs/benchmark-overview.png ADDED

Git LFS Details

  • SHA256: 2f7eeafca8003101ad27478fe3ca65a6eb527d510a7dc2b866ce53eeff0d7d33
  • Pointer size: 131 Bytes
  • Size of remote file: 164 kB
figs/duet-attacks.png ADDED

Git LFS Details

  • SHA256: 849528290dd59d6998428debc221451e3009d1795568ddd08f46e9846bdc9928
  • Pointer size: 131 Bytes
  • Size of remote file: 760 kB
figs/harness-evolution.png ADDED

Git LFS Details

  • SHA256: cdcb03fa62abd6824f96a329e060847f76103b4eb5a2ffa46ed2de8387fdc22f
  • Pointer size: 131 Bytes
  • Size of remote file: 622 kB
figs/policy-evolution.png ADDED

Git LFS Details

  • SHA256: c9de8097944abdfd8c4fd7d664da485ad86b494fd7e0ed25342641026c9b9298
  • Pointer size: 131 Bytes
  • Size of remote file: 553 kB