Live intelligence

Latest AI updates

1 updates
Research

SAFEHOLD: Training-Time Defense Preserves Refusal in Code Models During Harmful Fine-Tuning

Researchers find that safety-aligned code models can comply with harmful requests even when harmfulness information remains decodable from internal representations, and that an initial preference for refusal does not ensure sustained refusal during generation. They introduce SAFEHOLD, a provider-enforced defense that treats refusal as a sustained generation process using decision-boundary anchoring at the initial generation position and refusal-path reinforcement over the full refusal sequence. SAFEHOLD reduces average ASR by 72.03 percentage points versus undefended fine-tuning and outperforms five SOTA defenses by 24.32 to 70.87 points, while improving average HumanEval pass@1 by 10.24 points and maintaining a 2.73% XSTest over-refusal rate.

code language modelssafety alignmentharmful fine-tuning