Social chatbots have gained immense popularity, and their appeal lies not just in their capacity to respond to the diverse requests from users, but also in the ability to develop an emotional connection with users. To further develop and promote social chatbots, we need to concentrate on increasing user interaction and take into account both the intellectual and emotional quotient in the conversational agents. In this paper, we propose a multi-task framework that jointly identifies the emotion of a given dialogue and generates response in accordance to the identified emotion. We employ a BERT based network for creating an empathetic system and use a mixed objective function that trains the end-to-end network with both the classification and generation loss. Experimental results show that our proposed framework outperforms current state-of-the-art models
翻译:社交聊天室已获得极大受欢迎,他们的吸引力不仅在于他们有能力回应用户的各种要求,还在于他们有能力发展与用户的情感联系。为了进一步发展和促进社交聊天室,我们需要集中力量增加用户互动,并考虑到谈话代理人的智力和情感商数。在本文中,我们提出了一个多任务框架,共同确定特定对话的情感,并根据已查明的情感作出响应。我们使用一个基于BERT的网络来创建同情系统,并使用混合目标功能,用分类和一代损失来培训端对端网络。实验结果显示,我们提议的框架优于目前最先进的模式。