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

面向多风格可控生成的动态多奖励加权

Dynamic Multi-Reward Weighting for Multi-Style Controllable Generation

University of Minnesota(明尼苏达大学)

Karin de Langis, Ryan Koo, Dongyeop Kang

AI总结:

本文研究多风格可控文本生成中的奖励组合问题,提出基于判别器梯度幅度的动态多奖励加权方法,在保持语言质量的同时优于静态加权,并验证其在2风格和3风格控制中的有效性。

摘要:

文本风格表达多样化的信息,包括人际动态(例如正式程度)以及作者的情绪或态度(例如厌恶)。一个悬而未决的问题是,如何显式地控制语言模型,使其在生成文本时交织目标风格:例如,生成既负面又无毒性的文本。此类可控生成的一种方法是多目标强化学习(RL),但如何在奖励函数中最佳地组合多个目标仍是一个未解决的问题。在本文中,我们研究了多风格奖励的各种形式,包括判别器的校准输出以及基于判别器梯度幅度的动态加权。我们发现,我们提出的动态加权在风格控制方面优于静态加权方法,同时保持语言质量,并探索了其在2风格和3风格控制中的有效性。

英文摘要:

Textual style expresses a diverse set of information, including interpersonal dynamics (e.g., formality) and the author's emotions or attitudes (e.g., disgust). An open question is how language models can be explicitly controlled so that they weave together target styles when generating text: for example, to produce text that is both negative and non-toxic. One approach to such controlled generation is multi-objective reinforcement learning (RL), but how best to combine multiple objectives in a reward function is an open question. In this paper, we investigate various formulations of multi-style rewards, including calibrated outputs from discriminators and dynamic weighting by discriminator gradient magnitudes. We find that our proposed dynamic weighting outperforms static weighting approaches with respect to style control while maintaining linguistic quality, and we explore its effectiveness in 2- and 3-style control.

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

↑