iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://unpaywall.org/10.1007/978-3-031-30675-4_46
Optimizing Empathetic Response by Generating and Integrating Emotion Feedback and Topic Discussion | SpringerLink
Skip to main content

Optimizing Empathetic Response by Generating and Integrating Emotion Feedback and Topic Discussion

  • Conference paper
  • First Online:
Database Systems for Advanced Applications (DASFAA 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13945))

Included in the following conference series:

  • 1898 Accesses

Abstract

Expressing empathy is a trait in human daily conversation, in which people are willing to give responses containing appropriate emotions and topics on the basis of understanding the interlocutor’s situation. However, empathetic dialogue models trained by data-driven training method tend to generate general responses, which are usually monotonous and difficult to infuse emotions and topics concurrently. To solve this issue, we propose a novel model that generates two sub-responses, namely, emotion feedback and topic discussion, then integrates them to optimize empathetic responses. Specifically, in the sub-response generation stage, we introduce emotion lexicon and commonsense knowledge to make sub-responses focus on emotional words and topic-related words respectively, which drives the sub-responses to be contextually related from different perspectives. Afterward, we utilize cross attention to integrate the global information to optimize the final response. Our model is trained on the pre-trained language model BART. Experimental results show that our method can generate responses involving emotion and topic well, and compared with existing methods, empathy and relevance are improved. Our code is available at https://github.com/outsider-lj/edsgi_bart.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://huggingface.co/facebook/bart-base.

References

  1. Bosselut, A., Rashkin, H., Sap, M., Malaviya, C., Celikyilmaz, A., Choi, Y.: COMET: commonsense transformers for automatic knowledge graph construction. In: Proceedings of the 57th Conference of the Association for Computational Linguistics, pp. 4762–4779 (2019)

    Google Scholar 

  2. Gao, J., Liu, Y., Deng, H., Wang, W., Du, Y.C.J., Xu, R.: Improving empathetic response generation by recognizing emotion cause in conversations. In: Findings of the Association for Computational Linguistics: EMNLP2021, pp. 807–819 (2021)

    Google Scholar 

  3. Hwang, J.D., et al.: COMET-ATOMIC 2020: On symbolic and neural commonsense knowledge graphs. In: Proceedings of the 35th AAAI Conference on Artificial Intelligence, pp. 6384–6392 (2021)

    Google Scholar 

  4. Jang, E., Gu, S., Poole, B.: Categorical reparameterization with Gumbel-Softmax. In: Proceedings of the 5th International Conference on Learning Representations (2017)

    Google Scholar 

  5. Kim, H., Kim, B., Kim, G.: Perspective-taking and pragmatics for generating empathetic responses focused on emotion causes. In: Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 2227–2240 (2021)

    Google Scholar 

  6. Lewis, M., et al.: BART: denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 7871–7880 (2019)

    Google Scholar 

  7. Li, J., Galley, M., Brockett, C., Gao, J., Dolan, B.: A diversity-promoting objective function for neural conversation models. In: Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 110–119 (2016)

    Google Scholar 

  8. Li, Q., Chen, H., Ren, Z., Ren, P., Tu, Z., Chen, Z.: EmpDG: multi-resolution interactive empathetic dialogue generation. In: Proceedings of the 28th International Conference on Computational Linguistics, pp. 4454–4466 (2020)

    Google Scholar 

  9. Li, Q., Li, P., Ren, Z., Ren, P., Chen, Z.: Knowledge bridging for empathetic dialogue generation. In: Proceedings of the 36th AAAI Conference on Artificial Intelligence, AAAI 2022, pp. 10993–11001 (2022)

    Google Scholar 

  10. Li, Y., et al.: Towards an online empathetic chatbot with emotion causes. In: Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 2041–2045 (2021)

    Google Scholar 

  11. Li, Y., Su, H., Shen, X., Li, W., Cao, Z., Niu, S.: DailyDialog: a manually labelled multi-turn dialogue dataset. In: Proceedings of the 8th International Joint Conference on Natural Language Processing, pp. 986–995 (2017)

    Google Scholar 

  12. Lin, Z., Madotto, A., Shin, J., Xu, P., Fung, P.: 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 (EMNLPIJCNLP), pp. 121–132 (2019)

    Google Scholar 

  13. Lin, Z., et al.: CAiRE: an end-to-end empathetic chatbot. In: Proceedings of the 34th AAAI Conference on Artificial Intelligence, pp. 13622–13623 (2020)

    Google Scholar 

  14. Liu, W., et al.: K-BERT: enabling language representation with knowledge graph. In: Proceedings of the 34th AAAI Conference on Artificial Intelligence, pp. 2901–2908 (2020)

    Google Scholar 

  15. Liu, Y., Maier, W., Minker, W., Ultes, S.: Empathetic dialogue generation with pre-trained RoBERTa-GPT2 and external knowledge. arXiv preprint arXiv:2109.03004 (2021)

  16. Liu, Y., et al.: RoBERTa: a robustly optimized BERT pretraining approach. arXiv preprint arXiv:1907.11692 (2019)

  17. Liu, Y., Du, J., Li, X., Xu, R.: Generating empathetic responses by injecting anticipated emotion. In: Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2021, pp. 7403–7407 (2021)

    Google Scholar 

  18. Majumder, N., et al.: MIME: MIMicking emotions for empathetic response generation. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, pp. 8968–8979 (2020)

    Google Scholar 

  19. Mohammad, S.: Obtaining reliable human ratings of valence, arousal, and dominance for 20, 000 English words. In: Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, pp. 174–184 (2018)

    Google Scholar 

  20. Mohammad, S.: Word affect intensities. In: Proceedings of the 11th International Conference on Language Resources and Evaluation (2018)

    Google Scholar 

  21. Papineni, K., Roukos, S., Ward, T., Zhu, W.: BLEU: a method for automatic evaluation of machine translation. In: Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pp. 311–318 (2002)

    Google Scholar 

  22. Radford, A., Wu, J., Child, R., Luan, D., Amodei, D., Sutskever, I.: Language models are unsupervised multitask learners. OpenAI blog 1(8), 9 (2019)

    Google Scholar 

  23. Raffel, C., et al.: Exploring the limits of transfer learning with a unified text-to-text transformer. Mach. Learn. Res. 21, 1–67 (2020)

    Google Scholar 

  24. Rashkin, H., Smith, E.M., Li, M., Boureau, Y.L.: Towards empathetic opendomain conversation models: a new benchmark and dataset. In: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 5370–5381 (2019)

    Google Scholar 

  25. Sabour, S., Zheng, C., Huang, M.: CEM: commonsense-aware empathetic response generation. In: Proceedings of the 36th AAAI Conference on Artificial Intelligence, AAAI 2022, pp. 11229–11237. AAAI Press (2022)

    Google Scholar 

  26. Shen, L., Zhang, J., Ou, J., Zhao, X., Zhou, J.: Constructing emotional consensus and utilizing unpaired data for empathetic dialogue generation. In: Findings of the Association for Computational Linguistics: EMNLP 2021, pp. 3124–3134 (2021)

    Google Scholar 

  27. Shin, J., Xu, P., Madotto, A., Fung, P.: Generating empathetic responses by looking ahead the user’s sentiment. In: Proceedings of the 2020 IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 7989–7993 (2020)

    Google Scholar 

  28. Singer, T., Lamm, C.: The social neuroscience of empathy. Annal. New York Acad. Sci. 1156, 81–96 (2010)

    Article  Google Scholar 

  29. Speer, R., Chin, J., Havasi, C.: ConceptNet 5.5: an open multilingual graph of general knowledge. In: Proceedings of the 31th AAAI Conference on Artificial Intelligence, pp. 4444–4451 (2017)

    Google Scholar 

  30. Vaswani, A., et al.: Attention is all you need. In: Advances in Neural Information Processing Systems, pp. 5998–6008 (2017)

    Google Scholar 

  31. Wang, Y.H., Hsu, J.H., Wu, C.H., Yang, T.H.: Transformer-based empathetic response generation using dialogue situation and advanced-level definition of empathy. In: Proceedings of the 12th International Symposium on Chinese Spoken Language Processing, pp. 1–5 (2021)

    Google Scholar 

  32. Welivita, A., Xie, Y., Pu, P.: A large-scale dataset for empathetic response generation. In: Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 1251–1264 (2021)

    Google Scholar 

  33. Xia, Y., et al.: Deliberation networks: sequence generation beyond one-pass decoding. In: Proceedings of Advances in Neural Information Processing Systems 30, pp. 1784–1794 (2017)

    Google Scholar 

  34. Zandie, R., Mahoor, M.H.: Emptransfo: A multi-head transformer architecture for creating empathetic dialog systems. In: Proceedings of the 33th International Florida Artificial Intelligence Research Society Conference, pp. 276–281 (2020)

    Google Scholar 

  35. Zaranis, E., Paraskevopoulos, G., Katsamanis, A., Potamianos, A.: EmpBot: A t5-based empathetic chatbot focusing on sentiments. arXiv preprint arXiv:2111.00310 (2021)

  36. Zhang, Y., et al.: 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, ACL 2020, pp. 270–278 (2020)

    Google Scholar 

  37. Zhong, P., Zhang, C., Wang, H., Liu, Y., Miao, C.: Towards persona-based empathetic conversational models. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, pp. 6556–6566 (2020)

    Google Scholar 

Download references

Acknowledgements

This work is supported by the National Natural Science Foundation of China (61672144, 61872072).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Donghong Han .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Li, J., Han, D., Feng, S., Zhang, Y. (2023). Optimizing Empathetic Response by Generating and Integrating Emotion Feedback and Topic Discussion. In: Wang, X., et al. Database Systems for Advanced Applications. DASFAA 2023. Lecture Notes in Computer Science, vol 13945. Springer, Cham. https://doi.org/10.1007/978-3-031-30675-4_46

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-30675-4_46

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-30674-7

  • Online ISBN: 978-3-031-30675-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics