MIGAN: Mutual-Interaction Graph Attention Network for Collaborative Filtering
Abstract
:1. Introduction
- Our approach is based on self-supervised representation learning on a large-scale bipartite graph (BGNN). We have adapted this powerful representation for the recommendation task because its ability to model the dependencies between the nodes on a large scale.
- The collaborative filtering recommender based on interactive neural attention networks takes advantage of the encoding potential of interactive attention between users and items. It learns the most significant weights representing users’ mutual effect on the item. Consequently, exploiting this information improves the recommender systems’ accuracy.
- The empirical evaluation, including various real-world dataset, shows that MIGAN significantly outperforms the state-of-the-art baselines.
2. Related Work
3. Mutual-Interaction Graph Attention Network Approach
3.1. Problem Formulation
3.2. Embedding Representation Based on Bipartite Graph Neural Networks (BGNN)
Algorithm 1 Bipartite Graph Neural Networks for recommendation task. |
Input Output Begin phase 1 ▹ Extract the graph from the rating matrix phase 2 ▹ Computing embeddings for each item and user for do Endfor phase 3 ▹ embeddings preparation |
3.3. The Interactive Attention Network Recommender
Algorithm 2 CoAttention: The interactive attention network recommender. |
Input lstmU: user’s lstm : size lstmI: item’s lstm: size Output Begin phase 1 ▹ initialization of weights phase 2 ▹ tanh function application S = lstmI G = lstmU phase 3 ▹ Softmax function application ▹ O: is the batch.dot() function from Keras backend that is used between two tensors (( and ), ( and ) respectively. phase 4 ▹ Each output of function O are transposed and then used as input into a product function. After that, both results ( ) can be summed by a concatenate function. |
Algorithm 3 Migan: Mutual-Interaction Graph Attention Network. |
Input Begin phase 1 ▹ Preparing data to be passed to the BGNN phase 2 ▹ extracting embeddings by BGNN-Class() phase 3 ▹ User and Item embedding are followed by LSTM layers. phase 4 ▹ Applying Attention mechanism phase 5 ▹ Concatenating The outputs InteractiveAttention = BuildModel(ATT); InteractiveAttention.trainModel(D); |
4. Experiments and Discussion
4.1. Hyperparameters Analysis
- variant 1: BGNN output size = | Neural Network = LSTM.
- variant 2: BGNN output size = | Neural Network = LSTM.
- variant 3: BGNN output size = | Neural Network = LSTM.
- variant 4: BGNN output size = | Neural Network = GRU.
- variant 5: BGNN output size = | Neural Network = GRU.
- variant 6: BGNN output size = | Neural Network = GRU.
- Dimensions of the embedding ;
- Number of dense layers after the co-attention ;
- Number of neurons per dense layer ;
- Activation function used in the dense layers ;
- Optimizer .
4.2. Performance Comparison with the Baselines
- The stacked content-based filtering recommender: the work [16] developed a content-based recommender system based on the stacking ensemble learning.
- Neural collaborative filtering (NCF) [27]: this work developed a recommender framework that uses the multi-layer perceptron to exploit the user-item interaction.
- Variational Autoencoders for Collaborative Filtering (MultiVAE) [15]: This approach investigates the collaborative information in a multinomial distribution to recommend items on the long tail.
- Node2Vec embedding: We propose a variant of MIGAN architecture, which deploys Node2Vec embedding representation instead of BGNN.
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
RS | Recommender Systems |
MIGAN | Mutual-Interaction Graph Attention Network |
BGNN | Bipartite Graph Neural Networks |
IDMP | Inter-Domain Message Passing |
IDA | Intra-Domain Alignment |
LSTM | Long-Short-Term-Memory |
GRU | Gate Recurrent Unit |
MAP | Mean Average Precision |
NDCG | Normalized Discounted Cumulative Gain |
Neural-CF | Neural Collaborative Filtering |
Glove-Cbf | Glove Content-based filtering recommender |
MultiVAE | Variational Autoencoders recommender |
References
- Kulkarni, S.; Rodd, S.F. Context Aware Recommendation Systems: A review of the state of the art techniques. Comput. Sci. Rev. 2020, 37, 100255. [Google Scholar] [CrossRef]
- Fayyaz, Z.; Ebrahimian, M.; Nawara, D.; Ibrahim, A.; Kashef, R. Recommendation Systems: Algorithms, Challenges, Metrics, and Business Opportunities. Appl. Sci. 2020, 10, 7748. [Google Scholar] [CrossRef]
- Chen, R.; Hua, Q.; Chang, Y.S.; Wang, B.; Zhang, L.; Kong, X. A Survey of Collaborative Filtering-Based Recommender Systems: From Traditional Methods to Hybrid Methods Based on Social Networks. IEEE Access 2018, 6, 64301–64320. [Google Scholar] [CrossRef]
- Berkani, L.; Belkacem, S.; Ouafi, M.; Guessoum, A. Recommendation of users in social networks: A semantic and social based classification approach. Expert Syst. 2021, 38, e12634. [Google Scholar] [CrossRef]
- Drif, A.; Zerrad, H.E.; Cherifi, H. Context-Awareness in Ensemble Recommender System Framework. In Proceedings of the 2021 International Conference on Electrical, Communication, and Computer Engineering (ICECCE), Kuala Lumpur, Malaysia, 12–13 June 2021; pp. 1–6. [Google Scholar]
- Koren, Y. Factorization meets the neighborhood: A multifaceted collaborative filtering model. In Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and data Mining, Las Vegas, NV, USA, 24–27 August 2008; pp. 426–434. [Google Scholar]
- Drif, A.; Guembour, S.; Cherifi, H. A Sentiment Enhanced Deep Collaborative Filtering Recommender System. In Proceedings of the International Conference on Complex Networks and Their Applications, Madrid, Spain, 1–3 December 2020; pp. 66–78. [Google Scholar]
- Kipf, T.N.; Welling, M. Semi-supervised classification with graph convolutional networks. arXiv 2016, arXiv:1609.02907. [Google Scholar]
- Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Lio, P.; Bengio, Y. Graph attention networks. arXiv 2017, arXiv:1710.10903. [Google Scholar]
- Wang, X.; He, X.; Cao, Y.; Liu, M.; Chua, T.S. Kgat: Knowledge graph attention network for recommendation. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, 4–8 August 2019; pp. 950–958. [Google Scholar]
- Song, J.; Chang, C.; Sun, F.; Song, X.; Jiang, P. NGAT4Rec: Neighbor-Aware Graph Attention Network For Recommendation. arXiv 2020, arXiv:2010.12256. [Google Scholar]
- Goyal, P.; Ferrara, E. Graph embedding techniques, applications, and performance: A survey. Knowl.-Based Syst. 2018, 151, 78–94. [Google Scholar] [CrossRef]
- Cai, H.; Zheng, V.W.; Chang, K.C.C. A Comprehensive Survey of Graph Embedding: Problems, Techniques, and Applications. IEEE Trans. Knowl. Data Eng. 2018, 30, 1616–1637. [Google Scholar] [CrossRef]
- Grover, A.; Leskovec, J. node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 855–864. [Google Scholar]
- Liang, D.; Krishnan, R.G.; Hoffman, M.D.; Jebara, T. Variational autoencoders for collaborative filtering. In Proceedings of the 2018 World Wide Web Conference, Lyon, France, 23–27 April 2018; pp. 689–698. [Google Scholar]
- Drif, A.; Zerrad, H.E.; Cherifi, H. EnsVAE: Ensemble Variational Autoencoders for Recommendations. IEEE Access 2020, 8, 188335–188351. [Google Scholar] [CrossRef]
- Lo, W.W.; Layeghy, S.; Sarhan, M.; Gallagher, M.; Portmann, M. E-GraphSAGE: A Graph Neural Network based Intrusion Detection System. arXiv 2021, arXiv:2103.16329. [Google Scholar]
- Wang, Z.; Wang, Z.; Li, X.; Yu, Z.; Guo, B.; Chen, L.; Zhou, X. Exploring Multi-dimension User-Item Interactions with Attentional Knowledge Graph Neural Networks for Recommendation. IEEE Trans. Big Data 2022, 155–170. [Google Scholar] [CrossRef]
- Chen, L.; Cao, J.; Wang, Y.; Liang, W.; Zhu, G. Multi-view graph attention network for travel recommendation. Expert Syst. Appl. 2022, 191, 116234. [Google Scholar] [CrossRef]
- Liu, Y.; Yang, S.; Xu, Y.; Miao, C.; Wu, M.; Zhang, J. Contextualized graph attention network for recommendation with item knowledge graph. IEEE Trans. Knowl. Data Eng. arXiv 2021, arXiv:2004.11529v1. [Google Scholar] [CrossRef]
- He, C.; Xie, T.; Rong, Y.; Huang, W.; Huang, J.; Ren, X.; Shahabi, C. Cascade-BGNN: Toward Efficient Self-supervised Representation Learning on Large-scale Bipartite Graphs. arXiv 2019, arXiv:1906.11994. [Google Scholar]
- Agarap, A.F. Deep learning using rectified linear units (relu). arXiv 2018, arXiv:1803.08375. [Google Scholar]
- Xu, K.; Ba, J.; Kiros, R.; Cho, K.; Courville, A.; Salakhudinov, R.; Zemel, R.; Bengio, Y. Show, attend and tell: Neural image caption generation with visual attention. In Proceedings of the International Conference on Machine Learning, Lille, France, 6–11 July 2015; pp. 2048–2057. [Google Scholar]
- Bahdanau, D.; Cho, K.; Bengio, Y. Neural machine translation by jointly learning to align and translate. arXiv 2014, arXiv:1409.0473. [Google Scholar]
- Harper, F.M.; Konstan, J.A. The movielens datasets: History and context. ACM Trans. Interact. Intell. Syst. (TIIS) 2015, 5, 1–19. [Google Scholar] [CrossRef]
- Wu, B.; Sun, Z.; He, X.; Wang, X.; Staniforth, J. NeuRec: Next RecSys Library; National Natural Science Foundation: Beijing, China, 2019. [Google Scholar]
- He, X.; Liao, L.; Zhang, H.; Nie, L.; Hu, X.; Chua, T.S. Neural collaborative filtering. In Proceedings of the 26th International Conference on World Wide Web, Perth, Australia, 3–7 April 2017; pp. 173–182. [Google Scholar]
Symbols | Definitions and Descriptions |
---|---|
User u’s rating for item i | |
The user u’s embedding. | |
The item i’s embedding. | |
g | Long-Short-Term-Memory function |
The user embedding layer followed by LSTM layer | |
The item embedding layer followed by LSTM layer | |
h | The Multi-Layer-Perception application |
The user LSTM layer following by MLP | |
The item LSTM layer following by MLP | |
Attention network function for user u | |
Attention network function for item i | |
The last attention weights for user u | |
The last attention weights for item i | |
User-item space | |
Text space | |
⊕ | The concatenation operator |
User u’s rating expected value for item i | |
The weight and bias in neural network | |
Nodes of bipartite graph | |
lists of Features | |
adjacency matrix |
# Users | 6040 |
# Movies | 3883 |
# Ratings | 1000209 |
Sparsity % | 95.5% |
Item | Genomic Tags |
User | Demographics |
Mean Average Precision | Normalized DCG | |||||
---|---|---|---|---|---|---|
Variant | MAP@10 | MAP@30 | MAP@50 | NDCG@10 | NDCG@30 | NDCG@50 |
Variant 1 | 0.85 | 0.83 | 0.81 | 0.71 | 0.78 | 0.79 |
Variant 2 | 0.82 | 0.78 | 0.76 | 0.65 | 0.72 | 0.76 |
Variant 3 | 0.80 | 0.77 | 0.76 | 0.66 | 0.73 | 0.76 |
Variant 4 | 0.79 | 0.74 | 0.773 | 0.62 | 0.71 | 0.73 |
Variant 5 | 0.79 | 0.73 | 0.70 | 0.60 | 0.71 | 0.72 |
Variant 6 | 0.77 | 0.76 | 0.73 | 0.63 | 0.73 | 0.75 |
Mean Average Precision | Normalized DCG | |||||
---|---|---|---|---|---|---|
Rec sys | MAP@10 | MAP@30 | MAP@50 | NDCG@10 | NDCG@30 | NDCG@50 |
Glove-Cbf | 0.82 | 0.78 | 0.77 | 0.67 | 0.74 | 0.77 |
Node2Vec | 0.84 | 0.82 | 0.81 | 0.55 | 0.65 | 0.69 |
MultiVAE | 0.62 | 0.58 | 0.54 | 0.57 | 0.62 | 0.65 |
Neural CF | 0.74 | 0.68 | 0.65 | 0.68 | 0.73 | 0.76 |
MIGAN | 0.85 | 0.83 | 0.81 | 0.71 | 0.78 | 0.79 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Drif, A.; Cherifi, H. MIGAN: Mutual-Interaction Graph Attention Network for Collaborative Filtering. Entropy 2022, 24, 1084. https://doi.org/10.3390/e24081084
Drif A, Cherifi H. MIGAN: Mutual-Interaction Graph Attention Network for Collaborative Filtering. Entropy. 2022; 24(8):1084. https://doi.org/10.3390/e24081084
Chicago/Turabian StyleDrif, Ahlem, and Hocine Cherifi. 2022. "MIGAN: Mutual-Interaction Graph Attention Network for Collaborative Filtering" Entropy 24, no. 8: 1084. https://doi.org/10.3390/e24081084
APA StyleDrif, A., & Cherifi, H. (2022). MIGAN: Mutual-Interaction Graph Attention Network for Collaborative Filtering. Entropy, 24(8), 1084. https://doi.org/10.3390/e24081084