ReBiSA: Data Reweighting with Bilevel Optimization for Safety Alignment
Jialu Du, Hao Di, Yubo Zhou, Guang Dai, Xiangyu Chang
ICLR 2026 submission
Abstract. Ensuring safety in large language models (LLMs) is a critical yet challenging task, since existing alignment approaches typically depend on costly human feedback, reinforcement learning, or large auxiliary models. We propose \textbf{ReBiSA}, a bilevel optimization-based data reweighting framework that provides a lightweight and transferable approach to safety alignment. ReBiSA employs a multi-layer perceptron (MLP) reweighting network that maps training losses to adaptive weights, which are updated using safety signals from a validation set. This enables the model to automatically emphasize safe data while down-weighting unsafe data during fine-tuning. Unlike prior methods that assign individual parameters to samples or rely heavily on auxiliary models, ReBiSA achieves both efficiency and transferability. Experiments on safety alignment benchmarks show that ReBiSA consistently improves safety performance over baselines, while being scalable to larger datasets and diverse model backbones.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…