运筹与管理 ›› 2024, Vol. 33 ›› Issue (2): 57-63.DOI: 10.12005/orms.2024.0044

• 理论分析与方法探讨 • 上一篇    下一篇

融合注意力机制的自编码器推荐算法

王永1, 刘岽1, 杜锡为2, 肖玲1   

  1. 1.重庆邮电大学 经济管理学院,重庆 400065;
    2.重庆邮电大学 网络空间安全与信息法学院,重庆 400065
  • 收稿日期:2021-12-06 出版日期:2024-02-25 发布日期:2024-04-22
  • 通讯作者: 王永(1977-),男,四川自贡人,教授,博士,研究方向:推荐算法与隐私保护
  • 作者简介:肖玲(1989-),女,甘肃静宁人,副教授,博士,研究方向:预测理论与方法,数据分析。
  • 基金资助:
    教育部人文社科规划基金项目(20YJAZH102);国家自然科学基金资助项目(71901045)

Recommendation Algorithm Using Attention-based Autoencoder

WANG Yong1, LIU Dong1, DU Xiwei2, XIAO Ling1   

  1. 1. School of Economics and Management, Chongqing University of Posts and Telecommunications, Chongqing 400065, China;
    2. School of Cyberspace Security and Information Law, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
  • Received:2021-12-06 Online:2024-02-25 Published:2024-04-22

摘要: 为充分获取用户的个性化信息,提高推荐算法的准确性,提出了一种融合注意力机制的自编码器推荐算法。所提算法首先针对数据中蕴含的低阶特征和高阶特征,专门设计了相应的特征提取模块,增强传统编码器的泛化能力和记忆能力,然后利用注意力机制对特征进行融合,得到关于用户偏好信息的向量表示,并通过解码器预测用户对物品的购买意愿,最终实现个性化推荐任务。在ML-100K,ML-1M和Yahoo Music三个数据集上进行实验,并与主流个性化推荐算法进行对比,本文算法在Precision,Recall,F1值和归一化折损累计增益(NDCG)四个指标上均有较大的提升。在互联网推荐场景下,本文算法能够充分挖掘出用户的偏好信息,为用户提供高质量的推荐结果即给出合理的物品购买决策建议,从而最大化满足用户需求。

关键词: 推荐算法, 自编码器, 注意力机制, 协同过滤

Abstract: With the arrival of an era of big data, the data of Internet is growing at an explosive rate, and users are inundated with quite a few choices, and this phenomenon is known as information overload. As an indispensable decision-making tool, recommender systems can effectively alleviate the information overload, and have been widely applied in various scene. However, the data collected in recommender systems are often sparse, leading to a higher susceptibility of the algorithm to overfitting, which has become one of the key challenges to designing high quality personalized recommendation algorithm. Moreover, the majority of recommendation algorithms overlook the distribution of users' attention towards item characteristics, making it difficult to mine comprehensive and accurate preference information and suggest satisfactory items.
In order to effectively extract user preference information and improve the performance of recommendation results, an autoencoder recommendation algorithm fused with attention mechanism is proposed. To improve the generalization ability and memory ability of the classical encoder, the proposed algorithm first designs the corresponding feature extraction modules for the low-order and high-order features contained in the data, which are named low-order feature extraction module and high-order feature extraction module. Then, the algorithm fuses the low-order feature and high-order feature to obtain the final vector representing users' preference information through the designed attention mechanism. Finally, a decoder is used for calculating the preference rating on items of user, and generate the recommendation result based on preference ratings.
To validate the effectiveness of the proposed algorithm, we conduct an ablation study on ML-100K dataset. The experimental results demonstrate that both the low-order feature extraction module and high-order feature extraction module contribute to mining user preferences, and the feature fusion of low-order feature and high-order feature based on attention mechanism can obtain more precise preference information. Furthermore, we compare our algorithm with ItemPop, CDAE, CFGAN, and Wide&Deep, which are the classic and the state of the art models. The experimental results on ML-100K, ML-1M and Yahoo Music three datasets show that the proposed algorithm significantly improves Precision, Recall, F1 value, and normalized discounted cumulative gain (NDCG), respectively.
The proposed algorithm is applicable to Internet recommendation scenarios, which can fully mine users' preference information in data, provide users with high-quality recommendation results, improve users' satisfaction and increase product transaction volume. However, the model in this paper primarily focuses on the interaction between users and items, neglecting contextual scene information. Thus, future research can consider incorporating more user information, item information, and contextual scene information into the modeling process to further improve the performance of the proposed model. Additionally, as user preferences evolve over time and in response to environmental changes, integrating time and environmental factors should be considered a pivotal research focus in the future.

Key words: recommender system, autoencoder, attention mechanisms, collaborative filtering

中图分类号: