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

神经对话生成的另一种多样性促进目标函数

Another Diversity-Promoting Objective Function for Neural Dialogue Generation

RIKEN(理化学研究所)

Ryo Nakamura, Katsuhito Sudoh, Koichiro Yoshino, Satoshi Nakamura

摘要:

虽然基于生成的对话系统已经被广泛研究,但是大多数现有系统的响应生成具有非常低的延迟。这个问题最可能的原因是最大似然估计(MLE)和Softmax交叉熵(SCE)损失。MLE训练模型从大量的生成候选中生成最频繁的响应,尽管在实际对话中有基于上下文的各种响应。在本文中,我们提出了一个新的目标函数,称为逆令牌频率(ITF)损失,它单独缩放频繁令牌类的较小损失和罕见令牌类的较大损失。该函数鼓励模型生成稀有令牌,而不是频繁令牌。它不会使模型复杂化,并且由于我们只更换目标函数,因此它的训练是稳定的。在OpenSubtitles对话数据集上,我们的损失模型建立了最先进的DIST-1 7.56,这是一元语法多样性得分,同时保持了良好的BLEU-1得分。在日本的Twitter回复数据集上,我们的损失模型达到了DIST-1分数,与地面事实相当。

英文摘要:

Although generation-based dialogue systems have been widely researched, the response generations by most existing systems have very low diversities. The most likely reason for this problem is Maximum Likelihood Estimation (MLE) with Softmax Cross-Entropy (SCE) loss. MLE trains models to generate the most frequent responses from enormous generation candidates, although in actual dialogues there are various responses based on the context. In this paper, we propose a new objective function called Inverse Token Frequency (ITF) loss, which individually scales smaller loss for frequent token classes and larger loss for rare token classes. This function encourages the model to generate rare tokens rather than frequent tokens. It does not complicate the model and its training is stable because we only replace the objective function. On the OpenSubtitles dialogue dataset, our loss model establishes a state-of-the-art DIST-1 of 7.56, which is the unigram diversity score, while maintaining a good BLEU-1 score. On a Japanese Twitter replies dataset, our loss model achieves a DIST-1 score comparable to the ground truth.

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

↑