Next Article in Journal
Exploring the Spatial Distribution Characteristics of Emotions of Weibo Users in Wuhan Waterfront Based on Gender Differences Using Social Media Texts
Previous Article in Journal
Spatial Metadata Usability Evaluation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Convolutional Neural Network and Matrix Factorization-Based Travel Location Recommendation Method Using Community-Contributed Geotagged Photos

1
College of Computer Science and Technology, Zhejiang University, Hangzhou 310027, China
2
College of Computer Science, Mosul University, Mosul 41002, Iraq
*
Author to whom correspondence should be addressed.
ISPRS Int. J. Geo-Inf. 2020, 9(8), 464; https://0-doi-org.brum.beds.ac.uk/10.3390/ijgi9080464
Submission received: 3 May 2020 / Revised: 28 May 2020 / Accepted: 15 July 2020 / Published: 22 July 2020

Abstract

:
Travel location recommendation methods using community-contributed geotagged photos are based on past check-ins. Therefore, these methods cannot effectively work for new travel locations, i.e., they suffer from the travel location cold start problem. In this study, we propose a convolutional neural network and matrix factorization-based travel location recommendation method to address the problem. Specifically, a weighted matrix factorization method is used to obtain the latent factor representations of travel locations. The latent factor representation for a new travel location is estimated from its photos by using a convolutional neural network. Experimental results on a Flickr dataset demonstrate that the proposed method can provide better recommendations than existing methods.

Graphical Abstract

1. Introduction

The continued growth of photo-sharing sites (e.g., Flickr and Panoramio) has increased the volume of community-contributed geotagged photos (CCGPs) that are available on the Web. These large amounts of CCGPs include rich information (e.g., user-provided tags, time, and visual contents, as shown in Figure 1 and Table 1). This information is tremendously useful for travel location recommendation systems [1], taking into consideration users’ travel preferences depending on their past check-ins, and developing travel location recommendation systems.
CCGPs usually include metadata, e.g., social relation, textual and contextual attributes [2,3,4,5]. Collaborative filtering (CF) is widely used by CCGP-based travel location recommendation methods, which are based on the simple conjecture of recommending a travel location to the user if similar users have interactions with the travel location [6,7]. Due to its simplicity, scalability, and flexibility, matrix factorization, which is a popular CF method that learns a latent factor to represent interaction ratings, becomes a widely used model for travel location recommendation [8,9]. Ratings in the user–travel location interaction are explicit information, which has been deeply exploited in early travel location recommendation methods. To address sparse ratings, auxiliary attributes, e.g., contextual and textual attributes [10,11], are integrated into matrix factorization. However, existing integrated methods only work on implicit/explicit rating prediction problems, and latent factor representation is not learned effectively with highly sparse content information. Therefore, these methods cannot fully capture travel location information and recommend a travel location without any past check-ins, i.e., the travel location cold start problem [12,13,14].
Recently, convolutional neural networks (CNN)s of powerful representation learning abilities shows high performance in different domains, e.g., signal processing [15] and natural language processing [16]. CNN effectively catches local features from different layers and transforms features to a single vector [17]. Therefore, CNN can be used to estimate the latent factor representations of new travel locations by providing comprehensive understanding of photos.
To address the above-mentioned problem, i.e., we cannot obtain the latent factor of a travel location from past check-ins; we propose to use a CNN to estimate the latent factor of a new travel location from its photos. We seamlessly integrate CNN into weighted matrix factorization (WMF), which is commonly used to recommend travel locations. In addition, we use similarity weight between users (and travel locations) to exploit auxiliary attributes, which are integrated into the WMF process to recommend travel locations. To the best of our knowledge, our work is the first to study the location cold start problem of travel location recommendation using photos. The main contributions of this study are summarized as follows.
  • Propose a CNNMF method that integrates CNN and WMF. If a travel location does not have any past check-ins, the method uses a CNN to estimate its latent factor representation from its photos.
  • Employ similarity weights between users (and travel locations) to exploit contextual attributes (i.e., time, weather, and season), textual attributes (i.e., tags), and geographical attributes (i.e., distance).
  • Evaluate the proposed method on a CCGPs dataset that covers nine popular cities worldwide. Experimental results show that CNNMF can effectively address the travel location cold start problem and achieve competitive recommendation performance.
The remainder of the paper is organized as follows: Section 2 presents the related work. Section 3 presents the basic concepts and defines the problem. Section 4 introduces the motivation and design of the methodology. Section 5 presents the experiments. Section 6 concludes the paper and provides some future work recommendations.

2. Related Work

In this section, we survey some recent work related to our study, which contains: (1) CCGP-based travel location recommendations and (2) using extra data to address the location cold start problem.

2.1. CCGP-Based Travel Location Recommendation

CCGP-based travel location recommendation methods focus on two types of recommendation: general and personalized travel location recommendations. Methods of general travel location recommendation focus on recommending popular travel locations and sequences, which usually extract and cluster travel locations and sequences from past check-ins. Jiang et al. [18] proposed obtaining travel sequences from CCGPs by taking multiple attributes (e.g., time, cost, and tags) into account. Liu et al. [19] used a generative method and convolutions network to model users’ check-in sequences. Other typical methods have been used to recommend locations and sequences in a given geospatial area [20,21]. Zheng et al. [20] analyzed the relationship between tourists’ patterns and the regions of attraction. Chen et al. [21] fused geotagged photos and check-ins for route recommendation.
By contrast, methods of personalized travel location recommendation focus on recommending travel locations that are suitable for users’ preferences. Majid et al. [1,22] proposed recommending travel locations by using users’ preferences in past check-ins using different contexts (e.g., time and weather). In recent years, user attributes (e.g., age and gender) have been extracted from photo contents to construct user profiles [23,24]. Cheng et al. [23] extracted user attributes from photo contents, which was extended to include travel group type (e.g., couples, friends, and families) [24], and evolution continued by integrating the above-mentioned attributes with matrix factorization for travel location recommendation [9]. These methods are alternative ways to relieve the limitations of metadata by obtaining users’ travel preferences from the contents of CCGPs (e.g., users’ age and gender information), which cannot effectively work to mitigate the travel location cold start problem.

2.2. Using Extra Data to Address the Travel Location Cold Start Problem

Researchers have also focused on relieving the travel location cold start problem. Gao et al. [12,13] incorporated social network information with geo-social correlation to capture geographical distance and social network from location-based social networks to mitigate the problem. Sun et al. [3] proposed the integration of context information with a support vector machine to solve the regression problem. The main purpose is to extract more attributes to address the problem. However, few studies have investigated the travel location cold start problem. Despite their effectiveness for various data mining tasks, photo contents have not been studied for mitigating the problem.
Many studies have been conducted on using photo contents to extract travel location information, which is based on color, texture, or shape representation [25,26,27]. Ke et al. [25] proposed a method that transforms the photo annotation problem into a multi-label learning problem. Kuang et al. [26] estimated visual information from photos by associated tags in a local region. Xing et al. [27] extracted features from photos to obtain users’ preferences and travel location properties. Weyand et al. [28] determined where a photo was taken only from its pixels by dividing the surface of the earth into thousands of multi-scale geographical cells. Wang et al. [29] proposed a method to extract visual contents from photos to help learn of latent factor representations; the probability method for learning fails to obtain accurate travel locations from hidden features. The reason is that each travel location has limited photos, which are insufficient to describe the travel location.
Our method is different from the above-mentioned methods. We use a CNN to estimate the latent factor of a new travel location from its photos. Latent factors obtained by applying WMF to the past check-ins are used as ground truths to train the CNN.

3. Preliminaries and Problem Definition

The following definitions of certain basic concepts and terms are given to formalize our method.
Definition 1
(Geotagged photo).A geotagged photo indicates the travel location embedded in the photo and can be defined as tuple h = ( i d , u ,   c o r d ,   t ) . Each photo contains a unique identification i d and coordinate c o r d   , which is tagged by the user u at time t .
Definition 2
(Check-in).A user–travel location interaction is represented as a tuple β = ( u , l , t ) , which means user u visits travel location l at time t .
Definition 3
(Travel location).A travel location l is a specific geographic place that a user can visit and take photos.
Definition 4
(Photo collection).A collection of photos taken by all the users is represented as a set, where is the collection of photos taken by user u n .
Definition 5
(New travel location representation).A new travel location latent factor is estimated from its photos by using CNN architecture as a function that takes a raw photo as input, while the output is latent vectors of each photo defined as a tuple l j = C N N ( W , r j ) , where W represents all the weight and bias variables, and r j denotes the photo raw feature vector of travel location j .
Our research problem can be formulated as follows. If a travel location does not have past check-ins, then CNNMF uses a CNN to estimate its latent factor representation from its photos, and seamlessly integrates CNN into WMF, from which we aim to recommend new travel locations to users.

4. Methodology

The framework of CNNMF is illustrated in Figure 2. The travel locations are determined using the spatial proximity of CCGPs. Then, from the visited travel locations, we build the interaction user–travel location matrix. Heterogeneous metadata are mined to exploit contextual attributes (i.e., time, weather, and season), textual attributes (i.e., tags), and geographical attributes (i.e., distance), which are incorporated into the WMF process to recommend travel locations. We also use a CNN to process the content of photos for estimating latent factors in travel location cold start cases.

4.1. Discovering Travel Locations from CCGPs

Discovering travel locations from CCGPs can be considered a clustering problem. Clustering algorithms, such as mean-shift, have been applied to discover travel locations from CCGPs [30]. The DBSCAN [31] algorithm has the following advantages compared with other clustering algorithms: (1) it requires minimum domain knowledge to determine parameters and identifies clusters with spot style; (2) it can work efficiently with large-scale data. However, the DBSCAN algorithm is unsuitable for extracting travel locations from CCGPs because of the different sizes and densities. To address this problem, Kisilevich et al. [32] presented a new clustering algorithm based on DBSCAN called P-DBSCAN, which is suitable for checking the place and event using a combination of CCGPs and can provide the definition of direct density reachable by utilizing adaptive density.
In our study, the P-DBSCAN clustering algorithm is used to find travel locations from CCGPs. We obtain a set of travel locations L = { l 1 , l 2 , , l n } . Each location element is defined as l = { P l , c o r d l }, where P l is a collection of clustered photos and c o r d l at the geographical coordinates appears centroid of CCGPs.

4.2. Obtaining Explicit Information

4.2.1. Contextual Information Modeling

Time-stamp information allows the recovery of weather context w , creating a time of day context t , and gets the season context s . Weather web services (WWSs) normally provide us the information related to weather status at the hourly, daily, or monthly foundation. By using WWSs with a time-stamp, we can discover context w (including temperature and sky condition) when visit β = ( u , l , t ) is made. We use the API of wunderground.com to obtain weather information. To obtain context t , we exploit the mean taken time of the photos belonging to a visit. Context s is then derived. The detailed definitions about time of day, season, and weather contexts are as follows:
  • Time of day: weekday AM, weekday PM, weekend AM, and weekend PM.
  • Season: spring (Mar-Apr-May), summer (Jun-Jul-Aug), autumn (Sept-Oct-Nov), and winter (Dec-Jan-Feb).
  • Weather-temperature: hot (≥25 °C), warm (15–25 °C), cool (5–15 °C), and cold (<5 °C).
  • Weather-sky condition: sunny, cloudy, rainy, snowy, and foggy.

4.2.2. Textual Information Modeling

The metadata of CCGPs have rich heterogeneous information (e.g., textual information). Tags are classified under textual information, which is necessary for modeling users and travel locations [7,33]. The topic model, e.g., latent Dirichlet allocation (LDA) [34], assumes each document is a collection (corpus) that can be described as a mixture of topics, where each topic is defined by a collection of “typical” or “likely” words. The graphical model representation of the LDA model is presented in Figure 3, which works as follows:
  • Select parameters θ i -𝐷𝑖r ( α ), where θ i is the topic distribution of document i and 𝐷𝑖r ( α ) is the Dirichlet distribution of parameter 𝛼.
  • For each word:
    • Select a topic z -multinomial ( θ i ).
    • Select a word w -multinomial ( β z ).
Our method uses the topic model to gain the latent topic spread of users and travel locations for addressing the textual information of CCGPs. The tag set of all the photos of a travel location l , as well as that of a user u , is regarded as a document, and we use the topic model to obtain the topic distribution t x t l   and t x t u .

4.3. Obtaining Explicit Information

After explicit attributes are obtained, user and travel location features are constructed as u = ( w u , s u ,   t u , t x t u ) and l = ( w l ,   s l ,   t l ,   t x t l ,   d i s l )   . The combination of the user and travel location features are applied in matrix factorization. M l l represents the similarity matrix between two travel locations, and M u u represents the similarity matrix between two users. Both M l l and M u u are utilized to help the factorization of user–travel location matrix. A similarity value is between 0 and 1, and a large value indicates high similarity. d i s ( l j , l k ) is the geographical distance between two travel locations. Travel location–travel location similarity can be calculated by Equation (1):
Sim l ( l j , l k ) = q = 1 y x j q × x k q q = 1 y x j q 2 · q = 1 y x k q 2 ,
where x j q and x k q represent the q t h feature of travel locations l j and l k , respectively. y is the number of features. User–user similarity can be calculated by Equation (2):
Sim u ( u i , u k ) = g = 1 y x i g × x k g g = 1 y x i g 2 · g = 1 y x k g 2 ,
where x i g and x k g . represent the g t h feature of users u i and u k , respectively. y . is the number of features. Weighted travel locations and users similarities can be calculated by Equations (3) and (4), respectively.
Sim l ( l j , l k ) = a × s i m l ( l j , l k ) + b × 1 1 + d i s ( l j , l k ) ,
Sim u ( u i , u k ) = c × s i m u ( u i , u k ) ,
where a , and b , . represent similarity weight between travel locations and c represents similarity weight between users, which are used to help the factorization of user–travel location interaction. The weights are set as follows: a = b = 1 5 and c = 1 4 .

4.4. Factorizing User–Travel Location Interaction

The user–travel location interaction plays an important role in the context of travel location recommendation. Let r i j be the number of times that user i has visited travel location j , which can be obtained from the past check-ins. To calculate the weighted effect of user and travel location, we use the WMF algorithm [35]. Let P i j be the preference of user i to travel location j , which is obtained by binarizing r i j , as shown in Equation (5). Let C i j be the confidence of P i j , which is obtained by Equation (6).
P i j = { 1   r i j > 0 0   r i j = 0
C i j = 1 + γ log ( 1 + ϵ 1 r i j ) ,
where γ and ϵ are hyper parameters. Suppose that u i N × k be the users latent preferences, l j M × k be the travel locations latent properties. The basic travel location recommendation method approximates u i s latent preferences in an unvisited l j by solving the following optimization problem.
min u , l 1 2 i , j C i j ( P i j u i T l j ) 2 ,
where C i j N × M is the check-in weighting matrix with C i j = 1 indicating that u i has checked in at l j , C i j = 0 otherwise. Following a previous work [9], the heterogeneous similarity information introduces user–user similarity and travel location–travel location similarity can be used to constrain a WMF for travel location recommendation, which is presented in Equation (8):
min u , l 1 2 i , j C i j ( P i j u i T l j ) 2 + λ 1 2 ( i = 1 m g G ( i ) s i m u ( i , k ) u i u k F 2 + j = 1 n q Q ( j ) s i m l ( j , k ) l j l k F 2 ) + λ 2 2 ( u i F 2 + l j F 2 ) ,
where u i is the latent factor vector of user i , and l j is the latent factor vector of travel location j , the two regularization terms u i F 2 and l j F 2 are used to avoid overfitting, and G ( i ) and Q ( j ) are the user and travel location similarities of user i and travel location j , respectively. λ 1 and λ 2 are nonnegative parameters used to control the regularization terms and the similarity of regularization terms.

4.5. Exploiting Visual Content

With powerful representation learning abilities, CNN is widely used to improve the state-of-the-art, e.g., signal processing [15] and natural language processing [16]. CNN can effectively catch local features from different layers and transform features to a single vector [17]. We select the state-of-the-art CNN architecture VGG-16 [36], which consists of 16 layers, including 13 convolution, 3 fully connected (FC), 5 max-pooling, and 1 softmax layer, as shown in Figure 4. The size of the input photo is 224 × 224 × 3 , where 3 is the number of channels (i.e., RGB), and each CCGP is resized to 224 × 224 . Recent transfer learning studies have demonstrated that CNN trained on one large dataset can be generalized to extract CNN features for other datasets, and outperform the state-of-the-art approaches on these new datasets for different tasks [37,38]. Therefore, we use pre-trained to initialize the weights of VGG-16 on the place database. Let f l index the l t h convolutional layer, v l the number of filters in the l t h convolution layer, z l be the spatial size of the filter, and m l be the spatial size of the output feature map. The updating of W is dominated by the computation of the convolution layer, and the time complexity for one input cost is O ( f l z l 2 v l m l 2 ) [39]. We remove the last FC and softmax layers, which are used for classification purposes, and take the output of the second FC layer (i.e., FC7) as the representation of a CCGP, i.e.,   r j .

4.6. Estimating Latent Factor from Photos

Estimating latent factors for a given travel location from the corresponding CCGPs is a regression problem. Since latent factors are real-valued, the core objective is to minimize the mean square error of the estimations. Let l j be the latent factor vector of location j , which is obtained by WMF, and l j is the corresponding prediction by CNN. Then, the minimization problem is presented as follows:
min θ j l j l j 2 .

4.7. Travel Location Recommendation

The framework representation of CNNMF is shown in Figure 2. By fusing Equation (8) and Equation (9), the objective function of CNNMF can be written as follows:
min u , l , l ' 1 2 i = 1 m j = 1 n C i j ( P i j u i T l j ) 2 + λ 1 2 ( i = 1 m g G ( i ) s i m u ( i , k ) u i u k F 2 + j = 1 n q Q ( j ) s i m l ( j , k ) l j l k F 2 ) + λ 3 2 ( j l j l j ' F 2 ) + λ 2 2 ( u i F 2 + l j F 2 ) + λ 4 2 ( l j ' F 2 )   ,
where λ 3 and λ 4 are parameters used to control the estimation of latent factor and regularization terms. Equations (11) to (13), which are based on gradient descent, are used to update user u i and travel location l j , respectively.
u i u i + α ( ( P i j u i T l j ) l j λ 1 g G ( i ) s i m u ( i , k ) ( u i u k ) λ 2 u i )
l j l j + α ( ( P i j u i T l j ) u i λ 1 q Q ( j ) s i m l ( j , k ) ( l j l k ) + λ 3 j ( l j l j ) l j λ 2 l j )
l j l j + α ( λ 3 j ( l j l j ) l j λ 4 l j )

4.8. The Learning Algorithm of CNNMF

With the above-mentioned update rules, the algorithm of CNNMF is summarized in Algorithm 1. The proposed CNNMF framework uses similarity weight between users (and travel locations) to exploit auxiliary attributes, which are integrated into the WMF process to recommend travel locations. For a new travel location, we initialize the weights of VGG16 by the pre-trained weights on the place database for photo classification. The place database is a very large photo dataset containing 7,076,580 photos from 476 scene categories. This is demonstrated by initializing CNN using pre-trained weights on place database. In practice, we keep the earlier layers fixed. This is motivated by the observation that the earlier features of a CNN contain more generic features that should be useful to many tasks, but later layers of the CNN become progressively more specific to the details of the original dataset and should be useful for travel location recommendation. In summary, all user and travel location latent factors are updated in O ( k 2 n P + k 3 N + k 3 M ) where n P is the number of observed ratings. Note that photo latent vectors are computed while updating W . Time complexity for updating W is dominated by the computation of the convolution layer, and thus all weight and bias variables of CNN are updated in O ( l d v l 1 . z l 2 . v l . m l 2 ) [39]. The total time complexity per epoch is O W M F ( k 2 n P + k 3 N + k 3 M ) + O C N N ( l d v l 1 . z l 2 . v l . m l 2 ) , and this optimization process scales linearly with the size of the given data. Finally, we compute the score u i T l j , and recommend the travel locations with the highest scores.
Algorithm 1. The proposed Framework CNNMF
Input:
P, user–travel location preference matrix
Simu(ui, uk): user–user similarities
Siml(lj,lk):travel location–travel location similarities
𝒫lj for lj
Output:
Latent factor vector of user and travel location ui, lj;
1: initialize the weight of VGG-16 on the place database
2: initialize ui, lj and l j
3: for each ui do
4:    update by Equation (10)
5: end for
6: for each lj do
7:    update by Equation (11)
8: end for
9:    If travel location j is new then
10:  estimate l j by CNN(W,fj)
11:  update by Equation (12)
12:  end if
13: return the top travel locations by Pij

5. Experiments

In this section, we are setting experiments to evaluate the performance of the proposed method. We begin by introducing the dataset, parameter settings, the impact of topic number, and the impact of diverse types of information, followed by comparing the proposed method with the state-of-the-art travel location recommendation methods.

5.1. Dataset

We employ the CCGP dataset D used by Jiang et al. [18], which contains uploads from 7387 users. The dataset consists of photo albums associated with past check-ins, which are taken in nine popular tour cities (i.e., New York, Los Angeles, Chicago, Barcelona, Berlin, London, Paris, Rome, and San Francisco). We removed photos without latitude and longitude, as well as “selfie photos”, as these photos cannot give enough information about travel locations. The final statistics of the dataset are shown in Table 2, and the spatial distribution of photos in popular tour cities is shown in Figure 5.

5.2. Parameter Settings

In this section, we provide the setting of several parameters utilized in our experiments.
  • To enable P-DBSCAN to detect travel locations from CCGPs, we set a M i n U s e r s = 50 , radius ε   ( e p s i l o n ) = 100 m, and density ratio ω = 0.5 .
  • To obtain the user–travel location interaction information, we empirically set a threshold of visit duration   v i s i t t h r = 6 h.
  • In all the following experiments based on matrix factorization methods, we set parameters λ 1 = 0.01 , λ 2 = 0.1 , λ 3 = 0.001 , λ 4 = 1 , and α = 0.5 .
  • CNN is employed to estimate the latent factors of new travel locations. The learning rate parameter is 0.001 for 60 epochs and mini-batch size is 128. The momentum is 0.9. The weight decay is 0.0005. The weights are randomly initialized following previous work [40].
In the following experiments, according to visiting time, we split the dataset D into the training set D t r a i n (80%) and the test set D t e s t (20%). Then, use evaluation metrics, i.e., MAP@n and AP@n, were adopted to evaluate the recommendation effectiveness by calculated Equations (13) and (14), respectively.
AP @ n = ( i = 1 n ( j = 1 i l i k j ) / i )    n    ,
MAP @ n     ( i = 1 m A P i ) m ,
where n indicates the number of recommended travel locations, and m represents the number of users. The relevance value l i k j = 1 if the user has visited the travel location; otherwise, l i k j = 0 .

5.3. The Impact of Topic Number

The number of topics k is a significant parameter and has an impact on recommendation performance. To decide on an optimal number of topics, we conduct an experiment to study its impact. The result is shown in Figure 6, from which we can find that the MAP is up to 30.7 % when k is 9 . Thereby, k was set to 9 in the following experiments.

5.4. The Impact of Diverse Types of Information

To explore the impact of diverse types of information on travel location recommendation, we set λ 3 ,   a n d   λ 4 = 0 , causing the CNNMF framework to boil down as in Equation (7), then eliminate “time”, “weather”, “season”, “tags”, and “geographical distance” information, respectively. The results are given in Table 3, which can find the following tendencies:
  • Diverse types of information enhance recommendation performance to diverse degrees. According to influence degree, the information can be ranked as follows: season information > weather information > text information > time information > geographical distance information. The performance of eliminating “season” information is the lowest, which means that “season” information is the most important information to recommend travel location. The performance of eliminating “geographical distance” information is the highest, which means that “geographical distance” information is the most unimportant information, as most travel locations are not far from each other.
  • The MAP of the proposed method is significantly better than those of the five other variants, which demonstrated that the proposed method integrates contextual, textual, and geographical information together and can thus provide improved recommendations.

5.5. The Performance Comparison of Recommendation Methods

To investigate the capability of the proposed method to recommend travel locations, we compared it with the following representative methods.
  • Dynamic topic model and matrix factorization (DTMMF): DTMMF integrates topic model with matrix factorization to recommend travel locations. DTM is used to obtain implicit information, while explicit information is obtained from past check-ins and visual contents (i.e., age and gender) to construct user and travel location profiles [9].
  • Neural network-based Collaborative Filtering (NCF): NCF combines matrix factorization with multi-layer perceptron to capture nonlinear user–travel location interactions [41]. Visual content is not considered.
  • Visual-enhanced probabilistic matrix factorization model (VPMF): VPMF uses visual features to learn user preferences by leveraging the past check-ins of users. Then, it integrates user preferences with travel location constraints for trip planning [42].
  • Visual Bayesian personalized ranking (VBPR): VBPR extracts the visual features from photos using a pre-trained method without any context information [5]. The extracted visual feature is used to predict the scores of people’s opinions.
  • Visual Content Enhanced POI recommendation (VPOI): VPOI uses joint learning of photo classification, matrix decomposition, and visual feature extraction tasks [29], to recommend travel locations to the user. The difference with the proposed method is that VPOI uses photos for joint learning of the latent factor vector representations.
For fairness, all representative methods include the same total number of dimensions. The results are given in Table 4, and the following observations can be found:
  • The proposed method beats other methods, i.e., DTMMF, NCF, VPMF, VBPR and VPOI, respectively, on average 35.21%, 32.65%, 31.22%, 22.87%, 9.5%.
  • VPMF works better than DTMMF, which might be because VPMF extracts visual features directly from the whole photo, while DTMMF extracts only some attributes (i.e., age and gender) based on face recognition.
  • VPOI works better than VBPR, which might be because VPOI models photos for both users and travel locations while VBPR only models photos for travel locations.
  • The proposed method significantly outperforms VPOI. That is because of the incorporating of contextual (i.e., time, weather, and season), textual (i.e., tags), and geographical (i.e., distance) information, while VPOI only uses photos for joint learning of the latent factor vector representations.
We compare our framework with the same above-mentioned representative methods for addressing the travel location cold start problem. We randomly select 5% of the travel locations’ photos from the training set and remove their check-ins. Moreover, we remove the photo albums from the remaining 20% and use them as the testing set. All photo albums are associated with check-ins in our Flickr dataset. These travel locations (5%) will still have photos without any check-ins, which can help mitigate the travel location cold start problem. The results are given in Table 5, and the following observations can be found:
  • In general, the performance of all methods drops when we present the travel location cold start problem. For example, the performance of DTMMF decreases up to 14.65% in terms of MAP@10.
  • The proposed method beats other methods, i.e., DTMMF, NCF, VPMF, VBPR and VPOI, respectively, on average 40.17%, 41.43, 40.17%, 29.06%, 11.63%, for cold start travel locations.
  • The performance reduction of VBPR is much smaller than that of DTMMF, as VBPR learns an additional layer to exploit the visual dimensions, which can help to alleviate the travel location cold start problem, while DTMMF uses visual contents only to extract attributes (i.e., age and gender) based on face recognition.
  • The proposed method of CNNMF significantly outperforms VPOI, while both methods use visual contents. The differences between the CNNMF and VPOI include: CNNMF directly obtains latent factor from its photos as descriptions of travel locations; while VPOI uses photos to help learn the latent factor vector representation.

6. Conclusions and Future Work

In this study, we propose a CNNMF that integrates CNN and WMF to obtain the latent factor representations for new travel locations. We use similarity weight between users (and travel locations) to exploit auxiliary attributes, which are integrated into the WMF process to recommend travel locations. If a travel location does not have past check-ins, the proposed method uses CNN to estimate its latent factor representation from its photos. Experimental results demonstrate that CNNMF significantly outperforms existing methods. Future research can extend in the following directions: (i) extract more information from photos (e.g., social correlations), which can help to mitigate the user cold start problem; (ii) incorporate other competitive recommendation methods.

Author Contributions

Conceptualization and methodology, Thaair Ameen and Ling Chen; validation and formal analysis, Thaair Ameen, Ling Chen, Zhenxing Xu, Dandan Lyu, and Hongyu Shi; software, Thaair Ameen, Zhenxing Xu; writing—original draft preparation, Thaair Ameen, and Ling Chen; writing—review and editing, Thaair Ameen, Ling Chen. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key Research and Development Program of China (No. 2018YFB0505000) and the Fundamental Research Funds for the Central Universities (No. 2020QNA5017).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Majid, A.; Chen, L.; Chen, G.; Mirza, H.T.; Hussain, I.; Woodward, J. A context-aware personalized travel recommendation system based on geotagged social media data mining. Int. J. Geogr. Inf. Sci. 2013, 27, 662–684. [Google Scholar] [CrossRef]
  2. Liu, J.; Zhang, Z.; Liu, C.; Qiu, A.; Zhang, F. Exploiting two-dimensional geographical and synthetic social influences for location recommendation. ISPRS Int. J. Geo-Inf. 2020, 9, 285. [Google Scholar] [CrossRef]
  3. Sun, X.; Huang, Z.; Peng, X.; Chen, Y.; Liu, Y. Building a model-based personalised recommendation approach for tourist attractions from geotagged social media data. Int. J. Digit. Earth 2019, 12, 661–678. [Google Scholar] [CrossRef]
  4. Wang, Z.; Zhang, D.; Zhou, X.; Yang, D.; Yu, Z.; Yu, Z. Discovering and profiling overlapping communities in location-based social networks. IEEE Trans. Syst. Man Cybern. Syst. 2014, 44, 499–509. [Google Scholar] [CrossRef] [Green Version]
  5. Yang, D.; Zhang, D.; Yu, Z.; Wang, Z. A sentiment-enhanced personalized location recommendation system. In Proceedings of the 24th ACM conference on hypertext and social media, Paris, France, 1–3 May 2013; pp. 119–128. [Google Scholar]
  6. Zhang, J.D.; Chow, C.Y. iGSLR: Personalized geo-social location recommendation: A kernel density estimation approach. In Proceedings of the 21st ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, Orlando, FL, USA, 5–8 November 2013; pp. 334–343. [Google Scholar]
  7. Xu, Z.; Chen, L.; Chen, G. Topic based context-aware travel recommendation method exploiting geotagged photos. Neurocomputing 2015, 155, 99–107. [Google Scholar] [CrossRef]
  8. Shi, Y.; Serdyukov, P.; Hanjalic, A.; Larson, M. Nontrivial landmark recommendation using geotagged photos. ACM Trans. Intell. Syst. Technol. 2013, 4, 1–27. [Google Scholar] [CrossRef]
  9. Xu, Z.; Chen, L.; Dai, Y.; Chen, G. A dynamic topic model and matrix factorization-based travel recommendation method exploiting ubiquitous data. IEEE Trans. Multimed. 2017, 19, 1933–1945. [Google Scholar] [CrossRef]
  10. Kim, D.; Park, C.; Oh, J.; Lee, S.; Yu, H. Convolutional matrix factorization for document context-aware recommendation. In Proceedings of the 10th ACM Conference on Recommender Systems, Boston, MA, USA, 15–19 September 2016; pp. 233–240. [Google Scholar]
  11. Cai, G.; Lee, K.; Lee, I. Itinerary recommender system with semantic trajectory pattern mining from geo-tagged photos. Expert Syst. Appl. 2018, 94, 32–40. [Google Scholar] [CrossRef]
  12. Gao, H.; Tang, J.; Liu, H. gSCorr: Modeling geo-social correlations for new check-ins on location-based social networks. In Proceedings of the 21st ACM International Conference on Information and Knowledge Management, Maui, HI, USA, 29 October–2 November 2012; pp. 1582–1586. [Google Scholar]
  13. Gao, H.; Tang, J.; Liu, H. Addressing the cold-start problem in location recommendation using geo-social correlations. Data Min. Knowl. Discov. 2015, 29, 299–323. [Google Scholar] [CrossRef] [Green Version]
  14. Shi, H.; Chen, L.; Xu, Z.; Lyu, D. Personalized location recommendation using mobile phone usage information. Appl. Intell. 2019, 49, 3694–3707. [Google Scholar] [CrossRef]
  15. Van den Oord, A.; Dieleman, S.; Schrauwen, B. Deep content-based music recommendation. In Advances in Neural Information Processing Systems 26: 27th Annual Conference on Neural Information Processing Systems 2013, Lake Tahoe, NV, USA, 5–8 December 2013; NeurIPS: San Diego, CA, USA, 2013; pp. 2643–2651. [Google Scholar]
  16. Kim, Y. Convolutional neural networks for sentence classification. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar, 25–29 October 2014; pp. 1746–1751. [Google Scholar]
  17. Yue-Hei Ng, J.; Yang, F.; Davis, L.S. Exploiting local features from deep networks for image retrieval. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, Boston, MA, USA, 7–12 June 2015; pp. 53–61. [Google Scholar]
  18. Jiang, S.; Qian, X.; Mei, T.; Fu, Y. Personalized travel sequence recommendation on multi-source big social media. IEEE Trans. Big Data 2016, 2, 43–56. [Google Scholar] [CrossRef]
  19. Liu, C.; Liu, J.; Xu, S.; Wang, J.; Liu, C.; Chen, T.; Jiang, T. A Spatiotemporal Dilated Convolutional Generative Network for Point-Of-Interest Recommendation. ISPRS Int. J. Geo-Inf. 2020, 9, 113. [Google Scholar] [CrossRef] [Green Version]
  20. Zheng, Y.T.; Zha, Z.J.; Chua, T.S. Mining travel patterns from geotagged photos. ACM Trans. Intell. Syst. Technol. 2012, 3, 1–18. [Google Scholar] [CrossRef]
  21. Chen, C.; Chen, X.; Wang, Z.; Wang, Y.; Zhang, D. ScenicPlanner: Planning scenic travel routes leveraging heterogeneous user-generated digital footprints. Front. Comput. Sci. 2017, 11, 61–74. [Google Scholar] [CrossRef]
  22. Majid, A.; Chen, L.; Mirza, H.T.; Hussain, I.; Chen, G. A system for mining interesting tourist locations and travel sequences from public geo-tagged photos. Data Knowl. Eng. 2015, 95, 66–86. [Google Scholar] [CrossRef]
  23. Cheng, A.J.; Chen, Y.Y.; Huang, Y.T.; Hsu, W.H.; Liao, H.Y.M. Personalized travel recommendation by mining people attributes from community-contributed photos. In Proceedings of the 19th ACM International Conference on Multimedia, Scottsdale, AZ, USA, 28 November–1 December 2011; pp. 83–92. [Google Scholar]
  24. Chen, Y.Y.; Cheng, A.J.; Hsu, W.H. Travel recommendation by mining people attributes and travel group types from community-contributed photos. IEEE Trans. Multimed. 2013, 15, 1283–1295. [Google Scholar] [CrossRef]
  25. Ke, X.; Zou, J.; Niu, Y. End-to-end automatic image annotation based on deep cnn and multi-label data augmentation. IEEE Trans. Multimed. 2019, 21, 2093–2106. [Google Scholar] [CrossRef]
  26. Kuang, H.; Zhu, S.; El Saddik, A. Boosting prediction of geo-location for web images through integrating multiple knowledge sources. In Proceedings of the 5th ACM on International Conference on Multimedia Retrieval, Shanghai, China, 23–26 June 2015; pp. 559–562. [Google Scholar]
  27. Xing, S.; Wang, Q.; Zhao, X.; Li, T. Content-aware point-of-interest recommendation based on convolutional neural network. Appl. Intell. 2019, 49, 858–871. [Google Scholar] [CrossRef]
  28. Weyand, T.; Kostrikov, I.; Philbin, J. Planet-photo geolocation with convolutional neural networks. In Proceedings of the 14th European Conference on Computer Vision—ECCV 2016, Amsterdam, The Netherlands, 11–14 October 2016; pp. 37–55. [Google Scholar]
  29. Wang, S.; Wang, Y.; Tang, J.; Shu, K.; Ranganath, S.; Liu, H. What your images reveal: Exploiting visual contents for point-of-interest recommendation. In Proceedings of the 26th International Conference on World Wide Web, Perth, WA, Australia, 3–7 April 2017; pp. 391–400. [Google Scholar]
  30. Crandall, D.J.; Backstrom, L.; Huttenlocher, D.; Kleinberg, J. Mapping the world’s photos. In Proceedings of the 18th International Conference on World Wide Web, Madrid, Spain, 20–24 April 2009; pp. 761–770. [Google Scholar]
  31. Yu, Y.; Zhao, Y.; Yu, G.; Wang, G. Mining coterie patterns from Instagram photo trajectories for recommending popular travel routes. Front. Comput. Sci. 2017, 11, 1007–1022. [Google Scholar] [CrossRef]
  32. Kisilevich, S.; Mansmann, F.; Keim, D. P-DBSCAN: A density based clustering algorithm for exploration and analysis of attractive areas using collections of geo-tagged photos. In Proceedings of the 1st International Conference and Exhibition on Computing for Geospatial Research & Application, Washington, DC, USA, 21–23 June 2010; pp. 1–4. [Google Scholar]
  33. Matsuo, S.; Shimoda, W.; Yanai, K. Twitter photo geo-localization using both textual and visual features. In Proceedings of the IEEE 3rd International Conference on Multimedia Big Data, Laguna Hills, CA, USA, 19–21 April 2017; pp. 22–25. [Google Scholar]
  34. Blei, D.M.; Ng, A.Y.; Jordan, M.I. Latent dirichlet allocation. J. Mach. Learn. Res. 2003, 3, 993–1022. [Google Scholar]
  35. Hu, Y.; Koren, Y.; Volinsky, C. Collaborative filtering for implicit feedback datasets. In Proceedings of the IEEE International Conference on Data Mining, Pisa, Italy, 15–19 December 2008; pp. 263–272. [Google Scholar]
  36. Simonyan, K.; Zisserman, A. Very deep convolutional networks for large-scale image recognition. In Proceedings of the International Conference on Learning Representations 2015, San Diego, CA, USA, 7–9 May 2015; pp. 1409–1556. [Google Scholar]
  37. Donahue, J.; Jia, Y.; Vinyals, O.; Hoffman, J.; Zhang, N.; Tzeng, E.; Darrell, T. Decaf: A deep convolutional activation feature for generic visual recognition. In Proceedings of the 31th Conference on Machine Learning, Beijing, China, 21–26 June 2014; pp. 647–655. [Google Scholar]
  38. Sharif Razavian, A.; Azizpour, H.; Sullivan, J.; Carlsson, S. CNN features off-the-shelf: An astounding baseline for recognition. In Proceedings of the 27th IEEE Conference on Computer Vision and Pattern Recognition Workshops, Columbus, OH, USA, 24–27 June 2014; pp. 806–813. [Google Scholar]
  39. He, K.; Sun, J. Convolutional neural networks at constrained time cost. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA, 7–12 June 2015; pp. 5353–5360. [Google Scholar]
  40. Zhou, B.; Lapedriza, A.; Xiao, J.; Torralba, A.; Oliva, A. Learning deep features for scene recognition using places database. In Proceedings of the Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, Montreal, QC, Canada, 8–13 December 2014; pp. 487–495. [Google Scholar]
  41. He, R.; McAuley, J. VBPR: Visual bayesian personalized ranking from implicit feedback. In Proceedings of the 30th AAAI Conference on Artificial Intelligence, Phoenix, AZ, USA, 12–17 February 2016. [Google Scholar]
  42. Zhao, P.; Xu, C.; Liu, Y.; Sheng, V.S.; Zheng, K.; Xiong, H.; Zhou, X. Photo2trip: Exploiting visual contents in geo-tagged photos for personalized tour recommendation. In Proceedings of the the 25th ACM international conference on Multimedia, Silicon Valley, CA, USA, 23–27 October 2017. [Google Scholar]
Figure 1. Samples of community-contributed geotagged photos (CCGPs).
Figure 1. Samples of community-contributed geotagged photos (CCGPs).
Ijgi 09 00464 g001
Figure 2. The framework of the proposed methods: weighted matrix factorization (WMF) part in the middle (dashed blue); convolutional neural network (CNN) part on the left side (dashed red); embedding methods on the right side (dashed green) (best seen in color).
Figure 2. The framework of the proposed methods: weighted matrix factorization (WMF) part in the middle (dashed blue); convolutional neural network (CNN) part on the left side (dashed red); embedding methods on the right side (dashed green) (best seen in color).
Ijgi 09 00464 g002
Figure 3. The graphical model of the latent Dirichlet allocation (LDA) topic.
Figure 3. The graphical model of the latent Dirichlet allocation (LDA) topic.
Ijgi 09 00464 g003
Figure 4. The architecture of VGG-16. The number of feature maps starts at 64 and grows until 512, and filter size is fixed at 3.
Figure 4. The architecture of VGG-16. The number of feature maps starts at 64 and grows until 512, and filter size is fixed at 3.
Ijgi 09 00464 g004
Figure 5. Spatial distribution of photos in nine popular cities worldwide: (a) Barcelona, (b) Berlin, (c) Chicago, (d) London, (e) Los Angeles, (f) New York, (g) Paris, (h) Rome, and (i) San Francisco, mapped on Google Earth.
Figure 5. Spatial distribution of photos in nine popular cities worldwide: (a) Barcelona, (b) Berlin, (c) Chicago, (d) London, (e) Los Angeles, (f) New York, (g) Paris, (h) Rome, and (i) San Francisco, mapped on Google Earth.
Ijgi 09 00464 g005
Figure 6. The impact of topic number.
Figure 6. The impact of topic number.
Ijgi 09 00464 g006
Table 1. Sample metadata of CCGPs; a few attributes are not shown.
Table 1. Sample metadata of CCGPs; a few attributes are not shown.
Photo IDUser IDTagsDate TakenLatitudeLongitude
pic00139703user0001435France, Paris, honeymoon, Eiffel tower2006-03-26 01:33:1048.8737472.324981
pic00054003user000908England, London, Thames, Tower bridge2006-05-05 18:05:5551.509420.107266
Table 2. Sample metadata of CCGPs; a few attributes are not given.
Table 2. Sample metadata of CCGPs; a few attributes are not given.
CitiesUsersTravel LocationsCheck-inPhotos
(Filtered)(Row)
Barcelona12237289585315,704
Berlin1003627311,08313,420
Chicago1346441612,30422,104
London27082146814,25643,557
Los Angeles1013065396110,122
New York2287178212,04934,374
Paris27367112010,87924,507
Rome12530309782818,416
San Francisco1755684210,06024,572
Total1528473556488,273206,776
Table 3. The performance of eliminating different types of information (results indicated as (mean ± standard deviation)).
Table 3. The performance of eliminating different types of information (results indicated as (mean ± standard deviation)).
PerformanceText (txt)Distance (dis)Season (s)Weather (w)Time (t)CNNMF
MAP@10.456 ± 0.0430.632 ± 0.0510.397 ± 0.0450.446 ± 0.0820.492 ± 0.0720.653 ± 0.012
MAP@50.320 ± 0.0540.364 ± 0.0660.281 ± 0.0620.313 ± 0.0820.322 ± 0.0850.404 ± 0.013
MAP@100.215 ± 0.0440.242 ± 0.0720.191 ± 0.0710.213 ± 0.0630.219 ± 0.0770.271 ± 0.022
MAP@200.136 ± 0.0310.152 ± 0.0430.122 ± 0.0820.135 ± 0.0650.139 ± 0.0460.171 ± 0.011
Table 4. The performance comparison of recommendation methods (results indicated as (mean ± standard deviation)) in terms of MAP@n.
Table 4. The performance comparison of recommendation methods (results indicated as (mean ± standard deviation)) in terms of MAP@n.
Performance(a)(b)(c)(d)(e)(f)Improv.
DTMMFNCFVPMFVBPRVPOICNNMFf vs. best
MAP@10.475 ± 0.0610.492 ± 0.0710.512 ± 0.0610.584 ± 0.0290.623 ± 0.0970.662 ± 0.0186.26%
MAP@50.358 ± 0.0810.359 ± 0.0390.351 ± 0.0810.367 ± 0.0740.391 ± 0.0750.415 ± 0.0126.19%
MAP@100.198 ± 0.0720.200 ± 0.0730.201 ± 0.0720.203 ± 0.0770.231 ± 0.0700.271 ± 0.02217.32%
MAP@200.115 ± 0.0250.118 ± 0.0850.120 ± 0.0250.130 ± 0.0980.158 ± 0.0410.171 ± 0.0138.23%
Table 5. The performance with 5% cold start travel locations in terms of MAP@n. (The numbers inside parentheses indicate the performance reductions compared to the performance without location cold start, as shown in Table 4).
Table 5. The performance with 5% cold start travel locations in terms of MAP@n. (The numbers inside parentheses indicate the performance reductions compared to the performance without location cold start, as shown in Table 4).
Performance(a)(b)(c)(d)(e)(f)Improv.
DTMMFNCFVPMFVBPRVPOICNNMFf vs. best
MAP@10.421 (11.37%)0.441 (11.56%)0.454 (11.33%)0.532 (8.90%)0.585 (6.10%)0.623 (5.89%)6.50%
MAP@50.315 (12.01%)0.318 (11.42%)0.320 (8.83%)0.331 (9.81%)0.362 (7.42%)0.395 (4.82%)9.12%
MAP@100.169 (14.65%)0.173 (13.5%)0.175 (12.94%)0.182 (10.34%)0.214 (7.36%)0.255 (5.90%)19.16%
MAP@200.101 (12.17%)0.106 (10.17%)0.105 (12.50%)0.116 (10.77%)0.145 (8.23%)0.162 (5.26%)11.73%

Share and Cite

MDPI and ACS Style

Ameen, T.; Chen, L.; Xu, Z.; Lyu, D.; Shi, H. A Convolutional Neural Network and Matrix Factorization-Based Travel Location Recommendation Method Using Community-Contributed Geotagged Photos. ISPRS Int. J. Geo-Inf. 2020, 9, 464. https://0-doi-org.brum.beds.ac.uk/10.3390/ijgi9080464

AMA Style

Ameen T, Chen L, Xu Z, Lyu D, Shi H. A Convolutional Neural Network and Matrix Factorization-Based Travel Location Recommendation Method Using Community-Contributed Geotagged Photos. ISPRS International Journal of Geo-Information. 2020; 9(8):464. https://0-doi-org.brum.beds.ac.uk/10.3390/ijgi9080464

Chicago/Turabian Style

Ameen, Thaair, Ling Chen, Zhenxing Xu, Dandan Lyu, and Hongyu Shi. 2020. "A Convolutional Neural Network and Matrix Factorization-Based Travel Location Recommendation Method Using Community-Contributed Geotagged Photos" ISPRS International Journal of Geo-Information 9, no. 8: 464. https://0-doi-org.brum.beds.ac.uk/10.3390/ijgi9080464

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