Skip to content

The codes for ICTAI'21 paper "KGAT-SR: Knowledge-Enhanced Graph Attention Network for Session-based Recommendation".

Notifications You must be signed in to change notification settings

hu-dske/KGAT-SR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

KGAT-SR

Hi! You are welcome to visit here!
This repository is used to release the code of KGAT-SR, a newly proposed model for session-based recommendation by our research team. KGAT-SR stands for the Knowledge-Enhanced Graph Attention Network for Session-based Recommendation, which uses the knowledge about items from a KG to enhance session embedding via graph attention networks. To the best of our knowledge, it is the first session-based recommendation model that exploits external knowledge to enhance session embedding via graph attention networks. The research paper of KGAT-SR has been published in the 2021 IEEE 33rd International Conference on Tools with Artificial Intelligence (ICTAI), which is available at: https://doi.org/10.1109/ICTAI52525.2021.00164. The citation format in the IEEE Style is as follows:

Q. Zhang, Z. Xu, H. Liu and Y. Tang, "KGAT-SR: Knowledge-Enhanced Graph Attention Network for Session-based Recommendation," 2021 IEEE 33rd International Conference on Tools with Artificial Intelligence (ICTAI), 2021, pp. 1026-1033, doi: 10.1109/ICTAI52525.2021.00164.

In essence, we used PyTorch to implement KGAT-SR based on FGNN [by R. Qiu et al., CIKM'19, https://doi.org/10.1145/3357384.3358010] and KGAT [by X. Wang et al., KDD'19, https://doi.org/10.1145/3292500.3330989]. Our main modifications include: i) Python code of the KESG Generation layer was produced by modifying the attentive embedding propagation layers in KGAT; ii) The Session Embedding Generation layer was implemented by replacing the Readout function in FGNN with SAGPool [by J. Lee et al., ICML'19, http://proceedings.mlr.press/v97/lee19c.html].

Two real-world datasets (MovieLens 1M and LFM-1b) were used to empirically evaluate the performance of KGAT-SR, and the experimental results show that KGAT-SR significantly outperforms the state-of-the-art models for next item recommendation in terms of recommendation accuracy. Detailed information about the experimental datasets and the comparison models are given below.

Experimental Datasets

References:

[1] Harper, F.M.; Konstan, J.A. The MovieLens Datasets: History and Context. ACM Trans. Interact. Intell. Syst. 2016, 5, 1-19. https://doi.org/10.1145/2827872

[2] Markus Schedl: The LFM-1b Dataset for Music Retrieval and Recommendation. ICMR 2016: 103-110. https://doi.org/10.1145/2911996.2912004

[3] Wayne Xin Zhao, Gaole He, Kunlin Yang, Hongjian Dou, Jin Huang, Siqi Ouyang, Ji-Rong Wen: KB4Rec: A Data Set for Linking Knowledge Bases with Recommender Systems. Data Intell. 1(2): 121-136 (2019). https://doi.org/10.1162/dint_a_00008

Comparison Models

About

The codes for ICTAI'21 paper "KGAT-SR: Knowledge-Enhanced Graph Attention Network for Session-based Recommendation".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages