Author
Abstract
Personalized product recommendation is crucial for enhancing user experience and driving sales in e-commerce, yet effectively leveraging sparse, implicit feedback from transactional data remains challenging. This paper investigates the application of heterogeneous Graph Neural Networks (GNNs) for product recommendation on the widely used Online Retail dataset. We frame the task as link prediction between customers and products, constructing a heterogeneous graph from processed transactional records. We employ a GNN model based on GraphSAGE, adapted for heterogeneity, using learnable embeddings derived solely from the interaction structure. Our experiments demonstrate the model's effectiveness, achieving a ROC AUC of 0.853 and an F1-Score of 0.750 (with 0.937 Recall) on the held-out test set using an optimized configuration (negative sampling ratio 1.0, classification threshold -0.5). We analyze the significant impact of the negative sampling ratio during training on the final precision-recall trade-off, highlighting the importance of aligning training parameters with desired recommendation goals. Our findings confirm the viability of heterogeneous GNNs for modeling implicit feedback and providing effective recommendations in a retail context. This paper is organized as follows: Section I introduces the problem and our approach. Section II reviews related work in recommendation systems and graph-based methods. Section III details our methodology, including dataset description, data preparation, graph construction, and the GNN model architecture. Section IV describes the experimental setup and evaluation metrics. Section V presents the quantitative results, including the analysis of parameters like negative sampling. Section VI discusses the findings and limitations. Finally, Section VII concludes the paper.
Suggested Citation
Karima Belmabrouk & Latifa Dekhici & Imad Eddine Khiloun & Christoph Bergmeir, 2025.
"Heterogeneous Graph Neural Networks for Product Recommendation on Transactional Retail Data,"
Post-Print
hal-05535428, HAL.
Handle:
RePEc:hal:journl:hal-05535428
Note: View the original document on HAL open archive server: https://hal.science/hal-05535428v1
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hal:journl:hal-05535428. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: CCSD (email available below). General contact details of provider: https://hal.archives-ouvertes.fr/ .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.