Attribution of safety results in LLM agent evaluation: the role of content-irrelevant stateAttributing Security Outcomes in LLM-Agent Evaluations: The Role of Content-Free State
Quick read
Based on the paper's full text (AI-generated); refer to the original
MBZUAI researchers find that verdicts in LLM agent safety evaluations also depend on runtime state unrelated to the content under test, such as the Python hash seed, the order of tools and evidence, and the scoring of failed runs. On Agent Security Bench (ASB), changing the hash seed changes up to 17% of verdicts for a single agent, while attack success rate (ASR) moves by up to 5 percentage points; the seed acts through tool order, and changing the tool list from reverse order to sorted order raises ASR by up to 19 percentage points for three of seven agents, because ASB's naming convention places attack tools first. Six of seven LLM judges change their decisions on 17%–91% of 98 proposals after the evidence is reordered. The authors release the TARE package, an ASB patch, and all verdict tables.
- LLM agent safety benchmarks use attack success rate (ASR) to compare agents, attacks, and defenses, but the authors point out that decisions are also affected by "content-free states" unrelated to the system, such as the Python hash seed, tool or evidence order, and how failed runs are scored; these states can be chosen by the evaluator or the requester, so fixing seeds and repeating runs alone cannot guarantee that conclusions are attributable.
- The authors propose the decision noninterference requirement, namely that content-free states must not affect any decision, and present the TARE framework: declare and strip removable states (e.g., use an evaluator key to generate per-case keyed order), measure the impact of the remaining states on decisions, and attribute to the agent, attack, or defense only when the effect exceeds that impact; for LLM gates, present with multiple keys and require consistency, otherwise abstain.
- On ASB, repeated runs with the same hash seed are completely identical, but changing the seed can change up to 17% of the decisions, while ASR moves by at most 5 points; ordering versus reversing the tool list can make ASR differ by up to 19 points. Six of the seven LLM judges changed their decision on 17–91% of proposals after evidence reordering. TARE's margin test attributed two defenses among 18 agent-defense combinations, one of which had opposite directions across different agents; a pre-fixed test confirmed that the sandwich defense brings a 4.8-point decrease. Of the attributed decreases, 35–69% were blocked attacks that ended with the agent not calling any tool. Keyed order makes the seed no longer change any decision.
- The most in-depth analysis is concentrated on one benchmark, ASB; AgentDojo relies on it more weakly, and InjecAgent serves as a negative control; the judge experiment only measures consistency, not correctness. The margin test is conservative and may reject real effects; the resolution of randomization and matching tests is limited by the number of runs per arm, and most average comparisons are not fully pre-fixed. Keyed order cannot eliminate serving instance dependence; the reported effects are lower bounds under 3–6 seeds; TARE can only handle declared states, and undeclared states may still remain.
The paper's measurements show that verdicts in agent safety evaluations change with the hash seed and tool order; those who conduct or cite safety evaluations can use this to check whether an effect can be attributed to the system under test.
Related events and news
1 events · 0 news mentions
- This event's paper
研究:LLM智能体安全评测受无关状态影响