Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 5607be68
Paper published December 1, 2025
Entry analyzed March 8, 2026
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

Abliteration Cripples Math

Open-weight Large Language Models (LLMs) are vulnerable to a white-box safety alignment bypass known as "abliteration" (directional orthogonalization). An attacker with access to the model weights can compute the…

BibTeX citation

Paper-evaluated models(16)

Llama 3.1 8B Instruct, Mistral 7B Instruct v0.3, Qwen 2.5 7B Instruct +13 more
  • Llama 3.1 8B Instruct
  • Mistral 7B Instruct v0.3
  • Qwen 2.5 7B Instruct
  • Qwen 3 8B
  • Qwen 3 14B
  • Yi 1.5 9B Chat
  • Zephyr 7B Beta
  • DeepSeek LLM 7B Chat
  • StableLM 2 12B Chat
  • Gemma 2 9B IT
  • Gemma 7B IT
  • InternLM 2.5 7B Chat
  • OpenChat 3.5 0106
  • Phi 3 Small 8k Instruct
  • Vicuna 7B v1.5
  • Falcon-Mamba 7B Instruct

Description

Open-weight Large Language Models (LLMs) are vulnerable to a white-box safety alignment bypass known as "abliteration" (directional orthogonalization). An attacker with access to the model weights can compute the "refusal direction" in the residual stream activation space by contrasting internal activations between harmful and harmless prompts. By projecting the model's weight matrices to be orthogonal to this single direction (or specific concept cones), the safety alignment is surgically excised. This allows the model to comply with explicitly harmful instructions without significantly degrading its general cognitive and reasoning capabilities (measured via MMLU, GSM8K, and HellaSwag).

Examples

An attacker can use open-source abliteration tools on an instruction-tuned model to remove safety guardrails:

  • Using the Heretic optimization tool on Zephyr-7B-beta (a DPO-aligned model) achieves an Attack Success Rate (ASR) of 98% against the mlabonne/harmful_behaviors dataset with a minimal Kullback-Leibler (KL) divergence of 0.076.
  • Using llm-abliteration (DECCP) in 4-bit quantized mode can strip safety filters from Yi-1.5-9B or Mistral-7B in approximately 2 minutes, preserving multi-step reasoning capabilities (e.g., GSM8K degradation of only -0.13 to -0.28 percentage points). See repository: https://github.com/ricyoung/abliteration-comparison (opens in a new tab)

Impact

Local attackers or malicious deployers can easily strip safety mechanisms from commercial and open-source models. Once abliterated, the models can be used to generate prohibited content—including social engineering, malicious code, or weapons synthesis material—without triggering refusal protocols. Because the technique preserves general capabilities, the resulting "uncensored" models remain highly capable for complex, malicious tasks.

Affected Systems

Transformer-based and hybrid-architecture Large Language Models with accessible weights (white-box access). The vulnerability has been confirmed across 16 instruction-tuned models ranging from 7B to 14B parameters, including:

  • Mistral-7B
  • DeepSeek-7B
  • Yi-1.5-9B
  • Zephyr-7B-beta (particularly susceptible due to DPO-only alignment)
  • Falcon-mamba-7b-instruct

Mitigation Steps

  • Extended-Refusal Training: Train models on extended-refusal responses to distribute the safety and refusal signals across multiple tokens, reducing the effectiveness of single-direction ablation from ~80% success to under 10%.
  • Representation Rerouting: Implement representation rerouting during alignment to create robust, non-linear safety representations that cannot be easily isolated and removed via orthogonal projection.
  • Multi-Stage Alignment: Utilize multi-stage alignment pipelines (e.g., combining Supervised Fine-Tuning with RLHF and DPO). Models fine-tuned exclusively with DPO (e.g., Zephyr) exhibit highly localized safety representations making them highly susceptible, whereas multi-stage aligned models show increased resistance to single-pass abliteration.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
White-box access to model or deployment internals.
Related deployment categories
Fine-tuning
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Transformer-based and hybrid-architecture Large Language Models with accessible weights (white-box access). The vulnerability has been confirmed across 16 instruction-tuned models ranging from 7B to 14B parameters…

Research Paper

Comparative Analysis of LLM Abliteration Methods: A Cross-Architecture Evaluation

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2512.13655