arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1809.01694cs.CL
收藏

基于词汇预测的加速强化学习句子生成

Accelerated Reinforcement Learning for Sentence Generation by Vocabulary Prediction

Salesforce Research(Salesforce研究院);The University of Tokyo(东京大学)

Kazuma Hashimoto, Yoshimasa Tsuruoka

摘要:

基于强化学习的句子生成的一个主要障碍是动作空间太大,其大小等于目标语言的词汇量。为了提高强化学习的效率,提出了一种基于动态词汇预测的动作空间缩减方法。我们的方法首先为每个输入预测一个固定大小的小词汇表,以生成其目标句子。然后在监督和强化学习步骤以及测试时使用输入特定词汇表。在我们对六个机器翻译和两个图像描述数据集的实验中,我们的方法实现了更快的强化学习($\sim$快2.7倍),GPU内存($\sim$少2.3倍)比全词汇对应。使用我们的方法的强化学习始终导致BLEU分数的显着改善,并且分数等于或优于使用完整词汇表的基线,在CPU上具有更快的解码时间($\sim$快3倍)。

英文摘要:

A major obstacle in reinforcement learning-based sentence generation is the large action space whose size is equal to the vocabulary size of the target-side language. To improve the efficiency of reinforcement learning, we present a novel approach for reducing the action space based on dynamic vocabulary prediction. Our method first predicts a fixed-size small vocabulary for each input to generate its target sentence. The input-specific vocabularies are then used at supervised and reinforcement learning steps, and also at test time. In our experiments on six machine translation and two image captioning datasets, our method achieves faster reinforcement learning ($\sim$2.7x faster) with less GPU memory ($\sim$2.3x less) than the full-vocabulary counterpart. The reinforcement learning with our method consistently leads to significant improvement of BLEU scores, and the scores are equal to or better than those of baselines using the full vocabularies, with faster decoding time ($\sim$3x faster) on CPUs.

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

↑