arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.11258cs.CLcs.LGstat.ML
收藏

基于逆向强化学习的文本生成

Toward Diverse Text Generation with Inverse Reinforcement Learning

Fudan University(复旦大学)

Zhan Shi, Xinchi Chen, Xipeng Qiu, Xuanjing Huang

摘要:

文本生成是自然语言处理中的一项重要任务。最近,已经提出了几种对抗生成模型来改善文本生成中的暴露偏差问题。虽然这些模型取得了很大的成功,但它们仍然存在着奖励稀疏和模式坍塌的问题。为了解决这两个问题,在本文中,我们采用逆强化学习(IRL)的文本生成。具体而言,IRL框架在训练数据上学习奖励函数,然后学习最优策略以最大化期望的总奖励。与对抗模型类似,IRL中的奖励和策略函数交替优化。我们的方法有两个优点:(1)奖励函数可以产生更密集的奖励信号。(2)通过“熵正则化”策略梯度训练的生成策略,鼓励生成更多样化的文本。实验结果表明,我们提出的方法可以生成更高质量的文本比以前的方法。

英文摘要:

Text generation is a crucial task in NLP. Recently, several adversarial generative models have been proposed to improve the exposure bias problem in text generation. Though these models gain great success, they still suffer from the problems of reward sparsity and mode collapse. In order to address these two problems, in this paper, we employ inverse reinforcement learning (IRL) for text generation. Specifically, the IRL framework learns a reward function on training data, and then an optimal policy to maximum the expected total reward. Similar to the adversarial models, the reward and policy function in IRL are optimized alternately. Our method has two advantages: (1) the reward function can produce more dense reward signals. (2) the generation policy, trained by "entropy regularized" policy gradient, encourages to generate more diversified texts. Experiment results demonstrate that our proposed method can generate higher quality texts than the previous methods.

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

↑