Next Article in Journal
Thematic Content and Visualization Strategy for Map Design of City-Specific Culture Based on Local Chronicles: A Case Study of Dengfeng City, China
Previous Article in Journal
Use of a MODIS Satellite-Based Aridity Index to Monitor Drought Conditions in the Pearl River Basin from 2001 to 2021
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Spatio-Temporal Unequal Interval Correlation-Aware Self-Attention Network for Next POI Recommendation

1
College of Computer and Information Engineering, Henan University, Kaifeng 475004, China
2
Henan Engineering Laboratory of Spatial Information Processing, Henan University, Kaifeng 475004, China
3
Henan Key Laboratory of Big Data Analysis and Processing, Henan University, Kaifeng 475004, China
*
Author to whom correspondence should be addressed.
ISPRS Int. J. Geo-Inf. 2022, 11(11), 543; https://doi.org/10.3390/ijgi11110543
Submission received: 30 August 2022 / Revised: 20 October 2022 / Accepted: 24 October 2022 / Published: 29 October 2022

Abstract

:
As the core of location-based social networks (LBSNs), the main task of next point-of-interest (POI) recommendation is to predict the next possible POI through the context information from users’ historical check-in trajectories. It is well known that spatial–temporal contextual information plays an important role in analyzing users check-in behaviors. Moreover, the information between POIs provides a non-trivial correlation for modeling users visiting preferences. Unfortunately, the impact of such correlation information and the spatio–temporal unequal interval information between POIs on user selection of next POI, is rarely considered. Therefore, we propose a spatio-temporal unequal interval correlation-aware self-attention network (STUIC-SAN) model for next POI recommendation. Specifically, we first use the linear regression method to obtain the spatio-temporal unequal interval correlation between any two POIs from users’ check-in sequences. Sequentially, we design a spatio-temporal unequal interval correlation-aware self-attention mechanism, which is able to comprehensively capture users’ personalized spatio-temporal unequal interval correlation preferences by incorporating multiple factors, including POIs information, spatio-temporal unequal interval correlation information between POIs, and the absolute positional information of corresponding POIs. On this basis, we perform next POI recommendation. Finally, we conduct comprehensive performance evaluation using large-scale real-world datasets from two popular location-based social networks, namely, Foursquare and Gowalla. Experimental results on two datasets indicate that the proposed STUIC-SAN outperformed the state-of-the-art next POI recommendation approaches regarding two commonly used evaluation metrics.

1. Introduction

With the popularity of mobile smart devices and the development of LBSNs, such as Foursquare, Gowalla and Yelp, users can find preferred POIs through mobile devices and location-based services, publish their check-in information in social network platforms, and share their experience after visiting POIs. POI recommendations can help users quickly find POIs that they are interested in, improve users experience, and help POI providers quickly understand users preferences and further improve service quality in a targeted manner. Therefore, POI recommendation has gradually attracted wide attention from researchers. Since users show strong timing when visiting POIs, the recommendation list will change with the corresponding check-in information. As an extension of the general POI recommendation [1], next POI recommendation can accurately infer POIs that users will visit at the next moment according to users’ historical check-in trajectories, consequently providing useful assistance to users and merchants. Therefore, next POI recommendation has become one of the research hotspots in the academic and industrial fields [2].
In next POI recommendation, most studies focus on exploiting users’ mobility sequence patterns hidden in users’ historical check-in trajectories. As for the sequential POI recommendation methods, Markov-chain-based methods [3] are mainly used in the early stage. However, experiments show that such methods have an excellent effect in sparse scenarios, but fail to capture complex sequence features. Later, researchers tried to improve the accuracy of POI recommendation by using the recurrent neural network (RNN) [4] with memory mechanisms. In order to alleviate the problem of the vanishing gradient in traditional RNN, sequential POI recommendation methods based on long short-term memory (LSTM) [5] and gate recurrent unit (GRU) [6] have been proposed one after another, which have some effects on acquiring the long-term dependencies of users. In recent years, inspired by machine translation Transformer, researchers leveraged the self-attention mechanism for sequential POI recommendation [7]. Experiments show that the performance of the POI recommendation methods is significantly better than that based on Markov chain and RNN.
In the methods of next POI recommendation, more factors considered are the temporal factor [8,9] and spatial factor [10,11]. To this end, researchers have proposed various next POI recommendation methods based on the spatio-temporal context to improve the recommendation performance. Although these methods have shown inspiring results, they still have two major limitations as follows:
(1) The effect of spatio-temporal unequal interval information between any two POIs on user selection of next POI is ignored. Most studies model users’ mobility sequence patterns according to the corresponding check-in temporal sequences in users’ historical check-in trajectories. It is assumed that there is an equal temporal/spatial (distance) interval between consecutive check-in activities in users’ check-in trajectories [12], or considering the spatio-temporal information between POIs visited in only consecutive check-in activities [13] or only in non-consecutive check-in activities [14], and ignoring the impact of the spatio-temporal unequal interval between POIs visited in any two check-in activities whether consecutive or not. Studies have shown that the temporal interval between POIs is different, and the corresponding impact on the selection of next POI is also different [15]. Moreover, different users have different maximum tolerances for temporal and spatial intervals between POIs [10]. In fact, even if the historical check-in trajectories of users are the same, the time when users visit the corresponding POIs may be different [16]. The results observed from Figure 1 support that users have different preferences for spatio-temporal intervals when selecting next POIs. Obviously, users’ different spatio-temporal interval preferences have an impact on the users’ selection of next POIs.
(2) The spatial–temporal unequal interval correlation is not considered when recommending the next POI. Most POI recommendation methods based on the spatial–temporal context only analyze the spatial correlation between POIs visited in consecutive or non-consecutive check-in activities [17,18], while lacking the correlation analysis of the impact of the temporal interval on the spatial interval between any two POIs from the user check-in sequence. Furthermore, as shown in Figure 1, User1 prefers to spend a longer time on visiting POIs with larger spatial intervals, while User2 does the opposite. Therefore, we consider that the greater the temporal interval between the user visiting POIs, the more likely he/she is to visit POIs with larger spatial intervals, and vice versa.
To address the issues mentioned above, we propose a spatio-temporal unequal interval correlation-aware self-attention network (STUIC-SAN) model for next POI recommendation. The model integrates POIs information, spatio-temporal unequal interval correlation information between POIs, and the absolute positional information of corresponding POIs in users’ check-in sequences, learns users’ personalized spatio-temporal unequal interval correlation preference features, and then makes next POI recommendations. Extensive experiments are carried out on two public datasets, namely, Foursquare and Gowalla, to verify the effectiveness of STUIC-SAN. Our primary contributions can be summarized as follows.
(1) We propose a novel approach for next POI recommendation, named STUIC-SAN, which significantly improves the performance of the recommendation.
(2) We deeply mine the correlation between spatio-temporal unequal intervals, and develop an embedding method that takes into account POIs information, spatio-temporal unequal interval correlation information between POIs, and the absolute positional information of corresponding POIs. These factors are considered to be the relationship between any two POIs so as to comprehensively model users’ spatio-temporal unequal interval correlation preferences.
(3) We design a correlation-aware self-attention network model to learn users’ personalized spatio-temporal unequal interval correlation preference features, which can automatically measure the relevance of various inputs mentioned in contribution (2) to the model at each step and then adjust the attention weights for the inputs accordingly.
(4) To verify the effectiveness of the proposed model, we conduct extensive experiments based on two real-world datasets. Experimental results show that the proposed STUIC-SAN outperforms the state-of-the-art next POI recommendation approaches.
The remainder of this paper is organized as follows. Section 2 reviews the works related to next POI recommendation. Section 3 gives the preliminaries and dataset analysis. We introduce the details of the proposed STUIC-SAN model in Section 4. Next, we compare our proposed model with existing next POI recommendation models, and analyze the experimental results as well as the threats to validity in Section 5. Finally, we conclude this paper and outline the future work in Section 6.

2. Related Work

2.1. Sequential Next POI Recommendation

Most of the historical check-in data of users in LBSNs are presented in the form of sequences. Thus, the sequential modeling of users’ check-in information can effectively capture the sequence features of users check-in locations, thereby improving the performance of next POI recommendation. The main task of next POI recommendation is to recommend the next POI based on users’ historical check-in activities. The methods for sequential next POI recommendations can be roughly divided into the following two categories.
(1) Next POI recommendation based on Markov chain. In the early stage, most methods used the first-order Markov chain [19,20] to recommend next POI, only considering users’ last check-in activity, and the acquisition of users’ visiting preferences was not comprehensive. Therefore, He et al. [21] adopted a high-order Markov chain to consider the recent check-in activities so as to obtain relatively complete users’ visiting preferences, and then make the next POI recommendation. However, the next-POI-recommendation methods mentioned above cannot obtain the long-term visiting preferences of users, and the recommendation performance is not ideal when the dataset is sparse.
(2) Next POI recommendation based on deep learning. RNN is very effective for processing sequence data with rich contextual information, so most of sequential next POI recommendation methods are based on RNN and its variant models. For example, Lu et al. [22] proposed a consecutive POI recommendation approach based on latent factors, which combines the sequential patterns of POIs and users visiting preferences for next POI recommendation. However, due to the vanishing gradient problem of traditional RNN, the extended model LSTM of RNN came into being to effectively describe the long-term visiting preferences of users. Therefore, Cui et al. [13] used context to model non-consecutive POIs, obtained the time effect in the long-term module based on the LSTM model, and constructed four short-term sequences in the short-term module to obtain the influence effects of different factors so as to carry out next POI recommendations. Compared with the Markov chain model, RNN and its variant models can effectively alleviate the problem of long-term dependence, but their models are completely dependent on serial computing, and the parallel ability is poor.
Meanwhile, Transformer can realize parallel operations, obtain global information, and effectively solve the above problems. Therefore, researchers applied self-attention mechanism to sequential recommendation and achieved good results [23,24]. For example, Liu et al. [6] proposed a category-aware GRU model based on the self-attention mechanism, which can selectively use the self-attention mechanism to focus on the relevant historical check-in trajectory information and then conduct POI recommendation. Huang et al. [25] proposed a deep attention network model based on social awareness for next POI recommendation, which leveraged the self-attention mechanism to model sequential and social influences in a unified way. Lim et al. [26] proposed a novel explore–exploit model that leveraged random walks as a masked self-attention option to use spatial–temporal-preference graph structures and find new higher-order POI neighbors during exploration as candidate POIs. The above research demonstrates that using the self-attention mechanism in Transformer for next POI recommendation is more effective than traditional RNN models.
However, most of the above methods only retain the sequential information between POIs, or directly set the temporal interval or spatial interval between POIs visited in consecutive or non-consecutive check-in activities to the same value, ignoring the effect of spatio-temporal unequal interval correlation between the corresponding POIs on users’ selection of next POI, and lacking the correlation analysis of the impact of the temporal unequal interval between any two POIs on the spatial interval. In our research, we adopt linear regression to analyze the correlation effect of the temporal unequal interval between any two POIs on the spatial interval, and learn the effect of spatio-temporal unequal interval correlation on the selection of next POI by the self-attention mechanism, consequently improving the performance of next POI recommendation.

2.2. Next POI Recommendation Based on Spatio-Temporal Context

In LBSNs, the spatio-temporal context in users check-in sequences can accurately describe the visiting preferences of users, thus attracting the extensive attention of researchers. For example, Ding et al. [27] used users’ check-in temporal and spatial sequence characteristics to model users’ temporal feature preferences, divided users’ check-in timestamps into time periods, and simulated users’ preferences for POIs in a specific time period, but the model ignored the impact of users’ long-term preferences. Therefore, Doan et al. [28] proposed a deep long-short-term RNN model with a memory attention mechanism, which captured sequence features and spatio-temporal features into its learning representation, and then modeled users’ preferences for next POI. Zhao et al. [29] proposed spatio-temporal gated networks to model the personalized sequential patterns of users’ long-term and short-term preferences for next POI recommendation. Considering that not all users’ historical check-in activities have the same impact on the check-in behavior at the next moment, Huang et al. [30] proposed a spatio-temporal long- and short-term memory network to model the spatio-temporal context information, and combined it with the LSTM model based on attention mechanism to selectively utilize the spatio-temporal context so as to conduct next POI recommendation.
In addition, some studies have combined spatio-temporal context information with users’ social information for next POI recommendation. For example, Davtalab et al. [31] proposed a social spatio-temporal probability matrix factorization model, which used POIs similarity and users similarity, integrated social influence factors, spatial influence factors and POI category influence factors in similarity modeling, and used similarity modeling to obtain users’ preferred POIs. Dai et al. [32] integrated social information on the basis of the spatio-temporal influence of users’ historical check-in sequences, and modeled users’ personalized sequential patterns through joint embedding and a LSTM-based spatio-temporal neural network, thereby recommending personalized POIs for users. Furthermore, researchers also used the spatial and temporal context to alleviate the high sparsity of users’ check-in data. For example, Xi et al. [33] proposed a Bi-STDDP model, which can integrate bidirectional spatio-temporal dependencies and users’ dynamic preferences to identify missing check-in locations that users have visited at a specific time. Ma et al. [34] utilized the LSTM neural network and kernel density estimation to model users’ visiting preferences, integrating spatio-temporal context information, locations information and category factors, and recommended next POIs to users.
The methods mentioned above analyze user-related context information from different dimensions, improving the recommendation performance to some extent. However, the above research lacks the in-depth mining of spatio-temporal information between any two POIs from users’ check-in sequences, and ignores the impact of spatio-temporal unequal interval information and the spatio-temporal unequal interval correlation between any two POIs on the user selection of next POI. In contrast, our work takes the spatio-temporal unequal interval correlation information as the relationship between any two POIs, and designs a spatio-temporal unequal interval correlation-aware self-attention network model, which can combine the POIs information, spatio-temporal unequal interval correlation information between POIs, and absolute positional information of corresponding POIs in users’ check-in sequences, selectively fuse more relevant historical check-in activities, and accurately simulate users’ personalized spatio-temporal unequal interval correlation preferences to enhance the performance of next POI recommendation.

3. Preliminaries and Data Analysis

In this section, we first provide a formulation of our next POI recommendation task and list key notations used in this paper in Table 1, and then analyze the properties of the datasets.

3.1. Preliminaries

In this section, we give some definitions of terms. Assume that U = u 1 , u 2 , , u U denotes users set and L = l 1 , l 2 , , l L denotes POIs set, where U is the total number of users, and L is the total number of POIs that all users visited.
Definition 1.
POI. In LBSNs, POIs represent specific spatial locations that contain geographical information in real life, such as a restaurant, a shop, a cafe, and so on.
Definition 2.
Check-in activity. For a check-in activity r e of user u i , we represent it as a triple: r e = l e , t e , g e , which means that user u i has visited the POI l e at time t e , while g e = l o n e , l a t e indicates the latitude and longitude of l e .
Definition 3.
Historical check-in trajectory. The historical check-in trajectory of user u i is represented by t r a ( u i ) = r 1 , r 2 , , r m , and m is the number of check-in activities in t r a ( u i ) .
Definition 4.
Check-in sequence. We set user historical check-in trajectory t r a ( u i ) = r 1 , r 2 , , r m to a fixed-length check-in sequence s e q ( u i ) = r 1 , r 2 , , r n , where n represents the maximum sequence length.
Definition 5.
Temporal sequence and spatial sequence. According to user check-in sequence s e q ( u i ) = r 1 , r 2 , , r n , the corresponding temporal sequence t ( u i ) = t 1 , t 2 , , t n and spatial sequence g ( u i ) = g 1 , g 2 , , g n are generated.
Definition 6.
Spatio-temporal unequal interval correlation-aware next POI recommendation task. Given user check-in sequence s e q ( u i ) = r 1 , r 2 , , r n t r a ( u i ) , the goal of next POI recommendation is to predict the most likely POIs that user u i will visit at a specific time.

3.2. Preliminary Analysis

When modeling user’s visiting preference for spatio-temporal unequal interval correlation-aware POI recommendation, we consider two important factors: spatio-temporal unequal interval information and spatio-temporal unequal interval correlation between any two POIs. It is well recognized that the spatio-temporal interval between POIs is unequal, so here we focus on analyzing the correlation factor on two public LBSN datasets, i.e., Foursquare and Gowalla.
The results observed from Figure 2 and Figure 3 support that the correlation factor we considered has a certain impact on the users’ selection of the next POI. Note that here, we mainly illustrate the analysis between POIs in consecutive check-in activities; the analysis in non-consecutive check-in activities is similar, so we will not give further analysis due to space limitation.
Specifically, as shown in Figure 2, by analyzing users’ check-in data from Foursquare (Figure 2a) and Gowalla (Figure 2b), we find that users tend to visit POIs with relatively small spatial intervals (such as near the office or home) due to limited free time on weekdays, while they may prefer to visit POIs with relatively large spatial intervals on weekends due to abundant free time. To be specific, Figure 2(1) shows the statistics on the spatial intervals between POIs during weekdays of the two datasets. It can be seen that most users from the two datasets (61.95%, 57.61%) have a spatial interval of no more than 25 km between POIs. Among them, 32.71% and 36.98% of users visit POIs within 5 km, indicating that the spatial interval between users visiting POIs on weekdays is relatively small; similarly, Figure 2(2) shows the statistics on the spatial interval between POIs during weekends. We can see that most users from two datasets (61.14%, 60.53%) have a spatial interval of more than 25 km between POIs. Among them, 43.22% and 56.38% of users visit POIs exceeding 25 km, indicating that users are more likely to visit POIs with relatively large spatial intervals on weekends; furthermore, Figure 2(3) shows the statistical results of comparing the spatial interval between POIs on weekdays and that on weekends. It can be seen that more than 59% of users from two datasets visit POIs on weekends with a larger spatial interval than that on weekdays. Therefore, we considered that the temporal interval between POIs has a certain impact on the spatial interval of users selection of next POI.
We qualitatively analyze the spatio-temporal unequal interval correlation between POIs from Foursquare. We measure the correlation of temporal interval and spatial interval between POIs by calculating the Pearson correlation coefficient. Figure 3(1)–(4) show the results of four users randomly selected from Foursquare. As expected, the temporal interval and spatial interval between POIs are approximately positively correlated. In other words, when the temporal interval between user visiting POIs is small, the spatial interval between POIs is also relatively small, and vice versa. That is, the spatial interval for users to select the next POI is limited by the temporal interval. Therefore, the spatio-temporal interval between POIs has a certain correlation, and such a correlation has a certain impact on the user selection of the next POI. These results demonstrate that the spatio-temporal interval correlation between POIs plays an important role in capturing the personalized spatio-temporal interval correlation preferences of users, which motivates us to use such a correlation for next POI recommendation.

4. The Proposed Method

In this section, we elaborate the general architecture of STUIC-SAN (note that the temporal interval and spatial interval in our model are unequal by default). As shown in Figure 4, the STUIC-SAN model mainly consists of four modules: (1) preference modeling layer, which is used to construct spatio-temporal unequal interval matrices of users according to the spatio-temporal interval correlation information between any two POIs from users check-in sequences so as to comprehensively model users personalized spatio-temporal interval correlation preferences; (2) preference embedding layer, which is used for learning the dense representations of POIs information, spatio-temporal interval correlation information between POIs, and absolute positional information of corresponding POIs in the user check-in sequence; (3) Transformer model, which aggregates relatively important POIs from the user check-in sequence and adjusts different weights to each POI to update the representation of the corresponding POIs; and (4) next POI recommendation, which is used to calculate the preference score of next POI by querying the corresponding POI representation update of a specific user at time t. Then, candidate POIs are sorted according to the corresponding preference scores, and the top-k ranked POIs are recommended.

4.1. User Personalized Spatio-Temporal Unequal Interval Correlation Preference Modeling Layer

Accurately obtaining spatio-temporal unequal interval correlation information between POIs is critical for next POI recommendation. Considering the impact of spatio-temporal unequal interval correlation information on users’ check-in behaviors, we model the spatio-temporal unequal interval correlation information between any two POIs as a relationship between the corresponding POIs. On this basis, users’ personalized temporal unequal interval matrices are constructed based on the corresponding temporal sequences generated by users’ check-in sequences. Subsequently, users are classified by the comparison results of the average temporal interval between POIs from each user check-in sequence, and the average temporal interval between POIs from all users’ check-in sequences. Then, we use linear regression to obtain the spatio-temporal unequal interval correlation of different kinds of users, and calculate the maximum spatial interval of each user to construct the corresponding user personalized spatial unequal interval matrix. Next, we describe the process of obtaining users’ personalized spatio-temporal unequal interval matrices in detail.

4.1.1. Construction of Users Personalized Temporal Unequal Interval Matrices

This subsection is mainly used to construct users’ personalized temporal unequal interval matrices based on the corresponding temporal sequences generated from users’ check-in sequences. For each user check-in sequence, we adopt the similar method proposed in [15] to perform the same processing on each timestamp of the corresponding POI. That is, we divide the temporal interval between any two POIs by the minimum temporal interval except 0 so as to scale down it in equal proportion. Meanwhile, considering that the temporal interval between any two POIs is too large, the clip operation is further performed on all temporal intervals after the reduction to better model the personalized temporal unequal interval between POIs.
Specifically, we generate the corresponding temporal sequence t ( u i ) = t 1 , t 2 , , t n according to the user u i check-in sequence, and then calculate the temporal interval between any two POIs, which is represented by r i j t u i = t i t j , and r i j t u i R u i t , where R u i t represents the set of temporal intervals in the check-in sequence of user u i , and r m i n t u i = M i n ( R u i t ) denotes the minimum temporal interval of user u i . Then, each element in set R u i t is scaled down in equal proportion by Formula (1).
r i j t u i = t i t j r m i n t u i
Therefore, the personalized temporal unequal interval matrix Δ t u i N n × n of user u i is expressed as
Δ t u i = r 11 t u i r 1 n t u i r n 1 t u i r n n t u i
Note that the elements on the main diagonal in matrix Δ t u i are all 0.
As mentioned above, we consider the case that the temporal interval between any two POIs is too large. So, we set the maximum threshold k t for matrix Δ t u i , and adjust each element in the matrix to r i j t u i = M i n ( k t , r i j t u i ) . Therefore, matrix Δ t u i is further expressed as Δ c l i p p e d t u i = c l i p ( Δ t u i ) , while c l i p ( · ) indicates that each element in the matrix is clipped according to the corresponding maximum threshold k t .

4.1.2. Construction of Users Personalized Spatial Unequal Interval Matrices

The main work of this subsection is to obtain users’ personalized spatial unequal interval matrices according to the spatio-temporal interval correlation between any two POIs. According to the correlation between temporal and spatial intervals of POIs shown in Figure 2 and Figure 3, we consider that the spatial interval between users visiting POIs will be affected by the corresponding temporal interval. So we classify users according to the average temporal interval between POIs from each user check-in sequence and the average temporal interval between POIs from all users’ check-in sequences, and use linear regression to obtain the spatio-temporal interval correlation of different kind of users. Then, we calculate the maximum spatial interval of each user as the maximum spatial span in the corresponding user-personalized spatial unequal interval matrix. On this basis, users’ personalized spatial unequal interval matrices are constructed.
Specifically, we obtain the corresponding spatial sequence g ( u i ) = g 1 , g 2 , , g n generated from the user u i check-in sequence, and then calculate the spatial interval between any two POIs, which is represented by r i j s u i = H a v e r s i n e ( G P S i , G P S j ) , and r i j s u i R u i s , where R u i s denotes the set of spatial intervals in the check-in sequence of user u i . Therefore, the personalized spatial unequal interval matrix Δ s u i N n × n of user u i is expressed as
Δ s u i = r 11 s u i r 1 n s u i r n 1 s u i r n n s u i
Next, we classify users according to the average temporal interval between POIs from each user check-in sequence and the average temporal interval between POIs from all users’ check-in sequences. Among them, the average temporal interval of each user is denoted by r m e a n t u i = M e a n ( R u i t ) , and the average temporal interval of all users is represented by r m e a n t = M e a n ( i = 1 U R u i t ) . Then, we compare the average temporal interval of user u i with the average temporal interval of all users to classify users. Furthermore, we count the number of users when r m e a n t u i > r m e a n t , r m e a n t u i = r m e a n t , r m e a n t u i < r m e a n t , respectively, and find that there are almost no users with r m e a n t u i = r m e a n t from two datasets. Therefore, according to the corresponding comparison results, users are divided into two categories, as shown in Formula (4).
R u i t | R u i t S s m a l l t R u i s | R u i s S s m a l l s r m e a n t u i < r m e a n t R u i t | R u i t S l arg e t R u i s | R u i s S l arg e s r m e a n t u i > r m e a n t
where S s m a l l t and S s m a l l s represent the sets of the temporal interval and spatial interval of users with r m e a n t u i < r m e a n t , respectively. Correspondingly, S l a r g e t and S l a r g e s denote the sets of the temporal interval and spatial interval of users with r m e a n t u i > r m e a n t , respectively.
Based on the above classification of users, we use the linear regression method [35] to obtain the spatio-temporal interval correlation between any two POIs from the corresponding check-in sequences of two kinds of users, and adopt Formula (5) to optimize the core objective.
( w * , b * ) = arg min ( w , b ) i = 1 j ( w S i t + b S i s ) 2
where j represents the number of elements in set S t or S s . S i t S t represents an element in the temporal interval set of a category of users. Similarly, S i s S s denotes an element in the spatial interval set of a category of users. w and b represent the slope and intercept in the linear regression equation, respectively. We use the minimization mean square error to solve the model, as shown in Formulas (6) and (7).
w = i = 1 j S i s ( S i t S t ¯ ) i = 1 j S i t 2 1 j ( i = 1 j S i t 2 ) 2
b = 1 j i = 1 j ( S i s w S i t )
where S t ¯ denotes the mean of the temporal intervals in set S t .
For each kind of users, we obtain the corresponding values of w, b, denoted by w s m a l l , b s m a l l , w l a r g e , b l a r g e , respectively. Considering the differences of users temporal interval preferences for visiting POIs, we further calculate the corresponding maximum spatial interval of each user in a more fine-grained manner according to the obtained maximum temporal interval of each user, as shown in Formula (8).
R e g ( k s m a l l s ) = w s m a l l r m a x t u i + b s m a l l , r m e a n t u i < r m e a n t R e g ( k l a r g e s ) = w l a r g e r m a x t u i + b l a r g e , r m e a n t u i > r m e a n t
where R e g ( · ) indicates the linear regression operation, k s m a l l s represents the maximum spatial interval of matrix Δ s u i of each user with r m e a n t u i < r m e a n t ; k l a r g e s represents the maximum spatial interval of matrix Δ s u i of each user with r m e a n t u i > r m e a n t ; and r m a x t u i = M a x ( R u i t ) represents the maximum temporal interval between any two POIs from the check-in sequence of user u i . Subsequently, each element in matrix Δ s u i is denoted as r i j s u i = M i n ( k s , r i j s u i ) . Therefore, the personalized spatial unequal interval matrix of user u i is further represented as Δ c l i p p e d s u i = c l i p ( Δ s u i ) .

4.2. Embedding Layer Fusing Spatio-Temporal Unequal Interval Correlation Preference

The embedding layer is used to encode the POIs information, spatio-temporal interval correlation information between POIs, and absolute positional information of corresponding POIs in each user check-in sequence as latent representations. Firstly, we create an embedding matrix M L R L × d for POIs, where L represents the number of POIs and d represents the latent dimension. Then, for the historical check-in trajectory of user u i , we use a constant zero vector as the embedding for padding items, and cut off or pad the user check-in trajectory to the first n check-in activities. As for POIs from the first n check-in activities, the embedding look-up operation retrieves the previous n POI embeddings and stacks them together to generate a embedding matrix E L R n × d as shown in Formula (9).
E L = I 1 I 2 I n
where I i R d denotes the embedded representation of the POI visited in the i-th check-in activity from the user check-in sequence.
Since the self-attention mechanism cannot directly obtain the POIs position from the user check-in sequence, we use two different learnable positional embedding matrices M K P R n × d and M V P R n × d , which represent the keys and values in the self-attention mechanism, respectively. This method is more suitable for the self-attention mechanism without requiring additional linear transformations [7]. After the retrieval operation, we obtain the absolute positional embedding matrices E K P R n × d , E V P R n × d of the user check-in sequence, as shown in Formula (10).
E K P = p 1 K p 2 K p n K E V P = p 1 V p 2 V p n V
Similar to the absolute positional embedding, we perform the same operations for temporal interval embedding and spatial interval embedding. Specifically, we use word embedding technology to encode temporal intervals and create two temporal interval embedding matrices M K T R k t × d , M V T R k t × d . Similarly, we obtain the spatial interval embedding matrices M K S R k s × d , M V S R k s × d . Then, after retrieving the clipped temporal interval matrix Δ c l i p p e d t u i and spatial interval matrix Δ c l i p p e d s u i , we obtain the corresponding temporal interval embedding matrices E K T R n × n × d , E V T R n × n × d as well as the spatial interval embedding matrices E K S R n × n × d , E V S R n × n × d of the user check-in sequence, as shown in Formulas (11) and (12).
E K T = r 11 t K r 1 n t K r n 1 t K r n n t K E V T = r 11 t V r 1 n t V r n 1 t V r n n t V
E K S = r 11 s K r 1 n s K r n 1 s K r n n s K E V S = r 11 s V r 1 n s V r n 1 s V r n n s V

4.3. Spatio-Temporal Unequal Interval Correlation-Aware Transformer Model

In this section, we elaborate the spatio-temporal unequal interval correlation-aware Transformer model. It considers POIs information, spatio-temporal interval correlation information between POIs, and the absolute positional information of corresponding POIs in each user check-in sequence as the correlation feature between any two POIs. The feature fusion and update of POIs from each user check-in sequence are carried out through the spatio-temporal unequal interval correlation-aware self-attention network, and through the point-wise feed-forward network, adding a fully connected layer to improve the generalization ability of the model.

4.3.1. Spatio-Temporal Unequal Interval Correlation-Aware Self-Attention Network

Inspired by the self-attention mechanism, we propose an extended model of the self-attention mechanism. The model considers the spatio-temporal interval between any two POIs as the relationship between the corresponding POIs. The output of each step of the model can aggregate POIs related to the current step, and adaptively give different weights to each POI to update the representation of each POI.
Specifically, given the POIs embedding matrix E L = ( I 1 , I 2 , , I n ) , where I i R d , after the self-attention network, it outputs a new sequence NS = ( n s 1 , n s 2 , , n s n ) , where n s i R d , to ensure that each element in the new sequence not only contains its own information, but also takes into account the impact of all other POIs from the user check-in sequence on the current step. The i-th item n s i of the output sequence is computed as a weighted sum of the linearly transformed POIs embedding, temporal interval embedding, and spatial interval embedding between POIs, as well as the absolute positional embedding of corresponding POIs in the user check-in sequence as shown in Formula (13).
n s i = j = 1 n a i j ( I j W V + r i j t V + r i j s V + p j V )
where n represents the maximum sequence length inputted, I j represents the embedding of PO I j , W V represents the projection matrix of the corresponding values in POIs embedding matrix. r i j t V and r i j s V represent the temporal interval embedding and spatial interval embedding between POIs, respectively, and p j V represents the absolute positional embedding of corresponding POIs in the user check-in sequence. a i j represents the weight coefficient, which is calculated by the soft-max function shown in Formula (14).
a i j = exp e i j r = 1 n exp e i r
where e i j represents the attention score, which is calculated by comprehensively considering the POIs information, spatio-temporal interval information between POIs, and absolute positional information of corresponding POIs in the user check-in sequence in Formula (15).
e i j = I i W Q ( I j W K + r i j t K + r i j s K + p j K ) T d
where W Q R d × d and W K R d × d represent projection matrices of the corresponding queries and keys in the POIs embedding matrices of the user check-in sequence, respectively. The scale factor 1 d is for avoiding the inner product value being too large, which may cause the vanishing gradient after the soft-max function.

4.3.2. Point-Wise Feed-Forward Network

As described in Section 4.3.1, the spatio-temporal unequal interval correlation-aware self-attention network uses a linear combination-based method to fuse the POIs information, temporal interval information and spatial interval information between POIs, as well as the absolute positional information of corresponding POIs in the user check-in sequence. Inspired by the idea in [14], we apply two linear transformations with ReLU as the activation function after each spatio-temporal unequal interval correlation-aware self-attention network, consequently making our model nonlinear.
FFN ( n s i ) = M a x ( 0 , n s i W 1 + b 1 ) W 2 + b 2
where W 1 , W 2 R d × d are weight matrices, and b 1 , b 2 R d are bias terms.
After stacking the self-attention networks and feed-forward networks, problems, such as model overfitting, vanishing gradients, and excessive training time, may occur. Therefore, inspired by reference [36], we adopt layer normalization, dropout regularization and residual connections to solve these problems as shown in Formula (17).
N S i = n s i + D p ( FFN ( L N ( n s i ) ) )
where L N ( n s i ) is calculated by Formula (18).
L N ( n s i ) = α n s i μ σ 2 + ε + β
where ⊙ represents the element-wise product. α and β denote the scale factor and the bias term, respectively. μ and σ represent the mean and variance of n s i , respectively, while ε prevents invalid calculations when the variance is 0.

4.4. Next POI Recommendation

This section computes the preference scores that next POIs may be visited according to the corresponding preference representations of user visiting POIs obtained by the spatio-temporal unequal interval correlation-aware Transformer model. After stacking N self-attention blocks, we obtain the combined representation of POIs information, spatio-temporal interval information between POIs, and absolute positional information of corresponding POIs in each user check-in sequence. In order to recommend the next POI to a user, we use Formula (19) to calculate the user preference score for POI l i , sort the candidate POIs according to the corresponding preference scores, then recommend a list of POIs with higher preference scores to the user.
s c o l i , t = N S t M l i L
where N S t represents the combined representation of POIs embedding visited at the first t time in the user check-in sequence, spatio-temporal interval embedding between POIs mentioned above and POIs visited at the t+1 time, as well as the absolute positional embedding of the corresponding check-in sequence. M l i L is the embedding of POI l i .

4.5. Model Optimization

The purpose of this section is optimizing our proposed model. According to the user historical check-in trajectory t r a ( u i ) = r 1 , r 2 , , r m , we generate a fixed-length check-in sequence s e q ( u i ) = r 1 , r 2 , , r n , and further generate the corresponding temporal sequence t ( u i ) = t 1 , t 2 , , t n as well as the spatial sequence g ( u i ) = g 1 , g 2 , , g n , and define l = l 1 , l 2 , , l k as the expected output of the model. Since the interaction information between users and POIs is implicit data, we cannot directly optimize the preference scores of candidate POIs. Moreover, the output of our model is a list of ranked POIs. Therefore, we adopt a negative sampling method to optimize the ranking of candidate POIs. Specifically, for each expected positive output l i , a negative sample l i s e q ( u i ) is randomly selected and taken to generate a pair of priority T S = ( s e q ( u i ) , t ( u i ) , g ( u i ) , l i , l i ) . We normalize the output fraction of the model through soft-max function, and use binary cross entropy as the loss function in Formula (20).
s e q ( u i ) t 1 , n l o g ( σ ( s c o l i , t ) ) + l o g ( 1 σ ( s c o l i , t ) ) + λ Θ F 2
where Θ = M L , M K P , M V P , M K T , M V T , M K S , M V S is the set of embedding matrices, · F denotes the Frobenius norm, and λ is the regularization parameter.
Then we use the Adam optimizer [37] to optimize our model. Since each training sample T S = ( s e q ( u i ) , t ( u i ) , g ( u i ) , l i , l i ) can be constructed independently, we use mini-batch SGD to improve the training efficiency.

5. Experiments

In this section, we conduct experiments to evaluate the effectiveness of the proposed model STUIC-SAN on two real-world datasets by attempting to answer the following four research questions.
RQ1. Does our approach outperform existing methods in the next-POI-recommendation task?
RQ2. Do personalized spatio-temporal interval information and spatio-temporal interval correlation affect the performance of the model recommendation?
RQ3. How do the parameters of the model, such as the latent dimension, the maximum sequence length, the maximum temporal interval and the maximum spatial interval, affect the recommendation performance?
RQ4. What is the impact of different spatio-temporal interval correlation processing on recommendation performance?

5.1. Experimental Setup

5.1.1. Data Collection and Preprocessing

We evaluated the proposed model on two publicly available LBSNs datasets [38], Foursquare and Gowalla, with densities of 0.13% and 0.22%, respectively. The Foursquare dataset contains users check-in data from April 2012 to September 2013. While the Gowalla dataset contains users’ check-in data from February 2009 to October 2010. Each check-in activity of each user from both datasets is a five-tuple consisting of user ID, POI ID, and POI latitude and longitude, as well as the corresponding visiting timestamp.
For the two datasets, we first remove inactive users who have checked in fewer than 5 POIs, and remove cold-start POIs visited by fewer than 5 users, as they are meaningless data. We further summarize the statistics of the preprocessed datasets in Table 2. Next, we rank the check-in activities of each user from both datasets by the corresponding visiting timestamps. To ensure that the timestamp of the first check-in activity sorted of each user starts from 0, we subtract the timestamp of each check-in activity after sorting by the smallest timestamp among the user check-in activities. For n check-in activities in each user check-in sequence, we divide them into three parts, namely, training set, validation set and testing set. The number of training set is n 3 , with the first n [ 1 , n 3 ] check-in activities as the input sequence and the [ 2 , n 2 ] visited POI as the label; the validation set uses the first n 2 check-in activities as the input sequence and the ( n 1 )-st visited POI as the label; the testing set uses the first n 1 check-in activities as the input sequence and the n-th visited POI as the label. The split of datasets follows the causality that no future data are used in the prediction of future data.

5.1.2. Evaluation Metrics

In order to evaluate the recommendation performance, we adopt two commonly used evaluation metrics [25,39]: NDCG@k and Recall@k, where k is the number of recommended POIs. NDCG@k considers the position of the ground-truth POIs and assigns greater weights to the POIs at higher positions. Recall@k is used to calculate the ratio of true positive samples from the recommended POIs among all positive samples. In our model, NDCG@k indicates whether the POIs that users actually check-in rank at the top of the corresponding recommendation lists. Recall@k indicates whether there are POIs that users actually visit among the top-k recommended POIs. These metrics are computed as follows:
N D C G @ k = 1 U u U D C G u @ k I D C G u @ k
D C G u @ k = i = 1 k 2 r i 1 l o g 2 ( i + 1 )
where r i is the graded relevance of POI at position i. We use the simple binary relevance for our work, namely, r i = 1 if there is a POI actually visited by the user in the recommended POIs list, and 0 otherwise. I D C G u @ k denotes the maximum D C G u @ k in an ideal ranking.
R e c a l l @ k = 1 U u U i = 1 k r i V u
where V u denotes the number of positive POIs in the list recommended to user u. Here, V u = 1 .

5.1.3. Baseline Approaches

As for RQ1, we compare it with the following representative baseline approaches.
UCF [40]: a collaborative filtering method based on matrix user-POI, which makes a recommendation according to the correlation between POIs.
FPMC [41]: this method combines the Markov chain and matrix factorization methods, which can simultaneously capture temporal information and user long-term preference information, and then perform POI recommendation.
ST-RNN [42]: this model extends RNN to integrate the temporal context and spatial information in a recurrent neural network for next POI recommendation.
ARNN [43]: this model leverages semantic information, spatial information and user visiting information to build a knowledge graph, obtains POI neighbors through a random walk based on the meta path, and adopts LSTM to model sequence regularity to improve the recommendation performance.
LSTPM [44]: a new method for modeling users’ long-term and short-term preferences, which uses LSTM to model users’ long-term preferences and geographical relationship between POIs visited by users recently, and then makes the next POI recommendation.
TiSASRec [15]: a method based on the self-attention mechanism that explores the impact of different temporal intervals on the prediction of next item, and makes a recommendation in combination with the absolute positional information of items and the temporal interval between items.
Table 3 summarizes the approaches considering different factors in our experiments. In general, these methods can be divided into four categories: first, traditional collaborative filtering recommendation methods, e.g., UCF; second, Markov-chain-based methods, such as FPMC; third, methods based on RNN, such as ST-RNN, ARNN, and LSTPM; and fourth, methods based on the self-attention mechanism, such as TiSASRec.

5.1.4. Configurations

All experiments were conducted on a PC with 2.90 GHz Intel(R) Core(TM) i7, 16 GB RAM, and running on Microsoft Windows 10 (64-bit). The code used in our experiments was written in Python 3.6. In the meantime, we used TensorFlow 1.2.0 as a machine learning framework for the experiments. We stacked a total of two spatio-temporal unequal interval correlation-aware self-attention networks and fine-tuned the hyper-parameters on the validation set. The latent dimension d was set to 50 for two datasets. For each target POI, the number of negative samples was set to 100. We used the Adam optimizer with default betas; the initial learning rate was set to 0.001, and the dropout rate was set to 0.2 to avoid overfitting. The size of each batch was set to 200 in this model. The settings of other hyper-parameters are shown in Table 4. The source code of the proposed model is publicly available for download at (accessed on 28 August 2022) https://github.com/huang-0724/STUIC-SAN.git.

5.2. Results and Discussions

5.2.1. Comparison of Recommendation Performance

For RQ1, we compare the effectiveness of seven methods with tuned parameters on two datasets. The mean and standard deviation of NDCG@k and Recall@k of all methods are reported in Table 5 and Table 6. The numbers shown in bold in Table 5 and Table 6 represent the best performance of each column in the corresponding tables.
From the results shown in Table 5 and Table 6, we can make the following observations.
First, our proposed model, STUIC-SAN, outperforms other models in terms of two metrics on two datasets. Specifically, compared with the best baseline method, the performance of STUIC-SAN on Foursquare dataset on Recall@10 is improved by about 6.57%, and more than 6.87% relative improvements on NDCG@10. The performance gains on Gowalla dataset is also similarly high. These results essentially demonstrate the competitiveness of our model.
Second, methods considering temporal influence work better than those without temporal influence. Obviously, FPMC performs better than UCF. The performance improvements of FPMC may be due to using the Markov chain model, which incorporates the temporal factor to model users’ check-in sequences, showing good performance compared with the traditional collaborative filtering algorithm.
In addition, methods utilizing spatial influence generally perform better than those without spatial influence. It is clear that ST-RNN, ARNN, and LSTPM perform better than FPMC. ST-RNN is greatly improved compared to FPMC since ST-RNN uses RNN to model the spatio-temporal context, showing good performance compared with those methods based on the Markov chain and matrix factorization model. Compared with ST-RNN, ARNN integrates the semantic information of POIs on the basis of fusing the spatio-temporal context to obtain more related POIs to expand the candidate POIs recommended. LSTPM proposes a spatially extended module to obtain users’ short-term preferences by making full use of the spatial relationship between non-consecutive POIs. Therefore, ARNN and LSTPM gain pure improvement compared with ST-RNN.
Third, the performance increase can also be attributed to the deep mining of spatio-temporal information and the self-attention mechanism. Taking the experimental results from the Foursquare dataset as an example, it can be seen that the performance of TiSASRec is better than that of the methods based on the RNN model, such as ST-RNN, ARNN and LSTPM. The reason is that RNN-based methods usually use short trajectories after slicing rather than long trajectories with long-term periodic information of the visiting POIs. Therefore, in view of the shortcomings of the RNN model itself, it is difficult for RNN-based methods to capture the exact impact of the POI visited in each check-in activity from the corresponding user historical check-in trajectory on the next POI selection, while the self-attention mechanism can effectively model users’ long-term preferences. Therefore, TiSASRec can accurately obtain long-term dependencies of users on item interactions by using the self-attention mechanism, and selectively combine the information of relevant item interactions. Furthermore, TiSASRec deeply mines temporal information and models the temporal interval information as users’ visiting preferences to improve the recommendation performance.
Lastly, the performance of our proposed STUIC-SAN model is significantly better than TiSASRec on both datasets mainly because it comprehensively considers the spatio-temporal unequal interval information between any two POIs. Moreover, the experimental results demonstrate that spatio-temporal unequal interval information between any two POIs helps to better capture spatio-temporal information to accurately infer the spatio-temporal unequal interval correlation preferences of users so as to improve the performance of next POI recommendation.

5.2.2. Effectiveness of Different Components

For RQ2, in order to analyze the impacts of the different modules in our model on the performance of next POI recommendation, we conduct ablation experiments in this section.
We investigate the effectiveness of different components on performance, including sequence influence in users’ check-in trajectories, as well as influences of temporal unequal interval, spatial unequal interval and spatio-temporal unequal interval correlation. Moreover, to further validate the benefits brought by each component, we construct the following variants of STUIC-SAN.
STUIC-SE: The model only considers the sequence influence in users historical check-in trajectoryies. In other words, the model only contains the absolute positional information of corresponding POIs, and assumes that there is an equal temporal/spatial interval between POIs in consecutive check-in activities.
STUIC-TE: The model considers the influence of temporal unequal interval only. So, we redefine Formulas (13) and (15) as follows:
n s i = j = 1 n a i j ( I j W V + r i j t V + p j V )
e i j = I i W Q ( I j W K + r i j t K + p j K ) T d
STUIC-SP: This model integrates the spatial unequal interval information on the basis of STUIC-TE model, without considering spatio-temporal unequal interval correlation information between any two POIs. Therefore, we set a unified maximum spatial interval k s to perform the corresponding clip operation.
The characteristics of the variant models are shown in Table 7. We take the NDCG@k metric to illustrate the effectiveness of three newly designed components on two datasets, as shown in Table 8. Note that the results on Recall@k are similar to those on NDCG@k, so we analyzed the effects of different components on NDCG@k due to space limitation.
It can be seen from Table 8 that among three variants of STUIC-SAN, STUIC-SE experiences the most performance decrease compared with STUIC-TE and STUIC-SP on both datasets. This is because STUIC-SE does not consider the spatio-temporal unequal interval correlation factors which are particularly important for next POI recommendation, resulting in users’ personalized spatio-temporal unequal interval correlation preferences being unable to be accurately obtained. The significant NDCG@k drop verifies the positive contribution of the spatio-temporal unequal interval information and spatio-temporal unequal interval correlation information integrated into our STUIC-SAN model for the performance gain.
In addition, the performance of STUIC-TE is better than STUIC-SE, because STUIC-TE can obtain temporal unequal intervals between any two POIs from users’ check-in sequences, and accurately simulate users’ temporal unequal interval preferences for selecting next POI by using the self-attention mechanism, which is more reliable than STUIC-SE, which only considers the sequence information.
Moreover, the performance of STUIC-SP is better than STUIC-TE by integrating the spatial unequal interval information between POIs. The reason is that in the next POI recommendation task, the user selection of the next POI will be affected by the spatial distance between the current POI and the next POI. Therefore, the effective integration of the spatial unequal interval information between POIs is beneficial for improving the performance of the recommendation.
In contrast, the performance of our proposed STUIC-SAN is better than STUIC-SE, STUIC-TE and STUIC-SP, which also demonstrates that fully considering the spatio-temporal unequal interval information and spatio-temporal unequal interval correlation information between POIs can help to better capture users’ personalized spatio-temporal unequal interval correlation preferences so as to improve the performance of the next POI recommendation. Note that the components do not conflict with each other and can be utilized to collaboratively learn users’ personalized spatio-temporal unequal interval correlation preferences.

5.3. Sensitive Analysis of Parameters

For RQ3, we analyze the effects of different model parameters on the performance of STUIC-SAN in this section. Here, we focus on four critical parameters, namely, the number of latent dimension d, the maximum sequence length n, the maximum temporal interval k t and the maximum spatial interval k s . Next, we analyze the effects of four parameters on NDCG@k. Note that the results on Recall@k are similar to those on NDCG@k.

5.3.1. Effect of Latent Dimension

In this subsection, we study how sensitive STUIC-SAN is to the number of latent dimension d, while keeping other hyper-parameters unchanged. As shown in Figure 5, the performance first grows dramatically with the increase in d, then improves relatively slowly. This is because d represents the model complexity. Specifically, the model with a large d is too complicated to depict the datasets, while the model with a small d is not enough to describe the datasets. Thus, we set the number of latent dimension to 50 in this paper.

5.3.2. Effect of Maximum Sequence Length

To illustrate the effects of the maximum sequence length n, we vary n from 10 to 100 while keeping other hyper-parameters unchanged. Figure 6 shows the results. As n increases, we can see that both curves grow slowly and then gradually flatten on the two datasets. The reason is that when the sequence length is too large, many meaningless POIs are utilized to train the representation vector of the target POI, while when the sequence length is too small, it does not accurately depict the spatio-temporal context. Therefore, we choose the maximum sequence length that can obtain the best performance on two datasets as the default settings in Section 5.1.4.

5.3.3. Effect of Maximum Temporal Interval

In order to demonstrate the effects of the maximum temporal interval k t , we set values of the maximum temporal intervals of two datasets as 512, 1024, 2048, 4096, 8192, 12,000, while keeping other hyper-parameters unchanged. As shown in Figure 7, as the maximum temporal interval increases, both curves show different trends on two datasets. This is because different maximum temporal intervals have different effects on the recommendation performance. It can be seen that the maximum temporal interval that can obtain the best performance on Foursquare is 4096, while that of Gowalla is 8192. Therefore, we choose such values that can obtain the best performance as the corresponding maximum temporal intervals on two datasets, respectively.

5.3.4. Effect of Maximum Spatial Interval

In this subsection, we further demonstrate the effects of the maximum spatial interval k s . Considering the difference in spatial unequal interval of users from two datasets, we set different values of the maximum spatial intervals from two datasets while keeping the other hyper-parameters unchanged. Figure 8 depicts the performance results on two datasets. Similar to the selection of the maximum temporal interval, we set the maximum spatial intervals to 5000 and 15,000, which can achieve the best performance on the two datasets, respectively.

5.4. Effect of Different Spatio-Temporal Interval Correlation Processing

For RQ4, we discuss the impact of different spatio-temporal interval correlation processing on the recommendation in this section. We discuss the following three methods.
STUIC-SP: the maximum temporal interval and the maximum spatial interval are set to a unified value without considering the spatio-temporal interval correlation information between POIs, as described in Section 5.2.2.
STUIC-LE: users are classified by using the length of each user check-in sequence and the average sequence length of all users from each dataset so as to obtain the linear regression equation of the spatio-temporal unequal interval correlation with different sequence lengths.
STUIC-SAN: the spatio-temporal unequal interval processing we adopt, as described in Section 4.1.2.
We illustrate the effectiveness of the three methods mentioned above on two datasets in Figure 9. Among the three methods, STUIC-SP experiences the most performance decrease compared with STUIC-LE and STUIC-SAN on both datasets, while STUIC-SAN has the best performance. This is because STUIC-SP ignores the spatio-temporal interval correlation information between POIs, and sets the maximum temporal interval in all users’ personalized temporal unequal interval matrices to a unified value. Meanwhile, it performs a similar operation for the maximum spatial interval. Thus, it is not enough to capture users personalized spatio-temporal interval correlation preferences. On the basis of STUIC-SP, STUIC-LE and STUIC-SAN consider the correlation between the temporal and spatial interval, and divide users according to the length of users check-in sequences as well as the average temporal interval between any two POIs, respectively, and then obtain the spatio-temporal interval correlation between any two POIs from the corresponding users’ check-in sequences of different categories of users through the linear regression method. Compared with STUIC-LE, STIUC-SAN can more directly simulate the correlation between the temporal interval and spatial interval of users visiting POIs so as to better conduct the next POI recommendation.

5.5. Threats to Validity

In this section, we discuss some potential threats to the validity of our study. Threats to the effectiveness of our research include three aspects: data selection, experimental setup, and the selection of auxiliary information.
Data selection bias is one of the most common threats to validity. In the next POI recommendation task, we need to simulate users sequence visiting patterns according to the corresponding users check-in sequences so as to model users’ personalized visiting preferences. Therefore, we remove those inactive users and unpopular POIs. In addition, in order to facilitate the processing of users historical check-in trajectories, we set historical check-in trajectories of all users to a fixed-length (see the analysis in Section 5.3.2). We also leverage the negative sampling method commonly used in the recommendation system to improve the performance and efficiency of recommendation. Moreover, we also conduct experiments with different maximum temporal intervals and maximum spatial intervals between any two POIs of users from two datasets so as to select the appropriate temporal and spatial intervals to build users’ personalized preference representations. Therefore, we have to admit that the recommendation performance of our model will decrease without appropriate maximum temporal and spatial intervals (see the analysis in Section 5.3.3 and Section 5.3.4).
In our experiment, we trained different types of baseline methods based on their default hyper-parameter settings. As we know, there are also several implicit tricks, e.g., fine tuning, in the baseline approaches based on deep neural networks. Therefore, we cannot ensure that these methods can achieve the same performance shown in their original papers on two datasets.
In our model, we mainly mine the spatio-temporal unequal interval correlation between any two POIs from users’ check-in sequences and then leverage the self-attention mechanism to perform next POI recommendation. However, we cannot obtain the vehicle information from users’ historical check-in trajectories from the datasets commonly used in next POI recommendation, and we also cannot guarantee that users visit the same spatial distance in a unit of time. Therefore, we consider that each user from both datasets visits the POIs in the corresponding user check-in trajectory by the same or similar means of transportation.
In addition, we cannot obtain the check-out time information of users from public datasets, but if the check-in devices that users adopted can apply more sensitive indoor localization technology [45], then we can obtain the duration spent on each POI according to the corresponding check-in and check-out times so as to more accurately simulate users’ preferences for temporal unequal intervals when visiting POIs, consequently improving the accuracy of next POI recommendation.
In our model, users’ visiting preferences are simulated based on the users’ historical check-in sequence, so all next POIs recommended to users are those that users have already visited rather than new POIs. In future work, we can enrich the candidate pool for users to select next POI and improve the diversity of recommendation by integrating the similarity information between POIs. For example, we can recommend POIs from the same category based on semantic similarity information between POIs, or recommend adjacent POIs according to the spatial similarity information between POIs.
With the rapid development of LBSNs, users generate a large amount of check-in data every day. As we all know, the denser the user–POI interaction matrix, the more accurately we can simulate users’ visiting preferences, and thus provide more accurate recommendation. However, our STUIC-SAN model builds temporal and spatial unequal interval matrices for each user to achieve personalized recommendation. If using large datasets [46], the running time of the model will experience latency to some extent. In future work, we will attempt to incorporate some lightweight models, e.g., LightMove [47], into our methods to improve the model efficiency without reducing the accuracy of the recommendations.

6. Conclusions and Future Work

In recent years, next POI recommendation has attracted more attention in the fields of LBSNs and recommendation systems. In this paper, we propose a spatio-temporal unequal interval correlation-aware self-attention network (STUIC-SAN) to improve the performance of next POI recommendation. More specifically, STUIC-SAN uses the linear regression method to analyze the effect of the temporal unequal interval on the spatial unequal interval between any two POIs from users’ check-in sequences, and learns the effect of the spatio-temporal unequal interval correlation on the users’ selection of the next POI through the self-attention mechanism so as to better model users’ personalized spatio-temporal unequal interval correlation preferences, and then improve the performance of next POI recommendation. In addition, we conducted experiments on two publicly available datasets (namely, Foursquare and Gowalla) to verify the effectiveness of STUIC-SAN. The experimental results validate that STUIC-SAN outperforms the state-of-the-art methods regarding two commonly used metrics, namely, NDCG@k, Recall@k.
For future work, we will further enrich and optimize STUIC-SAN by considering more information, such as POI neighbor information, category information, and user check-in frequency, which can model users’ personalized visiting preferences more accurately so as to provide better performance of next POI recommendation. Moreover, we will try to combine this with the lightweight model such that the efficiency of the recommendation will be improved on the basis of ensuring the accuracy of the POI recommendation.

Author Contributions

Zheng Li: Writing—review and editing, Supervision, Funding acquisition; Xueyuan Huang: Conceptualization, Methodology, Software, Writing—original draft, Writing—review and editing; Chun Liu and Wei Yang: Writing—review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

The work described in this paper is partially supported by the National Natural Science Foundation of China (No. 61402150, 61806074); The Key Technologies R & D Program of Henan (No. 182102410063); Key Scientific Research Project Plan of Colleges and Universities in Henan Province (No. 23A520016).

Data Availability Statement

Publicly available datasets were analyzed in this study. These data can be found here (accessed on 28 August 2022): https://github.com/YijunSu/LBSN_Dataset.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gao, H.; Tang, J.; Hu, X.; Liu, H. Exploring temporal effects for location recommendation on location-based social networks. In Proceedings of the 7th ACM Conference on Recommender Systems, Hong Kong, China, 12–16 October 2013; pp. 93–100. [Google Scholar]
  2. Chen, K.; Yang, H.; Lyu, M.; King, I. Where You Like to Go Next: Successive Point-of-Interest Recommendation. In Proceedings of the 23th International Joint Conference on Artificial Intelligence, Beijing, China, 5–9 August 2013; pp. 2605–2611. [Google Scholar]
  3. He, J.; Li, X.; Liao, L.; Song, D. Inferring a Personalized Next Point-of-Interest Recommendation Model with Latent Behavior Patterns. In Proceedings of the 30th Aaai Conference on Artificial Intelligence, Phoenix, AZ, USA, 12–17 February 2016; pp. 137–143. [Google Scholar]
  4. Xia, B.; Li, Y.; Li, Q.; Li, T. Attention-based recurrent neural network for location recommendation. In Proceedings of the 12th International Conference on Intelligent Systems and Knowledge Engineering, Nanjing, China, 24–26 November 2017; pp. 1–6. [Google Scholar]
  5. Wu, Y.; Li, K.; Zhao, G. Long-and short-term preference learning for next POI recommendation. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management, Beijing, China, 3–7 November 2021; pp. 2301–2304. [Google Scholar]
  6. Liu, Y.; Pei, A.; Wang, F.; Yang, Y.; Zhang, X.; Wang, H.; Dai, H.; Qi, L.; Ma, R. An attention-based category-aware GRU model for the next POI recommendation. Int. J. Intell. Syst. 2021, 36, 3174–3189. [Google Scholar] [CrossRef]
  7. Wang, C.; McAuley, J. Self-Attentive Sequential Recommendation. In Proceedings of the 2018 IEEE International Conference on Data Mining (ICDM), Singapore, 17–20 November 2018; pp. 197–206. [Google Scholar]
  8. Wang, X.; Liu, Y.; Zhou, X.; Leng, Z.; Wang, X. Long- and Short-Term Preference Modeling Based on Multi-Level Attention for Next POI Recommendation. ISPRS Int. J. Geo-Inf. 2022, 11, 323. [Google Scholar] [CrossRef]
  9. Ali, M.; Raf, D.; ACres, F. A Joint Two-Phase Time-Sensitive Regularized Collaborative Ranking Model for Point of Interest Recommendation. IEEE Trans. Knowl. Data Eng. 2019, 32, 1050–1063. [Google Scholar]
  10. Zhang, Y.; Liu, G.; Liu, A.; Zhang, Y.; Li, Z.; Zhang, X.; Li, Q. Personalized Geographical Influence Modeling for POI Recommendation. IEEE Intell. Syst. 2020, 35, 18–27. [Google Scholar] [CrossRef]
  11. Zou, Z.; He, X.; Zhu, A.X. An Automatic Annotation Method for Discovering Semantic Information of Geographical Locations from Location-Based Social Networks. ISPRS Int. J. Geo-Inf. 2019, 8, 487. [Google Scholar] [CrossRef] [Green Version]
  12. Zhao, K.; Zhang, Y.; Yin, H.; Wang, J.; Zheng, K.; Zhou, X.; Xing, C. Discovering Subsequence Patterns for Next POI Recommendation. In Proceedings of the 29th International Joint Conference on Artificial Intelligence, Yokohama, Japan, 7–15 January 2020; pp. 3216–3222. [Google Scholar]
  13. Lu, Y.; Huang, J. GLR: A graph-based latent representation model for successive POI recommendation. Future Gener. Comput. Syst. 2020, 102, 230–244. [Google Scholar] [CrossRef]
  14. Cui, Q.; Zhang, Y.; Wang, J. CANS-Net: Context-Aware Non-Successive Modeling Network for Next Point-of-Interest Recommendation. arXiv 2021, arXiv:abs/2104.02262. [Google Scholar]
  15. Li, J.; Wang, Y.; McAuley, J. Time Interval Aware Self-Attention for Sequential Recommendation. In Proceedings of the 13th International Conference on Web Search and Data Mining, Houston, TX, USA, 3–7 February 2020; pp. 322–330. [Google Scholar]
  16. Yang, G.; Cai, Y.; KReddy, C. Spatio-Temporal Check-in Time Prediction with Recurrent Neural Network based Survival Analysis. In Proceedings of the 27th International Joint Conference on Artificial Intelligence, Stockholm, Sweden, 9–19 July 2018; pp. 2976–2983. [Google Scholar]
  17. Zhao, P.; Luo, A.; Liu, Y.; Xu, J.; Li, Z.; Zhuang, F.; Sheng, V.S.; Zhou, X. Where to Go Next: A Spatio-Temporal Gated Network for Next POI Recommendation. IEEE Trans. Knowl. Data Eng. 2022, 34, 2512–2524. [Google Scholar] [CrossRef]
  18. Luo, Y.; Liu, Q.; Liu, Z. STAN: Spatio-Temporal Attention Network for Next Location Recommendation. In Proceedings of the WWW ’21: Proceedings of the Web Conference 2021, Ljubljana, Slovenia, 19–23 April 2021; pp. 2177–2185. [Google Scholar]
  19. He, Q.; Jiang, D.; Liao, Z.; Hoi, S.C.H.; Chang, K.; Lim, E.P.; Li, H. Web Query Recommendation via Sequential Query Prediction. In Proceedings of the 2009 IEEE 25th International Conference on Data Engineering, Shanghai, China, 29 March–2 April 2009; pp. 1443–1454. [Google Scholar]
  20. Feng, S.; Li, X.; Zeng, Y.; Cong, G.; Chee, Y.M.; Yuan, Q. Personalized Ranking Metric Embedding for Next New POI Recommendation. In Proceedings of the 24th International Conference on Artificial Intelligence, Phuket Island, Thailand, 26–27 July 2015; pp. 2069–2075. [Google Scholar]
  21. He, R.; Fang, C.; Wang, Z.; McAuley, J. Vista: A Visually, Socially, and Temporally-aware Model for Artistic Recommendation. In Proceedings of the 10th ACM Conference on Recommender Systems, Boston, MA, USA, 15–19 September 2016; pp. 309–316. [Google Scholar]
  22. Lu, Y.; Shih, W.; Gau, H.; Chung, K.; Huang, J. On successive point-of-interest recommendation. World Wide Web 2018, 22, 1151–1173. [Google Scholar] [CrossRef]
  23. Li, R.; Shen, Y.; Zhu, Y. Next Point-of-Interest Recommendation with Temporal and Multi-level Context Attention. In Proceedings of the 2018 IEEE International Conference on Data Mining (ICDM), Singapore, 17–20 November 2018; pp. 1110–1115. [Google Scholar]
  24. Liu, Y.; Wu, A. POI Recommendation Method Using Deep Learning in Location-Based Social Networks. Wirel. Commun. Mob. Comput. 2021, 2021, 9120864. [Google Scholar] [CrossRef]
  25. Huang, L.; Ma, Y.; Liu, Y.; He, K. DAN-SNR. ACM Trans. Internet Technol. (TOIT) 2021, 21, 1–27. [Google Scholar] [CrossRef]
  26. Lim, N.; Hooi, B.; Ng, S.K.; Wang, X.; Goh, Y.L.; Weng, R.; Varadarajan, J. STP-UDGAT: Spatial-Temporal-Preference User Dimensional Graph Attention Network for Next POI Recommendation. In Proceedings of the 29th ACM International Conference on Information & Knowledge Management, Virtual, 19–23 October 2020; pp. 845–854. [Google Scholar]
  27. Ding, R.; Chen, Z.; Li, X. Spatial-Temporal Distance Metric Embedding for Time-Specific POI Recommendation. IEEE Access 2018, 6, 67035–67045. [Google Scholar] [CrossRef]
  28. Doan, K.D.; Yang, G.; KReddy, C. An Attentive Spatio-Temporal Neural Model for Successive Point of Interest Recommendation. In Proceedings of the Pacific-Asia Conference on Knowledge Discovery and Data Mining, Macau, China, 14–17 April 2019; Voume 11441. [Google Scholar]
  29. Pengpeng, Z.; Haifeng, Z.; Yanchi, L.; Jiajie, X.; Xiaofang, Z. Where to Go Next: A Spatio-Temporal Gated Network for Next POI Recommendation. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27 January–1 February 2019; pp. 5877–5884. [Google Scholar]
  30. Huang, L.; Ma, Y.; Wang, S.; Liu, Y. An Attention-Based Spatiotemporal LSTM Network for Next POI Recommendation. IEEE Trans. Serv. Comput. 2021, 14, 1585–1597. [Google Scholar] [CrossRef]
  31. Davtalab, M.; Alesheikh, A.A. A POI recommendation approach integrating social spatio-temporal information into probabilistic matrix factorization. Knowl. Inf. Syst. 2021, 63, 65–85. [Google Scholar] [CrossRef]
  32. Dai, S.; Yu, Y.; Fan, H.; Dong, J. Spatio-Temporal Representation Learning with Social Tie for Personalized POI Recommendation. Data Sci. Eng. 2022, 7, 1–13. [Google Scholar] [CrossRef]
  33. Xi, D.; Zhuang, F.; Liu, Y.; Gu, J.; Xiong, H.; He, Q. Modelling of Bi-Directional Spatio-Temporal Dependence and Users’ Dynamic Preferences for Missing POI Check-In Identification. In Proceedings of the National Conference on Artificial Intelligence, Honolulu, HI, USA, 27 January–1 February 2019; pp. 5458–5465. [Google Scholar]
  34. Ma, Y.; Gan, M. Exploring multiple spatio-temporal information for point-of-interest recommendation. Soft Comput. 2020, 24, 18733–18747. [Google Scholar] [CrossRef]
  35. Jain, G.; Mishra, N.; Sharma, S.K. CRLRM: Category Based Recommendation Using Linear Regression Model. In Proceedings of the 3th International Conference on Advances in Computing and Communications, Cochin, India, 29–31 August 2013; pp. 17–20. [Google Scholar]
  36. Vaswani, A.; Shazeer, N.M.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention is All you Need. In Proceedings of the 31th International Conference on Neural Information Processing Systems, Los Angeles, CA, USA, 4–9 December 2017; pp. 6000–6010. [Google Scholar]
  37. Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. In Proceedings of the 3th International Conference for Learning Representations, Scottsdale, AZ, USA, 2–4 May 2015. [Google Scholar]
  38. Su, Y.; Li, X.; Liu, B.; Zha, D.; Xiang, J.; Tang, W.; Gao, N. FGCRec: Fine-Grained Geographical Characteristics Modeling for Point-of-Interest Recommendation. In Proceedings of the 2020 IEEE International Conference on Communications (ICC), Dublin, Ireland, 7–11 June 2020; pp. 1–6. [Google Scholar]
  39. He, X.; Liao, L.; Zhang, H.; Nie, L.; Hu, X.; Chua, T.S. Neural Collaborative Filtering. In Proceedings of the 26th International Conference on World Wide Web, Perth, Australia, 3–7 April 2017; pp. 173–182. [Google Scholar]
  40. Sarwar, B.M.; Karypis, G.; AKonstan, J.; Riedl, J. Item-based collaborative filtering recommendation algorithms. In Proceedings of the 10th International Conference on World Wide Web, Hongkong, China, 1–5 May 2001; pp. 285–295. [Google Scholar]
  41. Rendle, S.; Freudenthaler, C.; Schmidt-Thieme, L. Factorizing personalized Markov chains for next-basket recommendation. In Proceedings of the 19th International Conference on World Wide Web, Raleigh, NC, USA, 26–30 April 2010; pp. 811–820. [Google Scholar]
  42. Liu, Q.; Wu, S.; Wang, L.; Tan, T. Predicting the Next Location: A Recurrent Model with Spatial and Temporal Contexts. In Proceedings of the 30th AAAI Conference on Artificial Intelligence, Phoenix, AZ, USA, 12–17 February 2016; pp. 194–200. [Google Scholar]
  43. Guo, Q.; Sun, Z.; Zhang, J.; Theng, Y.L. An Attentional Recurrent Neural Network for Personalized Next Location Recommendation. In Proceedings of the AAAI-20 Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; pp. 83–90. [Google Scholar]
  44. Sun, K.; Qian, T.; Chen, T.; Liang, Y.; Nguyen, Q.V.H.; Yin, H. Where to Go Next: Modeling Long- and Short-Term User Preferences for Point-of-Interest Recommendation. In Proceedings of the AAAI-20 Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; pp. 214–221. [Google Scholar]
  45. Tekler, Z.D.; Low, R.; Gunay, B.; Andersen, R.K.; Blessing, L. A scalable Bluetooth Low Energy approach to identify occupancy patterns and profiles in office spaces. Build. Environ. 2020, 171, 106681–106693. [Google Scholar] [CrossRef]
  46. Low, R.; Tekler, Z.D.; Cheah, L. An End-to-end Point of Interest (POI) Conflation Framework. ISPRS Int. J. Geo-Inf. 2021, 10, 779. [Google Scholar] [CrossRef]
  47. Jeon, J.; Kang, S.; Jo, M.; Cho, S.; Park, N.; Kim, S.; Song, C. LightMove: A Lightweight Next-POI Recommendation forTaxicab Rooftop Advertising. In Proceedings of the 30th ACM International Conference on Information and Knowledge Management, Virtual, 1–5 November 2021; pp. 3857–3866. [Google Scholar]
Figure 1. Illustration of spatio-temporal unequal interval relationship existing in users’ check-in trajectories.
Figure 1. Illustration of spatio-temporal unequal interval relationship existing in users’ check-in trajectories.
Ijgi 11 00543 g001
Figure 2. Illustration of spatio-temporal unequal interval relationship existing in users check-in data.
Figure 2. Illustration of spatio-temporal unequal interval relationship existing in users check-in data.
Ijgi 11 00543 g002
Figure 3. Illustrations of spatio-temporal unequal interval correlation in check-in sequences of different users from Foursquare.
Figure 3. Illustrations of spatio-temporal unequal interval correlation in check-in sequences of different users from Foursquare.
Ijgi 11 00543 g003
Figure 4. Illustration of STUIC-SAN model.
Figure 4. Illustration of STUIC-SAN model.
Ijgi 11 00543 g004
Figure 5. Effect of the latent dimension d on recommendation performance.
Figure 5. Effect of the latent dimension d on recommendation performance.
Ijgi 11 00543 g005
Figure 6. Effect of maximum sequence length n on recommendation performance.
Figure 6. Effect of maximum sequence length n on recommendation performance.
Ijgi 11 00543 g006
Figure 7. Effect of maximum temporal interval k t on recommendation performance.
Figure 7. Effect of maximum temporal interval k t on recommendation performance.
Ijgi 11 00543 g007
Figure 8. Effect of maximum spatial interval k s on recommendation performance.
Figure 8. Effect of maximum spatial interval k s on recommendation performance.
Ijgi 11 00543 g008
Figure 9. Effect of different spatio-temporal interval correlation processing on recommendation performance.
Figure 9. Effect of different spatio-temporal interval correlation processing on recommendation performance.
Ijgi 11 00543 g009
Table 1. Key notations used in this paper.
Table 1. Key notations used in this paper.
NotationDescription
U, LUser, POI set
r e A check-in activity of user u i
t r a ( u i ) Historical check-in trajectory of user u i
s e q ( u i ) Fixed length sub-sequence of t r a ( u i )
t ( u i ) Temporal sequence corresponding to s e q ( u i )
g ( u i ) Spatial sequence corresponding to s e q ( u i )
nMaximum sequence length
dLatent dimension
R u i t Temporal intervals set of user u i
R u i s Spatial intervals set of user u i
Δ t u i User personalized temporal unequal interval matrix
Δ s u i User personalized spatial unequal interval matrix
M L Matrix of POIs embedding
M K P , M V P Embedding matrix of position for key and value
M K T , M V T Embedding matrix of temporal unequal interval for key and value
M K S , M V S Embedding matrix of spatial unequal interval for key and value
N S t Output of model as time step t
Table 2. Statistics of two datasets.
Table 2. Statistics of two datasets.
FoursquareGowalla
Number of users76425628
Number of POIs28,48431,803
Number of check-ins512,523620,683
Table 3. The approaches used in our experiments.
Table 3. The approaches used in our experiments.
PropertyUCFFPMCST-RNNARNNLSTPMTiSASRecSTUIC-SAN
SE
TE×
SP×××
ST××××××
SA×××××
SE, TE, SP, ST and SA represent whether the given approach considers the sequential influence, temporal information, spatial information, spatio-temporal unequal interval correlation information and self-attention mechanism, respectively.
Table 4. Hyper-parameter settings on two datasets.
Table 4. Hyper-parameter settings on two datasets.
Hyper-ParameterFoursquareGowalla
maximum sequence length100100
maximum temporal interval (min)40968192
maximum spatial interval (km)500015,000
regularization0.000050.00005
Table 5. Comparison of recommendation performance on Foursquare (mean ± std).
Table 5. Comparison of recommendation performance on Foursquare (mean ± std).
FoursquareNDCG@5NDCG@10Recall@5Recall@10
UCF0.0651 ± 0.00420.1260 ± 0.01310.1838 ± 0.00960.2248 ± 0.0049
FPMC0.1942 ± 0.00940.2439 ± 0.00410.3278 ± 0.00550.3623 ± 0.0018
ST-RNN0.4027 ± 0.01520.4423 ± 0.00460.5594 ± 0.01340.5846 ± 0.0035
ARNN0.4987 ± 0.00900.5593 ± 0.00500.6527 ± 0.00790.7085 ± 0.0062
LSTPM0.5338 ± 0.01100.5945 ± 0.00530.6887 ± 0.00880.7620 ± 0.0055
TiSASRec0.6471 ± 0.00590.6816 ± 0.00400.8008 ± 0.00730.8398 ± 0.0057
STUIC-SAN0.7158 ± 0.00270.7282 ± 0.00930.8320 ± 0.00220.8950 ± 0.0037
Table 6. Comparison of recommendation performance on Gowalla (mean ± std).
Table 6. Comparison of recommendation performance on Gowalla (mean ± std).
GowallaNDCG@5NDCG@10Recall@5Recall@10
UCF0.0937 ± 0.00630.1419 ± 0.00170.2396 ± 0.00870.2602 ± 0.0046
FPMC0.2266 ± 0.00340.2982 ± 0.01240.3498 ± 0.00210.4055 ± 0.0101
ST-RNN0.4170 ± 0.00850.4853 ± 0.00440.5743 ± 0.01380.6218 ± 0.0057
ARNN0.5125 ± 0.00570.5868 ± 0.01100.6727 ± 0.00330.7584 ± 0.0068
LSTPM0.5440±0.01080.6218 ± 0.01080.7022±0.01310.7928 ± 0.0073
TiSASRec0.6327 ± 0.00620.7039 ± 0.00150.7959 ± 0.00610.8488 ± 0.0037
STUIC-SAN0.7216 ± 0.00560.7407 ± 0.00720.8544 ± 0.00430.9266 ± 0.0030
Table 7. Comparison of the variant models of STUIC-SAN.
Table 7. Comparison of the variant models of STUIC-SAN.
VariantsSequence InfluenceTemporal Unequal Interval InfluenceSpatial Unequal Interval InfluenceSpatio-Temporal Unequal Interval Correlation Influence
STUIC-SE×××
STUIC-TE××
STUIC-SP×
STUIC-SAN
Table 8. Effectiveness of different components.
Table 8. Effectiveness of different components.
MetricsFoursquareGowalla
Variants NDCG@5NDCG@10NDCG@5NDCG@10
STUIC-SE0.62490.66010.63710.6898
STUIC-TE0.64680.68230.63990.7037
STUIC-SP0.68900.70190.70210.7294
STUIC-SAN0.71580.72820.72160.7417
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, Z.; Huang, X.; Liu, C.; Yang, W. Spatio-Temporal Unequal Interval Correlation-Aware Self-Attention Network for Next POI Recommendation. ISPRS Int. J. Geo-Inf. 2022, 11, 543. https://doi.org/10.3390/ijgi11110543

AMA Style

Li Z, Huang X, Liu C, Yang W. Spatio-Temporal Unequal Interval Correlation-Aware Self-Attention Network for Next POI Recommendation. ISPRS International Journal of Geo-Information. 2022; 11(11):543. https://doi.org/10.3390/ijgi11110543

Chicago/Turabian Style

Li, Zheng, Xueyuan Huang, Chun Liu, and Wei Yang. 2022. "Spatio-Temporal Unequal Interval Correlation-Aware Self-Attention Network for Next POI Recommendation" ISPRS International Journal of Geo-Information 11, no. 11: 543. https://doi.org/10.3390/ijgi11110543

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop