STAN: Spatio-Temporal Attention Network for Next Location Recommendation

Yingtao Luo, Qiang Liu, Zhaocheng Liu
2/8/2021
527 citations
cs.IRcs.AI

Official code: yingtaoluo/Spatial-Temporal-Attention-Network-for-POI-Recommendation (195 stars, Python, last commit 2023-05-23).

Abstract

The next location recommendation is at the core of various location-based applications. Current state-of-the-art models have attempted to solve spatial sparsity with hierarchical gridding and model temporal relation with explicit time intervals, while some vital questions remain unsolved.

Show full abstract

Non-adjacent locations and non-consecutive visits provide non-trivial correlations for understanding a user's behavior but were rarely considered. To aggregate all relevant visits from user trajectory and recall the most plausible candidates from weighted representations, here we propose a Spatio-Temporal Attention Network (STAN) for location recommendation. STAN explicitly exploits relative spatiotemporal information of all the check-ins with self-attention layers along the trajectory. This improvement allows a point-to-point interaction between non-adjacent locations and non-consecutive check-ins with explicit spatiotemporal effect. STAN uses a bi-layer attention architecture that firstly aggregates spatiotemporal correlation within user trajectory and then recalls the target with consideration of personalized item frequency (PIF). By visualization, we show that STAN is in line with the above intuition. Experimental results unequivocally show that our model outperforms the existing state-of-the-art methods by 9-17%.

View on arXivView PDF

Code Implementations(1)

Codes for a WWW'21 Paper. POI recommender system for location/trajectory prediction.

19544PythonSep 23, 20203 years ago

Similar Papers

Cite this paper

@article{luo2021stan,
  title  = {STAN: Spatio-Temporal Attention Network for Next Location Recommendation},
  author = {Yingtao Luo and Qiang Liu and Zhaocheng Liu},
  year   = {2021},
  eprint = {2102.04095},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.04095}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.04095.svg)](https://codeofpaper.com/paper/2102.04095)

Discussion