Skip to content

Researchers propose a jailbreak attack method that extracts the safety classifier of an aligned LLMTargeting Alignment: Extracting Safety Classifiers of Aligned LLMs

Paper Tracker· arXiv:2501.16534· SaTML 2026· Jean-Charles Noirot Ferrand, Yohan Beugin, Eric Pauley, Ryan Sheatsley, Patrick McDaniel·Indexed by this site · 2026-10-09· Originally publishedAttacks

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe researchers propose a new jailbreak attack technique that builds candidate classifiers from part of the LLM's architecture to extract an approximate substitute for its internal safety classifier. Evaluation shows that the best candidate classifier achieves over 80% F1 agreement using only 20% of the model architecture. Adversarial inputs generated on the substitute classifier transfer to the original LLM with high success: a substitute classifier built from only 50% of the Llama 2 model achieves a 70% attack success rate, with memory usage and runtime halved, while directly attacking the LLM has only a 22% success rate. The authors argue that extracting a substitute classifier is an effective and efficient means of modeling and addressing jailbreak vulnerabilities in aligned models. Code is publicly available, and the work has been accepted at IEEE SaTML.

Questions
Alignment is used to make LLMs follow guidelines such as safety, but jailbreaks can rewrite inputs and elicit unsafe outputs. The authors argue that existing white-box jailbreaks have high runtime and memory usage, while heuristics shrink the adversarial search space, limiting both effectiveness and the evaluation of robustness.
Methods
The authors hypothesize that alignment embeds a safety classifier in the model. Starting from the first layer, they take consecutive decoders, attach a linear classification head, train a surrogate using rejection/compliance labels that a refusal detector assigns to model outputs, then rewrite GCG with a misclassification objective and transfer it back to the original LLM.
Experiments and results
On four open-source models, the authors claim that benign F1 above 80% can be achieved with as little as 20% of the structure. For Llama 2, the transfer ASR with 50% of the structure is written by the authors as 70% (dataset not specified); the abstract writes the direct attack as 22%. The introduction also gives 350s/sample and 14 GB, compared with 850s/sample and 31 GB.
Limitations and future work
The authors leave intermediate-layer structure, temperature, and black-box transfer for future work. The experiments cover four open-source aligned models, AdvBench and OR-Bench, white-box GCG, and decoders starting from the first layer. The appendix states that weak alignment and unlearning are out of scope.

Related papers

Show 3 more papers
Read originalSaTML 2026