One-Shot Safety Alignment for Large Language Models via Optimal Dualization
Xinmeng Huang, Shuo Li, Edgar Dobriban, Osbert Bastani, Hamed Hassani, Dongsheng Ding
摘要
The growing safety concerns surrounding large language models raise an urgent need to align them with diverse human preferences to simultaneously enhance their helpfulness and safety. A promising approach is to enforce safety constraints through Reinforcement Learning from Human Feedback (RLHF). For such constrained RLHF, typical Lagrangian-based primal-dual policy optimization methods are computationally expensive and often unstable. This paper presents a perspective of dualization that reduces constrained alignment to an equivalent unconstrained alignment problem. We do so by pre-optimizing a smooth and convex dual function that has a closed form. This shortcut eliminates the need for cumbersome primal-dual policy iterations, greatly reducing the computational burden and improving training stability. Our strategy leads to two practical algorithms in model-based and preference-based settings (MoCAN and PeCAN, respectively). A broad range of experiments demonstrate the effectiveness and merits of our algorithms.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Scaling Laws for Reward Model Overoptimization 引用了 Training language models to follow instructions with human feedback
- Alignment of Large Language Models with Constrained Learning 引用了 Scaling Laws for Reward Model Overoptimization
- Alignment of Large Language Models with Constrained Learning 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Alignment of Large Language Models with Constrained Learning 引用了 TruthfulQA: Measuring How Models Mimic Human Falsehoods
- Alignment of Large Language Models with Constrained Learning 引用了 Training language models to follow instructions with human feedback
- Mitigating the Safety Alignment Tax with Null-Space Constrained Policy Optimization 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Mitigating the Safety Alignment Tax with Null-Space Constrained Policy Optimization 引用了 SafeDPO: A Simple Approach to Direct Preference Optimization with Enhanced Safety
- Mitigating the Safety Alignment Tax with Null-Space Constrained Policy Optimization 引用了 Training language models to follow instructions with human feedback
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
- TruthfulQA: Measuring How Models Mimic Human Falsehoods 引用了 Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback 引用了 TruthfulQA: Measuring How Models Mimic Human Falsehoods
- SafeDPO: A Simple Approach to Direct Preference Optimization with Enhanced Safety 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- SafeDPO: A Simple Approach to Direct Preference Optimization with Enhanced Safety 引用了 Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback 引用了 Extracting Training Data from Large Language Models
- Reinforcement Learning Finetunes Small Subnetworks in Large Language Models 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Reinforcement Learning Finetunes Small Subnetworks in Large Language Models 引用了 Training language models to follow instructions with human feedback
引用它的顶会 Paper11
- Reinforcement Learning Finetunes Small Subnetworks in Large Language ModelsSagnik Mukherjee, Lifan Yuan, Dilek Hakkani-Tur, Hao PengNeurIPS 2025 · 43 次引用
- SafeDPO: A Simple Approach to Direct Preference Optimization with Enhanced SafetyGeon-Hyeong Kim, Yu Jin Kim, Byoungjip Kim, Honglak Lee 等ICLR 2026 · 42 次引用
- Multi-objective Large Language Model Alignment with Hierarchical ExpertsZhuo Li, Guodong DU, Weiyang Guo, Yigeng Zhou 等ICLR 2026 · 17 次引用
- Mitigating the Safety Alignment Tax with Null-Space Constrained Policy OptimizationYifan Niu, Han Xiao, Dongyi Liu, Nuo Chen 等ICLR 2026 · 13 次引用
- Alignment of Large Language Models with Constrained LearningBotong Zhang, Shuo Li, Ignacio Hounie, Osbert Bastani 等NeurIPS 2025 · 12 次引用
它引用的 Paper17
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 次引用
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski 等USENIX Security 2021 · 2,866 次引用
- Scaling Laws for Reward Model OveroptimizationLeo Gao, John Schulman, Jacob HiltonICML 2023 · 963 次引用
相关 Paper
- Safe RLHF: Safe Reinforcement Learning from Human FeedbackJosef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji 等ICLR 2024 · 656 次引用
- A Common Pitfall of Margin-based Language Model Alignment: Gradient EntanglementHui Yuan, Yifan Zeng, Yue Wu, Huazheng Wang 等ICLR 2025
- Contrastive Preference Learning: Learning from Human Feedback without Reinforcement LearningJoey Hejna, Rafael Rafailov, Harshit Sikchi, Chelsea Finn 等ICLR 2024 · 37 次引用
- Doubly Robust Alignment for Large Language ModelsErhan Xu, Kai Ye, Hongyi Zhou, Luhan Zhu 等NeurIPS 2025 · 14 次引用
- DeAL: Decoding-time Alignment for Large Language ModelsJames Y. Huang, Sailik Sengupta, Daniele Bonadiman, Yi-An Lai 等ACL 2025
