Skip to main content
Log in

Metapath-guided dual semantic-aware filtering for HIN-based recommendation

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

Many heterogeneous information network (HIN)-based recommendation methods leverage the semantic and structural features of metapath to improve the recommendation performance. However, the existing HIN-based recommendation methods using metapath still suffer from two challenges: (1) HINs in industrial recommendation scenarios usually have a very large scale and contain much redundant or noisy structural information, which may damage the efficiency and effectiveness of the recommendation model. (2) HINs include rich metapath semantic information that may be noisy and irrelevant to downstream tasks. To address the above two challenges, we propose a metapath-guided dual semantic-aware filtering for HIN-based recommendation from two perspectives: intra-metapath and inter-metapath (called MFGRec). Our model first develops a neighbor filtering method within metapath-guided attribute networks to generate tailored metapath-guided attribute networks for filtering irrelative or noise neighbors of intra-metapath. Moreover, our model designs a semantic-aware filtering-based fusion method using a novel adaptive multi-head sparse attention mechanism to automatically discard the irrelative metapath-guided attribute networks for each user-item interaction pair and assign personalized weight to the selected valuable networks for distinguishing the semantic differences of inter-metapath. In general, MFGRec filters a large amount of noise and irrelevant information from intra-metapath and inter-metapath perspectives, which significantly improves the scalability and accuracy of the recommendation framework. Furthermore, experimental results on three publicly accessible datasets and nine baselines demonstrate that our model achieves higher accuracy of recommendation and lower runtime costs compared with existing state-of-the-art methods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

Data availability

The datasets generated during and/or analyzed during the current study are available in the https://github.com/librahu/HIN-Datasets-for-Recommendation-and-Network-Embedding.

References

  1. van den Berg R, Kipf TN, Welling M (2017) Graph convolutional matrix completion. arXiv:abs/1706.02263

  2. Bianchi FM, Grattarola D, Livi L et al (2022) Hierarchical representation learning in graph neural networks with node decimation pooling. IEEE Trans Neural Netw Learn Syst 33(5):2195–2207. https://doi.org/10.1109/TNNLS.2020.3044146

    Article  MathSciNet  Google Scholar 

  3. Chen H, Yin H, Wang W et al (2018) PME: projected metric embedding on heterogeneous networks for link prediction. In: Guo Y, Farooq F (eds) Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2018, London, UK, August 19-23, 2018. ACM, pp 1177–1186, https://doi.org/10.1145/3219819.3219986

  4. Dong Y, Chawla NV, Swami A (2017) metapath2vec: Scalable representation learning for heterogeneous networks. In: Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Halifax, NS, Canada, August 13 - 17, 2017. ACM, pp 135–144, https://doi.org/10.1145/3097983.3098036

  5. Fan S, Zhu J, Han X et al (2019a) Metapath-guided heterogeneous graph neural network for intent recommendation. In: Teredesai A, Kumar V, Li Y et al (eds) Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019. ACM, pp 2478–2486, https://doi.org/10.1145/3292500.3330673

  6. Fan W, Ma Y, Li Q et al (2019b) Graph neural networks for social recommendation. In: Liu L, White RW, Mantrach A et al (eds) The World Wide Web Conference, WWW 2019, San Francisco, CA, USA, May 13-17, 2019. ACM, pp 417–426, https://doi.org/10.1145/3308558.3313488,

  7. Feng Y, Hu B, Lv F et al (2020) ATBRG: adaptive target-behavior relational graph network for effective recommendation. In: Huang J, Chang Y, Cheng X et al (eds) Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR 2020, Virtual Event, China, July 25-30, 2020. ACM, pp 2231–2240, https://doi.org/10.1145/3397271.3401428

  8. Fu X, Zhang J, Meng Z et al (2020) MAGNN: metapath aggregated graph neural network for heterogeneous graph embedding. In: Huang Y, King I, Liu T et al (eds) WWW ’20: The Web Conference 2020, Taipei, Taiwan, April 20-24, 2020. ACM / IW3C2, pp 2331–2341, https://doi.org/10.1145/3366423.3380297,

  9. Glorot X, Bengio Y (2010) Understanding the difficulty of training deep feedforward neural networks. In: Teh YW, Titterington DM (eds) Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, AISTATS 2010, Chia Laguna Resort, Sardinia, Italy, May 13-15, 2010, JMLR Proceedings, vol 9. JMLR.org, pp 249–256, http://proceedings.mlr.press/v9/glorot10a.html

  10. Gong J, Wang S, Wang J et al (2020) Attentional graph convolutional networks for knowledge concept recommendation in moocs in a heterogeneous view. In: Huang J, Chang Y, Cheng X et al (eds) Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR 2020, Virtual Event, China, July 25-30, 2020. ACM, pp 79–88, https://doi.org/10.1145/3397271.3401057

  11. Hamilton WL, Ying Z, Leskovec J (2017a) Inductive representation learning on large graphs. In: Guyon I, von Luxburg U, Bengio S et al (eds) Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pp 1024–1034, https://proceedings.neurips.cc/paper/2017/hash/5dd9db5e033da9c6fb5ba83c7a7ebea9-Abstract.html

  12. Hamilton WL, Ying Z, Leskovec J (2017b) Inductive representation learning on large graphs. In: Guyon I, von Luxburg U, Bengio S et al (eds) Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pp 1024–1034, https://proceedings.neurips.cc/paper/2017/hash/5dd9db5e033da9c6fb5ba83c7a7ebea9-Abstract.html

  13. He X, Deng K, Wang X et al (2020) Lightgcn: Simplifying and powering graph convolution network for recommendation. In: Huang J, Chang Y, Cheng X et al (eds) Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR 2020, Virtual Event, China, July 25-30, 2020. ACM, pp 639–648, https://doi.org/10.1145/3397271.3401063

  14. He Y, Song Y, Li J et al (2019) Hetespaceywalk: A heterogeneous spacey random walk for heterogeneous information network embedding. In: Zhu W, Tao D, Cheng X et al (eds) Proceedings of the 28th ACM International Conference on Information and Knowledge Management, CIKM 2019, Beijing, China, November 3-7, 2019. ACM, pp 639–648, https://doi.org/10.1145/3357384.3358061

  15. Hei Y, Yang R, Peng H et al (2021) HAWK: rapid android malware detection through heterogeneous graph attention networks. arXiv:abs/2108.07548

  16. Hu B, Shi C, Zhao WX et al (2018) Leveraging meta-path based context for top- N recommendation with A neural co-attention model. In: Guo Y, Farooq F (eds) Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2018, London, UK, August 19-23, 2018. ACM, pp 1531–1540, https://doi.org/10.1145/3219819.3219965

  17. Hu B, Fang Y, Shi C (2019) Adversarial learning on heterogeneous information networks. In: Teredesai A, Kumar V, Li Y et al (eds) Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019. ACM, pp 120–129, https://doi.org/10.1145/3292500.3330970

  18. Huang Z, Mamoulis N (2017) Heterogeneous information network embedding for meta path based proximity. arXiv:abs/1701.05291

  19. Hussein R, Yang D, Cudré-Mauroux P (2018) Are meta-paths necessary?: Revisiting heterogeneous graph embeddings. In: Cuzzocrea A, Allan J, Paton NW et al (eds) Proceedings of the 27th ACM International Conference on Information and Knowledge Management, CIKM 2018, Torino, Italy, October 22-26, 2018. ACM, pp 437–446, https://doi.org/10.1145/3269206.3271777

  20. Ji H, Shi C, Wang B (2018) Attention based meta path fusion for heterogeneous information network embedding. In: Geng X, Kang B (eds) PRICAI 2018: Trends in Artificial Intelligence - 15th Pacific Rim International Conference on Artificial Intelligence, Nanjing, China, August 28-31, 2018, Proceedings, Part I, Lecture Notes in Computer Science, vol 11012. Springer, pp 348–360, https://doi.org/10.1007/978-3-319-97304-3_27

  21. Jin J, Qin J, Fang Y et al (2020) An efficient neighborhood-based interaction model for recommendation on heterogeneous graph. In: Gupta R, Liu Y, Tang J et al (eds) KDD ’20: The 26th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Virtual Event, CA, USA, August 23-27, 2020. ACM, pp 75–84, https://doi.org/10.1145/3394486.3403050

  22. Kingma DP, Ba J (2015) Adam: A method for stochastic optimization. In: Bengio Y, LeCun Y (eds) 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, arXiv:abs/1412.6980

  23. Kipf TN, Welling M (2017) Semi-supervised classification with graph convolutional networks. In: 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, https://openreview.net/forum?id=SJU4ayYgl

  24. Lee S, Park C, Yu H (2019) Bhin2vec: Balancing the type of relation in heterogeneous information network. In: Zhu W, Tao D, Cheng X et al (eds) Proceedings of the 28th ACM International Conference on Information and Knowledge Management, CIKM 2019, Beijing, China, November 3-7, 2019. ACM, pp 619–628, https://doi.org/10.1145/3357384.3357893

  25. Li Y, Tarlow D, Brockschmidt M et al (2016) Gated graph sequence neural networks. In: Bengio Y, LeCun Y (eds) 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, May 2-4, 2016, Conference Track Proceedings, arXiv:abs/1511.05493

  26. Liang T, Ma L, Zhang W et al (2022) Content-aware recommendation via dynamic heterogeneous graph convolutional network. Knowl Based Syst 251(109):185. https://doi.org/10.1016/j.knosys.2022.109185

    Article  Google Scholar 

  27. Ma H, Zhou D, Liu C et al (2011) Recommender Systems with Social Regularization. In: King I, Nejdl W, Li H (eds) Proceedings of the Forth International Conference on Web Search and Web Data Mining, WSDM 2011, Hong Kong, China, February 9-12, 2011. ACM, pp 287–296, https://doi.org/10.1145/1935826.1935877

  28. Martins AFT, Astudillo RF (2016) From softmax to sparsemax: A Sparse Model of Attention and Multi-label Classification. In: Balcan M, Weinberger KQ (eds) Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, New York City, NY, USA, June 19-24, 2016, JMLR Workshop and Conference Proceedings, vol 48. JMLR.org, pp 1614–1623, http://proceedings.mlr.press/v48/martins16.html

  29. Pang Y, Wu L, Shen Q et al (2022) Heterogeneous Global Graph neural Networks for Personalized Session-based Recommendation. In: WSDM ’22: The Fifteenth ACM International Conference on Web Search and Data Mining, virtual event / Tempe, AZ, USA, February 21 - 25, 2022. ACM, pp 775–783, https://doi.org/10.1145/3488560.3498505

  30. Perozzi B, Al-Rfou R, Skiena S (2014) Deepwalk: Online Learning of Social Representations. In: Macskassy SA, Perlich C, Leskovec J et al (eds) The 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’14, New York, NY, USA - August 24 - 27, 2014. ACM, pp 701–710, https://doi.org/10.1145/2623330.2623732

  31. Qian T, Liang Y, Li Q et al (2020) Attribute graph neural networks for strict cold start recommendation. IEEE Transactions on Knowledge and Data Engineering

  32. Sacenti JAP, Fileto R, Willrich R (2022) Knowledge graph summarization impacts on movie recommendations. J Intell Inf Syst 58(1):43–66. https://doi.org/10.1007/s10844-021-00650-z

    Article  Google Scholar 

  33. Shi C, Kong X, Huang Y et al (2014) Hetesim: a general framework for relevance measure in heterogeneous networks. IEEE Trans Knowl Data Eng 26(10):2479–2492. https://doi.org/10.1109/TKDE.2013.2297920

    Article  Google Scholar 

  34. Shi C, Zhang Z, Luo P et al (2015) Semantic Path based Personalized Recommendation on Weighted Heterogeneous Information Networks. In: Bailey J, Moffat A, Aggarwal CC et al (eds) Proceedings of the 24th ACM International Conference on Information and Knowledge Management, CIKM 2015, Melbourne, VIC, Australia, October 19 - 23, 2015. ACM, pp 453–462, https://doi.org/10.1145/2806416.2806528

  35. Shi C, Li Y, Zhang J et al (2017) A survey of heterogeneous information network analysis. IEEE Trans Knowl Data Eng 29(1):17–37. https://doi.org/10.1109/TKDE.2016.2598561

    Article  Google Scholar 

  36. Shi C, Hu B, Zhao WX et al (2019) Heterogeneous information network embedding for recommendation. IEEE Trans Knowl Data Eng 31(2):357–370. https://doi.org/10.1109/TKDE.2018.2833443

    Article  Google Scholar 

  37. Shi J, Ji H, Shi C et al (2020) Heterogeneous graph neural network for recommendation. arXiv:abs/2009.00799

  38. Suárez J, García S, Herrera F (2018) A tutorial on distance metric learning: Mathematical foundations, algorithms and software. arXiv:abs/1812.05944

  39. Sun Q, Peng H, Li J et al (2020) Pairwise Learning for Name Disambiguation in Large-Scale Heterogeneous Academic Networks. In: Plant C, Wang H, Cuzzocrea A et al (eds) 20th IEEE International Conference on Data Mining, ICDM 2020, Sorrento, Italy, November 17-20, 2020. IEEE, pp 511–520, https://doi.org/10.1109/ICDM50108.2020.00060

  40. Sun Y, Han J, Yan X et al (2011) Pathsim: Meta path-based top-k similarity search in heterogeneous information networks. Proc VLDB Endow 4(11):992–1003. http://www.vldb.org/pvldb/vol4/p992-sun.pdf

  41. Vaswani A, Shazeer N, Parmar N et al (2017) Attention is all you need. In: Guyon I, von Luxburg U, Bengio S et al (eds) Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pp 5998–6008, https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html

  42. Veličković P, Cucurull G, Casanova A et al (2017) Graph attention networks. arXiv preprint arXiv:1710.10903

  43. Wang D, Zhang X, Yu D et al (2021) CAME: content- and context-aware music embedding for recommendation. IEEE Trans Neural Networks Learn Syst 32(3):1375–1388. https://doi.org/10.1109/TNNLS.2020.2984665

    Article  Google Scholar 

  44. Wang X, He X, Wang M et al (2019a) Neural graph collaborative filtering. In: Piwowarski B, Chevalier M, Gaussier É et al (eds) Proceedings of the 42nd International ACM Sigir Conference on Research and Development in Information Retrieval, SIGIR 2019, Paris, France, July 21-25, 2019. ACM, pp 165–174, https://doi.org/10.1145/3331184.3331267

  45. Wang X, Ji H, Shi C et al (2019b) Heterogeneous graph attention network. In: Liu L, White RW, Mantrach A et al (eds) The World Wide Web Conference, WWW 2019, San Francisco, CA, USA, May 13-17, 2019. ACM, pp 2022–2032, https://doi.org/10.1145/3308558.3313562

  46. Wang Z, Liu H, Du Y et al (2019c) Unified Embedding Model Over Heterogeneous Information Network for Personalized Recommendation. In: Proceedings of the 28th International Joint Conference on Artificial Intelligence, pp 3813–3819

  47. Wu L, Sun P, Fu Y et al (2019a) A Neural Influence Diffusion Model for Social Recommendation. In: Piwowarski B, Chevalier M, Gaussier É et al (eds) Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR 2019, Paris, France, July 21-25, 2019. ACM, pp 235–244, https://doi.org/10.1145/3331184.3331214

  48. Wu L, Li J, Sun P et al (2020a) Diffnet++: A neural influence and interest diffusion network for social recommendation. arXiv:abs/2002.00844

  49. Wu Q, Zhang H, Gao X et al (2019b) Dual Graph Attention Networks for Deep Latent Representation of Multifaceted Social Effects in Recommender Systems. In: Liu L, White RW, Mantrach A et al (eds) The World Wide Web Conference, WWW 2019, San Francisco, CA, USA, May 13-17, 2019. ACM, pp 2091–2102, https://doi.org/10.1145/3308558.3313442

  50. Wu S, Zhang W, Sun F et al (2020b) Graph neural networks in recommender systems: A survey. arXiv:abs/2011.02260

  51. Xu L, Wei X, Cao J et al (2017) Embedding of embedding (EOE): Joint Embedding for Coupled Heterogeneous Networks. In: de Rijke M, Shokouhi M, Tomkins A et al (eds) Proceedings of the Tenth ACM International Conference on Web Search and Data Mining, WSDM 2017, Cambridge, United Kingdom, February 6-10, 2017. ACM, pp 741–749, https://doi.org/10.1145/3018661.3018723

  52. Yan S, Wang H, Li Y et al (2021) Attention-aware metapath-based network embedding for HIN based recommendation. Expert Syst Appl 174(114):601. https://doi.org/10.1016/j.eswa.2021.114601

    Article  Google Scholar 

  53. Yang Y, Guan Z, Li J et al (2021) Interpretable and efficient heterogeneous graph convolutional network. IEEE Transactions on Knowledge and Data Engineering

  54. Ying R, He R, Chen K et al (2018a) Graph Convolutional Neural Networks for Web-Scale Recommender Systems. In: Guo Y, Farooq F (eds) Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2018, London, UK, August 19-23, 2018. ACM, pp 974–983, https://doi.org/10.1145/3219819.3219890

  55. Ying R, He R, Chen K et al (2018b) Graph Convolutional Neural Networks for Web-scale Recommender Systems. In: Proceedings of the 24th ACM sigkdd International Conference on Knowledge Discovery & Data Mining, KDD 2018, London, UK, August 19-23, 2018. ACM, pp 974–983, https://doi.org/10.1145/3219819.3219890

  56. Zhang D, Yin J, Zhu X et al (2018) Metagraph2vec: Complex Semantic Path Augmented Heterogeneous Network Embedding. In: Phung DQ, Tseng VS, Webb GI et al (eds) Advances in knowledge discovery and data mining - 22nd Pacific-Asia Conference, PAKDD 2018, Melbourne, VIC, Australia, June 3-6, 2018, Proceedings, Part II, Lecture Notes in Computer Science, vol 10938. Springer, pp 196–208, https://doi.org/10.1007/978-3-319-93037-4_16

  57. Zhang J, Tang J, Liang B et al (2008) Recommendation Over a Heterogeneous Social Network. In: The Ninth International Conference on Web-age Information Management, WAIM 2008, July 20-22, 2008, Zhangjiajie, China. IEEE Computer Society, pp 309–316, https://doi.org/10.1109/WAIM.2008.71

  58. Zhang M, Chen Y (2020) Inductive Matrix Completion based on Graph Neural Networks. In: 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, https://openreview.net/forum?id=ByxxgCEYDS

  59. Zheng J, Liu J, Shi C et al (2017) Recommendation in heterogeneous information network via dual similarity regularization. Int J Data Sci Anal 3(1):35–48. https://doi.org/10.1007/s41060-016-0031-0

    Article  Google Scholar 

  60. Zhou S, Bu J, Wang X et al (2019) HAHE: hierarchical attentive heterogeneous information network embedding. arXiv:abs/1902.01475

Download references

Funding

This work was supported by the Natural Science Foundation of China [grant numbers 61972337, 61502414].

Author information

Authors and Affiliations

Authors

Contributions

Surong Yan and Haosen Wang wrote the main manuscript text. Yixiao Li and Ruilin Guo reviewed the manuscript. Haosen Wang, Chenglong Shi, Long Han and Chunqi Wu conducted software.

Corresponding author

Correspondence to Haosen Wang.

Ethics declarations

Conflict of interest

Authors have no competing interests as defined by Springer, or other interests that might be perceived to influence the results and/or discussion reported in this paper.

Ethical approval and Consent to participate

Written informed consent for publication of this paper was obtained from all authors

Consent for publication

Written informed consent was obtained from the patient for publication of this case report and any accompanying images.

Human and Animal rights

Study does not involve animal or human subjects.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yan, S., Wang, H., Li, Y. et al. Metapath-guided dual semantic-aware filtering for HIN-based recommendation. J Supercomput 79, 11934–11964 (2023). https://doi.org/10.1007/s11227-023-05113-6

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-023-05113-6

Keywords

Navigation