Attraction and Avoidance Detection from Movements Zhenhui Jessie Li - - PowerPoint PPT Presentation

attraction and avoidance detection from movements
SMART_READER_LITE
LIVE PREVIEW

Attraction and Avoidance Detection from Movements Zhenhui Jessie Li - - PowerPoint PPT Presentation

Attraction and Avoidance Detection from Movements Zhenhui Jessie Li (with Bolin Ding, Fei Wu, Tobias Lei, Roland Kays, Meg Crofoot) Pennsylvania State University VLDB Conference Hangzhou, China September, 2014 1 Mining Attraction and


slide-1
SLIDE 1

Attraction and Avoidance Detection from Movements

Zhenhui Jessie Li

(with Bolin Ding, Fei Wu, Tobias Lei, Roland Kays, Meg Crofoot)

Pennsylvania State University

VLDB Conference Hangzhou, China September, 2014

1

slide-2
SLIDE 2

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Mining Mobility Relationship Problem

  • Given two trajectories R and S, measure their

relationship strength

2

R S

r1 r2 r3 r4 r5 r6 s1 s2 s3 s4 s5 s6

* assume synchronized sampling rate

slide-3
SLIDE 3

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Using Trajectory Similarity as a Measure of Mobility Strength

3

R S

r1 r2 r3 r4 r5 r6 s1 s2 s3 s4 s5 s6 d

freq(R, S) =

n

X

i=1

τ(ri, si).

Meeting (or co-locating) frequency τ(ri, sj) = ⇢ 1, |ri − sj| ≤ d; 0,

  • therwise.

Vlachos et al., Discovering similar multidimensional trajectories. ICDE’02 Chen et al., Robust and fast similarity search for moving object trajectories. SIGMOD’05 Jeung et al., Discovery of convoys in trajectory database. VLDB’08 Li et al., Mining relaxed temporal moving object clusters. VLDB’10

slide-4
SLIDE 4

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Meeting Frequency = Relationship Strength?

4

the more frequently you co-locate with another person, the stronger the mobility relationship is. less frequently weaker

slide-5
SLIDE 5

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Meeting Frequency = Relationship Strength?

5

Example 1. A and B are friends living in different cities attracted to meet Freq(A, B) = 2 Example 2. A and C are colleagues working in the same building avoid meeting Freq(A, C) = 20 Meeting Frequency ≠ Relationship Strength

slide-6
SLIDE 6

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Consider Mobility Background to Infer Relationship

6

Example 1. A and B are friends living in different cities attracted to meet Freq(A, B) = 2 Example 2. A and C are colleagues working in the same building avoid meeting Freq(A, C) = 20

Mobility background

Expect(A, B) = 1 Expect(A, C) = 100

slide-7
SLIDE 7

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

What happened vs. What is expected to happen

7

Example 1. Freq(A, B) = 2 Expect(A, B) = 1 Example 2. Freq(A, C) = 20 Expect(A, C) = 100 What happened? What is expected?

slide-8
SLIDE 8

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

What happened vs. What is expected to happen

8

Example 1. Freq(A, B) = 2 Expect(A, B) = 1 Example 2. Freq(A, C) = 20 Expect(A, C) = 100 What happened? What is expected?

larger than smaller than

Attraction Avoidance

How to estimate what is expected?

slide-9
SLIDE 9

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

How to Estimate Expectation?

  • Null hypothesis: Two movement sequences R

and S are independent.

  • If we randomly shuffle the sequences,
  • the meeting frequency should remain the same

9

R → σ(R) S → σ(S) freq(R, S) ≈ freq(σ(R), σ(S))

Pr(freq(σ(R), σ(S) = y)) = Pr(freq(R, σ(S) = y))

Shuffling two sequences = Shuffling one sequence

slide-10
SLIDE 10

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Permutation Test to Estimate the Probabilistic Background Model

10

r1 r2 r3 r4 r5 s1 s2 s3 s4 s5 R S

If we randomly shuffle the sequence …

freq(R, S) = 2

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

r1 r2 r3 r4 r5 s5 s1 s3 s4 s2 R σ(S)

freq(R, σ(S)) = 0

slide-11
SLIDE 11

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Permutation Test to Estimate the Probabilistic Background Model

11

r1 r2 r3 r4 r5 s1 s2 s3 s4 s5 R S r1 r2 r3 r4 r5 s4 s2 s3 s1 s5 R σ(S)

If we randomly shuffle the sequence …

freq(R, S) = 2

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

freq(R, σ(S)) = 1

slide-12
SLIDE 12

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Permutation Test to Estimate the Probabilistic Background Model

12

….

n! permutations

…. freq(R, σ(S)) count generate histogram

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

slide-13
SLIDE 13

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Compute Degree of the Relationship

13

freq(R, σ(S)) count generate histogram Actual frequency

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

Expected frequency ….

n! permutations

….

slide-14
SLIDE 14

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Compute Degree of the Relationship

14

freq(R, σ(S)) count generate histogram Actual frequency

95% area Attraction relationship: 95% significance

Expected frequency

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

….

n! permutations

….

slide-15
SLIDE 15

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Compute Degree of the Relationship

15

freq(R, σ(S)) count generate histogram Actual frequency

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

Expected frequency ….

n! permutations

….

slide-16
SLIDE 16

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Compute Degree of the Relationship

16

generate histogram

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

freq(R, σ(S)) count Actual frequency Expected frequency

98% area Avoidance relationship: 98% significance

….

n! permutations

….

slide-17
SLIDE 17

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Compute Degree of the Relationship

17

….

n! permutations

…. freq(R, σ(S)) count generate histogram avoid attract

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

Expected frequency

slide-18
SLIDE 18

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Compute Degree of the Relationship

18

freq(R, σ(S)) avoid attract

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

Expected frequency

sigattract(R, S) = Pr[freq(R, S) > freq(R, σ(S))] sigavoid(R, S) = Pr[freq(R, S) < freq(R, σ(S))]

significant significant

slide-19
SLIDE 19

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Monte Carlo Scheme to Approximate Degree

  • The total number of permutations is factorial n!
  • Monte Carlo scheme: sample N permutations

19

N ≥ 4 ✏2⇢ ln 2

  • (1 − ✏)⇢ ≤ ˆ

⇢ ≤ (1 + ✏)⇢ with probability 1 − δ

guarantee

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

slide-20
SLIDE 20

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Experiment on the Monkey dataset

20

12 monkeys 11/10/2004 – 04/18/2005

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

* green line: sig_{attract} > 0.95 * red line: sig_{avoid} > 0.95 Red: significant avoidance Green: significant attraction

slide-21
SLIDE 21

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Experiment on the Monkey dataset

21

12 monkeys 11/10/2004 – 04/18/2005

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

* green line: sig_{attract} > 0.95 * red line: sig_{avoid} > 0.95 Red: significant avoidance Green: significant attraction

slide-22
SLIDE 22

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Experiment on the Monkey dataset

22

12 monkeys 11/10/2004 – 04/18/2005

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

* green line: sig_{attract} > 0.95 * red line: sig_{avoid} > 0.95 Red: significant avoidance Green: significant attraction

slide-23
SLIDE 23

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Comparison with Previous Measures

23

  • Z. Li et. al., Int. Conf. on

Very Large Data Bases (VLDB'14/PVLDB)

attract avoid

slide-24
SLIDE 24

Zhenhui Jessie Li, Penn State University Mining Attraction and Avoidance from Movements

Summary and Future Work

  • Summary: Important to consider background

– What happened vs. What is expected to happen – Consider mobility background using permutation test

  • Permutation test is one way, but not the only way

to consider background context

– How to deal with “impossible” trajectory? – How to deal with sparse observations?

  • Rich spatial and temporal context

– location semantics – social events

24

Thanks! Questions?