Abstract

AbstractHandling 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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.