geographical and temporal similarity measurement in location-based social networks

21
Geographical and Temporal Similarity Measurement in Location-based Social Networks Chongqing University of Posts and Telecommunications KTH – Royal Institute of Technology Zhengwu Yuan Yanli Jiang Gyözö Gidofalvi

Upload: aiko

Post on 11-Jan-2016

42 views

Category:

Documents


2 download

DESCRIPTION

Geographical and Temporal Similarity Measurement in Location-based Social Networks. Zhengwu Yuan Yanli Jiang Gyözö Gidofalvi. Chongqing University of Posts and Telecommunications KTH – Royal Institute of Technology. Outline. Introduction Related work - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Geographical and Temporal Similarity Measurement inLocation-based Social Networks

Chongqing University of Posts and Telecommunications

KTH – Royal Institute of Technology

Zhengwu Yuan

Yanli Jiang

Gyözö Gidofalvi

Page 2: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Outline

Introduction Related work A hierarchical spatio-temporal similarity measure in LBSN Empirical evaluations

2013-11-05 MobiGIS 2013, Orlando, FL 2

Page 3: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Introduction

2013-11-05 MobiGIS 2013, Orlando, FL 3

Mobile Internet technology

Internet technology

Space Location technology

Location-based Social NetworkLocation-based Social NetworkUser SimilarityUser Similarity

Page 4: Geographical and Temporal Similarity Measurement in Location-based Social Networks

LBSN Applications

2013-11-05 MobiGIS 2013, Orlando, FL 4

Page 5: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Information Layout of LBSN

Gao at al. Data Analysis on Location-Based Social Networks. 2011

2013-11-05 MobiGIS 2013, Orlando, FL 5

Page 6: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Outline

Introduction Related work A hierarchical spatio-temporal similarity measure in LBSN Empirical evaluations

2013-11-05 MobiGIS 2013, Orlando, FL 6

Page 7: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Traditional: Cosine Similarity

2013-11-05 MobiGIS 2013, Orlando, FL 7

, ,

2 2, ,

( , ) AB

AB AB

A i B ii I

A i B ii I i I

R Rsim A B

R R

Given a set of commonly rated items IAB, the cosine similarity between two users A and B based on their respective ratings RA,i and RB,i on items i ϵ IAB is:

Page 8: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Traditional: Adjusted Cosine Similarity

2013-11-05 MobiGIS 2013, Orlando, FL 8

Given a set of commonly rated items IAB , the adjusted cosine similarity between two users A and B based on the sets of their individually rated items IA and IB and their average individual ratings on these items and is:

, ,

2 2, ,

( , )( )

( ) ( )

AB

A B

A i A B i Bi I

A i A B i Bi I i I

sim A BR R R R

R R R R

Page 9: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Traditional: Pearson Correlation Coefficient

2013-11-05 MobiGIS 2013, Orlando, FL 9

Given a set of commonly rated items IAB , the adjusted cosine similarity between two users A and B based on the sets of their individually rated items IA and IB and their average individual ratings on these items and is:

, ,

2 2, ,

( , )( )( )

( ) ( )

AB

AB AB

A i A B i Bi I

A i A B i Bi I i I

sim A BR R R R

R R R R

Page 10: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Similarity in LBSN

Similarity along (a combination of) different dimensions: Content layer, e.g.: Ye’11, McKenzie’13 Social layer, e.g.: Ye’12 Geographical layer, e.g.: Li’08 Semantic locations / categories of locations, e.g.: Xiao’10, Bao’12, Ye’11 Temporal sequential similarity, e.g.: Li’08 Check-in temporal similarity, e.g.: Ye’11

2013-11-05 MobiGIS 2013, Orlando, FL 10

Page 11: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Outline

Introduction Related work A hierarchical spatio-temporal similarity measure in LBSN Empirical evaluations

2013-11-05 MobiGIS 2013, Orlando, FL 11

Page 12: Geographical and Temporal Similarity Measurement in Location-based Social Networks

A Hierarchical Spatial-Temporal Similarity Measure in LBSN

Assumptions about user similarity: The closer is the time and the geographical location that two users access the

more similar are the two users to each other The larger is the number of check-ins of two users in nearby locations at similar

times, the more similar are the two users to each other Similarity changes with the level of detail

Proposed method: Extract spatio-temporal clusters from user check-ins at different spatio-temporal

levels of detail For each ST level of detail, measure the cosine similarity between users using

the classical Vector Space Model (VSM) with vectors composed of the amount of user visits in different ST clusters

Calculate the weighted combination of similarities at different ST levels of detail

2013-11-05 MobiGIS 2013, Orlando, FL 12

Page 13: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Hierarchical Spatio-Temporal Clustering

Spatio-temporal variant of DBSCAN: ST-DBSCAN [Birant’07] An object is a core object if within its spatial (Eps_space) and temporal

(Eps_time) neighborhood the number of objects is at least MinPts. Definitions for Directly Density-Reachable (DDR), Density-Reachable (DR), and

Density-Connected are straight forward extensions.

Clusters at different levels of detail:

2013-11-05 MobiGIS 2013, Orlando, FL 13

Page 14: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Vector Space Model

Define the user-location matrix within a certain period as

where m is the total number of users, n is the number of ST clusters discovered by ST-DBSCAN(Eps_space, Eps_time, MinPts), Vij is the number of check-ins by user i in the ST cluster j, and l is the level of detail in the clustering hierarchy.

2013-11-05 MobiGIS 2013, Orlando, FL 14

1,1 1,2 1, 1 1,

2,1 2,2 2, 1 2,( )

,1 ,2 , 1 ,

n n

n nl m n

m m m n m n

V V V V

V V V VV

V V V V

Page 15: Geographical and Temporal Similarity Measurement in Location-based Social Networks

User Similarity

User similarity at a given cluster hierarchy level is according to the cosine similarity of the location vectors of the users:

The overall similarity of users is calculated across the cluster hierarchy levels as follows:

2013-11-05 MobiGIS 2013, Orlando, FL 15

( , ) cos( , ) A BA B

A B

U Usim A B U U

U U

1

N

overall ii

sim sim

1

( )

iN

ii

Page 16: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Outline

Introduction Related work A hierarchical spatio-temporal similarity measure in LBSN Empirical evaluations

2013-11-05 MobiGIS 2013, Orlando, FL 16

Page 17: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Dataset

Check-in datasets from Gowalla from the Stanford Network Analysis project for the US cities:

2013-11-05 MobiGIS 2013, Orlando, FL 17

Page 18: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Evaluation Metrics

Precision and recall (“relative overlap”) of the visits of a user ur and its most similar user u to the Top-N ST clusters / POIs:

2013-11-05 MobiGIS 2013, Orlando, FL 18

Page 19: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Results

2013-11-05 MobiGIS 2013, Orlando, FL 19

ST generalization at different levels of detail improves performance Combining similarity measures

at different ST levels of detail improves precision and recall and outperforms the fine-grained method (see ST-DBSCAN)

Considering the amount (not only the existence) of check-in at different ST clusters improves performance (see Jaccard)

Page 20: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Conclusions

We have proposed a new method to calculate the user similarity on LBSN based on the spatial and temporal properties of the user check-in data.

The method can be applied to recommend location or friends in LBSN, because the key of a recommendation system is the similarity measurement of user or item.

2013-11-05 MobiGIS 2013, Orlando, FL 20

Page 21: Geographical and Temporal Similarity Measurement in Location-based Social Networks

Thank you for your attention!

Q/A?

2013-11-05 MobiGIS 2013, Orlando, FL 21