arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.07340cs.LG
收藏

通过选择性几何控制重新审视LLM安全对齐的鲁棒性

Revisiting Robustness for LLM Safety Alignment via Selective Geometry Control

National University of Singapore(新加坡国立大学);Hefei University of Technology(合肥工业大学);ST Engineering Ltd., Singapore(新加坡ST工程有限公司)

Yonghui Yang, Wenjian Tao, Jilong Liu, Xingyu Zhu, Junfeng Fang, Weibiao Huang, Le Wu, Richang Hong, Tat-Sent Chua

AI总结:

本文通过优化几何视角重新审视LLM安全对齐的鲁棒性,提出ShaPO框架,通过选择性几何控制在对齐关键参数子空间上强制最坏对齐目标,提升安全鲁棒性。

摘要:

大型语言模型的安全对齐在领域偏移和噪声偏好监督下仍显得脆弱。大多数现有鲁棒对齐方法关注对齐数据中的不确定性,而忽视了基于偏好的目标中优化诱导的脆弱性。在本文中,我们从优化几何的角度重新审视LLM安全对齐的鲁棒性,并认为鲁棒性失败不能仅通过数据为中心的方法解决。我们提出了ShaPO,一种几何感知的偏好优化框架,通过在对齐关键参数子空间上进行选择性几何控制来强制最坏情况下的对齐目标。通过避免均匀的几何约束,ShaPO缓解了在分布偏移下可能损害鲁棒性的过度正则化问题。我们将在两个层面实例化ShaPO:token层面的ShaPO稳定了基于似然的替代优化,而reward层面的ShaPO在噪声监督下强制奖励一致的优化。在多样化的安全基准和噪声偏好设置中,ShaPO在流行偏好优化方法上一致地提高了安全鲁棒性。此外,ShaPO能够与数据鲁棒目标清洁地组合,产生额外的收益,并经验上支持所提出的优化-几何视角。代码可在https://github.com/liujilong0116/ShaPO上获得。

英文摘要:

Safety alignment of large language models remains brittle under domain shift and noisy preference supervision. Most existing robust alignment methods focus on uncertainty in alignment data, while overlooking optimization-induced fragility in preference-based objectives. In this work, we revisit robustness for LLM safety alignment from an optimization geometry perspective, and argue that robustness failures cannot be addressed by data-centric methods alone. We propose \textit{ShaPO}, a geometry-aware preference optimization framework that enforces worst-case alignment objectives via selective geometry control over alignment-critical parameter subspace. By avoiding uniform geometry constraints, ShaPO mitigates the over-regularization that can harm robustness under distribution shift. We instantiate ShaPO at two levels: token-level ShaPO stabilizes likelihood-based surrogate optimization, while reward-level ShaPO enforces reward-consistent optimization under noisy supervision. Across diverse safety benchmarks and noisy preference settings, ShaPO consistently improves safety robustness over popular preference optimization methods. Moreover, ShaPO composes cleanly with data-robust objectives, yielding additional gains and empirically supporting the proposed optimization-geometry perspective. The code is available at https://github.com/liujilong0116/ShaPO.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑