arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.06597cs.LGcs.CLstat.ML
收藏

用于生成带有情感的响应的简单双解码器模型

A Simple Dual-decoder Model for Generating Response with Sentiment

Peking University(北京大学)

Xiuyu Wu, Yunfang Wu

摘要:

如何产生类人的反应是人工智能面临的最具挑战性的任务之一。在实际应用中,不同的人在阅读同一篇文章后,可能会根据自己的经历和态度写下积极或消极的情绪。为了模拟这个过程,我们提出了一个简单但有效的双解码器模型,通过将两个情感解码器连接到一个编码器来生成具有特定情感的响应。为了支持这种模型训练,我们构建了一个新的会话数据集,其形式为(post,resp1,resp2),其中两个响应包含相反的情绪。实验结果表明,双解码器模型可以根据目标情感生成不同的响应,在情感准确度和词多样性方面较传统的单解码器模型有显著的性能提升。我们将公开我们的数据和代码,以供进一步研究。

英文摘要:

How to generate human like response is one of the most challenging tasks for artificial intelligence. In a real application, after reading the same post different people might write responses with positive or negative sentiment according to their own experiences and attitudes. To simulate this procedure, we propose a simple but effective dual-decoder model to generate response with a particular sentiment, by connecting two sentiment decoders to one encoder. To support this model training, we construct a new conversation dataset with the form of (post, resp1, resp2) where two responses contain opposite sentiment. Experiment results show that our dual-decoder model can generate diverse responses with target sentiment, which obtains significant performance gain in sentiment accuracy and word diversity over the traditional single-decoder model. We will make our data and code publicly available for further study.

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

↑