arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.11711cs.CL
收藏

MORL-Prompt:面向离散提示优化的多目标强化学习实证分析

MORL-Prompt: An Empirical Analysis of Multi-Objective Reinforcement Learning for Discrete Prompt Optimization

University of California San Diego(加州大学圣地亚哥分校)

Yasaman Jafari, Dheeraj Mekala, Rose Yu, Taylor Berg-Kirkpatrick

AI总结:

本文研究离散提示优化中多奖励冲突问题,实证比较多目标RL方法,发现直接优化Pareto奖励曲面体积更能平衡风格迁移和机器翻译任务中的三项奖励。

摘要:

基于强化学习(RL)的技术可用于搜索提示,这些提示在输入目标语言模型时,能够最大化一组用户指定的奖励函数。然而,在许多目标应用中,自然奖励函数之间存在冲突——例如,风格迁移任务中的内容保留与风格匹配。现有技术侧重于最大化奖励函数的平均值,但这并不一定能产生在各奖励之间实现平衡的提示;这一问题在多目标优化和鲁棒优化文献中已得到充分研究。本文针对一种新场景——基于RL的离散提示优化——对若干经过适配的现有多目标优化技术进行了实证比较。我们比较了两种优化Pareto奖励曲面体积的方法,以及一种选择可同时改善所有奖励的更新方向的方法。我们在两个NLP任务上评估性能:风格迁移和机器翻译,每个任务均使用三个相互竞争的奖励函数。实验表明,与试图寻找单调更新方向的方法相比,直接优化Pareto奖励曲面体积的多目标方法表现更好,并在所有奖励之间取得了更佳平衡。

英文摘要:

RL-based techniques can be employed to search for prompts that, when fed into a target language model, maximize a set of user-specified reward functions. However, in many target applications, the natural reward functions are in tension with one another -- for example, content preservation vs. style matching in style transfer tasks. Current techniques focus on maximizing the average of reward functions, which does not necessarily lead to prompts that achieve balance across rewards -- an issue that has been well-studied in the multi-objective and robust optimization literature. In this paper, we conduct an empirical comparison of several existing multi-objective optimization techniques adapted to this new setting: RL-based discrete prompt optimization. We compare two methods optimizing the volume of the Pareto reward surface and one method that chooses an update direction that benefits all rewards simultaneously. We evaluate performance on two NLP tasks: style transfer and machine translation, each using three competing reward functions. Our experiments demonstrate that multi-objective methods that directly optimize the volume of the Pareto reward surface perform better and achieve a better balance of all rewards than those that attempt to find monotonic update directions.

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

↑