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

面向受控语言生成的奖励模型低秩参数化研究

On the Low-Rank Parametrization of Reward Models for Controlled Language Generation

University of Amsterdam(阿姆斯特丹大学);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)

Sergey Troshin, Vlad Niculae, Antske Fokkens

AI总结:

本文研究受控文本生成中外部奖励模型的参数化选择,提出低秩参数化的奖励增强解码方法,在去毒化和情感控制任务上以更低计算成本达到与高秩方法相当的性能。

摘要:

在大规模数据上训练的语言模型在某些情况下会产生不当内容,需要经过仔细调优才能用于现实世界。我们重新审视一种有效且模块化的语言模型可控性方法,即由外部专家模型引导解码。特别地,我们聚焦于外部专家的参数化选择,强调低秩参数化与高秩参数化之间的差异。高秩专家被设计为在表示奖励时支持高灵活性,但会导致解码过程中更高的计算成本。然而,我们证明它们可能并未充分利用其全部灵活性。通过分析最近提出的奖励增强解码方法(RAD),该方法使用高秩专家模型,我们引入了一种更简单但更高效的低秩专家模型参数化方式,从而实现快速有效的引导解码。我们通过实验表明,在去毒化和情感控制任务上,低秩RAD与更灵活的RAD性能相当,同时每个生成token仅需调用一次奖励模型。

英文摘要:

Language models trained on large amounts of data are known to produce inappropriate content in some cases and require careful tuning to be used in the real world. We revisit an effective and modular approach for controllability of the language models, when an external expert model guides the decoding. Particularly, we zoom in into the parametrization choice of an external expert, highlighting the difference between low-rank and higher-rank parametrizations. Higher-rank experts are designed to support high flexibility when representing the rewards, leading to higher computational costs during decoding. However, we demonstrate that they might not use their full flexibility. By analyzing the recently proposed reward-augmented decoding approach (RAD), which uses a higher-rank expert model, we introduce a simpler but more efficient low-rank parametrization of the expert model enabling fast and effective guided decoding. We empirically show that the low-rank RAD performs on par with the more flexible RAD on a detoxification and a sentiment control task, while requiring only a single reward model call per generated token.

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

↑