Activation analysis detects most safety training modifications in LLMs
AMS can identify safety-training changes with 71% accuracy across diverse models
Security & privacy arXiv 6 Aug 2026 Measurement Prototype evidence
Published as “Detecting Safety Training Modification in Language Models via Activation Analysis”
Why it matters
AMS can serve as a fast pre-deployment triage (10-40 s per model) but must be combined with behavioral testing to avoid blind-spot failures.
Summary
AMS detects safety-training modifications in open-weight LLMs by measuring activation-space geometry, achieving 71% leave-one-out cross-validation accuracy on 14 models and a Pearson correlation of r = -0.546 (p = 0.043) between the σ signal and harmful-compliance behavior; however, the method misses certain modification classes (e.g., behavioral fine-tuning) and its σ estimates have wide bootstrap confidence intervals, limiting its reliability as a sole safety gate.
What they found 1
- Leave-one-out cross-validation accuracy of 71% on the 14-model set using two threshold-calibration rules.
“Both rules achieve identical 71% accuracy (10/14).”
Caveats 5
- Tier-1 false negatives where high σ values still correspond to near-complete harmful compliance (gemma-2-9b-it-abliterated and DarkIdol).
- Bootstrap 95% confidence intervals cross the PASS threshold for 62% of σ estimates, indicating high uncertainty near decision boundaries.
- class-(iv) is undetectable by activation-only mid-residual-stream probing of the type AMS implements.
- Bootstrap CIs are wide and point estimates are systematically optimistic.
- The σ estimator systematically reports values higher than the bootstrap-median.
What’s new here 4
- Introduces a two-tier detection framework (cluster-separation σ and direction-similarity) matched to a mechanistic taxonomy of safety-training modifications.
- Provides statistical rigor with bootstrap confidence intervals and bias analysis for σ estimates.
- Characterizes and explains specific failure modes, including rotation-without-collapse and behavior-preserving fine-tunes that evade activation-only detection.
- Releases open-source tooling, contrastive prompt datasets, and pre-computed baselines for rapid pre-deployment scanning.