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

基于强化学习的可控长度控制神经网络编解码器

Controllable Length Control Neural Encoder-Decoder via Reinforcement Learning

ShanghaiTech University(上海科技大学);Chinese Academy of Science(中国科学院)

Junyi Bian, Baojun Lin, Ke Zhang, Zhaohui Yan, Hong Tang, Yonghe Zhang

摘要:

在神经语言生成中控制输出长度在许多情况下是有价值的,特别是对于具有长度约束的任务。一个具有较强长度控制能力的模型可以产生更具体长度的句子,但它通常会牺牲所生成句子的语义准确性。在这里,我们表示可控长度控制(CLC)的概念之间的权衡长度控制能力和语义准确性的语言生成模型。更具体地说,CLC是改变模型的长度控制能力,以生成相应质量的句子。这在实际应用中,当长度控制能力和输出质量要求具有不同的优先级时,或在模型训练期间克服长度控制的不稳定性时是有意义的。在本文中,我们提出了两个强化学习(RL)的方法来调整长度控制模型的长度控制能力和语义准确性之间的权衡。结果表明,我们的RL方法提高了在广泛的目标长度的分数,并实现了CLC的目标。此外,两个模型LenMC和LenLInit修改以前的长度控制模型,提出了获得更好的性能摘要任务,同时仍然保持控制长度的能力。

英文摘要:

Controlling output length in neural language generation is valuable in many scenarios, especially for the tasks that have length constraints. A model with stronger length control capacity can produce sentences with more specific length, however, it usually sacrifices semantic accuracy of the generated sentences. Here, we denote a concept of Controllable Length Control (CLC) for the trade-off between length control capacity and semantic accuracy of the language generation model. More specifically, CLC is to alter length control capacity of the model so as to generate sentence with corresponding quality. This is meaningful in real applications when length control capacity and outputs quality are requested with different priorities, or to overcome unstability of length control during model training. In this paper, we propose two reinforcement learning (RL) methods to adjust the trade-off between length control capacity and semantic accuracy of length control models. Results show that our RL methods improve scores across a wide range of target lengths and achieve the goal of CLC. Additionally, two models LenMC and LenLInit modified on previous length-control models are proposed to obtain better performance in summarization task while still maintain the ability to control length.

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

↑