TLARS: A time and location-aware recommender system using dynamic multi-head attention
This paper introduces a novel Time-Location Aware Recommender System (TLARS) to effectively capture the intricate interplay between temporal, spatial, and user preference factors. TLARS leverages a heterogeneous graph neural network (HGNN) to model complex relationships between users, items, and locations. A dynamic multi-head attention mechanism is incorporated to focus on relevant information dynamically, enabling the model to adapt to evolving user preferences and contextual factors. Extensive experimental evaluations on the Foursquare-TKY dataset demonstrate TLARS’s superior performance over state-of-the-art baselines, achieving 15.2% improvement in accuracy over LBSN2Vec and significant gains in NDCG@10 (0.318) and MRR (0.438). Experiments were conducted using the Foursquare-TKY dataset (∼445,734 check-ins), implemented in PyTorch 2.4.0 and DGL 1.0.0, and trained on an NVIDIA GeForce GPU (24 GB VRAM). The model shows particular strength in handling cold-start scenarios and temporal variations, with notably strong performance during weekend periods (0.762 accuracy). Ablation studies validate the critical role of temporal encoding and multi-head attention mechanisms, with temporal information removal leading to a 10.9 percentage point decrease in accuracy. Future work will concentrate on developing real-time adaptation mechanisms and exploring generalization capabilities across diverse geographical datasets.
Authors
- Vafa Maihami (ORCID: https://orcid.org/0000-0002-0478-6317)
- Keyhan Khamforoosh (ORCID: https://orcid.org/0000-0003-0792-0523)
- Twana Najim Abdalla Nasralla
Institutions
- Islamic Azad University South Tehran Branch (IR)
- Islamic Azad University Sanandaj Branch (IR)
Publication Details
- Journal
- Egyptian Informatics Journal
- Published
- 2026-02-05
- DOI
- https://doi.org/10.1016/j.eij.2026.100902
- Primary Topic
- Recommender Systems and Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00