UPDF AI

An Empathetic Conversational Agent with Attentional Mechanism

Raman Goel,Sachin Vashisht,Armaan Dhanda,Seba Susan

2021 · DOI: 10.1109/iccci50826.2021.9402337
International Conference on Computational Collective Intelligence · 21 Citations

Abstract

The number of people suffering from mental health issues like depression and anxiety have spiked enormously in recent times. Conversational agents like chatbots have emerged as an effective way for users to express their feelings and anxious thoughts and in turn obtain some empathetic reply that would relieve their anxiety. In our work, we construct two types of empathetic conversational agent models based on sequence-to-sequence modeling with and without attention mechanism. We implement the attention mechanism proposed by Bahdanau et al. for neural machine translation models. We train our model on the benchmark Facebook Empathetic Dialogue dataset and the BLEU scores are computed. Our empathetic conversational agent model incorporating attention mechanism generates better quality empathetic responses and is better in capturing human feelings and emotions in the conversation.