← Lab /AI/ML

Less-restricted Gemma models achieve ~14% success vs <1% for safety-aligned versions on security tasks

Safety alignment significantly reduces autonomous security agents' success rates, requiring system-level measurement beyond refusal rates

AI/ML arXiv 19 May 2026 Measurement Prototype evidence

Published as “Measuring Safety Alignment Effects in Autonomous Security Agents”

Why it matters

Evaluators should measure safety of security agents at the system level, accounting for grounding, tool reliability, and unsafe actions, not just refusal rates.

Summary

Gemma 4 less-restricted derivatives achieve markedly higher security-task success (14.0% vs 0.7% for 31B, 10.7% vs 0% for 26B) and better evidence grounding, while Qwen2.5-Coder and Llama 3.1 do not show the same advantage and can even perform worse. The advantage is not limited to security work-Gemma also outperforms on ordinary coding controls-and all families still fail hard proof-of-trigger and patch-verification tasks. The paper argues that safety evaluation must consider refusal, unsafe actions, tool reliability, and grounding together, rather than using refusal rate alone. The evidence comes from a trace-based benchmark of 1,500 security-agent runs and 800 control runs.

What they found 2

  1. Gemma 31B less-restricted derivative achieves 14.0% success versus 0.7% for the aligned model

    “the less-restricted 31B derivative succeeds on 21/150 security runs (14.0%) versus 1/150 for the aligned model (0.7%; McNemar p = 1.10 × 10-5)”

  2. Qwen2.5-Coder less-restricted derivative has lower success than its aligned counterpart

    “Qwen2.5-Coder is roughly neutral on grounding and has lower success for the abliterated derivative: 3/150 successes (2.0%) versus 8/150 for the aligned model (5.3%; p = 0.18).”

Caveats 4

  • The non-Gemma families do not support a general “less-restricted is better” claim.
  • All families also remain weak on hard proof-of-trigger and patch-verification tasks.
  • The derivatives are therefore empirical probes, not clean causal counterfactuals or deployment recommendations.
  • Stronger causal claims will require cleaner matched pairs, better tool interfaces, executable evidence checks, and larger independent annotation efforts.

What’s new here 3

  • Provides a trace-level benchmark for autonomous security agents with deterministic success predicates and grounding checks.
  • Compares aligned models against uncensored or abliterated derivatives across multiple model families in the same harness.
  • Separates refusal, unsafe actions, tool failures, and evidence grounding as distinct evaluation dimensions.