Skip to main content

Generating Topical and Emotional Responses Using Topic Attention

  • Conference paper
  • First Online:
  • 301 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 11966))

Abstract

As an indispensable influencing factor of human-computer interaction experience, emotional cognitive behaviors in dialogues have aroused spread concern of researchers. However, existing emotional dialogue generation models tend to generate generic and universal responses. To address this problem, this paper proposes a topical and emotional chatting machine (TECM) that generates not only high-quality but also emotional responses. TECM utilizes the information obtained by the topic model as a prior knowledge to guide the generation of the responses, and the topic information is used as the input of the topic attention mechanism to improve the quality of responses. TECM also adopts a method of emotion category embedding to generate emotional responses. The empirical study on automatic evaluation metrics shows that TECM can generate diverse, informative and emotional responses.

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

Notes

  1. 1.

    https://github.com/tensorflow/tensorflow.

References

  1. Prendinger, H., Mori, J., Ishizuka, M.: Using human physiology to evaluate subtle expressivity of a virtual quizmaster in a mathematical game. Int. J. Hum.-Comput. Stud. 62, 231–245 (2005)

    Article  Google Scholar 

  2. Zhang, Y., Huang, M.: Overview of the NTCIR-14 short text generation subtask: emotion generation challenge. In: Proceedings of the 14th NTCIR Conference on Evaluation of Information Access Technologies (2019)

    Google Scholar 

  3. Sutskever, I., Vinyals, O., Le, Q.V.: Sequence to sequence learning with neural networks. In: Advances in Neural Information Processing Systems, pp. 3104–3112 (2014)

    Google Scholar 

  4. Ji, Z., Lu, Z., Li, H.: An Information Retrieval Approach to Short Text Conversation. arXiv preprint arXiv:1408.6988 (2014)

  5. Shang, L., Lu, Z., Li, H.: Neural responding machine for short-text conversation. In: ACL, pp. 1577–1586 (2015)

    Google Scholar 

  6. Serban, I.V., Sordoni, A., Lowe, R., et al.: A hierarchical latent variable encoder-decoder model for generating dialogues. In: Thirty-First AAAI Conference on Artificial Intelligence. (2017)

    Google Scholar 

  7. Li, J., Galley, M., Brockett, C., et al.: A diversity-promoting objective function for neural conversation models. In: ACL, pp. 110–119 (2016)

    Google Scholar 

  8. Yao, K., Peng, B., Zweig, G., et al.: An Attentional Neural Conversation Model with Improved Specificity. arXiv preprint arXiv:1606.01292 (2016)

  9. Xing, C., Wu, W., Wu, Y., et al.: Topic aware neural response generation. In: Thirty-First AAAI Conference on Artificial Intelligence (2017)

    Google Scholar 

  10. Zhou, H., Huang, M., Zhang, T., et al.: Emotional chatting machine: emotional conversation generation with internal and external memory. In: Thirty-Second AAAI Conference on Artificial Intelligence (2018)

    Google Scholar 

  11. Ghosh, S., Chollet, M., Laksana, E., et al.: Affect-LM: a neural language model for customizable affective text generation. In: ACL, pp. 634–642 (2017)

    Google Scholar 

  12. Asghar, N., Poupart, P., Hoey, J., Jiang, X., Mou, L.: Affective neural response generation. In: Pasi, G., Piwowarski, B., Azzopardi, L., Hanbury, A. (eds.) ECIR 2018. LNCS, vol. 10772, pp. 154–166. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-76941-7_12

    Chapter  Google Scholar 

  13. Chung, J., Gulcehre, C., Cho, K.H., et al.: Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555 (2014)

  14. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9, 1735–1780 (1997)

    Article  Google Scholar 

  15. Luong, M.T., Pham, H., Manning, C.D.: Effective Approaches to attention-based neural machine translation. In: EMNLP, pp. 1412–1421 (2015)

    Google Scholar 

  16. Blei, D.M., Ng, A.Y., Jordan, M.I.: Latent Dirichlet allocation. J. Mach. Learn. Res. 3, 993–1022 (2003)

    MATH  Google Scholar 

  17. Lee, D.D., Seung, H.S.: Algorithms for non-negative matrix factorization. In: Advances in neural information processing systems, pp. 556–562 (2001)

    Google Scholar 

  18. Devlin, J., Chang, M.W., Lee, K., et al.: BERT: pre-training of deep bidirectional transformers for language understanding. In: ACL, pp. 4171–4186 (2018)

    Google Scholar 

  19. Papineni, K., Roukos, S., Ward, T., et al.: BLEU: a method for automatic evaluation of machine translation. In: Proceedings of the 40th annual meeting on association for computational linguistics. Association for Computational Linguistics, pp. 311–318 (2002)

    Google Scholar 

  20. Lin, C.Y.: Rouge: a package for automatic evaluation of summaries. In: Text Summarization Branches Out, pp. 74–81 (2004)

    Google Scholar 

  21. Liu, C.W., Lowe, R., Serban, I.V., et al.: How NOT to evaluate your dialogue system: an empirical study of unsupervised evaluation metrics for dialogue response generation. In: ACL, pp. 2122–2132 (2016)

    Google Scholar 

Download references

Acknowledgments

The work presented in this paper is partially supported by the Major Projects of National Social Foundation of China under Grant No. 11&ZD189.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Maofu Liu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zhou, Z., Liu, M., Zhang, Z., Fu, Y., Xiang, J. (2019). Generating Topical and Emotional Responses Using Topic Attention. In: Kato, M., Liu, Y., Kando, N., Clarke, C. (eds) NII Testbeds and Community for Information Access Research. NTCIR 2019. Lecture Notes in Computer Science(), vol 11966. Springer, Cham. https://doi.org/10.1007/978-3-030-36805-0_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-36805-0_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-36804-3

  • Online ISBN: 978-3-030-36805-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics