arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.12339cs.LGcs.AI
收藏

BSO:安全对齐是密度比匹配

BSO: Safety Alignment Is Density Ratio Matching

Hanoi University of Science and Technology(河内科学技术大学);Deakin University(德金大学);Max Planck Research School for Intelligent Systems(马克斯·普朗克智能系统研究学校);VinUniversity(文大学);Monash University(墨尔本大学)

Tien-Phat Nguyen, Truong Nguyen, Thin Nguyen, Duy Minh Ho Nguyen, Ngoc-Thanh Dinh, Trung Le

AI总结:

本文提出BSO方法,通过密度比匹配实现安全对齐,简化了安全对齐流程,无需辅助模型,且能提升安全与有用性之间的权衡。

摘要:

对齐语言模型的有用性和安全性通常需要复杂的流程,包括分离奖励和成本模型、在线强化学习和对偶更新。最近的直接偏好优化方法简化了训练,但通过多阶段程序或启发式边距项来引入安全性,缺乏系统性的推导。我们证明最优安全策略的似然比具有闭式分解,将安全性对齐转化为密度比匹配问题。最小化数据与模型比之间的Bregman散度得到Bregman安全优化(BSO),是一种单阶段损失函数家族,每个由凸生成器诱导,能证明恢复最优安全策略。BSO既通用又简单:不需要辅助模型,仅引入一个超参数,且能恢复现有安全意识方法。在安全对齐基准测试中,BSO一致提升了安全与有用性之间的权衡。

英文摘要:

Aligning language models for both helpfulness and safety typically requires complex pipelines-separate reward and cost models, online reinforcement learning, and primal-dual updates. Recent direct preference optimization approaches simplify training but incorporate safety through ad-hoc modifications such as multi-stage procedures or heuristic margin terms, lacking a principled derivation. We show that the likelihood ratio of the optimal safe policy admits a closed-form decomposition that reduces safety alignment to a density ratio matching problem. Minimizing Bregman divergences between the data and model ratios yields Bregman Safety Optimization (BSO), a family of single-stage loss functions, each induced by a convex generator, that provably recover the optimal safe policy. BSO is both general and simple: it requires no auxiliary models, introduces only one hyperparameter beyond standard preference optimization, and recovers existing safety-aware methods as special cases. Experiments across safety alignment benchmarks show that BSO consistently improves the safety-helpfulness trade-off.

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

↑