Model Immunization Beyond Condition Numbers: The Importance of Plateau Regions
Abstract
Harmful fine-tuning can rapidly compromise safety alignment in Large Language Models, underscoring the vulnerability of deployed models to post-release modification. While prior work motivates model immunization by inducing ill-conditioned curvature to slow harmful optimization, this approach is not scalable due to the high computational cost of Hessian estimation. We refine this paradigm by extending the theoretical framework to prioritize plateau regions alongside curvature. We further introduce an immunization algorithm based on efficient Hessian estimation and bounds on the extremal singular values of the Hessian. We demonstrate the proposed immunization framework in three applications: (i) Fine-tuning-as-a-service settings where benign user data may be mixed with poisoned harmful data, (ii) open-weight settings where an adversary can fine-tune on harmful-only data with varied training dynamics, and (iii) robust unlearning, where immunized models better resist relearning attacks after unlearning. Extensive experiments confirm that our approach achieves robust defense against adversarial fine-tuning while largely maintaining general utility and downstream trainability. Our code is available at https://github.com/minhquoc0712/BECON.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- Accepted by NeurIPS 2026
Related papers
Trust-Region Optimization for Performative Prediction without Response Modeling
Shared title terminologycs.LGSiqi Du, Miaolan Xie, Roy Dong
Site-Conditioned Boundary Closure for Subsurface Seepage Forecasting and Relief Placement
Shared title terminologycs.LGEdward Holmberg, Elias Ioup, Mahdi Abdelguerfi
Beyond Patching: Consistent Circuit Discovery via Gradient Spectral Analysis
Shared title terminologycs.LGYujie Zhang, Tianyi Zhao, Guanghui Min et al.
How Do Deep Networks Encode and Selectively Use Information? Shared Encoding and Conditional Signed Readout in Vision and Language Models
Shared title terminologycs.LGKaixiang Shu
Doc-to-LoRA Analysis: Query Conditioning, Wrong Facts, and Distractor Interference
Shared title terminologycs.LGJesper Derehag
Omniprediction with the Minimum Number of Linear Scores
Shared title terminologycs.LGMohammadHossein Bateni, Zahra Hadizadeh, MohammadTaghi Hajiaghayi et al.