Next Article in Journal
A Novel Face Swapping Detection Scheme Using the Pseudo Zernike Transform Based Robust Watermarking
Previous Article in Journal
Lightweight Detection Counting Method for Pill Boxes Based on Improved YOLOv8n
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Check-In Heterogeneous Hypergraph and Personalized Preference Transfers for Cross-City POI Recommendation Method

1
College of Information Science and Engineering, Yanshan University, Qinhuangdao 066004, China
2
Key Laboratory for Computer Virtual Technology and System Integration of Hebei Province, Qinhuangdao 066004, China
3
Research Center for Marine Science, Hebei Normal University of Science and Technology, Qinhuangdao 066004, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(24), 4954; https://doi.org/10.3390/electronics13244954
Submission received: 15 November 2024 / Revised: 13 December 2024 / Accepted: 14 December 2024 / Published: 16 December 2024

Abstract

:
The objective of cross-city recommendation is to suggest points-of-interest (POI) in the target city that may be of interest to users, based on their check-in records from their source city. Although significant progress has been made in studying user preference transfers, there is a lack of research focusing on personalized user preference transfers. Furthermore, the mining of user preferences from the source city is impacted by errors and missing information. To address these challenges, this paper proposes a Check-In Heterogeneous Hypergraph and Personalized Preference Transfers for Cross-City POI Recommendation Method (CHHPPT). Firstly, a check-in heterogeneous hypergraph network is introduced in the user source city preference-mining module. This network, through Heterogeneous Hypergraph Embeddings (HHE), captures user preferences in the source city, thereby mitigating the impact of errors and missing information on user preference. Subsequently, in the user-personalized preference transfer module, a user’s transferable features are obtained through a POI aggregation network. These features are then combined with a meta-network and transfer networks to achieve user-personalized preference transfer. Finally, in the target city point-of-interest recommendation module, a POI-geographical graph is constructed using the geographical information of POI. This graph, in conjunction with category information, yields a joint embedding representation. The final recommendation is achieved by integrating the user-personalized preference transfer embeddings with the target city’s POI embeddings. Extensive experiments conducted on two real-world datasets demonstrate the effectiveness of CHHPPT in cross-city recommendation tasks.

1. Introduction

As urban mobility increases, people are traveling or migrating between cities more frequently. Cross-city recommendations can help users find places that match their interests in different urban environments, whether for business trips or tourism.
Traditional POI recommendation methods are suited for recommending POI within a single city. However, when users are in a new city, traditional algorithms may struggle to provide effective cross-city recommendations, leading to a decline in recommendation quality. The following issues arise in cross-city POI recommendations: (1) User preferences from their home city (source city) cannot be directly transferred to preferences for a new city (target city), due to differences between preferences in the source and target cities (i.e., preference shift); (2) Due to the sparsity of interaction data (whether from source or target city check-ins) and the diversity of candidate POI, semantic information—such as categories, types, ratings, and other details—plays a critical role in shaping user preferences. Furthermore, errors and missing data in the process of extracting user preferences from the source city further complicate the recommendation process.
Existing research has addressed this issue by introducing various approaches. For instance, the study in [1] proposed a probabilistic generative model, Spatio-Temporal Latent Dirichlet Allocation (ST-LDA), to learn region-specific user preferences and group preferences to accommodate changes in user preference. Another study [2] introduced the Location-Sentiment-Aware Recommender System (LSARS), a probabilistic generative model that simulates users’ check-in activities in target cities by adapting to preference transfer and crowd sentiments. Additionally, the study in [3] presented Travel-Intention-Aware Out-of-Town Recommendation (TRAINOR), a cross-city POI recommendation model that utilizes a multi-layer perceptron (MLP) forthe non-linear mapping of preference transfer. However, these methods rely on a common transfer channel for user preferences, which may not be ideal, as each user’s source city preferences vary, necessitating individualized transfer channels.
In addition, there are some studies that explore users’ source city preferences. For example, reference [3] constructs a user check-in graph by utilizing users’ source city check-ins to mine their source city preferences. Reference [4] builds an embedding layer to obtain embedding vectors for users’ source city check-ins, and then uses an attention network to acquire users’ source city preferences. However, these models only retain users’ source city check-ins or treat all of the users’ check-in records as source city check-ins when processing user check-in data. This results in information loss and the introduction of erroneous data, which prevents accurate mining of users’ source city preferences. For example, as shown in the example in Figure 1, the tourist Tom has historical check-ins in his hometown city A as well as in out-of-town cities B and C. It can be easily observed that this user prefers to visit museums and theaters in his hometown city. Before traveling to city C, Tom also left a check-in in city B. Tom’s check-in in city C is not only influenced by his preferences in the hometown city A but is also affected by his check-in preferences in city B. Furthermore, Tom’s check-in preferences in city C have shifted compared to those in his residential city A.
To address the aforementioned issues, this paper proposes the Check-In Heterogeneous Hypergraph and Personalized Preference Transfers for Cross-City POI Recommendation Method (CHHPPT). Unlike previous studies, this paper focuses on cross-city recommendations by constructing a check-in heterogeneous hypergraph to uncover users’ source city preferences. Additionally, personalized preference transfer is achieved through the introduction of POI aggregation networks, meta-networks, and transfer networks. The primary contributions of this work are as follows:
  • In the check-in heterogeneous hypergraphs preference-mining module, a user check-in heterogeneous hypergraph is constructed, comprising four types of nodes: users, points of interest (POI), cities, and POI categories. This approach retains missing information in the source city preference mining while avoiding the influence of erroneous information on user preferences. User source city preferences are obtained through Heterogeneous Hypergraph Embedding (HHE).
  • In the personalized preference transfer module, a POI-category graph is constructed, and POI embeddings are obtained using the skip-gram. A user’s transferable features are derived through a POI aggregation network. A meta-network is then constructed to learn the weight parameters of the transfer network. Ultimately, the transfer network facilitates the personalized transfer of user preferences.
  • In the target city POI recommendation module, a POI-geographical graph is constructed using the geographical information of the POI. This graph, combined with POI category information, is processed through a Graph Convolutional Network (GCN) to obtain a joint embedding representation. The final recommendation is achieved by merging the user-personalized preference transfer embeddings with the target city’s POI embeddings.
  • Extensive experiments have validated the effectiveness of the proposed method in enhancing recommendation accuracy.

2. Related Work

2.1. Cross-City POI Recommendation

Cross-city POI recommendation primarily addresses several key challenges, including data sparsity [5,6,7,8], user preference transfer [2,3,4,9,10,11,12], and cold start [13], among others. To address the issue of data sparsity, some studies have used adaptive attention mechanisms to integrate users’ long-term and short-term preferences in both their hometown and out-of-town locations, employing region-based pattern discovery methods to resolve the data sparsity problem [6]. Alternatively, some studies have simulated out-of-town distances using a volcano function, with personalized adjustments for different users to address the data sparsity issue [8]. The heterogeneous information-based LDA (HI-LDA) model alleviates data sparsity by fully utilizing geographical information, social relationships, user interaction behaviors, and review content in Location-Based Social Networks (LBSNs) [7]. In the face of data sparsity, pre-trained models can also be used to perform cross-city transfer by leveraging the general transfer knowledge of POI categories [5]. An important phenomenon that should not be overlooked in cross-city recommendations is user preference transfer, which refers to the inconsistency between users’ check-in preferences in the target city and those in their source city. The Dual-Target Cross-City Sequential POI Recommendation (DCSPR) model extracts intra-city features, constructs cross-city functional transfer channels, and adopts an innovative feature transfer strategy to transmit useful cultural features between cities, thereby enhancing the model’s generalization ability [9]. Transfer learning techniques are widely applied in preference transfer [4,10]. The POI recommendation framework with user interest drift and transfer (PR-UIDT) model divides user preferences into city-related and city-independent categories to achieve user preference transfer [11]. User hometown preferences are transferred to out-of-town preferences using a multilayer perceptron [3]. The Curriculum Hardness Aware Meta-Learning (CHAML) model enables cross-city knowledge transfer without overlapping users [12]. The LSARS model combines public preferences learned from local user check-in behaviors to improve recommendations [2]. When users are uncertain about the target city [14,15], the Crowd-Aware Pre-Travel Out-of-Town Recommendation (CAPTOR) model uses Spatial-Association Conditional Random Fields (SA-CRFs) to capture spatial correlations between Points of Interest (POI), and utilizes a Collective Behavior Memory Network (CBMN) to maintain a memory of group travel behaviors in different regions, thereby enabling pre-trip out-of-town POI recommendations [14]. The Knowledge-Driven Disentangled Causal Metric Learning Framework (KDDC) model pre-trains a POI attribute knowledge graph using a segmented interaction approach and aggregates POI semantic information through relational heterogeneity. Additionally, others proposed a decoupled causal metric learning method for modeling and inferring user-related representations [15].
However, the aforementioned methods face issues related to errors and missing information in user preference mining. Table 1 summarizes the approaches used in some studies to handle user check-ins. Moreover, few studies have focused on the personalized nature of user preference shifts. This paper is dedicated to addressing the challenges in user preference mining, using heterogeneous hypergraphs as a solution. The personalized preference shifts of users are realized through the adoption of meta-networks and attention networks.

2.2. POI Recommendation Based on Graphs

Graph embedding (GE) [16] is a technique that maps graph data into a low-dimensional vector space. Through graph embedding, complex graph structure information can be represented as fixed-length vectors, facilitating subsequent analysis and machine learning tasks. Considering the issues of data sparsity and the difficulty in fully utilizing implicit feedback information, reference [17] proposes a personalized POI recommendation framework based on heterogeneous graph embedding, which generates a series of intermediate feedback from unobserved feedback by learning the embedding vectors of users and POI in the heterogeneous information network. Reference [18] utilizes graph embedding methods to explicitly model complex geographical influences from both distance-based and transition-based perspectives.
However, in reality, user check-in information involves higher-order complex interactions beyond pairwise relationships, making it challenging for conventional graphs to handle these issues effectively. In recent years, with the deepening research in hypergraph theory, many studies have applied hypergraphs to the POI recommendation field. Reference [19] models data from location-based social networks (LBSNs) as hypergraphs to capture the complex interactions within LBSNs. Reference [20] designed a multi-perspective decoupled hypergraph learning component, which decouples the intrinsic relationships between collaboration, transition, and geographical perspectives using an adjusted hypergraph convolutional network. Reference [21] proposed a novel framework—Adaptive Spatiotemporal Hypergraph Fusion Learning (ASTHL)—for next POI recommendation, which addresses the complex higher-order feature interactions. The aforementioned methods are ineffective when dealing with heterogeneous hypergraphs, as the nodes and edges in heterogeneous hypergraphs are of different types, and conventional hypergraph convolution methods cannot effectively utilize these types of relationships. To address the challenges of heterogeneous hypergraphs, a heterogeneous hypergraph embedding method is proposed.

3. Problem Definition

Definition 1. 
(Point-of-Interest): A specific location related to geographic coordinates with a unique identifier is referred to as a POI ( v , l v ) . Here, v represents the unique identifier and l v refers to the geographic information (latitude and longitude).
Definition 2. 
(Check-In Record): A check-in record is represented by a sextuple ( u , v , l v , g , c , t ) , where u, v, l v , g, c, and t denote the user, POI, geographical coordinates, category, region, and time, respectively. It indicates that user u checked in at POI v, located at coordinates l v , in region g, at time t, and the POI belongs to category c.
Definition 3. 
(Check-In Records Set): The check-in records set are represented by D u = { ( u , v i , l v i , c i , g i , t i ) } i = 1 n u , where n u denotes the number of check-ins made by user u. In this paper, the dataset D is composed of the check-in records set of all users, represented as D = { D u : u U } , where U represents the set of all users.
Definition 4. 
(POI-Category Graph): POI-Category graph is defined as G v w = { V , W , E v w } , where V is the set of POI, W is the vocabulary, and E v w is the set of edges connecting words and POI.
Definition 5. 
(Heterogeneous Hyperedge): A heterogeneous hyperedge is extracted from a user’s check-in records, represented by a quadruple ( u , v , g , c ) . This quadruple is considered a hyperedge e h h = ( u , v , g , c ) that simultaneously connects four different objects: the user, the POI, the category of the POI, and the city of the POI.
Definition 6. 
(Check-In Heterogeneous Hypergraph): The check-in heterogeneous hypergraph is defined as G h h = { U , V , G , C , E h h , W } , where U is the set of users, V is the set of POI, G is the set of cities, C is the set of categories, E h h is the set of heterogeneous hyperedges, and W is the diagonal matrix representing the weights of each hyperedge.
Definition 7. 
(Source City, Target City): For a given user u, the city where the user has the most check-ins is considered their home city, also known as the source city r ˜ . The target city r o , also referred to as the out-of-town city, is the city that the user visits during cross-city activities.
Definition 8. 
(Cross-City POI Recommendation): Cross-city recommendation involves providing a set of users U residing in a source city r ˜ , with a target city r o , a set of POI V o in r o and check-in records set D generated by users U traveling to r o . A function F ( ) is learned using D and V o . For a new user u U , given their historical check-in records D u , the function D u , V o F V o is used to recommend a set of POI v o V o to the new user.

4. Methods

As shown in Figure 2, the proposed method consists of three main components. First, in the preference-mining module based on a heterogeneous hypergraph, user check-in records are used to construct a heterogeneous hypergraph with four types of nodes: users, POI, cities, and POI categories. User preferences for their source city are then obtained through heterogeneous hypergraph embedding. Second, in the personalized preference transfer module, a POI-category graph is created to derive POI embeddings using the skip-gram method. A user’s transferable features are obtained through a POI aggregator network. A meta-network is subsequently built to learn the weight parameters of the transfer network, using the derived user features as input. This network enables the transfer of user preferences from the source city to the target city. Finally, in the target city POI recommendation module, a POI-geographical graph is constructed based on the geographical information of the POI. This graph, combined with POI category information, is processed using a Graph Convolutional Network (GCN) to generate a joint embedding representation. The final recommendation is obtained by combining the personalized preference transfer embeddings with the target city’s POI embeddings.

4.1. Check-In Heterogeneous Hypergraph Preference-Mining Module

4.1.1. Heterogeneous Hypergraph Embedding

Before users arrive at their target city, they not only check in at the source city but may also check in at other cities along the way. Previous studies typically address these check-ins by either deleting the check-ins made in other cities or treating them as check-ins at the source city. Such methods result in information loss and distort data, leading to biases in the extraction of user preferences. Table 1 summarizes the assumption methods used in past research for handling user check-ins.
In cross-city recommendation scenarios, multiple types of relationships exist between users, POI, and geographical locations. For instance, there is a check-in relationship between users and POI, a geographical distance relationship between POI, and a category affiliation relationship between POI and their respective categories. However, traditional graph models are often inadequate for handling such diverse relationships simultaneously. In contrast, heterogeneous hypergraphs can accommodate various nodes and relationship types within a single framework, offering a more comprehensive representation of the data. To address these challenges, this paper proposes constructing a heterogeneous hypergraph for modeling user check-ins.
For a user, check-ins may occur in multiple cities. To better categorize a user’s multiple check-ins, it is essential to recognize that POI within the same city exhibit spatial similarity, adhering to the First Law of Geography. Similarly, POI in different cities may be interconnected due to their similar category information or because they have been checked into by the same user.
The check-in heterogeneous hypergraph comprises four distinct types of nodes t y 4 = { u , v , g , c } . Each hyperedge includes four nodes, each belonging to a different type. This configuration distinguishes the POI checked into by the same user in different cities through city nodes. Additionally, POI from different cities are connected via user and category nodes.
The heterogeneous hyperedges in the check-in heterogeneous hypergraph are constructed based on users’ check-in records, reflecting the interactive relationships among different objects within the hyper-edges. Four distinct types of nodes are included in this heterogeneous hypergraph. Unlike homogeneous hypergraphs, there are two critical aspects of heterogeneous hypergraphs that must not be overlooked:
(1)
Indecomposability: In a heterogeneous hypergraph, hyperedges are typically indecomposable, meaning that the nodes within a hyperedge exhibit strong relationships, whereas the subset of nodes may not. For instance, in the “user, region, POI, category” cross-city POI recommendation model, the relationship between “user” and “category” is generally weak. Consequently, traditional hypergraph learning methods that decompose hyperedges cannot be employed;
(2)
Structural Preservation: Network embedding typically preserves local structures through observable relationships. However, due to network sparsity, many existing relationships are unobservable, and preserving the entire hypergraph structure solely through local structures is insufficient. Global structures, such as neighborhood structures, are also affected by data sparsity.
To address this, this paper proposes HHE, as shown in Figure 3.
For the check-in heterogeneous hypergraph, according to the theory presented in [22], it must satisfy both first-order and second-order similarities. Specifically, first-order similarity refers to the relationships between vertices within a hyperedge. For m nodes, if these m nodes ( n 1 , n 2 , , n m ) simultaneously exist within the same hyperedge and the subsets of these nodes do not form hyperedges, then these m nodes satisfy first-order similarity, which is defined as 1. Second-order similarity measures the similarity between the neighborhoods of nodes. To better illustrate second-order similarity, as shown in Figure 4, a dashed ellipse represents a heterogeneous hyperedge. In this example, the neighborhood nodes of U 1 include { ( P 1 , C 1 ) , ( P 1 , C 2 ) } , and the neighborhood nodes of U 2 include { ( P 1 , C 1 ) , ( P 2 , C 2 ) } . Since both U 1 and U 2 share the node ( P 1 , C 1 ) , both U 1 and U 2 satisfy second-order similarity.
Since, in cross-city POI recommendations, users may check in at the same point multiple times, a weight is assigned to each hyperedge e h h in the heterogeneous hypergraph G h h . A hyperedge weight matrix W of size E h h × E h h is defined, where W i i represents the number of times that a user has checked in at a POI within the hyperedge e h h i , and W i j = 0 .
To obtain the adjacency matrix A of the heterogeneous hypergraph, it is necessary to define the incidence matrix H and the degree matrix D v separately. The degree matrix D v is derived from the hyperedge weight matrix W and the incidence matrix H . The incidence matrix H has a size of Z × E h h , where Z = ( U + V + G + C ) , and h ( z , e h h i ) = 1 indicates z e h h i ; otherwise, it equals 0. D v is a diagonal matrix, with diagonal elements representing the degree of the corresponding vertices. The vertex degree is obtained by d ( z ) = e h h E h h w ( e h h ) h ( z , e h h ) , where w ( e h h ) represents the weight corresponding to hyperedge e h h in matrix W .
The adjacency matrix A = H H T D v , where the superscript T denotes the transpose of a matrix. The values in the adjacency matrix represent the co-occurrence frequency between two nodes. Each row of the adjacency matrix represents the neighborhood information of the current node. To better preserve the neighborhood information of the nodes, the nodes in the adjacency matrix are reencoded using an autoencoder [23], with the adjacency matrix as the input. The encoder and decoder are described by the following formulas:
x i = σ e ( W ( 1 ) A i + b ( 1 ) )
A ˜ i = σ d ( W ˜ ( 1 ) x i + b ˜ ( 1 ) )
Here, A i R Z is the i-th row of the adjacency matrix, W ( 1 ) R d × Z and W ˜ ( 1 ) R Z × d are weight matrices, b ( 1 ) R d and b ˜ ( 1 ) R Z are bias vectors, and σ represents the Sigmoid function. x i X ; here, X is the embedding matrix of the nodes in the heterogeneous hypergraph.
The autoencoder has the capability to extract features and reconstruct encoding by minimizing the error between the input and output. This reconstruction process preserves the neighborhood information of nodes, thereby maintaining the second-order similarity between nodes. Since the adjacency matrix of the heterogeneous hypergraph is highly sparse, to accelerate the training speed of the model, only the non-zero elements of the adjacency matrix are reconstructed. The reconstruction error is shown as follows:
L = i | Z | | | s i g n ( A i ) ( A i A ˜ i ) | | F 2
Here, ⊙ represents element-wise multiplication, and s i g n is the sign function.
Furthermore, the vertices in the heterogeneous hyperedges have different types. Considering that nodes of different types may have distinct embedding representations, each type of node has its own autoencoder. The reconstruction loss is shown as follows:
L 1 = t { u , v , g , c } i { U , V , G , C } | | s i g n ( A i t ) ( A i t A ˜ i t ) | | F 2
Here, t is the number of node types.
By employing an attention network, the embeddings of four nodes ( v i u , v j v , v k g , v l c ) ( x i u , x j v , x k g , x l c ) R d are used as inputs to obtain a joint embedding representation, as shown below:
α j = q T σ W ( 2 ) h t + b ( 2 ) L i j k l = t { u , v , g , c } α j h t
Here, L i j k l R d represents the joint embedding, σ is the Sigmoid function, and W ( 2 ) R d × d and b ( 2 ) R d are the weight matrix and bias vector, respectively.
After obtaining L i j k l R d , it is mapped to a probability space through a non-linear layer to obtain the similarity:
S i j k l = σ ( W ( 3 ) L i j k l + b ( 3 ) )
Here σ is the Sigmoid function, W ( 3 ) R d × d and b ( 3 ) R d are the weight matrix and the bias vector, and the loss function is shown in the following equation:
L 2 = ( R i j k l log S i j k l + ( 1 R i j k l ) log ( 1 S i j k l ) )
Define R i j k l to be 1 if there is a hyperedge between ( v i u , v j v , v k g , v l c ) ; otherwise, it is 0. If R i j k l equals 1, the similarity S i j k l should be larger; otherwise, the similarity is smaller. In other words, first-order similarity is preserved.
Finally, to simultaneously preserve first-order and second-order proximities, Equations (4) and (7) are combined to derive the final loss function:
L G h h = β L 1 + L 2
Here, β is a hyperparameter used to regulate the effect of L 1 on total losses. The whole algorithm is shown in Algorithm 1.
Algorithm 1: Heterogeneous Hypergraph Embedding (HHE)
Input: 
Check-in heterogeneous hypergraph G h h , Incidence matrix H , Degree matrix D v , Adjacency matrix A
Output: 
Node embedding matrix X
1:
Initialize the weight parameters { W ( i ) , b ( i ) } i = 1 3
2:
while not converge do
3:
   Encode the nodes of different types according to Equation (1)
4:
   Decode according to Equation (2)
5:
   Calculate the reconstruction loss according to Equation (4)
6:
   Obtain the joint embedding of the four different types of nodes according to Equation (5)
7:
   Calculate the similarity according to Equation (6)
8:
   Compute the loss according to Equation (7)
9:
   Calculate the joint loss function according to Equation (8) and update the parameters
10:
end while
11:
return the node embedding matrix X

4.1.2. Source City Preference

To represent user preferences for the source city, a check-in aggregator network is utilized. After training, the heterogeneous hypergraph network for check-ins can be represented by the nodes within its heterogeneous hyperedges, as shown in the following equation:
e h h = mean x i u + x j v + x k g + x l c
Here, e h h is the embedding of the heterogeneous hyperedge. It is obtained by averaging the embedding representations of the contained nodes by bits.
User source city preferences can be derived by aggregating the hyperedges corresponding to all user check-in records. Utilizing attention mechanisms to achieve check-in aggregator network, the source city preference embedding is thus represented as follows:
u i = E h h j D u i α j e h h j
Here, u i R d denotes the source city preference of user i and α j denotes the attention score of e h h j . For the acquisition of the attention score, it is obtained by designing the attention network. This is expressed using the equation that follows:
α j = q T σ W e h h j + b
α j = exp ( α j ) v l D u i exp ( α l )
Here, q R d and W R d × d are the weight parameters of the attention network, b R d is the bias vector, and σ is the Sigmoid function.

4.2. Personalized Preference Transfer Module

In cross-city POI recommendations, users’ preferences in the target city may differ from those in their source city due to various local factors. For instance, in the context of dining, users may frequently check in at hotpot restaurants in their historical records when in their source city. However, upon arriving in the target city, their preferences might shift according to the city’s distinct characteristics. For example, in a city known for its seafood, users may be more inclined to check in at seafood restaurants. This shift in users’ preferences is referred to as preference transfer. Because different users check in at various locations in their source cities, their preferences also vary, resulting in diverse preferences once transferred to the target city. As a result, the process of preference transfer is inherently personalized. Additionally, since users may not have any historical check-in data in the target city, the cold-start problem becomes more pronounced in cross-city recommendation systems. However, personalized preference transfer can help mitigate this issue by learning users’ behavioral patterns in their source cities and inferring their potential preferences in the target city.

4.2.1. Users’ Transferable Features

Users’ transferable features are obtained by constructing a POI aggregator network. Each POI is associated with multiple textual descriptions, which facilitates the construction of a POI-category graph G v w [10]. The POI embeddings are derived using the skip-gram.
Specifically, POI are treated as central words, and their corresponding descriptions are considered as context words, as illustrated in Table 2. The initialization of POI embeddings is performed using Equation (13).
L G v w = ( v , w ) E v v log P ( w | v ) ( v , w ) E v w log σ ( y w T y v ) + w W v log σ ( y w T y v )
In this context, let v denote a POI, w represent the positive context associated with the POI, w signify the negative context related to the POI, W v indicate the collection of all positive contexts for the POI v, y w refer to the embedding for the word w, and y v correspond to the embedding for POI.
Users’ transferable features are derived from the category information of POI where users have checked in, through the construction of a POI aggregator network. The importance of each POI in extracting transferable features is taken into account by employing an attention mechanism in the network. This mechanism compresses multiple POI into a single representation by assigning different weights to different parts based on their contributions. Consequently, each POI is weighted and summed using the attention mechanism:
p u i = v j D u i β j y j
Here, p u i R d denotes the transferable features of user i, and β j represents the attention score of POI v j , which can be interpreted as the importance of v j in the transferable features of the user. The attention scores are obtained by designing an attention network. The formulaic representation is as follows:
β j = q T σ W p y j + b p
β j = exp ( β j ) v l D u i exp ( β l )
Here, q R d and W P R d × d are the weight parameters of the attention network, b p R d is the bias vector, and σ is the Sigmoid function. The POI aggregator network obtains user transferable features as input to the meta-network, thereby generating weight parameters for the personalized transfer network.

4.2.2. Meta-Network

As previously discussed, user preferences in the target city vary. In other words, the preference transfer is personalized. There is a specific relationship between user preferences in the target city and a user’s transferable features. Inspired by the literature [24], a meta-network is designed through nonlinear mapping, which takes a user’s transferable features as input to obtain the weight parameters of the transition network. The meta-network is represented as follows:
W u i = Re L U W 2 m σ W 1 m p u i + b 1 m + b 2 m
Here, W 1 m R d × d and W 2 m R 2 d × d are the weight matrices of the parametric learning network, b 1 m R d and b 2 m R 2 d are the bias vectors, and σ is the Sigmoid function.

4.2.3. Transfer Network

The input to the transfer network is the user’s source city preferences. Instead of being randomly initialized, the weight matrix of the transfer network is derived from the output of the meta-network. Since the meta-network provides an output for each user, each user in the transfer network possesses an independent weight matrix, thus enabling personalized preference transfer.
Based on the Embedding and Mapping Framework for Cross-Domain Recommendation (EMCDR) [24], an MLP is employed to complete the transfer network. The weight matrix W u i R 2 d is reconstructed into W u i R d × d . Thus, the transfer network is formulated as follows:
u i t = Re L U W u i u i + b t
Here, W u i R d × d is the output of the parameter-learning network, b t R d is the bias vector of the transfer network, u i R d is the user preference obtained through Equation (10), and u i t R d is the preference of user i after transfer, which corresponds to the user i preferences in the target city, i.e., the preferences for the target city.

4.3. Target City POI Recommendation Module

4.3.1. Target City POI Embedding

The geographical influence of POI in the target city aids in understanding users’ check-in behaviors at different locations [9]. Moreover, geographically proximate POI often share similar category attributes. Hence, each POI in the target city is initialized with a one-hot category vector, denoted as V o = ( v 1 o , v 2 o , , v D 2 o ) T . Subsequently, an undirected graph G g e o = ( V o , E o ) is constructed based on the geographical relationships between POI, with edges e i , j o E o defined as follows:
e i , j o = exp d i s t ( v i , v j )
d i s t ( v i , v j ) = 2 r arcsin sin 2 l a t v 2 l a t v 1 2 + cos ( l a t v 1 ) cos ( l a t v 2 ) sin 2 l o n v 2 l o n v 1 2
The d i s t ( · , · ) represents the distance between POI v i and v j . Here, r represents the radius of the Earth, l a t v 1 and l a t v 2 are the latitudes of the two points, and l o n v 1 and l o n v 2 are the longitudes of the two points. Using the distances between each pair of POI, an adjacency matrix A g e o can be constructed.
To capture the spatial relationships between POI, a GCN is used as follows:
V o = ReLU A g e o V o W + b
Here, W denotes the weight matrix and b is a bias term. V o = v 1 o , v 2 o , , v D 2 o T is the embedding matrix for the updated target city POI, which encodes the geographical and category information of the POI.
The representation of user preferences after transfer, denoted as u i t R d , is obtained according to Equation (18). Based on the concept of matrix factorization, the user’s rating of a POI can be viewed as the inner product of the transitioned user preference representation and the POI representation in the target city. Therefore, the score of user i for a POI in the target city is defined as follows:
s ( i , j ) = u i t T v j o
According to the assumption of BPR [25], the probability of a previously visited POI being preferred is higher than that of an unvisited POI. By comparing two by two, the target city loss is
L T = u U j D u o k D u o log σ s ( i , j ) s ( i , k )
Here, D u o are the check-in records of user u in the target city. σ is the Sigmoid function.

4.3.2. Joint Training and Recommendation

By combining the heterogeneous hypergraph loss from Equation (8), the POI-Category graph loss from Equation (13), and the target city preference loss from Equation (23), the model is jointly trained in an end-to-end manner by minimizing the composite loss function:
L = λ 1 L G h h + λ 2 L G v w + λ 3 L T
Here, λ 1 , λ 2 , and λ 3 are three hyperparameters that control the contribution of individual losses to the composite loss.
After optimizing the model parameters, the model can be used to recommend POI in the target city to users. Specifically, for a user u U and their historical check-in records, a preference representation u t is generated following the transition of user interests. The rating of the target city POI for the user is then obtained by calculating the inner product of u t and v j o .
s ( , j ) = u t T v j o
Finally, the top-k ranked target city POI can be selected as recommendations to user u based on the estimated scores.

5. Experiments

5.1. Datasets and Evaluation Metrics

This study validates CHHPPT using real check-in datasets from Foursquare (https://sites.google.com/site/yangdingqi/home/foursquare-dataset) [15] and Yelp (https://www.yelp.com/dataset) [15]. The datasets are divided into 80% training set and 20% test set, and 50% training set and 50% test set. Detailed statistical information is shown in Table 3, which includes all the data required for inter-city analysis.
Foursquare. The Foursquare dataset is used, which is a check-in dataset where each check-in record is represented by user ID, check-in time, POI ID, POI name, latitude and longitude, city, state, country, and category. In the experiment, New York City (NY) was used as the target city, and California (CA) was considered as the user’s place of residence. The time span of the data ranges from January 2010 to December 2011.
Yelp. The Yelp dataset is derived from the Yelp Challenge dataset. Each check-in record is represented by user ID, business ID, city, state, latitude and longitude, category, and score. In the experiment, data from Las Vegas (LV) and Phoenix (PHX) were selected, with Las Vegas designated as the target city and Phoenix as the source city for users, and vice versa. The time span of the data ranges from 22 April 2005 to 13 December 2019.
In order to ensure data quality and enable the model to learn more useful information, the strategy in [14] is used to filter the dataset. POI with fewer than two check-ins are filtered out. Users who meet any of the following conditions will also be filtered out: (1) The user has fewer than five check-ins in their source city; (2) The user has fewer than two check-ins in their target city; (3) The pair ( r ˜ , r o ) appears fewer than ten times.
Evaluation Metrics. In this study, the model’s performance is evaluated using Mean Absolute Error (MAE) [26] and Root Mean Square Error (RMSE) [26]. MAE is suitable when the errors are relatively obvious, as larger errors carry higher weights. RMSE, on the other hand, is used when the errors are not as apparent, as shown in the following equations:
MAE = n i = 1 | y i y ^ i | n
R M S E = n i = 1 ( y i y ^ i ) 2 n

5.2. Baselines

We compare our proposed method with the other methods in Table 4.
Furthermore, to evaluate the contribution of each module within the model, three variants of CHHPPT are presented as follows:
CHHPPT-MF: This variant removes the hypergraph module and derives user preferences based on matrix factorization, subsequently recommending POI to users.
CHHPPT-PA: This variant removes the POI aggregation network and replaces it with a multilayer perceptron.
CHHPPT-P: This variant eliminates the POI-category graph, representing POI through random initialization and disregarding POI category information.
CHHPPT-MP: This variant simultaneously removes both the hypergraph module and the POI-category graph.

5.3. Experimental Settings

The model framework was implemented using PyTorch (2.4.1 version), with baseline model parameters configured as per the original paper. For all embedding representations, the dimensionality d (i.e., embedding size) was fixed at 10. The parameters λ 1 , λ 2 , and λ 3 were set to 1. Learning was conducted using the Adam optimizer, with the learning rate tuned within the range 0.001, 0.003, 0.005, 0.01, 0.03, 0.05. For the three different recommendation tasks, batch sizes were set to 64 for CA-NY, and 128 for both LV-PHX and PHX-LV. Both the meta-network and the transfer network were designed as MLP. In Heterogeneous Hypergraph Embedding, β is set to 1, using an autoencoder network structure with one hidden layer, with the size of the autoencoder’s hidden layer set to 32.

5.4. Empirical Analysis

Performance Comparison. This section presents a comprehensive analysis of the recommendation performance of the CHHPPT model across three tasks on two real-world datasets. The primary focus is on the recommendation accuracy of CHHPPT for these tasks. The percentages, 50% and 80%, represent the varying proportions of training and test datasets. The experimental results are presented in Table 5 and Table 6. Several observations can be drawn from the experimental results: (1) Overall, using 80% of the dataset as the training set yields better recommendation performance compared to using 50%. This improvement can be attributed to the larger training set enabling the model to learn more effectively; (2) Compared to cross-domain recommendation models, models focused on cross-city POI recommendation outperform cross-domain models in recommendation performance. This indicates that cross-domain models cannot be directly applied to cross-city POI recommendation without adjustments, as cross-city POI recommendation requires greater consideration of how geographical locations influence changes in user preferences; (3) TGT is a single-domain model that only uses data from the target region, and its recommendation performance is suboptimal. In comparison to TGT, all other recommendation methods can utilize data from the user’s source city, leading to better results. Therefore, leveraging data from the user’s source city is an effective method to mitigate data sparsity and improve performance in cross-city recommendations; (4) Compared to cross-city POI recommendation models, the overall recommendation performance of the CHHPPT model is superior. The reasons for this include, first, the effective construction of a personalized preference transfer module that better captures the varying preferences of different users in the target region and, second, the construction of a check-in heterogeneous hypergraph retains user check-in information from other cities, thereby addressing the impact of erroneous and missing information on user preferences in the source city. A better representation of source city preferences allows for the more accurate discovery of user preferences in the target city. At the same time, compared to the CityTrans model, it is shown that relying solely on the check-in sequence to uncover user preferences is insufficient. The category and location information of POI also play a crucial role in identifying user preferences.
The experimental results provide further insights into the model’s ability to handle data sparsity and the cold-start problem. The Heterogeneous Hypergraph Embedding technique plays a key role in capturing user preferences by constructing a check-in heterogeneous hypergraph network for the source city. This approach allows the hypergraph to simultaneously represent users, POI, and other types of relational nodes, which enhance the overall data representation by incorporating various relationships. Even in cases of data sparsity in the source city, the model mitigates the impact of missing information on preference mining by propagating information across multiple dimensions. In the user preference transfer module, the POI aggregation network extracts transferable user features from the historical records of multiple POI. This aggregation mechanism is crucial for alleviating the effects of data sparsity on personalized preference transfer, as it integrates information from the source city. As a result, it produces a more accurate mapping of user preferences, which can then be used for better recommendations in the target city. Additionally, by introducing a POI-geographical graph, the method combines geographical and categorical information of POI. This enables the model to not only address data sparsity but also to leverage spatial and categorical similarities, resulting in more reasonable recommendations for users.
The cold-start problem, which is often exacerbated by the lack of sufficient user–POI interaction data, is effectively mitigated through this approach. Through the heterogeneous hypergraph, CHHPPT integrates multiple types of information, such as relationships between users and POI, POI and categories, and geographical locations. This integration allows the model to make reliable inferences based on data from other dimensions, even when a user’s behavioral data in a new city are limited. For new users, CHHPPT can leverage historical data and user behavior from other cities to quickly establish an initial preference prediction. Thus, the personalized preference transfer mechanism successfully addresses the cold-start challenge for new users.
Ablation Analysis. As shown in Table 7 and Table 8, the ablation results for the four variant models on two datasets are presented. Overall, the performances of CHHPPT-MP, CHHPPT-P, and CHHPPT-PA are weaker than those of CHHPPT and CHHPPT-MF, with CHHPPT-MP exhibiting the lowest recommendation accuracy. This suggests that the transferable features of users are derived from the categories of the Points of Interest (POI), and the types of POI that users check into can significantly impact their preferences in the target city. Moreover, the check-in heterogeneous hypergraph preserves users’ check-in data from other cities, facilitating the identification of more complex, higher-order interactions between users and POI. This further underscores the influence of POI category information and check-in data on recommendation performance. The CHHPPT-P model highlights the benefit of learning from POI category data to better extract users’ transferable features. In addition, initializing POI embeddings based on category information can potentially improve the final recommendation performance. Finally, the CHHPPT-PA results demonstrate that employing an attention mechanism to construct a POI aggregation network helps identify which check-ins from users’ source cities are most valuable for extracting transferable features.
By comparing CHHPPT and CHHPPT-MF, it can be observed that CHHPPT outperforms CHHPPT-MF in recommendation performance. This suggests that constructing heterogeneous hyperedges helps to effectively mitigate the influence of erroneous and missing information in user preference mining. This also highlights the impact of check-ins outside the source city on user preferences. The heterogeneous hypergraph retains these additional check-ins, which allows for a more accurate extraction of user preferences from the source city. This, in turn, plays a positive role in mining user preferences for the target city. However, in certain cases, the recommendation performance declines. A possible explanation for this is the over-extraction of user preferences.
Embedding Size Analysis. The CHHPPT model was further investigated by varying the embedding sizes to 8, 10, 16, 32, 64, 128. The results for the Foursquare and Yelp datasets are summarized in Figure 5. For the embedding size comparison, the learning rates were set to 0.03 for the Yelp dataset and 0.01 for the Foursquare dataset, with a data split ratio of 8:2. It is evident that the optimal embedding size for both the Foursquare and Yelp datasets is 32. From the overall experimental results, it can be observed that, as the embedding size increases, the recommendation performance first improves and then declines. This occurs because, as the embedding dimension increases, more information can be incorporated. However, when the embedding size exceeds 32, the model’s recommendation performance starts to decline, indicating that the model is sensitive to the embedding dimension. When the embedding size reaches 128, the recommendation performance of the model decreases significantly. A higher embedding dimension not only includes more information but also introduces noisy data, which negatively affect recommendation performance. Therefore, for the UPPDOR model, the final selected embedding size is 32.
Learning Rate Analysis. The performance of the CHHPPT model was analyzed by varying the learning rates to 0.001, 0.003, 0.005, 0.01, 0.03, 0.05, as shown in Figure 6. In this section, the embedding size was fixed at 32, and the model’s performance was evaluated using MAE and RMSE metrics with a data split ratio of 8:2. Overall, the model’s performance in both MAE and RMSE metrics initially increased and then decreased with rising learning rates. In Figure 6a, the model exhibited optimal performance on the CA-NY task at a learning rate of 0.01, with a sharp decline at 0.05. For the LV-PHX and PHX-LV tasks, the best performance was observed at a learning rate of 0.03, with a decrease at 0.05. In Figure 6b, similar trends were observed across all three tasks, with a notable decline in performance at a learning rate of 0.05. Specifically, the CA-NY task showed optimal performance at a learning rate of 0.01, while the LV-PHX and PHX-LV tasks performed best at a learning rate of 0.03.
Hyperparametric Analysis. This section primarily examines the impact of hyperparameters λ 1 , λ 2 , and λ 3 on the model’s performance based on the MAE metric. During hyperparameter testing, the embedding size was fixed at 32. The learning rate was set to 0.01 for the Yelp dataset and 0.03 for the Foursquare dataset. Initially, λ 1 was varied while setting λ 2 = λ 3 = 1 λ 1 2 . The same strategy was applied to λ 2 and λ 3 . As illustrated in Figure 7a–c, the MAE metric generally remained stable as λ 1 , λ 2 , and λ 3 increased from 0.1 to 0.9, with only slight variations observed for λ 3 . Consequently, λ 1 , λ 2 , and λ 3 were ultimately set to 1.

6. Conclusions

This paper addresses the issues of erroneous information and incomplete data in user preference mining and the transfer of personalized user preferences. A novel framework, CHHPPT, for cross-city recommendation is proposed. Firstly, in the preference-mining module based on a heterogeneous hypergraph, user check-in records are utilized to construct a heterogeneous hypergraph with four types of nodes: users, POI, cities, and POI categories. User preferences for their source city are obtained through Heterogeneous Hypergraph Embedding. Secondly, in the personalized preference transfer module, a POI-category graph is constructed to obtain POI embeddings using the skip-gram method. Users’ transferable features are derived via a POI aggregator network. A meta-network is then built to learn the weight parameters of the transfer network, using the users’ transferable features as input. This network facilitates the user-personalized preference transfer from the source city to the target city. Lastly, in the target city POI recommendation module, a POI-geographical graph is constructed using the geographical information of the POI. This graph, combined with POI category information, is processed through a GCN to generate a joint embedding representation. The final recommendation is achieved by merging the personalized preference transfer embeddings with the target city’s POI embeddings. The efficacy of CHHPPT in enhancing recommendation accuracy was validated on two authentic LBSN datasets.
Although the current methods have addressed the issues of erroneous and missing information in user preference mining to some extent, and have also realized the personalized preference shift of users, several issues still remain:
(1)
Although this paper mainly focuses on medium-sized datasets, we acknowledge that, as the dataset size increases, the computational complexity and memory consumption of existing methods may rise significantly. Therefore, improving the scalability of algorithms to handle large-scale datasets, especially when the numbers of nodes and edges in hypergraphs increase substantially, is crucial. This could involve introducing more efficient graph processing algorithms or utilizing techniques such as graph sampling and hierarchical processing;
(2)
The potential sparsity of hypergraphs can indeed affect the performance of algorithms, particularly when edges and nodes are sparsely distributed. To address this issue, future research could consider adopting more flexible sparse matrix representation methods or exploring graph embedding techniques to mitigate the impact of sparsity;
(3)
User preferences for target cities are influenced by multiple factors, not merely by mining target city check-ins from users’ source city check-ins. In future research, we aim to explore additional auxiliary information to enrich both user and POI data. For example, factors such as the duration of users’ travel in different regions and the identification of regional characteristics could be utilized to provide more accurate and effective POI recommendations.

Author Contributions

Conceptualization, N.W., Y.W. and J.G.; Methodology, N.W. and J.G.; Software, N.W. and Y.L.; Validation, N.W.; Formal analysis, N.W.; Investigation, N.W.; Resources, Y.W.; Data curation, Y.L. and Y.W.; Writing—original draft, N.W., Y.L. and Y.W.; Writing—review and editing, J.G.; Visualization, Y.W.; Supervision, X.C. and J.G.; Project administration, X.C. and J.G.; Funding acquisition, X.C. and J.G. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the S&T Program of Hebei (No. 226Z0102G and No. 21310101D); the National Natural Science Foundation of China (No. 42306218 and No. 62172352); and Hebei Natural Science Foundation (F2023407003).

Data Availability Statement

All the data generated or analyzed during this study are included in this published article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Yin, H.; Zhou, X.; Cui, B.; Wang, H.; Zheng, K.; Nguyen, Q.V.H. Adapting to user interest drift for poi recommendation. IEEE Trans. Knowl. Data Eng. 2016, 28, 2566–2581. [Google Scholar] [CrossRef]
  2. Wang, H.; Fu, Y.; Wang, Q. A location-sentiment-aware recommender system for both home-town and out-of-town users. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Halifax, NS, Canada, 13–17 August 2017; pp. 1135–1143. [Google Scholar]
  3. Xin, H.; Lu, X.; Xu, T. Out-of-town recommendation with travel intention modeling. In Proceedings of the AAAI Conference on Artificial Intelligence, Virtually, 2–9 February 2021; pp. 4529–4536. [Google Scholar]
  4. Xu, S.; Xu, J.; Li, B.; Fu, X. Predicting Where You Visit in a Surrounding City: A Mobility Knowledge Transfer Framework Based on Cross-City Travelers; International Conference on Database Systems for Advanced Applications: Cham, Switzerland, 2023; pp. 334–350. [Google Scholar]
  5. Sun, K.; Qian, T.; Li, C.; Ma, X.; Li, Q.; Zhong, M.; Zhu, Y.; Liu, M. Pre-Training Across Different Cities for Next POI Recommendation. ACM Trans. Web 2023, 27, 1–27. [Google Scholar] [CrossRef]
  6. Sun, H.; Xu, J.; Zhou, R. HOPE: A hybrid deep neural model for out-of-town next POI recommendation. World Wide Web 2021, 5, 1749–1768. [Google Scholar] [CrossRef]
  7. Xiong, X.; Qiao, S.; Han, N. Where to go: An effective point-of-interest recommendation framework for heterogeneous social networks. Neurocomputing 2020, 14, 56–69. [Google Scholar] [CrossRef]
  8. Ding, D.; Zhang, M.; Pan, X. Modeling personalized out-of-town distances in location recommendation. In Proceedings of the IEEE International Conference on Data Mining (ICDM), Sorrento, Italy, 17–20 November 2020; pp. 112–121. [Google Scholar]
  9. Sun, K.; Li, C.; Qian, T. City Matters! A Dual-Target Cross-City Sequential POI Recommendation Model. ACM Trans. Inf. Syst. 2024, 27, 1–27. [Google Scholar] [CrossRef]
  10. Li, D.; Gong, Z. A deep neural network for crossing-city POI recommendations. IEEE Trans. Knowl. Data Eng. 2020, 8, 3536–3548. [Google Scholar] [CrossRef]
  11. Li, D.; Gong, Z. Learning from hometown and current city: Cross-city POI recommendation via interest drift and transfer learning. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies. 2019, 28, 1–28. [Google Scholar]
  12. Chen, Y.; Wang, X.; Fan, M.; Huang, J.; Yang, S.; Zhu, W. Curriculum meta-learning for next POI recommendation. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, Virtual Event, Singapore, 14–18 August 2021; pp. 2692–2702. [Google Scholar]
  13. Li, D.; Gong, Z.; Zhang, D. A common topic transfer learning model for crossing city POI recommendations. IEEE Trans. Cybern. 2018, 12, 4282–4295. [Google Scholar] [CrossRef] [PubMed]
  14. Xin, H.; Lu, X.; Zhu, N. Captor: A crowd-aware pre-travel recommender system for out-of-town users. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, 11–15 July 2022; pp. 1174–1184. [Google Scholar]
  15. Liu, Y.; Shen, G.; Cui, C. Kddc: Knowledge-driven disentangled causal metric learning for pre-travel out-of-town recommendation. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, Jeju Island, Republic of Korea, 4–9 August 2024; pp. 2207–2215. [Google Scholar]
  16. Cai, H.; Zheng, V.W.; Chang, K.C.C. A comprehensive survey of graph embedding: Problems, techniques, and applications. IEEE Trans. Knowl. Data Eng. 2018, 30, 1616–1637. [Google Scholar] [CrossRef]
  17. Su, Y.; Li, X.; Zha, D.; Tang, W.; Jiang, Y.; Xiang, J.; Gao, N. HRec: Heterogeneous graph embedding- based personalized point- of-interest recommendation. In Proceedings of the 26th International Conference on Neural Information Processing, Sydney, Australia, 12–15 December 2019; pp. 37–49. [Google Scholar]
  18. Wang, Z.; Zhu, Y.; Zhang, Q.; Liu, H.; Wang, C.; Liu, T. Graph-enhanced spatial temporal network for next POI recommendation. ACM Trans. Knowl. Discov. Data 2022, 16, 1–21. [Google Scholar] [CrossRef]
  19. Wang, C.; Yuan, M.; Zhang, R.; Peng, K.; Liu, L. Efficient point-of-interest recommendation services with heterogenous hypergraph embedding. IEEE Trans. Serv. Comput. 2022, 16, 1132–1143. [Google Scholar] [CrossRef]
  20. Lai, Y.; Su, Y.; Wei, L.; He, T.; Wang, H.; Chen, G.; Zha, D.; Liu, Q.; Wang, X. Disentangled contrastive hypergraph learning for next POI recommendation. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, Washington, DC, USA, 14–18 July 2024; pp. 1452–1462. [Google Scholar]
  21. Lai, Y.; Su, Y.; Wei, L.; Wang, T.; Zha, D.; Wang, X. Adaptive Spatial-Temporal Hypergraph Fusion Learning for Next POI Recommendation. In Proceedings of the ICASSP 2024–2024 IEEE International Conference on Acoustics, Seoul, Republic of Korea, 14–19 April 2024; pp. 7320–7324. [Google Scholar]
  22. Tu, K.; Cui, P.; Wang, X.; Wang, F.; Zhu, W. Structural deep embedding for hyper-networks. AAAI Conf. Artif. Intell. 2018, 32, 2374–3468. [Google Scholar] [CrossRef]
  23. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef] [PubMed]
  24. Man, T.; Shen, H.; Jin, X.; Cheng, X. Cross-Domain Recommendation: An Embedding and Mapping Approach. IJCAI 2017, 2017, 2464–2470. [Google Scholar]
  25. Mikolov, T.; Sutskever, I.; Chen, K.; Corrado, G.S.; Dean, J. Distributed representations of words and phrases and their compositionality. Adv. Neural Inf. Process. Syst. 2013, 26, 3111–3119. [Google Scholar]
  26. Zhao, C.; Li, C.; Xiao, R.; Deng, H.; Sun, A. CATN: Cross-Domain Recommendation for Cold-Start Users via Aspect Transfer Network. In Proceedings of the SIGIR, Virtual, 25–27 July 2020; pp. 229–238. [Google Scholar]
  27. Singh, A.P.; Gordon, G.J. Relational learning via collective matrix factorization. In Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Las Vegas, NV, USA, 24–28 August 2008; pp. 650–658. [Google Scholar]
  28. Zhu, F.; Yan, W.; Chen, C.; Liu, G.; Orgun, M.; Wu, J. A deep framework for cross-domain and cross-system recommendations. arXiv 2018, arXiv:2009.06215. [Google Scholar]
  29. Kang, S.; Hwang, J.; Lee, D.; Yu, H. Semi- Supervised Learning for Cross-Domain Recommendation to Cold-Start Users. In Proceedings of the CIKM, Beijing, China, 3–7 November 2019; pp. 1563–1572. [Google Scholar]
Figure 1. Tom’s check-in records in his hometown city A and out-of-town city B, as well as his current check-in in city C.
Figure 1. Tom’s check-in records in his hometown city A and out-of-town city B, as well as his current check-in in city C.
Electronics 13 04954 g001
Figure 2. The illustration of CHHPPT framework (an edge of the same color in a check-in heterogeneous hypergraph is a heterogeneous hyperedge).
Figure 2. The illustration of CHHPPT framework (an edge of the same color in a check-in heterogeneous hypergraph is a heterogeneous hyperedge).
Electronics 13 04954 g002
Figure 3. Heterogeneous Hypergraph Embedding.
Figure 3. Heterogeneous Hypergraph Embedding.
Electronics 13 04954 g003
Figure 4. Example of second-order similarity.
Figure 4. Example of second-order similarity.
Electronics 13 04954 g004
Figure 5. Embedding size on model performance.
Figure 5. Embedding size on model performance.
Electronics 13 04954 g005
Figure 6. Effect of learning rate on model performance.
Figure 6. Effect of learning rate on model performance.
Electronics 13 04954 g006
Figure 7. Effect of recommendation performance using different loss weights λ 1 , λ 2 , and λ 3 .
Figure 7. Effect of recommendation performance using different loss weights λ 1 , λ 2 , and λ 3 .
Electronics 13 04954 g007
Table 1. The assumptions in previous studies.
Table 1. The assumptions in previous studies.
AssumptionMethod
Only retain the source city check-insST-LDA [1], LSARS [2], TRAINOR [3], CitynoTrans [4],
DCSPR [9], CTLM [13], PR-UIDT [11]
Retain all check-insHOPE [6], ST-TransRec [10]
Table 2. Correspondence between POI and words.
Table 2. Correspondence between POI and words.
POICategorySkip-Grams
V1Breakfast & Brunch, RestaurantsV1, Breakfast; V1, Brunch; V1, Restaurants
V2Hotels & Travel, Car RentalV2, Hotels; V2, Travel; V2, Car; V2, Rental
V3Mexican, RestaurantsV3, Mexican; V3, Restaurants
Table 3. Statistics of datasets.
Table 3. Statistics of datasets.
FoursquareYelp
Total DataUsers330581,403
POI45,38296,995
Check-ins480,5932,261,483
Cross-cityUsers15898362
DataCheck-ins135,290625,357
Table 4. Baselines.
Table 4. Baselines.
Method TypeMethod NameMethod Introduction
Traditional Recommendation MethodsTGTTGT denotes the target MF model, which is trained only using target domain data.
Cross-city POI Recommendation MethodsTRAINOR [3]TRAINOR employs a neural topic model to uncover users’ complex travel intentions for cross-city POI recommendations.
CAPTOR [14]CAPTOR utilizes spatial conditional random fields and collective behavior memory networks to recommend user pre-travel plans.
CityTrans [4]CityTrans framework leverages transfer learning to transfer travel knowledge from the home city to surrounding cities, balancing long-term preferences with short-term interest fluctuations.
Cross-Domain Recommendation MethodsCMF [27]Collective Matrix Factorization (CMF) is an extension of MF. In CMF, user preference representations are shared between the source and target domains.
EMCDR [24]EMCDR is a cross-domain recommendation framework that addresses data sparsity by using a multi-layer perceptron to capture.
DCDCSR [28]Deep Framework for both Cross-Domain and Cross-System Recommendations (DCDCSR) is a neural network-based method for achieving user preference transfer. It accounts for the rating sparsity of individual users across different domains.
SSCDR [29]SSCDR is a Semi-Supervised Cross-Domain Recommendation method.
Table 5. Recommended performance of CHHPPT on Yelp dataset.
Table 5. Recommended performance of CHHPPT on Yelp dataset.
LV-PHXPHX-LV
Ratio50%80%50%80%
MetricMAERMSEMAERMSEMAERMSEMAERMSE
TGT4.54645.50774.38085.33224.50315.45384.42855.3513
CMF3.85024.05943.14913.95314.38845.81913.76663.9829
DCDCSR4.03214.55633.25863.96544.44545.13213.95424.1256
SSCDR3.59873.67842.99513.80334.13114.52353.41013.9677
EMCDR3.31533.59532.96383.78443.63953.90162.47713.2410
TRAINOR3.07433.33402.74843.51203.42483.63282.33603.0054
CAPTOR2.85123.09212.54893.25713.17623.36662.16652.7873
CityTrans1.9142.5461.8722.4661.98262.71281.77412.0142
CHHPPT1.58452.24621.33691.94331.64312.35971.34451.9127
Table 6. Recommended performance of CHHPPT on Foursquare dataset.
Table 6. Recommended performance of CHHPPT on Foursquare dataset.
CA-NY
Ratio50%80%
MetricMAERMSEMAERMSE
TGT4.79015.84454.76865.7966
CMF4.02404.97183.14913.9531
DCDCSR3.98224.78953.25444.2355
SSCDR3.54623.95122.98993.5621
EMCDR3.38543.66552.66743.3201
TRAINOR3.13933.39912.47353.0788
CAPTOR2.91153.16802.39442.9803
CityTrans2.74213.32112.38333.0124
CHHPPT2.47603.13282.25382.8468
Table 7. Ablation on Yelp dataset.
Table 7. Ablation on Yelp dataset.
LV-PHXPHX-LV
Ratio50%80%50%80%
MetricMAERMSEMAERMSEMAERMSEMAERMSE
CHHPPT-MP2.27542.45652.14522.43212.33542.96112.00022.6159
CHHPPT-P1.84332.30091.64332.01202.09882.45121.607342.1461
CHHPPT-PA1.85322.45681.74552.14632.10112.56751.72112.2988
CHHPPT-MF1.62362.28961.32051.94141.63072.31411.38471.9814
CHHPPT1.58452.24621.33691.94331.64312.35971.34451.9127
Table 8. Ablation on Foursquare dataset.
Table 8. Ablation on Foursquare dataset.
CA-NY
Ratio50%80%
MetricMAERMSEMAERMSE
CHHPPT-MP3.13273.38752.50143.0633
CHHPPT-P2.84333.31102.44332.9588
CHHPPT-PA3.01213.32422.51233.1246
CHHPPT-MF2.49153.15662.34542.9593
CHHPPT2.47603.13282.25382.8468
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wei, N.; Li, Y.; Wu, Y.; Chen, X.; Guo, J. Check-In Heterogeneous Hypergraph and Personalized Preference Transfers for Cross-City POI Recommendation Method. Electronics 2024, 13, 4954. https://doi.org/10.3390/electronics13244954

AMA Style

Wei N, Li Y, Wu Y, Chen X, Guo J. Check-In Heterogeneous Hypergraph and Personalized Preference Transfers for Cross-City POI Recommendation Method. Electronics. 2024; 13(24):4954. https://doi.org/10.3390/electronics13244954

Chicago/Turabian Style

Wei, Ning, Yunfei Li, You Wu, Xiao Chen, and Jingfeng Guo. 2024. "Check-In Heterogeneous Hypergraph and Personalized Preference Transfers for Cross-City POI Recommendation Method" Electronics 13, no. 24: 4954. https://doi.org/10.3390/electronics13244954

APA Style

Wei, N., Li, Y., Wu, Y., Chen, X., & Guo, J. (2024). Check-In Heterogeneous Hypergraph and Personalized Preference Transfers for Cross-City POI Recommendation Method. Electronics, 13(24), 4954. https://doi.org/10.3390/electronics13244954

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