In this paper, we propose an end-to-end sentiment-aware conversational agent based on two models: a reply sentiment prediction model, which leverages the context of the dialogue to predict an appropriate sentiment for the agent to express in its reply; and a text generation model, which is conditioned on the predicted sentiment and the context of the dialogue, to produce a reply that is both context and sentiment appropriate. Additionally, we propose to use a sentiment classification model to evaluate the sentiment expressed by the agent during the development of the model. This allows us to evaluate the agent in an automatic way. Both automatic and human evaluation results show that explicitly guiding the text generation model with a pre-defined set of sentences leads to clear improvements, both regarding the expressed sentiment and the quality of the generated text.
翻译:在本文中,我们提议基于两种模式的终端到终端情绪意识对话媒介:一种回声感知预测模型,利用对话的背景来预测代理人在答复中表达的适当情绪;一种文本生成模型,以预测情绪和对话的背景为条件,提出既适合背景又适合情绪的答复;此外,我们提议使用情绪分类模型来评价代理人在模型开发期间表达的情绪;这使我们能够以自动的方式评价该制剂。自动和人力评价结果都表明,明确指导文本生成模型,并预先确定一套句子;在表达情绪和生成文本的质量方面,都会导致明显改进。