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

通过对一致性和多样性进行建模、过滤和优化来改善对话

Better Conversations by Modeling,Filtering,and Optimizing for Coherence and Diversity

Heriot-Watt University(赫瑞-瓦特大学)

Xinnuo Xu, Ondřej Dušek, Ioannis Konstas, Verena Rieser

摘要:

我们对现有的开放域会话代理的编码器-解码器模型进行了三次增强,旨在有效地建模一致性并促进输出多样性:(1)我们引入了一个连贯性的度量,作为对话上下文和生成的响应之间的GloVe嵌入相似性,(2)我们基于连贯性的度量过滤我们的训练语料库,以获得主题连贯和词汇多样的上下文-响应对,(3)然后,我们使用条件变分自编码器模型来训练响应生成器,该条件变分自编码器模型将一致性度量作为潜在变量,并使用上下文门来保证主题与上下文的一致性并促进词汇多样性。在OpenSubtitles语料库上的实验表明,在BLEU分数以及一致性和多样性指标方面,竞争性神经模型有了实质性的改进。

英文摘要:

We present three enhancements to existing encoder-decoder models for open-domain conversational agents, aimed at effectively modeling coherence and promoting output diversity: (1) We introduce a measure of coherence as the GloVe embedding similarity between the dialogue context and the generated response, (2) we filter our training corpora based on the measure of coherence to obtain topically coherent and lexically diverse context-response pairs, (3) we then train a response generator using a conditional variational autoencoder model that incorporates the measure of coherence as a latent variable and uses a context gate to guarantee topical consistency with the context and promote lexical diversity. Experiments on the OpenSubtitles corpus show a substantial improvement over competitive neural models in terms of BLEU score as well as metrics of coherence and diversity.

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

↑