atlas

Research map / Large language models / Instruction and fine-tuning

Finding and Reactivating Post-Trained LLMs' Hidden Safety Mechanisms

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Finds that post-training masks LRMs' original safety mechanisms rather than removing them, and proposes SafeReAct, which aligns LoRA-adapted hidden representations on harmful prompts to a reasoning-pruned safe model's representations to restore safety.

Problem

Post-trained LLMs, especially large reasoning models (LRMs) distilled from DeepSeek-R1, show degraded safety compared with their base/regular models; realigning them is costly and can hurt task performance.

Approach

Safety mechanisms persist in post-trained LRMs but are masked by over-activated reasoning neurons. Pruning reasoning-related neurons (wanda set-difference) yields a safer model whose representations on harmful prompts are used as alignment targets, with a retain loss on reasoning data and LoRA on a few layers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply SafeReActR1-8B · JBBharmful rate: 33% -> 0%Helped
apply SafeReActR1-8B · AdvBenchharmful rate: 29% -> 1%Helped
apply SafeReActR1-8B · GSM8Kaccuracy: 88% -> 87%No clear effect
apply SafeReActR1-7B · JBBharmful rate: 45% -> 1%Helped
apply SafeReActR1-7B · AdvBenchharmful rate: 29% -> 0%Helped
apply SafeReActR1-7B · GSM8Kaccuracy: 92% -> 91%No clear effect
apply SafeReActOT-7B · JBBharmful rate: 43% -> 0%Helped
apply SafeReActOT-7B · AdvBenchharmful rate: 28% -> 0%Helped
apply SafeReActOT-7B · GSM8Kaccuracy: 93% -> 91%Hurt
apply SafeReActR1-14B · JBBharmful rate: 23% -> 0%Helped
apply SafeReActR1-14B · AdvBenchharmful rate: 21% -> 1%Helped
apply SafeReActR1-14B · GSM8Kaccuracy: 94% -> 94%No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: HarmBench LIMO UltraMedical S1K AdvBench WildJailbreak SafeChain GSM8K MATH-500 MedQA XSTest JailbreakBench

Benchmarks: JailbreakBench AdvBench XSTest GSM8K MATH-500 MedQA

Metrics: harmful rate accuracy

Baselines: Circuit-Breaker SafeChain ICD PAT SelfRemind

Builds on: Circuit Breaker Wanda pruning Representation Engineering

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy