arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.08796cs.LGcs.AI
收藏

鲁棒多目标控制解码大型语言模型

Robust Multi-Objective Controlled Decoding of Large Language Models

University College London(伦敦大学学院);Ulsan National Institute of Science and Technology(釜山国立科学技术研究所);University of Basel(巴塞尔大学);University College London AI Centre(伦敦大学学院人工智能中心)

Seongho Son, William Bankes, Sangwoong Yoon, Shyam Sundhar Ramesh, Xiaohang Tang, Ilija Bogunovic

AI总结:

本文提出RMOD算法,通过最大化最坏情况奖励实现鲁棒多目标解码,有效提升大型语言模型在多个人类目标上的对齐性能。

摘要:

我们引入了鲁棒多目标解码(RMOD),这是一种新的推理时间算法,通过最大化最坏情况奖励来使大型语言模型(LLMs)与多个人类目标(如遵循指令、有用性、安全性)对齐。RMOD将鲁棒解码问题表述为一个对抗性计算奖励权重与采样策略之间的最大化双重游戏,该问题通过纳什均衡解决。我们证明该游戏可减少为凸优化问题以确定最坏情况奖励权重,最优采样策略可解析得出。对于实际应用,我们提出了一种针对当前LLMs的高效RMOD算法,其计算开销相比标准非鲁棒控制解码方法最小。在一系列流行的对齐数据集上,最多有10个目标的实验结果展示了RMOD及其简化版本的有效性,一致在最坏情况奖励和胜率上优于基线。

英文摘要:

We introduce Robust Multi-Objective Decoding (RMOD), a novel inference-time algorithm that robustly aligns Large Language Models (LLMs) to multiple human objectives (e.g., instruction-following, helpfulness, safety) by maximizing the worst-case rewards. RMOD formulates the robust decoding problem as a maximin two-player game between adversarially computed reward weights and the sampling policy, solvable through a Nash equilibrium. We demonstrate that this game reduces to a convex optimization problem to identify the worst-case reward weights, with the optimal sampling policy analytically derived. For practical applications, we propose an efficient algorithm of RMOD tailored for contemporary LLMs, introducing minimal computational overhead compared to standard non-robust Controlled Decoding methods. Experimental results across a range of popular alignment datasets with up to 10 objectives show the effectiveness of RMOD and its distilled version, consistently outperforming baselines in worst-case rewards and win rates.

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

↑