Safety-critical weights concentrate in V matrices/middle MLPs for dense LLMs and late MLPs for MoE models
Targeting the identified safety-critical parameters can substantially improve LLM safety while preserving performance
Security & privacy arXiv 9 Apr 2026 Method Prototype evidence
Published as “Towards Identification and Intervention of Safety-Critical Parameters in Large Language Models”
Why it matters
The approach enables rapid safety improvements or preservation for LLMs with only a tiny weight update, making safer fine-tuning feasible in practice.
Summary
The paper shows that updating only a tiny fraction of weights identified by their Expected Safety Impact (ESI) metric can markedly improve LLM safety: Safety Enhancement Tuning (SET) cuts attack success rates by more than 50% after just 100 iterations on 1% of weights, and Safety Preserving Adaptation (SPA) keeps safety degradation to within 1% even after 1,000 instruction-tuning steps. They also map where safety-critical parameters live (middle-layer value matrices in dense models, late-layer MLP experts in MoE models). Evidence comes from experiments on several open-source LLMs using HarmBench, WildJailbreak and related benchmarks, compared against random-weight baselines and prior gradient-based attribution methods.
What they found 3
- SET reduces attack success rates by over 50% with minimal updates.
“SET can reduce the attack success rates of unaligned LLMs by over 50% with only a 100-iteration update on 1% of model weights.”
- SPA limits safety degradation to within 1% after extensive fine-tuning.
“SPA can limit the safety degradation of aligned LLMs within 1% after a 1,000-iteration instruction fine-tuning on different tasks.”
- Safety-critical weights differ by architecture: middle-layer value matrices for dense models, late-layer MLP experts for MoE models.
“safety-critical weights are concentrated in middle-layer value matrices for dense models, but shift toward late-layer MLP experts in MoE models.”
Caveats 5
- SET only reduces attack success rates by >50%, leaving a substantial residual risk.
- SPA still allows up to 1% safety degradation, indicating that safety is not perfectly preserved.
- Our current evaluation focuses on analyzing mainstream Dense and MoE architectures.
- experiments are currently conducted on opensource models since the computation of gradients and standard deviations relies on access to internal parameters.
- we primarily evaluate general harmful scenarios on widely used benchmarks like HarmBench and WildJailbreak.
What’s new here 4
- Introduces the Expected Safety Impact (ESI) metric |σ(θi)∇θiS(θ)| that incorporates parameter variance.
- Uses a differentiable judge model with Gumbel-Softmax relaxation to estimate gradients of a safety score.
- Identifies architecture-specific safety-critical patterns (middle-layer V matrices vs. late-layer MoE experts).
- Proposes two lightweight interventions-SET and SPA-that modify only safety-critical or non-critical weights.