REVIEW 6 major objections 5 minor 18 references
Detecting Safety Training Modification in Language Models via Activation Analysis
T0 review · 6 major / 5 minor · reviewed 2026-08-08 · deepseek-v4-flash
Pith's one-line read The paper claims that safety training creates measurable separation between harmful and benign content classes in activation space, and that measuring this separation can detect certain safety-training modifications in seconds without…
desk verdict A genuinely useful four-class taxonomy with candid limitation analysis, but the Tier 1 detection claim contradicts the paper's own Appendix D data on base models. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The central object is the class-separation statistic sigma, computed as the difference between the mean projections of harmful and benign activations onto a contrastive direction vector, divided by the pooled standard deviation. That direction vector is the normalized difference of class centroids from 16 contrastive prompt pairs, extracted at the layer in the 40-80% depth range that maximizes separation. Tier 1 thresholds sigma into PASS, WARNING, and CRITICAL bands, while Tier 2 compares the direction vector's cosine similarity and separation drift against a stored baseline from a clean reference model. The two tiers, taken together, encode the four-class taxonomy and carry the argument.
What would settle it
Collect a sample of known-safe, independently verified instruction-tuned models from the broader ecosystem and run AMS Tier 1 on each: if a substantial fraction fall below the 3.5-sigma PASS threshold, the threshold's false-positive rate is too high for deployment as a gate. Alternatively, run the same scan on a held-out set of known-abliterated and uncensored models to estimate the true-positive rate outside the 14-model calibration set.
Extended reading notes
Core claim
Safety training creates measurable separation between harmful and benign content classes in mid-layer activation space; certain safety modifications collapse or rotate this structure, while others leave it intact. The paper claims that AMS's Tier 1 sigma-threshold detects training removal and weight-orthogonalization abliteration, that Tier 2 direction-similarity verification detects rotation-without-collapse abliteration, and that behavioral fine-tuning that preserves activation geometry is undetectable by activation-only probing. Across 14 models, sigma on the harmful-content concept predicts behavioral compliance with Pearson r = -0.546 (p = 0.043), and leave-one-out cross-validation of thresholds achieves 71% accuracy (10/14). The paper also claims a four-class mechanistic taxonomy: training removal collapses cluster separation, weight-orthogonalization abliteration collapses and rotates the refusal direction, rotation-without-collapse abliteration preserves separation while rotating direction, and behavioral fine-tuning preserves both magnitude and direction.
Load-bearing premise
Tier 1 assumes that intact safety training reliably keeps the harmful-content separation above 3.5 sigma in the 40-80% depth band, so that a lower value means tampering; the paper's own Mistral-7B-Instruct-v0.3 result shows a legitimate instruction-tuned release can fall in the CRITICAL band, leaving population-level false-positive rates unquantified.
Editorial extensions
If this is right
- Models that remove safety training entirely, such as base models and from-scratch uncensored fine-tunes, can be flagged in 10-40 seconds without running any behavioral prompts.
- Weight-orthogonalization abliteration is caught by both tiers, so a model that fails Tier 1 can be cross-checked by Tier 2 as defense in depth.
- Rotation-without-collapse abliteration, which passes Tier 1 because it preserves cluster separation, is caught by Tier 2's direction-similarity check, making Tier 2 the load-bearing check for that attack class.
- A structural PASS verdict cannot certify behavioral safety: the paper documents a model that preserves both separation and direction while complying with 97% of harmful prompts, so behavioral evaluation remains necessary.
- Because the paper recommends the bootstrap confidence-interval lower bound rather than the single-run point estimate, borderline PASS classifications should be treated as statistically uncertain rather than definitive.
Reading between the lines
- The paper's own results imply that label-based trust in model registries is unreliable in both directions: a model labeled instruction-tuned can behave as unsafe, and a model labeled uncensored can pass the structural scan.
- A natural testable extension, which the paper identifies as future work, is to calibrate sigma thresholds on an independent set of models outside the 14 used here and then measure population-level false-positive and false-negative rates.
- The class-(iv) blind spot suggests that the next place to look for behavioral-only modifications is the output layer and refusal-token decoding behavior, since mid-residual activation geometry is preserved in that class.
- Because bootstrap confidence intervals are wide and often cross the PASS threshold, the paper's own statistics imply that a single scan should be used as a screening instrument and that repeated scans over different contrastive pair sets would give a more stable verdict.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces AMS (Activation-based Model Scanner), a tool that detects modifications to safety training in language models by measuring geometric properties of safety-relevant concepts in activation space. It defines a four-class taxonomy of safety modifications (training removal, weight-orthogonalization abliteration, rotation-without-collapse abliteration, and behavioral fine-tuning), proposes a two-tier detection framework (Tier 1 sigma-thresholding, Tier 2 direction-similarity verification), and validates it on 14 model configurations spanning Llama, Gemma, Qwen, and Mistral families. The paper reports leave-one-out cross-validation accuracy of 71%, bootstrap confidence intervals on sigma estimates, a Pearson correlation of r = -0.546 (p = 0.043) between harmful-content sigma and behavioral compliance, and explicitly documents two Tier-1 false negatives and a fundamental class-(iv) blind spot. Code, contrastive pair datasets, baselines, and raw outputs are released open-source.
Significance. If the central claims held, AMS would be a practically useful fast pre-screen for safety-modified open-weight models, and the proposed four-class taxonomy is a valuable organizing principle for the security community. The paper has notable strengths: it ships open-source code and data, reports bootstrap uncertainty honestly, acknowledges the upward bias in the sigma estimator, and explicitly discusses calibration-evaluation coupling and failure modes instead of hiding them. However, the detection claim is currently undermined by an internal contradiction between the abstract's characterization of base models and the values reported in Appendix D, and the out-of-sample claims are weaker than presented. The taxonomy itself is plausible and worth publishing after the load-bearing issues are addressed.
major comments (6)
- [Appendix D, Table V] The base-model values in Appendix D contradict the central class-(i) premise stated in the abstract and in Section VII-A(5) that base models collapse to 0.5-1.4 sigma. Table V lists Gemma-2-9b (base) at sigma_harmful = 5.29 (PASS) and Qwen2.5-7B (base) at 2.75 (WARNING), and neither model is part of the 14-model validation set in Section VI. The LOOCV in Section VII-C therefore never tests whether the 3.5 sigma PASS threshold separates instruction-tuned from base models across architectures. If these Appendix D values are accurate, a model with no safety training can exhibit the same harmful-content separation as an instruction-tuned model, invalidating Tier 1's baseline-free claim; if they are stale or from a different experiment round, they must be corrected. Additionally, Table V is labeled 'Complete Tier 1 results' but omits several Table I models (Mistral-7B-Instruct-v0.3, Llama-3.2-1B-Instruct, gemma-2-2b-it, dolphin-2.9.4-llama3.1-8b, Llama-3.2-3B base) and includes four models not in Table I, so the appendix cannot currently be used to reconcile the contradiction.
- [Section VIII-D(a), Section VII-C] The PASS and CRITICAL thresholds were originally calibrated on the same 14-model set used to report detection accuracy, and Section VIII-D(a) explicitly admits that the LOOCV reframing does not fully decouple calibration from evaluation because the universe of cases is the same. The abstract's statement that 'Leave-one-out cross-validation of thresholds achieves 71% accuracy' is therefore not an out-of-sample detection rate. Given that the central contribution is a threshold-based detector, the paper needs either an independent calibration set, a genuinely held-out evaluation set, or a clearly labeled statement that 71% is an exploratory in-sample-ish result rather than a generalization estimate.
- [Section VII-D, Table I] The bootstrap analysis shows that the reported point estimate for Llama-3.2-3B-Instruct (8.37 sigma) lies outside its own 95% CI [3.64, 7.95], and 26 of 42 cells have CIs crossing the 3.5 sigma PASS threshold. Because the sigma estimator selects the direction that maximizes separation on the same 16-pair sample, the single-run classifications in Table I are systematically optimistic. The paper acknowledges this and recommends using the CI lower bound, but the abstract and conclusion still state that Tier 1 detects classes (i) and (ii) without conditioning on this uncertainty. Under the CI-lower-bound convention that the paper itself recommends, several PASS verdicts are not statistically distinguishable from WARNING, so the detection claims should be restated accordingly.
- [Section VII-E] The behavioral-correlation claim rests on Pearson r = -0.546 (p = 0.043), but the rank-order Spearman correlation is rho = -0.423 (p = 0.13), which is not significant at alpha = 0.05. With n = 14 and two documented high-sigma/high-compliance outliers (gemma-2-9b-it-abliterated and DarkIdol), the linear correlation is fragile and likely driven by category-level clustering rather than a robust within-category relationship. The text is honest about this, but the conclusion's bullet list reports only the Pearson value and p-value, which overstates the evidence. The conclusion should include the Spearman result or explicitly frame the correlation as directional and non-robust.
- [Section VI(b), Table I] Behavioral compliance is measured by a refusal-phrase string-match heuristic restricted to the first 250 characters, with only spot-checks mentioned for validation. Since the compliance rates in Table I drive the Pearson correlation in Section VII-E and are used to interpret several borderline sigma cases, the reliability of this heuristic is load-bearing. PARTIAL responses and non-refusal safe responses could be misclassified by string matching, and no manual label set or inter-annotator agreement is reported. The paper should either provide a manual-label subsample validation or explicitly downgrade any compliance-based interpretation that depends on the exact rate.
- [Section III-c, Table I] Mistral-7B-Instruct-v0.3, a standard instruction-tuned release, measures sigma_harmful = 1.39 and is classified CRITICAL, and the paper interprets this as a correct flag of a de facto unsafe model. Without a ground-truth modification label, the same observation demonstrates that a legitimate instruction-tuned model can fall in the CRITICAL band, so the false-positive rate on the broader population of instruction-tuned models is unknown. This is not merely an external calibration concern; it is an internal example that the Tier-1 threshold does not reliably separate intact safety training from modified safety training for at least one major model family.
minor comments (5)
- [Appendix A] The vLLM integration example sets VLLM_ALLOW_INSECURE_SERIALIZATION = '1' without a security caveat; since AMS is intended for supply-chain verification, the example should warn that insecure deserialization can introduce a code-execution risk when scanning untrusted model repositories.
- [Figure 4] The y-axis of the threshold-sensitivity plot extends above 100%, and the phrase '100% correct plateau' may mislead readers into interpreting it as out-of-sample performance; the caption already says it is internal consistency, but the axis and label should be made consistent with that caveat.
- [Table II] The 'Verified' column for gemma-2-9b-it-abliterated uses 'x dagger' with a footnote saying it is detected by Tier 2 despite passing Tier 1; this is confusing because the column header implies a binary verification verdict and the dagger is not a standard marker. Clarify whether the row means 'Tier 2 fails verification' or 'Tier 2 detects the modification'.
- [Appendix D] The appendix would benefit from a brief note explaining that some listed models (Gemma-2-9b base, Qwen2.5-7B base, Lexi-Uncensored, LLama-3-8b-Uncensored) are not in the 14-model validation set and from an explicit reconciliation with Table I, since the current labeling as 'Complete Tier 1 results' is inaccurate.
- [Ethics Statement] There is a typo in 'LLama-3-8b-Uncensored' (capitalization of 'LLama') and the sentence about 'no harmful content was generated' should be reconciled with the behavioral evaluation that measured compliance on JailbreakBench prompts, which presumably elicited harmful completions from several models.
Circularity Check
No significant circularity; the thresholds are calibrated on the evaluation set, but the paper discloses this and the LOOCV and behavioral correlation provide partially independent checks.
full rationale
The derivation chain is not circular. The sigma metric is computed from contrastive-pair centroid differences (Eq. 1–2) and is not fit to modification labels; layer and direction selection maximize separation on the contrastive pairs, not on safety status, and the resulting upward bias is disclosed in Section VII-D. The PASS/WARNING/CRITICAL thresholds are indeed calibrated on the same 14-model set (Section IV-E), and the paper explicitly acknowledges the calibration–evaluation coupling in Section VIII-D(a); however, the leave-one-out procedure recomputes thresholds from the remaining 13 models for each held-out model, so the reported 71% accuracy is not forced by construction. The behavioral correlation (Pearson r = −0.546) is computed from independently measured JailbreakBench compliance rates and is not an artifact of the sigma definition. The four-class taxonomy is grounded in measured activation signatures of named in-the-wild models, not assumed a priori. A separate non-circularity concern is that Appendix D, Table V lists Gemma-2-9b (base) at σ_harmful = 5.29 (PASS) and Qwen2.5-7B (base) at 2.75 (WARNING), contradicting the abstract's characterization of base models at 0.5–1.4σ and weakening the class-(i) generalization; this is an internal consistency/validity risk, not a circular derivation.
Assumptions & free parameters
free parameters (5)
- Tier 1 PASS threshold =
3.5 sigma
- Tier 1 CRITICAL threshold =
2.0 sigma
- Tier 2 direction similarity threshold =
0.8 cosine
- Tier 2 separation drift threshold =
20%
- Contrastive pair count per concept =
16
assumptions (5)
- domain assumption Safety-relevant concepts are encoded as linear directions in activation space.
- ad hoc to paper The hand-crafted contrastive pairs isolate the target safety concept from confounds.
- ad hoc to paper The refusal-phrase string-match in the first 250 characters accurately measures compliance.
- domain assumption JailbreakBench's 20 stratified prompts are a representative sample of harmful behaviors.
- domain assumption Bootstrap resampling of cached projections without new forward passes captures the full sampling uncertainty of sigma.
Cite this review
Pith. "Pith review of Detecting Safety Training Modification in Language Models via Activation Analysis." pith.science (2026). https://pith.science/paper/WSDADBLB
@misc{pith2026260805578,
author = {Pith},
title = {Pith review of: Detecting Safety Training Modification in Language Models via Activation Analysis},
year = {2026},
howpublished = {\url{https://pith.science/paper/WSDADBLB}},
note = {Machine review of arXiv:2608.05578}
}
read the original abstract
We introduce AMS (Activation-based Model Scanner), a tool that detects modifications to safety training in language models by measuring the geometric structure of safety-relevant concepts in activation space. Safety training creates measurable separation between harmful and benign content classes; certain safety modifications collapse or rotate this structure, while others leave it intact. We validate AMS across 14 model configurations spanning 4 architecture families (Llama, Gemma, Qwen, Mistral) and four safety-modification categories (instruction-tuned, base, abliterated, uncensored fine-tunes). Leave-one-out cross-validation of thresholds achieves 71% accuracy (10/14); bootstrap 95% confidence intervals on sigma point estimates have median width 3.4 sigma. We measure behavioral compliance on 20 stratified JailbreakBench prompts per model and find that sigma on the harmful-content concept predicts compliance with Pearson r = -0.546 (p = 0.043), directionally but with meaningful noise. Mechanistic analysis identifies a four-class taxonomy of safety-training modifications distinguished by activation-space signature: training removal collapses cluster separation; weight-orthogonalization abliteration both collapses separation and rotates the refusal direction; rotation-without-collapse abliteration preserves separation while rotating direction; and behavioral fine-tuning preserves both magnitude and direction. AMS's Tier 1 sigma-threshold detects the first two classes; Tier 2 direction-similarity verification detects the third. The fourth is undetectable by activation-only probing and represents a documented failure mode. We discuss threshold calibration, limitations of single-run measurement, and the open problem of detecting behavioral-only safety modifications.
Figures
Reference graph
Works this paper leans on
-
[1]
Andy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka, Nina Pan- ickssery, Wes Gurnee, and Neel Nanda. Refusal in Language Models Is Mediated by a Single Direction.Advances in Neural Information Processing Systems 37 (NeurIPS 2024), pp. 136037–136083, 2024
work page 2024
-
[2]
Dolphin: An uncensored, unbiased language model
Eric Hartford. Dolphin: An uncensored, unbiased language model. Blog post, 2023
work page 2023
-
[3]
Andy Zou, Long Phan, Sarah Chen, James Campbell, Phillip Guo, Richard Ren, Alexander Pan, Xuwang Yin, Mantas Mazeika, Ann- Kathrin Dombrowski, et al. Representation engineering: A top-down approach to AI transparency.arXiv preprint arXiv:2310.01405, 2023
-
[4]
Alexander Matt Turner, Lisa Thiergart, David Udell, Gavin Leech, Ulisse Mini, and Monte MacDiarmid. Activation addition: Steering language models without optimization.arXiv preprint arXiv:2308.10248, 2023
arXiv 2023
-
[5]
Instructional fingerprinting of large language models.arXiv preprint arXiv:2401.12255, 2024
Weiyan Xu, Zhengyang Shan, Gail Weiss, Yoav Goldberg, and Anna Googins. Instructional fingerprinting of large language models.arXiv preprint arXiv:2401.12255, 2024
arXiv 2024
-
[6]
Mantas Mazeika, Long Phan, Xuwang Yin, Andy Zou, Zifan Wang, Norman Mu, Elham Sakhaee, Nathaniel Li, Steven Basart, Bo Li, David Forsyth, and Dan Hendrycks. HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal.arXiv preprint arXiv:2402.04249, 2024
arXiv 2024
-
[7]
ToxiGen: A Large-Scale Machine- Generated Dataset for Adversarial and Implicit Hate Speech Detection
Thomas Hartvigsen, Saadia Gabriel, Hamid Palangi, Maarten Sap, Dipankar Ray, and Ece Kamar. ToxiGen: A Large-Scale Machine- Generated Dataset for Adversarial and Implicit Hate Speech Detection. InACL, 2022
work page 2022
-
[8]
Seungju Han, Kavel Rao, Allyson Ettinger, Liwei Jiang, Bill Yuchen Lin, Nathan Lambert, Yejin Choi, and Nouha Dziri. WildGuard: Open one-stop moderation tools for safety risks, jailbreaks, and refusals of LLMs.arXiv preprint arXiv:2406.18495, 2024
arXiv 2024
Show all 18 references
-
[9]
Sokhansanj
Benjamin A. Sokhansanj. Uncensored AI in the Wild: Tracking Publicly Available and Locally Deployable LLMs.Future Internet, 17(10):477, 2025
2025
-
[10]
XBreaking: Understanding how LLMs security alignment can be broken.arXiv preprint arXiv:2504.21700, 2025
Marco Arazzi, Mauro Conti, Antonino Guiliano, and Vignesh Kumar Kembu. XBreaking: Understanding how LLMs security alignment can be broken.arXiv preprint arXiv:2504.21700, 2025
2025
-
[11]
Defending Large Language Models Against Attacks With Residual Stream Acti- vation Analysis.arXiv preprint arXiv:2406.03230, 2024
Amelia Kawasaki, Andrew Davis, and Houssam Abbas. Defending Large Language Models Against Attacks With Residual Stream Acti- vation Analysis.arXiv preprint arXiv:2406.03230, 2024
2024 arXiv
-
[12]
Safety Layers of Aligned Large Language Models: The Key to LLM Security.arXiv preprint arXiv:2408.17003, 2024
Shen Chen, Yingchun Wang, Xiaoran Fan, Xianjun Yang, Zhipeng Cai, Chao Du, Wei Lu, Zhixing Tan, and Jiajun Chen. Safety Layers of Aligned Large Language Models: The Key to LLM Security.arXiv preprint arXiv:2408.17003, 2024
2024 arXiv
-
[13]
Probing Classifiers: Promises, Shortcomings, and Advances.Computational Linguistics, 48(1):207–219, 2022
Yonatan Belinkov. Probing Classifiers: Promises, Shortcomings, and Advances.Computational Linguistics, 48(1):207–219, 2022
2022
-
[14]
Gonzalez, Hao Zhang, and Ion Stoica
Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. Efficient Memory Management for Large Language Model Serving with PagedAttention. InSOSP, 2023
2023
-
[15]
The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/- False Datasets.arXiv preprint arXiv:2310.06824, 2023
Samuel Marks and Max Tegmark. The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/- False Datasets.arXiv preprint arXiv:2310.06824, 2023
2023 arXiv
-
[16]
Lo- cating and Editing Factual Associations in GPT
Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Lo- cating and Editing Factual Associations in GPT. InNeurIPS, 2022
2022
-
[17]
ABS: Scanning Neural Networks for Back-doors by Artificial Brain Stimulation
Yingqi Liu, Wen-Chuan Lee, Guanhong Tao, Shiqing Ma, Yousra Aafer, and Xiangyu Zhang. ABS: Scanning Neural Networks for Back-doors by Artificial Brain Stimulation. InProceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security (CCS ’19), pages 1265–128...
2019
-
[18]
VLLM_ALLOW_INSECURE_SERIALIZATION
Patrick Chao, Edoardo Debenedetti, Alexander Robey, Maksym An- driushchenko, Francesco Croce, Vikash Sehwag, Edgar Dobriban, Nico- las Flammarion, George Pappas, Florian Tramer, Hamed Hassani, and Eric Wong. JailbreakBench: An Open Robustness Benchmark for Jail- breaking Large...
2024
Reviewed August 8, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.