计算机科学与探索 ›› 2022, Vol. 16 ›› Issue (9): 2068-2077.DOI: 10.3778/j.issn.1673-9418.2102067

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

结合注意力与循环神经网络的专家推荐算法

吕晓琦1,2, 纪科1,2,+(), 陈贞翔1,2, 孙润元1,2, 马坤1,2, 邬俊3, 李浥东3   

  1. 1.济南大学 信息科学与工程学院,济南 250022
    2.济南大学 山东省网络环境智能计算技术重点实验室,济南 250022
    3.北京交通大学 计算机与信息技术学院,北京 100044
  • 收稿日期:2021-01-20 修回日期:2021-03-18 出版日期:2022-09-01 发布日期:2021-03-26
  • 通讯作者: + E-mail: ise_jik@ujn.edu.cn
  • 作者简介:吕晓琦(1997—),女,山东滨州人,硕士研究生,主要研究方向为自然语言处理。
    纪科(1989—),男,辽宁辽阳人,博士,副教授,主要研究方向为机器学习、推荐系统等。
    陈贞翔(1979—),男,湖南郴州人,博士,教授,主要研究方向为互联网测量、网络安全。
    孙润元(1976—),男,黑龙江哈尔滨人,硕士,副教授,主要研究方向为大数据、云计算等。
    马坤(1981—),男,山东济南人,博士,副教授,主要研究方向为大数据、云计算等。
    邬俊(1981—),男,辽宁鞍山人,博士,副教授,主要研究方向为机器学习、人工智能等。
    李浥东(1982—), 男, 山西太原人, 博士, 教授, 主要研究方向为大数据分析、人工智能等。
  • 基金资助:
    国家自然科学基金(61702216);国家自然科学基金(61772231);国家自然科学基金(61671048);国家自然科学基金(61672262);山东省重大科技创新工程(2018CXGC0706)

Expert Recommendation Algorithm Combining Attention and Recurrent Neural Network

LYU Xiaoqi1,2, JI Ke1,2,+(), CHEN Zhenxiang1,2, SUN Runyuan1,2, MA Kun1,2, WU Jun3, LI Yidong3   

  1. 1. School of Information Science and Engineering, University of Jinan, Jinan 250022, China
    2. Shandong Provincial Key Laboratory of Network Based Intelligent Computing, University of Jinan, Jinan 250022, China
    3. School of Computer and Information Technology, Beijing Jiaotong University, Beijing 100044, China
  • Received:2021-01-20 Revised:2021-03-18 Online:2022-09-01 Published:2021-03-26
  • About author:LYU Xiaoqi, born in 1997, M.S. candidate. Her research interest is natural language processing.
    JI Ke, born in 1989, Ph.D., associate professor. His research interests include machine learning, recommendation system, etc.
    CHEN Zhenxiang, born in 1979, Ph.D., professor. His research interests include network measurement and network security.
    SUN Runyuan, born in 1976, M.S., associate professor. His research interests include big data, cloud computing, etc.
    MA Kun, born in 1981, Ph.D., associate professor. His research interests include big data, cloud computing, etc.
    WU Jun, born in 1981, Ph.D., associate professor. His research interests include machine learning, artificial intelligence, etc.
    LI Yidong, born in 1982, Ph.D., professor. His research interests include big data analysis, artificial intelligence, etc.
  • Supported by:
    National Natural Science Foundation of China(61702216);National Natural Science Foundation of China(61772231);National Natural Science Foundation of China(61671048);National Natural Science Foundation of China(61672262);Key Research and Development Program of Shandong Province(2018CXGC0706)

摘要:

在线问答社区(CQA)已经成为互联网最重要的知识分享交流平台,将用户提出的海量问题有效推荐给可能解答的用户,挖掘用户感兴趣的问题是此类平台最核心功能。一些针对问答社区的专家推荐算法已经被提出用来提高平台解答效率,但是现有工作大多关注于用户兴趣与问题信息匹配,忽视了用户兴趣动态变化问题,可能会严重影响推荐质量。提出了结合注意力与循环神经网络的专家推荐算法,不仅实现了问题信息的深度特征编码,而且还能捕获动态变化的用户兴趣。首先,问题编码器在预训练词嵌入基础上结合卷积神经网络(CNN)和Attention注意力机制实现了问题标题与绑定标签的深度特征联合表示。然后,用户编码器在用户历史回答问题的时间序列上利用长短期记忆神经网络Bi-GRU模型捕捉动态兴趣,并结合用户固定标签信息表征长期兴趣。最后,根据两个编码器输出向量的相似性计算产生用户动态兴趣与长期兴趣相结合的推荐结果。在来自知乎问答社区的真实数据上进行了不同参数配置及不同算法的对比实验,结果表明该算法性能明显优于目前比较流行的深度学习专家推荐算法。

关键词: 社区问答(CQA), 专家推荐, 深度学习, 注意力机制, 循环神经网络(RNN)

Abstract:

Community question answering (CQA) has become the most important knowledge sharing and exchange platform on the Internet, effectively recommending massive questions raised by users to users who may answer them, and mining the questions that users are interested in is the core function of such platforms. Some expert recommendation algorithms for CQA have been proposed to improve the efficiency of platform answering, but most of the existing work focuses on matching user interests with question information, ignoring the dynamic change of user interests, which may seriously affect the quality of recommendation. This paper proposes an expert recommen-dation algorithm combining attention and recurrent neural network (RNN), which not only realizes deep feature coding of the question content, but also captures the dynamically changing user interest. First, the question encoder combines convolutional neural network (CNN) and Attention mechanism on the basis of pre-trained word embeddings to realize joint representation of deep feature of question title and bound topics. Then, the user encoder captures the dynamic interest using Bi-GRU model on the time series of user's historical answers to questions, and combines the user's fixed label information to represent the long-term interest. Finally, a recommendation result combining the user's dynamic interest and long-term interest is generated according to the similarity calculation of output vectors of two encoders. This paper conducts comparative experiments on different parameter configurations and different algorithms on real data from Zhihu. Experimental results show that the performance of the algorithm is significantly better than the current popular deep learning expert recommendation methods.

Key words: community question answering (CQA), expert recommendation, deep learning, attention mechanism, recurrent neural network (RNN)

中图分类号: