An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

44
An Energy- An Energy- Efficient Mobile Efficient Mobile Recommender Recommender Systems Systems Bingchun Zhu Bingchun Zhu Dung Phan Dung Phan Hien Le Hien Le February 22, 2011

Transcript of An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Page 1: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

An Energy-Efficient An Energy-Efficient Mobile Mobile

Recommender Recommender SystemsSystems

An Energy-Efficient An Energy-Efficient Mobile Mobile

Recommender Recommender SystemsSystems

Bingchun ZhuBingchun ZhuDung PhanDung Phan

Hien LeHien Le

February 22, 2011

Page 2: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Agenda

• Introduction– Recommender System(RS)– Motivation– Problem formulation

• Algorithm• Experiment Results• Conclusion

Page 3: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

RS: What are they and Why are they

• RS: identify user interests and provide personalized suggestions.

• Enhance user experience– Assist users in finding information– Reduce search and navigation time

• Increase productivity • Increase credibility• Mutually beneficial proposition

Page 4: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Types of RS

Three broad types:

1. Content based RS2. Collaborative RS3. Hybrid RS

Page 5: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Types of RS – Content based RS

Content based RS highlights– Recommend items similar to those

users preferred in the past– User profiling is the key– Items/content usually denoted by

keywords– Matching “user preferences” with

“item characteristics” … works for textual information

Page 6: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Types of RS – Collaborative RS

Collaborative RS highlights– Use other users recommendations

(ratings) to judge item’s utility– Key is to find users/user groups whose

interests match with the current user– More users, more ratings: better

results– Can account for items dissimilar to the

ones seen in the past too

Page 7: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Types of RS: Hybrid

Hybrid model

The combination of two above models

Page 8: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

MOBILE Recommender System

IS widely studied before

BUT - Mostly based on user ratings - and is only exploratory in natureSOUnique features distinguishing mobile RS

remains open

The combination of two above models

Page 9: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

MotivationTaxi services are very popular and:

– Energy consumption counted;– Successful story of drivers are

different– Data related to individuals and objects

are rich – Mobile RS provides users access to

personalized recommendation anytime, anywhere

Page 10: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

To

• Provide more useful “local navigation” options

• High density of customer looking for the Cab

THEN:• Potential Travel Distance(PTD)• LCP• Skyroute algorithm

Page 11: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Problem Definition

• Mobile sequential recommendation problem, which recommends sequential pickup points for Taxi driver to maximize his business success.

• Recommend a travel route for a Cab driver in a way such that the potential travel distance before having customer is minimized

Page 12: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Problem Formulation

Page 13: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Problem Formulation

• Assume a available set of N potential pick-up points:C = {C1, C2…Cn}

And • P={P(C1), P(C2)…, P(Cn)} is the

probability set, where P(Ci) is estimated probability at each pick-up point.

Page 14: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Problem Formulation

is the set of directed sequences

is the number of all possible driving routes

where is the length of route

is the probabilities of all pick-up points containing in

Page 15: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Mobile Sequential Recommendation(MRS) Problem

• is PTD function

• Driver current position

Page 16: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Problem Formulation

Page 17: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Computational Complexity

Page 18: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Sequential Recommendation Algorithm

• Potential Travel Distance Function (PTD)– an objective function which is used to eval

uate condidate routes– property of PTD

• LCP algorithm– an algorithm which is used for pruning the

search space offline• SkyRoute algorithm

– an algorithm for seeking optimal recommendation routes

Page 19: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Recommended Driving Route

• c1: a pick-up event happens with probability p(c1)

• c2: a pick-up event may happen with probabolity (1-p(c1))p(c2)– only when no pick-up event hap

pens at c1, this event happens.• ...• c4: a pick-up event happnes with pro

bability (1-p(c1))(1-p(c2))(1-p(c3))p(c4)

An exapmel of Recommended Driving Route with the length of suggensted driving route L = 4

Page 20: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Potential Travel Distance Function

ii

L

iiR

L

iiLR

pp

where

DDDDD

pppppP

1

,...,,

,...,,

1211

1

1211

PTD is defined as the expected distance for a cab before picking up a customer in the route RL:

...)21(2)11(11 DDppDpDPPTD RR

Page 21: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

PTD Function Property

• Lemma. The Monotone Property of the PTD Function– the PTD function is strictly monotonically i

ncreaseing with each attribute of vector DP.• Vector DP is a vector combined by vector D

and vector P• With this property, it’s possible to

determine a candidate route is better than the other without computing PTDs.

Page 22: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

PTD Function Property

A recommended driving route R1 with a length L, associated with the vector DP1, dominates another route R2 with a length L, associated with vector DP2, iff the following two conditions hold:

• every element in DP1 is not worse than it peer in DP2

• at lease element in DP1 is better than its peer in DP2

By this definition, if a candidate route A is dominated by a candidate route B, A cannot be an optimal route.

element 2 B dominates A

B dominates C

element 1

A

B C

Page 23: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Constrained Sub-route Dominance

Page 24: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

LCP Pruning Algorithm

• LCP Pruning algorithm– For two sub-routes A and B with a

length L , which includes only pick-up points, if sub-route A is dominated by sub-route B under Definition 2, the candidate routes with a length L which contain sub-route A will be dominated and can be pruned in advance.

Page 25: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

• LCP algorithm prunes the search space offline– LCP algorithm will enumerate all the L-len

gth sub-routes;– then prune the dominated sub-routes by

difinition 2 offline.• this pruning process can be done offline be

fore the position of a taxi driver is known

Page 26: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

SkyRoute and its Property

With lemma 4, if we can find skyline routes first, and then search the optimal driving routes from the set of skyline routes. This way can eliminate lots of candidates without computing the PTD function.

Page 27: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Backward Pruning

C5 C6 C7PoCab

R1

R2

Page 28: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

SkyRoute Algorithm• Input

C: set of pick-up pointsP: probability set for all pick-up pointsDist: pairwise drive distance matrix of pick-up p

ointsL: the length of suggested drive routePoCab: current position

• Offline Processing (LCP)– Enumerate all sub-routes with length of L fro

m C– Prune and maintain dominated Constrained

Sub-routes with length L using sub-route dominance.

– Maintain the remained non-dmonated sub-routes with length L, denoted as

Page 29: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

• Online Processing– Enumate all candiate routes by connecting P

oCab with each sub-route of – for i = 2: L-1

• decide dominated sub-routes with i-th intermediate pick-up points and prune the corresponding candidates by using Backward pruning.

• update the candidate set by filtering the pruned candidates in above step.

– end for– Select the remained candidate routes with l

ength of L from the loop above– Final typical skyline query to get optimal sky

line routes

Page 30: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Keywords

• PTD function: - a function to compute the Potential Travel

Distance before having a customer• LCP algorithm: - a route pruning algorithm. - can be done offline before the position of a

cab is known • SkyRoute algorithm: - a route pruning algorithm - SkyRoute includes: + LCP offline pruning + Online pruning when the position of

a cab is known

Page 31: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Recommendation Process

• Obtaining the Optimal Driving Route: - Using LCP and SkyRoute for pruning

candidates - Compute PTD function for all remaining

candidates - Get the route with minimal PTD value• Other challenge: How to make the

recommendation for many cabs in the same area?

Page 32: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Recommendation Process(cont.)

• Circulating mechanism - search k optimal drive routes - NO.1 route to the 1st coming empty

cab - NO.2 route to the 2nd coming empty cab - … - More than k empty cabs? Repeat from

NO.1

Page 33: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Experimental Data

• Real world data: - GPS location traces of approximately 500

taxis collected around 30 days in San Francisco Bay area - Number of pick-up

points: 10 - Travelling distances

between pick-up points are measured with Google Map API

Page 34: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Experimental Data(cont.)

• Synthetic data: - Randomly generate pick-up

points within a specific area - Generate pick up probability by a

standard uniform distribution - Using Euclidean distance instead

of driving distance - 3 sets: 10, 15, 20 pick-up points

respectively

Page 35: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Optimal Routes with Real World Data

L=3: → C1 → C3 → C2 L=4: → C1 → C3 → C2 → C7

L=5: → C4 → C1 → C2 → C3 → C7

Page 36: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Evaluated Algorithms

• BFS(Brute Force Search): - Compute the PTD value for all candidate routes - Find the minimum value as the optimal route • LCPS (LCP Search) - Use LCP algorithm for offline pruning - Compute PTD for remained candidate routes - Get the minimum value as the optimal route• SR(BNL)S: Sky Route + BNL (Block Nested Loop) - Using SkyRoute algorithm for pruning - Applying BNL for the remained candidates to get

skyline routes• SR(D&C)S: SkyRoute + D&C (Divide and Conquer ) - SkyRoute algorithm for pruning - D&C algorithm to get skyline routes

Page 37: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Experiment Results

• A Comparison of Search Time - LCPS overperforms BFS and

SR(D&C)S

Page 38: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Experiment Results(cont.)

• Comparison of Search Time(L=3) on Synthetic Data Set

Page 39: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Experiment Results(cont.)

• The pruning effect

Page 40: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Experiment Results(cont.)

• Comparison of Skyline Computing

Page 41: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Multi Evaluation Functions

• Skyline computing is time consuming

• Given a cab and fixed potential pick-up points:

- Skylines are needed to compute only one time

- Search space is pruned drastically

=> Skyline computing will have advantage with multi evaluation criteria

Page 42: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Multi Evaluation Functions(cont.)

• Using 5 different evaluations (including PTD)

• Select 5 corresponding optimal drive routes

Page 43: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

Conclusion

• This paper developes an energy-efficient mobile recommender system for Taxi drivers. This system is able to recommend a sequence of potential pick-up points for a driver such that the potential travel distance before having customer is minimized.

• This paper provides a Potential Travel Distance(PTD) function for evaluating candidate sequences and two recommendation algorithms LCP and SkyRoute.

• LCP algorithm outperforms BFS and SkyRoute when searching for one optimal route. However, SkyRoute has better performance than BFS and LCP when there is an online demand for different optimal driving routes.

Page 44: An Energy-Efficient Mobile Recommender Systems Bingchun Zhu Dung Phan Hien Le February 22, 2011.

Recommender Systems

THANK YOU !!!

Questions??