Computers lack empathy, but researchers from China are looking to change that with their deep learning-based chatbot capable of assessing the emotional content of a conversation and responding accordingly.
The work opens the door to a new generation of chatbots that are emotionally aware. “To the best of our knowledge, this is the first work addressing the emotion factor in large-scale conversation generation,” mentions the researchers in their paper.
Using TITAN X GPUs, and cuDNN with the TensorFlow deep learning framework, the researchers trained their model on a dataset of 23,000 sentences collected from the Chinese blogging service Weibo and manually annotated with their emotional charge – anger, disgust, happiness, like, sadness. They then used an ordinary chatbot conversation generator to produce responses and utilized their deep learning algorithm called Emotional Chatting Machine (ECM) to ensure the response has the correct emotional content.

For example, to reply to the statement “Worst day ever. I arrived late because of the traffic,” the ECM generates different responses, depending on the required emotion.
For happiness, it responds, “Keep smiling! Things will get better.” For sadness, it responds, “It’s depressing.” For disgust, it says, “Sometimes life just sucks.” For anger, it says, “The traffic is too bad!” And to express liking, it says, “I am always here to support you.”
Read more >
AI-Generated Summary
- Researchers from China developed the Emotional Chatting Machine (ECM), a deep learning-based chatbot that assesses the emotional content of a conversation and generates responses matching a specified emotion.
- The model was trained on 23,000 sentences from the Chinese blogging service Weibo, manually annotated with emotional categories including anger, disgust, happiness, like, and sadness.
- Training used TITAN X GPUs, cuDNN, and the TensorFlow framework to implement the ECM architecture with internal and external emotion memory components.
- For a given input such as "Worst day ever. I arrived late because of the traffic," the ECM produces distinct responses tailored to each target emotion, demonstrating controllable emotional generation.
Next Step
- Read the Technology Review article for further details on the research.
Powered by NVIDIA Nemotron. AI-generated content may summarize information incompletely. Verify important information. Learn more