Research on Dialogue Generation of Emotion Enhanced Large Language Model Based on Deep Learning
DOI:
https://doi.org/10.54097/dv6m2r02Keywords:
Deep learning, Emotional enhancement, Large Language Model (LLM), Dialogue generation, Affective ComputingAbstract
As the scenarios of human-computer interaction in China's social development have gradually expanded and giant artificial intelligences (GIIs) have become more frequent, making users feel better through emotional identification and empathic responses has become increasingly significant. Although the current generation of models can achieve precise semantic encoding, they usually face more prominent issues such as emotion-recognition bias and rigid responses; In terms of multi-turn dialogues, there is also a lack of emotional consistency. Due to the above limitations, they are difficult to be adapted for use in emotion-sensitive scenarios such as psychological counselling and intelligent customer service, which affects their application in practice. Based on deep learning technology, this study combined affective computing theory to build an emotion-enhanced dialogue generation system that enhances LLM's ability of empathy and understanding through emotion recognition and adaptive response strategies. Emotion feature extraction, embedding fusion and reinforcement learning optimisation have been used to realise precise alignment of users' real-time emotions by a model. The evaluated deep neural network based on Qwen2.5-7B, daily dialogues and cped datasets has obtained better effects than before, an improvement is expected by increasing emotional adaptability to about 0.86 (from previous level 0.41); Emotion recognition precision increased by more than 25 percent to 0.9 (before) to improve the model performance of users' satisfaction above 79%, making the emotions expressed in the model much closer to those of real people, so this method can be used for improving the warmth and Humanization of Human-machine communication technologies.
Downloads
References
[1] Huang, J. T., Lam, M. H., Li, E. J., Ren, S., Wang, W., Jiao, W., ... & Lyu, M. R. (2024). Apathetic or empathetic? evaluating llms' emotional alignments with humans. Advances in Neural Information Processing Systems, 37, 97053-97087.
[2] Zhang, Y., Yang, X., Xu, X., Gao, Z., Huang, Y., Mu, S., ... & Yu, G. (2026). Affective computing in the era of large language models: A survey from the nlp perspective. Knowledge-Based Systems, 115411.
[3] Rasool, A., Aslam, S., Hussain, N., Imtiaz, S., & Riaz, W. (2025). nBERT: harnessing NLP for emotion recognition in psychotherapy to transform mental health care. Information, 16(4), 301.
[4] Li, Y., Su, H., Shen, X., Li, W., Cao, Z., & Niu, S. (2017, November). Dailydialog: A manually labelled multi-turn dialogue dataset. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers) (pp. 986-995).
[5] Poria, S., Majumder, N., Mihalcea, R., & Hovy, E. (2019). Emotion recognition in conversation: Research challenges, datasets, and recent advances. IEEE access, 7, 100943-100953.
[6] Devlin, J., Chang, M. W., Lee, K., & Toutanova, K. (2019, June). Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers) (pp. 4171-4186).
[7] Goel, R., Susan, S., Vashisht, S., & Dhanda, A. (2021, September). Emotion-aware transformer encoder for empathetic dialogue generation. In 2021 9th International Conference on Affective Computing and Intelligent Interaction Workshops and Demos (ACIIW) (pp. 1-6). IEEE.
[8] Chen, Y., Fan, W., Xing, X., Pang, J., Huang, M., Han, W., ... & Xu, X. (2022). CPED: A large-scale Chinese personalized and emotional dialogue dataset for conversational AI. arXiv preprint arXiv:2205.14727.
[9] Lee, Y. K., Suh, J., Zhan, H., Li, J. J., & Ong, D. C. (2024, September). Large language models produce responses perceived to be empathic. In 2024 12th International Conference on Affective Computing and Intelligent Interaction (ACII) (pp. 63-71). IEEE.
[10] Hu, T., Xu, A., Liu, Z., You, Q., Guo, Y., Sinha, V., ... & Akkiraju, R. (2018, April). Touch your heart: A tone-aware chatbot for customer care on social media. In Proceedings of the 2018 CHI conference on human factors in computing systems (pp. 1-12).
[11] Liu, S., Zheng, C., Demasi, O., Sabour, S., Li, Y., Yu, Z., ... & Huang, M. (2021, August). Towards emotional support dialog systems. In Proceedings of the 59th annual meeting of the association for computational linguistics and the 11th international joint conference on natural language processing (volume 1: Long papers) (pp. 3469-3483).
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Journal of Computer Science and Artificial Intelligence

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.








