CAAI Transactions on Intelligence Technology (Sep 2023)

Leveraging hierarchical semantic‐emotional memory in emotional conversation generation

  • Min Yang,
  • Zhenwei Wang,
  • Qiancheng Xu,
  • Chengming Li,
  • Ruifeng Xu

DOI
https://doi.org/10.1049/cit2.12143
Journal volume & issue
Vol. 8, no. 3
pp. 824 – 835

Abstract

Read online

Abstract Handling emotions in human‐computer dialogues has emerged as a challenging task which requires artificial intelligence systems to generate emotional responses by jointly perceiving the emotion involved in the input posts and incorporating it into the generation of semantically coherent and emotionally reasonable responses. However, most previous works generate emotional responses solely from input posts, which do not take full advantage of the training corpus and suffer from generating generic responses. In this study, we introduce a hierarchical semantic‐emotional memory module for emotional conversation generation (called HSEMEC), which can learn abstract semantic conversation patterns and emotional information from the large training corpus. The learnt semantic and emotional knowledge helps to enrich the post representation and assist the emotional conversation generation. Comprehensive experiments on a large real‐world conversation corpus show that HSEMEC can outperform the strong baselines on both automatic and manual evaluation. For reproducibility, we release the code and data publicly at: https://github.com/siat‐nlp/HSEMEC‐code‐data.

Keywords