Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

ASEM: Enhancing Empathy in Chatbot through Attention-based Sentiment and Emotion Modeling (2402.16194v1)

Published 25 Feb 2024 in cs.CL

Abstract: Effective feature representations play a critical role in enhancing the performance of text generation models that rely on deep neural networks. However, current approaches suffer from several drawbacks, such as the inability to capture the deep semantics of language and sensitivity to minor input variations, resulting in significant changes in the generated text. In this paper, we present a novel solution to these challenges by employing a mixture of experts, multiple encoders, to offer distinct perspectives on the emotional state of the user's utterance while simultaneously enhancing performance. We propose an end-to-end model architecture called ASEM that performs emotion analysis on top of sentiment analysis for open-domain chatbots, enabling the generation of empathetic responses that are fluent and relevant. In contrast to traditional attention mechanisms, the proposed model employs a specialized attention strategy that uniquely zeroes in on sentiment and emotion nuances within the user's utterance. This ensures the generation of context-rich representations tailored to the underlying emotional tone and sentiment intricacies of the text. Our approach outperforms existing methods for generating empathetic embeddings, providing empathetic and diverse responses. The performance of our proposed model significantly exceeds that of existing models, enhancing emotion detection accuracy by 6.2% and lexical diversity by 1.4%.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (27)
  1. Multi-task learning for multi-modal emotion recognition and sentiment analysis. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 370–379, Minneapolis, Minnesota. Association for Computational Linguistics.
  2. Simon Baron-Cohen. 2006. Empathy. Psychologist, 19(9):536–537.
  3. Specializing static and contextual embeddings in the medical domain using knowledge graphs: Let’s keep it simple. In Proceedings of the 13th International Workshop on Health Text Mining and Information Analysis (LOUHI), pages 69–80, Abu Dhabi, United Arab Emirates (Hybrid). Association for Computational Linguistics.
  4. SEPRG: Sentiment aware emotion controlled personalized response generation. In Proceedings of the 14th International Conference on Natural Language Generation, pages 353–363, Aberdeen, Scotland, UK. Association for Computational Linguistics.
  5. Emotion helps sentiment: A multi-task model for sentiment and emotion analysis. In 2019 International Joint Conference on Neural Networks (IJCNN), pages 1–8. IEEE.
  6. DailyDialog: A manually labelled multi-turn dialogue dataset. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 986–995, Taipei, Taiwan. Asian Federation of Natural Language Processing.
  7. MoEL: Mixture of empathetic listeners. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), Hong Kong, China. Association for Computational Linguistics.
  8. How NOT to evaluate your dialogue system: An empirical study of unsupervised evaluation metrics for dialogue response generation. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 2122–2132, Austin, Texas. Association for Computational Linguistics.
  9. Kim Cheng Patrick Low. 2012. Being empathetic, the way of confucius. Educational Research (ISSN: 2141-5161) Vol, 3(11):818–826.
  10. MIME: MIMicking emotions for empathetic response generation. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 8968–8979, Online. Association for Computational Linguistics.
  11. Empathy-driven Arabic conversational chatbot. In Proceedings of the Fifth Arabic Natural Language Processing Workshop, pages 58–68, Barcelona, Spain (Online). Association for Computational Linguistics.
  12. Marret K Noordewier and Seger M Breugelmans. 2013. On the valence of surprise. Cognition & emotion, 27(7):1326–1334.
  13. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th annual meeting of the Association for Computational Linguistics, pages 311–318.
  14. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pages 1532–1543.
  15. Robert Plutchik. 1980. A general psychoevolutionary theory of emotion. In Theories of emotion, pages 3–33. Elsevier.
  16. I know the feeling: Learning to converse with empathy.
  17. Towards empathetic open-domain conversation models: A new benchmark and dataset. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 5370–5381, Florence, Italy. Association for Computational Linguistics.
  18. Cem: Commonsense-aware empathetic response generation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 11229–11237.
  19. ChatEval: A tool for chatbot evaluation. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations), pages 60–65, Minneapolis, Minnesota. Association for Computational Linguistics.
  20. Yujia Song. 2015. How to be a proponent of empathy. Ethical Theory and Moral Practice, 18(3):437–451.
  21. Effective collaborative representation learning for multilabel text categorization. IEEE Transactions on Neural Networks and Learning Systems.
  22. Empbot: A t5-based empathetic chatbot focusing on sentiments. arXiv preprint arXiv:2111.00310.
  23. Personalizing dialogue agents: I have a dog, do you have pets too? In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2204–2213, Melbourne, Australia. Association for Computational Linguistics.
  24. DIALOGPT : Large-scale generative pre-training for conversational response generation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pages 270–278, Online. Association for Computational Linguistics.
  25. CASE: Aligning coarse-to-fine cognition and affection for empathetic response generation. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8223–8237, Toronto, Canada. Association for Computational Linguistics.
  26. The design and implementation of xiaoice, an empathetic social chatbot. Computational Linguistics, 46(1):53–93.
  27. Multi-party empathetic dialogue generation: A new task for dialog systems. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 298–307.
User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (3)
  1. Omama Hamad (1 paper)
  2. Ali Hamdi (27 papers)
  3. Khaled Shaban (4 papers)
Citations (3)