超越条件数的模型免疫:平台区域的重要性 Model Immunization Beyond Condition Numbers: The Importance of Plateau Regions 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-11-16
👁️ 预览文献
💡 AI 中文简介
大语言模型发布后,恶意微调会迅速破坏其安全对齐。已有方法通过制造病态曲率来拖慢有害优化,但计算Hessian矩阵代价太高、难以扩展。本研究把理论框架从只看曲率扩展到同时重视“平台区域”(损失曲面平坦区),并提出基于高效Hessian估计和Hessian极端奇异值界的新免疫算法。在微调即服务、开放权重恶意微调和鲁棒遗忘三种场景下实验表明,该方法能有效抵御对抗性微调,同时基本保持模型通用能力和下游可训练性。
领域大语言模型安全与对齐
适合谁读需要一定机器学习与优化理论背景的研究者和工程师
核心贡献1. 将模型免疫的理论框架从单一条件数扩展到曲率与平台区域并重,指出平坦区域对抵御有害微调同样关键;2. 提出基于高效Hessian估计及极端奇异值界的免疫算法,避免昂贵的完整Hessian计算,并在三类实际场景中验证有效性。
关键数据在微调即服务、开放权重恶意微调和鲁棒遗忘三类场景中均实现稳健防御,同时基本保持通用效用与下游可训练性;代码已开源。
推荐理由如果你关心大模型发布后如何防止被恶意微调“带坏”,这篇把免疫思路从条件数推进到平台区域的工作值得一读。
关键词["模型免疫", "有害微调", "Hessian估计", "平台区域", "安全对齐", "鲁棒遗忘"]

原文摘要

查看英文原文摘要

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.