Revisiting Robustness for LLM Safety Alignment via Selective Geometry Control
Yonghui Yang, Wenjian Tao, Jilong Liu, Xingyu Zhu, Junfeng Fang, Weibiao Huang, Le Wu, Richang Hong, Tat-Sent Chua
TL;DR
This work tackles robustness gaps in LLM safety alignment by shifting focus from data-driven robustness to optimization geometry. It introduces ShaPO, a selective geometry control framework that restricts adversarial perturbations to a safety-critical subspace identified via probe-based signals, improving stability of preference-based alignment under domain shift and noisy supervision. ShaPO has two instantiations—token-level and reward-level—that align optimization with either token likelihood surrogates or semantic reward signals, and it exhibits strong IID performance, superior OOD safety robustness, and compatibility with data-centric robustness methods. The findings suggest that addressing optimization geometry provides meaningful, orthogonal gains in safety robustness and can be effectively composed with existing data-centric approaches to yield additive improvements in real-world deployment.
Abstract
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 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.
