Distribution-Specific Curvature Control with Finite-Sample Guarantees for Open-Weight Safety
Domenic Rosati, Ali Dadsetan, Hong Huang, Xijie Zeng, Hassan Chowdhry, Subhabrata Majumdar, Hassan Sajjad, Frank Rudzicz
Abstract
A short fine-tuning run can undo the safety guards of an open-weight model---retraining a refusal-trained assistant to aid weapons development or produce hate speech. Preventing such harmful fine-tuning while retaining benign adaptability remains difficult: the only prior method with an explicit curvature certificate, spectral deformation, inflates curvature globally and thereby obstructs benign adaptation along with harmful adaptation. We propose HarmAlign, which applies function-preserving spectral deformation along a estimated contrastive activation subspace. We derive finite-sample bounds for the estimated subspace energy and the resulting local harmful-distribution curvature lower bound. A stability--progress dichotomy for constant-step gradient descent turns the certified curvature into conditional convergence-rate control. Empirically, within a fixed-architecture, finite-budget first-order threat model, HarmAlign blocks direct fine-tuning and three data- or objective-adaptive attacks across a hazardous-knowledge relearning setting and a harmful-assistance fine-tuning setting, while the protected benign tasks remain trainable. The block persists across the tested first-order optimizer variants over every attack checkpoint, and under out-of-distribution harmful fine-tuning, and it extends to important cases in our threat model: accidental safety degradation and emergent misalignment.
Create a lesson
Metadata
- Comments
- Under submission AAAI 2027
Related papers
LatentCP-DPO: Conformal Pessimism for DPO with Finite-Sample Guarantees
Shared title terminologycs.LGHongwei Xu, Jingyi Liu, Vincent Y. F. Tan et al.
From NP-Hardness to Exact Tractability Through Sample Abundance
Shared title terminologycs.LGMojtaba Soltanalian
Spec2Weights: Certifying Networks that a Language Model Writes from a Specification
Shared title terminologycs.LGSoumik Bhattacharjee, Musa Tur Farazi, Md Nasir Uddin et al.
When the Proxy Is Wrong: Mismatch-Corrected Bandits for Adaptive Data Sampling
Shared title terminologycs.LGAmine Saadi, Elissa Mhanna, Raphaël Féraud et al.
Effect of class proportion shifts on classifier curvature
Shared title terminologycs.LGMaxim Bolshim, Alexander Kugaevskikh
Compute-Aware Submodular Online Learning in Open Multi-Agent Systems
Shared title terminologycs.LGJing Liu, Luca Ballotta, Fangfei Li et al.