计算机科学 ›› 2022, Vol. 49 ›› Issue (11A): 211100019-6.doi: 10.11896/jsjkx.211100019

• 人工智能 • 上一篇    下一篇

结合情感信息的个性化对话生成

徐晖, 王中卿, 李寿山, 张民   

  1. 苏州大学计算机科学与技术学院 江苏 苏州 215006
  • 出版日期:2022-11-10 发布日期:2022-11-21
  • 通讯作者: 王中卿(wangzq@suda.edu.cn)
  • 作者简介:(20204227063@stu.suda.edu.cn)

Personalized Dialogue Generation Integrating Sentimental Information

XU Hui, WANG Zhong-qing, LI Shou-shan, ZHANG Min   

  1. School of Computer Science and Technology,Soochow University,Suzhou,Jiangsu 215006,China
  • Online:2022-11-10 Published:2022-11-21
  • About author:XU Hui,born in 1996,postgraduate.His main research interests include natural language processing and so on.
    WANG Zhong-qing,born in 1987,Ph.D,associate professor.His main research interests include natural language processing,sentiment analysis and dialog generation.

摘要: 如今,人机对话系统受到了越来越多的关注,但目前主流的人机对话系统很少考虑说话者的个性化特征。对话系统的一个重要且有待探索的方面是根据交互人员的个性来提升对话的响应质量。个性化是创建智能对话系统的关键,可以最大程度地适应到人类的生活中。然而,在自然语言处理中体现人物个性是很困难的,在个性化对话生成中,情感也是一个很重要的因素,因此文中提出了融合属性级情感的个性化对话生成模型。该模型使用BERT-MRC模型抽取人物个性和历史对话的情感词属性词信息,采用改进的UNILM神经网络模型对人物个性以及历史对话进行编码,同时在编码表征时结合情感词信息和属性词信息,最终生成符合人物个性的对话。实验证明,结合情感信息的个性化对话生成方法能够有效地提升个性化对话生成的质量,增加生成回复的多样性。

关键词: 自然语言处理, 对话生成, 个性化, 神经网络, 情感, 属性

Abstract: Nowadays,more and more attention has been paid to the man-machine dialogue system.However,the current mainstream man-machine dialogue system rarely considers the personalized characteristics of the speaker.An important aspect of the dialogue system is to improve the response quality of dialogue according to the personality of interactive personnel.Personalization is the key to create intelligent dialogue system,which can be well adapted to human life.Emotion is a very important factor in the generation of personalized dialogue.Therefore,a personalized dialogue generation model integrating attribute level emotion is proposed in this paper.The BERT-MRC model is used to extract the emotional and attribute information of character personality and historical dialogue.The improved UNILM neural network model is used to encode character personality and historical dialogue.At the same time,the emotional word information and attribute word information are combined in the coding representation to finally generate a dialogue in line with character personality.Experiments show that the proposed method can effectively improve the quality of personalized dialogue generation and increase the diversity of generated responses.

Key words: Natural language processing, Dialogue generation, Personality, Neural network, Emotion, Attribute

中图分类号: 

  • TP183
[1]BROWN P F,PIETRA V J D,PIETRA S A D,et al.The mathematics of statistical machine translation:Parameter estimation[J].Computational Linguistics,1993,19(2):263-311.
[2]SUTSKEVER I,VINYALS O,LE Q V.Sequence to sequencelearning with neural networks[C]//Advances in Neural Information Processing Systems.2014:3104-3112.
[3]CHO K,VAN MERRIËNBOER B,GULCEHRE C,et al.Learning phrase representations using RNN encoder-decoder for statistical machine translation[J].arXiv:1406.1078,2014.
[4]BENGIO Y,DUCHARME R,VINCENT P,et al.A neuralprobabilistic language model[J].Journal of Machine Learning Research,2003,3(2):1137-1155.
[5]MIKOLOV T,KARAFIÁT M,BURGET L,et al.Recurrent neural network based language model[C]//INTERSPEECH 2010,Conference of the International Speech Communication Association.DBLP,2010:1045-1048.
[6]HOCHREITER S,SCHMIDHUBER J.Long short-term memory[J].Neural Computation,1997,9(8):1735-1780.
[7]VASWANI A,SHAZEER N,PARMAR N,et al.Attention is all you need[C]//Advances in Neural Information Processing Systems.2017:5998-6008.
[8]MCKAY B D.Practical graph isomorphism[M].Tennessee,USA:Department of Computer Science,Vanderbilt University,1981:45-87.
[9]SERBAN I V,SORDONI A,BENGIO Y,et al.Building End-To-End Dialogue Systems Using Generative Hierarchical Neural Network Models[C]//AAAI.2016:3776-3784.[10]ZHAO Y Y,QIN B,LIU T.Sentiment analysis[J].Journal of Software,2010,21(8):1834-1848.
[11]DONG L,YANG N,WANG W,et al.Unified language model pre-training for natural language understanding and generation[C]//Proceedings of the Advances in Neural Information Processing Systems.Vancouver,2019:13042-13054.
[12]ZHANG S,DINAN E,URBANEK J,et al.Personalizing Dialogue Agents:I Have a Dog,Do You Have Pets Too? [C]//Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics.2018:2204-2213.
[13]CHEN H,LIU X,YIN D,et al.A survey on dialogue systems:Recent advances and new frontiers[J].ACM SIGKDD Explorations Newsletter,2017,19(2):25-35.
[14]SORDONI A,GALLEY M,AULI M,et al.A Neural Network Approach to Context-Sensitive Generation of Conversational Responses[J].Transactions of the Royal Society of Tropical Medicine & Hygiene,2015,51(6):502-504.
[15]VINYALS O,LE Q.A neural conversational model[J].arXiv:1506.05869,2015.
[16]LI J W,GALLEY M,BROCKETT C,et al.A Diversity-Promoting Objective Function for Neural Conversation Models[C]//Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies.Association for Computational Linguistics,2016:110-119.
[17]SERBAN I V,SORDONI A,BENGIO Y,et al.Building end-to-end dialogue systems using generative hierarchical neural network models[C]//Thirtieth AAAI Conference on Artificial Intelligence.New York:CAM Press,2016:3776-3883.
[18]SHANG L F,LU Z D,LI H.Neural Responding Machine forShort-Text Conversation[C]//Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing.Association for Computational Linguistics,2015:1577-1586.
[19]RADFORD A,NARASIMHAN K,SALIMANS T,et al.Improving language understanding bygenerative pre-training[J/OL].https://s3-us-west-2.amazonaws.com/openai-assets/ researchcovers/languageunsupervised/language understandingpaper.pdf,2018.
[20]DEVLIN J,CHANG M W,LEE K,et al.Bert:Pre-training of deep bidirectional transformers for language understanding[J].arXiv:1810.04805,2018.
[21]LUO L,HUANG W,QI Z,et al.Learning Personalized End-to-End Goal-Oriented Dialog[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2019:6794-6801.
[22]LI J,GALLEY M,BROCKETT C,et al.A personabased neural conversation model [C]//Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics.2016:994-1003.
[23]WANG J,WANG X,LI F,et al.Group linguistic bias awareneural response generation[C]//Proceedings of the 9th SIGHAN Workshop on Chinese Language Processing.2017:1-10.
[24]LIU B,XU Z,SUN C,et al.Content-oriented user modeling for personalized response ranking in chatbots[J].IEEE/ACM Transactions on Audio,Speech and Language Processing(TASLP),2018,26(1):122-133.
[25]LUO L,HUANG W,QI Z,et al.Learning Personalized End-to-End Goal-Oriented Dialog.Proceedings of the AAAI Conference on Artificial Intelligence.2019:6794-6801.
[26]ZHENG Y,CHEN G,HUANG M,et al.Personalized dialogue generation with diversified traits[J].arXiv:/1901.09672,2019.
[27]LIN Z,MADOTTO A,WU C S,et al.Personalizing dialogue agents via meta-learning[C]//Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics.2019:5454-5459.
[28]ZHENG Y.A Pre-Training Based Personalized Dialogue Generation Model with Persona-Sparse Data[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2020:9693-9700.
[29]ZHANG Y,SUN S,GALLEY M,et al.DialoGPT:Large-Scale Generative Pre-training for Conversational Response Generation[J].2019.
[1] 宁晗阳, 马苗, 杨波, 刘士昌.
密码学智能化研究进展与分析
Research Progress and Analysis on Intelligent Cryptology
计算机科学, 2022, 49(9): 288-296. https://doi.org/10.11896/jsjkx.220300053
[2] 周芳泉, 成卫青.
基于全局增强图神经网络的序列推荐
Sequence Recommendation Based on Global Enhanced Graph Neural Network
计算机科学, 2022, 49(9): 55-63. https://doi.org/10.11896/jsjkx.210700085
[3] 周乐员, 张剑华, 袁甜甜, 陈胜勇.
多层注意力机制融合的序列到序列中国连续手语识别和翻译
Sequence-to-Sequence Chinese Continuous Sign Language Recognition and Translation with Multi- layer Attention Mechanism Fusion
计算机科学, 2022, 49(9): 155-161. https://doi.org/10.11896/jsjkx.210800026
[4] 李瑶, 李涛, 李埼钒, 梁家瑞, Ibegbu Nnamdi JULIAN, 陈俊杰, 郭浩.
基于多尺度的稀疏脑功能超网络构建及多特征融合分类研究
Construction and Multi-feature Fusion Classification Research Based on Multi-scale Sparse Brain Functional Hyper-network
计算机科学, 2022, 49(8): 257-266. https://doi.org/10.11896/jsjkx.210600094
[5] 李宗民, 张玉鹏, 刘玉杰, 李华.
基于可变形图卷积的点云表征学习
Deformable Graph Convolutional Networks Based Point Cloud Representation Learning
计算机科学, 2022, 49(8): 273-278. https://doi.org/10.11896/jsjkx.210900023
[6] 郝志荣, 陈龙, 黄嘉成.
面向文本分类的类别区分式通用对抗攻击方法
Class Discriminative Universal Adversarial Attack for Text Classification
计算机科学, 2022, 49(8): 323-329. https://doi.org/10.11896/jsjkx.220200077
[7] 王润安, 邹兆年.
基于物理操作级模型的查询执行时间预测方法
Query Performance Prediction Based on Physical Operation-level Models
计算机科学, 2022, 49(8): 49-55. https://doi.org/10.11896/jsjkx.210700074
[8] 陈泳全, 姜瑛.
基于卷积神经网络的APP用户行为分析方法
Analysis Method of APP User Behavior Based on Convolutional Neural Network
计算机科学, 2022, 49(8): 78-85. https://doi.org/10.11896/jsjkx.210700121
[9] 陈晶, 吴玲玲.
多源异构环境下的车联网大数据混合属性特征检测方法
Mixed Attribute Feature Detection Method of Internet of Vehicles Big Datain Multi-source Heterogeneous Environment
计算机科学, 2022, 49(8): 108-112. https://doi.org/10.11896/jsjkx.220300273
[10] 朱承璋, 黄嘉儿, 肖亚龙, 王晗, 邹北骥.
基于注意力机制的医学影像深度哈希检索算法
Deep Hash Retrieval Algorithm for Medical Images Based on Attention Mechanism
计算机科学, 2022, 49(8): 113-119. https://doi.org/10.11896/jsjkx.210700153
[11] 檀莹莹, 王俊丽, 张超波.
基于图卷积神经网络的文本分类方法研究综述
Review of Text Classification Methods Based on Graph Convolutional Network
计算机科学, 2022, 49(8): 205-216. https://doi.org/10.11896/jsjkx.210800064
[12] 闫佳丹, 贾彩燕.
基于双图神经网络信息融合的文本分类方法
Text Classification Method Based on Information Fusion of Dual-graph Neural Network
计算机科学, 2022, 49(8): 230-236. https://doi.org/10.11896/jsjkx.210600042
[13] 齐秀秀, 王佳昊, 李文雄, 周帆.
基于概率元学习的矩阵补全预测融合算法
Fusion Algorithm for Matrix Completion Prediction Based on Probabilistic Meta-learning
计算机科学, 2022, 49(7): 18-24. https://doi.org/10.11896/jsjkx.210600126
[14] 杨炳新, 郭艳蓉, 郝世杰, 洪日昌.
基于数据增广和模型集成策略的图神经网络在抑郁症识别上的应用
Application of Graph Neural Network Based on Data Augmentation and Model Ensemble in Depression Recognition
计算机科学, 2022, 49(7): 57-63. https://doi.org/10.11896/jsjkx.210800070
[15] 张颖涛, 张杰, 张睿, 张文强.
全局信息引导的真实图像风格迁移
Photorealistic Style Transfer Guided by Global Information
计算机科学, 2022, 49(7): 100-105. https://doi.org/10.11896/jsjkx.210600036
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!