Skip to main content

Modelling Emotion Dynamics in Chatbots with Neural Hawkes Processes

  • Conference paper
  • First Online:
  • 774 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 13101))

Abstract

Conversation partners tend to stick to a particular emotional state unless some external motivation excited them to change that state. Usually, the excitation comes from the other conversation partner. This preliminary study investigates how an Artificial Intelligence model can provide excitation for the other partner during a dyadic text-based conversation. As a first step, we propose a Neural Emotion Hawkes Process architecture (NEHP) for predicting future emotion dynamics of the other conversation partner. Moreover, we hypothesize that NEHP can facilitate learning of distinguishable consequences of different excitation strategies, and thus it allows for goal-directed excitation behavior by integrating with chatbot agents. We evaluate our preliminary model on two public datasets, each with different emotion taxonomies. Our preliminary results show promising emotion prediction accuracy over future conversation turns. Furthermore, our model captures meaningful excitation without being trained on explicit excitation ground-truths as practiced in earlier studies.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   84.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

Learn about institutional subscriptions

References

  1. Yang, S.-H., Long, B., Smola, A., Sadagopan, N., Zheng, Z., Zha, H.: Like like alike: joint friendship and interest propagation in social networks. In: Proceedings of the 20th International Conference on World Wide Web, pp. 537–546 (2011)

    Google Scholar 

  2. Cappers, B.C.M., van Wijk, J.J.: Exploring multivariate event sequences using rules, aggregations, and selections. IEEE Trans. Vis. Comput. Graph. 24(1), 532–541 (2017)

    Article  Google Scholar 

  3. Ross, S.M.: Stochastic Processes, vol. 2. Wiley, New York (1996)

    Google Scholar 

  4. Hawkes, A.G.: Spectra of some self-exciting and mutually exciting point processes. Biometrika 58(1), 83–90 (1971)

    Article  MathSciNet  Google Scholar 

  5. Cox, D.R., Isham, V.: Point Processes, vol. 12. CRC Press (1980)

    Google Scholar 

  6. Xiao, S., Yan, J., Yang, X., Zha, H., Chu, S.: Modeling the intensity function of point process via recurrent neural networks. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 31 (2017)

    Google Scholar 

  7. Du, N., Dai, H., Trivedi, R., Upadhyay, U., Gomez-Rodriguez, M., Song, L.: Recurrent marked temporal point processes: embedding event history to vector. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1555–1564 (2016)

    Google Scholar 

  8. Zhao, J., et al.: Do RNN and LSTM have long memory? In: International Conference on Machine Learning, pp. 11365–11375. PMLR (2020)

    Google Scholar 

  9. Zhang, Q., Lipani, A., Kirnap, O., Yilmaz, E.: Self-attentive Hawkes process. In: International Conference on Machine Learning, pp. 11183–11193. PMLR (2020)

    Google Scholar 

  10. Kuppens, P., Allen, N.B., Sheeber, L.B.: Emotional inertia and psychological maladjustment. Psychol. Sci. 21(7), 984–991 (2010)

    Article  Google Scholar 

  11. Li, R., Wu, Z., Jia, J., Li, J., Chen, W., Meng, H.: Inferring user emotive state changes in realistic human-computer conversational dialogs. In: Proceedings of the 26th ACM International Conference on Multimedia, pp. 136–144 (2018)

    Google Scholar 

  12. Danescu-Niculescu-Mizil, C., Lee, L.: Chameleons in imagined conversations: a new approach to understanding coordination of linguistic style in dialogs. arXiv preprint arXiv:1106.3077 (2011)

  13. Gopalakrishnan, K., et al.: Topical-chat: towards knowledge-grounded open-domain conversations. In: INTERSPEECH, pp. 1891–1895 (2019)

    Google Scholar 

  14. Turner, J.H., Stets, J.E.: Sociological theories of human emotions. Ann. Rev. Sociol. 32, 25–52 (2006)

    Article  Google Scholar 

  15. Poria, S., et al.: Recognizing emotion cause in conversations. Cogn. Comput. 13(5), 1317–1332 (2021). https://doi.org/10.1007/s12559-021-09925-7

    Article  Google Scholar 

Download references

Acknowledgments

This work is part of the Chatbot Interaction Design project, funded by the Norwegian Research Council. The project is a collaboration between SINTEF and the Center for Artificial Intelligence Research (CAIR) in Norway, University of Agder. We would like to thank all colleagues and the project manager Asbjørn Følstad for all the insights and discussions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ahmed Abouzeid .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Abouzeid, A., Granmo, OC., Goodwin, M. (2021). Modelling Emotion Dynamics in Chatbots with Neural Hawkes Processes. In: Bramer, M., Ellis, R. (eds) Artificial Intelligence XXXVIII. SGAI-AI 2021. Lecture Notes in Computer Science(), vol 13101. Springer, Cham. https://doi.org/10.1007/978-3-030-91100-3_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-91100-3_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-91099-0

  • Online ISBN: 978-3-030-91100-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics