72
PeopleTones: a system for the detection and notification of buddy proximity on mobile phones Kevin A. Li Timothy Sohn Steven Huang William G. Griswold University of California, San Diego

PeopleTones: a system for the detection and notification of buddy proximity on mobile phones

Embed Size (px)

DESCRIPTION

PeopleTones: a system for the detection and notification of buddy proximity on mobile phones. Kevin A. Li Timothy Sohn Steven Huang William G. Griswold University of California, San Diego. ubiquitous ample computational power a few sensors a few actuators  proactive context-awareness. - PowerPoint PPT Presentation

Citation preview

Page 1: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

PeopleTones: a system for the detection and notification of buddy proximity on mobile phones

Kevin A. LiTimothy SohnSteven Huang

William G. GriswoldUniversity of California, San

Diego

Page 2: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

ubiquitous

ample computational power

a few sensors

a few actuators

proactive context-awareness

Page 3: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

messaging

You are driving by Safeway. Reminder: Buy steak.

location-based reminders

Page 4: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

The slopes on Beaver Run have opened!

unobtrusive notifications

Bzzzzt!

Page 5: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

crappy sensors crappy actuators

cheap sensors could lead to many false notifications

cheap actuators could lead to misunderstood cues

proactive notification + commodity hardware flood of meaningless notifications

Page 6: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

two proximity states: far and near (< 2 city blocks)

when a buddy becomes near,

play her sound or vibration cue

runs on commodity hardware (Windows Smartphone)

PeopleTones

Page 7: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

“It was so cool to see who was home by the time I got home. I could tell if Jenny was home when I passed by University. So if we were going to go eat or something I could ask her. Oh she’s home, so let’s call her and see if she wants to eat.”

Page 8: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

focus on application goals to avoid over-engineered, impractical solution

proximity is easier than location

acceptable if notifications missed or not understood

approach

Page 9: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

privacy-friendly proximity detection algorithm

technique for reducing sensor noise without sapping power

method for generating a language of understandable vibrotactile cues

exploratory study of buddy proximity cues

contributions

Page 10: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

proximity detection

Page 11: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

[LaMarca et al. 2005]

build on location?

GPS doesn’t work indoors, in urban canyons

tower-based systemsmust keep database current

require wardriving

how about tower overlap?NearMe [Krumm 2004]

iPhoneiPhone

Bill
what about Krumm Near Me?
Page 12: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

initial data collection

used a GSM phone to record the cell towers it saw every 5 minutes

3 GSM phones, kept 1 stationary

gather data at a variety of distances (0 - 1.2 miles)

Page 13: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

initial measurements

a and b are the sets of cell towers seen by each phone

Page 14: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0 0.2 0.4 0.6 0.8 1 1.2

Ratio

of C

ell T

ower

s

Distance (miles)

Suburbs 1Suburbs 2Downtown

initial measurements

a and b are the sets of cell towers seen by each phone

Page 15: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

evaluatingproximity algorithm

can our overlap-ratio algorithm detect proximity accurately enough to support nice-to-know information?

Page 16: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

requirements

cannot be annoying

when the system detects a buddy is near,

they should really be near

OK to not detect every time

if a buddy is nearby and stationary, we’ll have multiple chances

Bill
put closer to precision/recall, now that we have solutoin approach slide?
Page 17: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

the datasetused the dataset collected by wardriving seattle

[Chen et. al., 2006]

Page 18: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

coverage

Suburb

Downtown

Page 19: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

precision

100% precision every report is valid

recall

100% recall every near incident is detected

metric: precision and recall

Page 20: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

how do we extract the relevant data?

only care about when two phones are near or far from each other

why not pull out each set of data by different distance thresholds?

turns out mobile phone tower readings fluctuate over time (e.g., due to load balancing)

we can crosscut the dataset to approximate precision and recall for different scenarios

Page 21: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

nearby

extract pairs of readings taken within 90s

569,264 pairs from Suburb

379,285 pairs from Downtown

calculate precision and recall for different ratio threshold values

Page 22: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

nearby precision

100% precision every report was valid

100% recall every near incident was detected

suburb downtown

Page 23: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

0.75

0.8

0.85

0.9

0.95

1

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

Prec

ision

Distance (km)

0.3

0.4

0.5

nearby precision

suburb downtown

100% precision every report was valid

100% recall every near incident was detected

Page 24: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

0.75

0.8

0.85

0.9

0.95

1

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

Prec

ision

Distance (km)

0.3

0.4

0.5

0.80.820.840.860.88

0.90.920.940.960.98

1

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

Prec

ision

Distance (km)

0.3

0.4

0.5

nearby precision

suburb downtown

100% precision every report was valid

100% recall every near incident was detected

Page 25: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

nearby recall

Ratio Recall(Downtown)

Recall (Suburb)

0.1km 1.0 km 0.1 km 1.0 km

0.3 0.74 0.66 0.67 0.66

0.4 0.50 0.41 0.42 0.40

0.5 0.39 0.30 0.30 0.29

100% precision every report was valid

100% recall every near incident was detected

Page 26: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

reducingsensor noise

Page 27: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

initialapproaches

wait for 2 consecutive-same-readings– Too many false positives

wait for 3 consecutive-same-readings– Too much delay

Page 28: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

2-bit-filter(“eventually 3 more”)

Page 29: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

filterevaluation

for noise filtering, interested in transitions from far to near and vice-versa

extract seattle wardrive readings at 30s intervals

try three algorithms on this subset, baseline is single report

Bill
how many readings?
Page 30: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

filterevaluation

Filter False Positive Reduction

1-same (baseline) 0%

2-same-filter 53.8%

3-same-filter 80.9%

2-bit-filter 84.9%

Page 31: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

adaptive sampling rate

sampling once every 20s kills the phone in less than a day

increasing sampling rate to once per 90s helps but introduces a worst-case delay of 270s

sample at 90s when in steady state, 20s when transitioning

Page 32: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

buddy cues

Page 33: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

mapping musicto vibrations

Page 34: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

problem

we want to convert music to vibrations…

…but the phone’s vibrator only turns on and off

…at single frequency, single amplitude

Page 35: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

pulse width modulation

electric motors do this to save power

in the case of vibrotactile motors this also decreases its rotational frequency

perceived as different vibration levels

can produce 10 levels of 20ms pulses

Page 36: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

capturing the essence of music

Page 37: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

overview of approach

just using beat doesn’t always work

mapping lyrics doesn’t work well

basic idea: convey the current energy level of the music

Page 38: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

remove noise

isolate 6.6kHz to 17.6kHz components using 8th order Butterworth Filter

use amplitude threshold, to keep only components greater than the average

Page 39: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

takerunning sum

take running sum of absolute value, generate 1 value every 20ms

this keeps length consistent

Page 40: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

exaggeratefeatures

compose output from previous step with power function:

Axn , x is sample,

A and n are constants, 10<=A<15, 1<=n<=2

Page 41: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

Beethoven’s 5th Symphony

matching vibration sequence

Michael Jackson – Smooth Criminal

matching vibration sequence

examples(requires imagination)

Page 42: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

so far…

Page 43: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

would the techniques we used for proximity detection, sensor noise filtering and vibrotactile cues work in the wild?

can peripheral cues be deployed on mobile phones despite poor sensors and actuators?

(what experiences can such a system enable?)

field study

Page 44: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

two proximity states, far and near (< 2 blocks)

when a buddy is near, play their song

if phone is in vibrate mode, play a matching vibrotactile sequence

PeopleTones

Page 45: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

participants

3 groups of friends, 2 weeks

Page 46: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

could you tell who it was?

Page 47: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

could you tell who it was?

0% 20% 40% 60% 80% 100%

My Choice

Your Choice

Nature

Yes

Ignored

No

Page 48: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

0% 20% 40% 60% 80% 100%

My Choice

Your Choice

Nature

Acted on or Nice to KnowDidn’t Notice or not that usefulAnnoyed

user response to the cue

Page 49: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

designing peripheral cues for the wild

higher comprehension rate when users select their own cues

obtrusiveness of music cues was not a concern

mapping music to vibration was most successful for people who knew the songs well

semantic association is key to learnability

Page 50: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

userexperience

Page 51: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

“One time at the library, I wanted to eat with someone and so I went outside to call someone. The phone vibrated. I just called the person to meet up.”

Page 52: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

lessons

cues were sensible, but not socially obtrusive

proximity algorithm worked well in the wild

emphasizing elimination of false positives was effective in combination with 2-bit counter

dwelling/lingering led to successful recall

Page 53: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

whole can be greaterthan its parts

despite crappy sensors and actuators, mobile phones can achieve adequate context awareness and notification

with careful system-level design these can be brought together into a useful proactive context-aware application like PeopleTones

Bill
*proactive* CAcombined system-level *and* application-level(note dashes)
Page 54: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

PeopleTones: a system for the detection and notification of buddy proximity on mobile phones

Kevin A. LiTimothy SohnSteven Huang

William G. GriswoldUniversity of California, San

Diego

Page 55: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

EXTRA SLIDES

Page 56: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

measuring vibrations

Page 57: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

0 5 10 15 20 25 30 35 40 45 50

Time (ms)

Vo

lts

(V

)0

1

.5

3.0

4.5

6.

0

0 5 10 15 20 25 30 35 40 45 50

Time (ms)

Vo

lts

(V

)0

1

.5

3.0

4.5

6.

0

0 5 10 15 20 25 30 35 40 45 50

Time (ms)

Vo

lts

(V

)0

1

.5

3.0

4.5

6.

0

0 5 10 15 20 25 30 35 40 45 50

Time (ms)

Vo

lts

(V

)0

1

.5

3.0

4.5

6.

0

Duty Cycle = 100%

Duty Cycle = 60%

Duty Cycle = 18%

Duty Cycle = 37%

zzz

z

z zvibrotactilesignals

Page 58: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

far apart

unfortunately, there are few points in dataset that are both far apart and proximate in time

expected atypical results

used the entire dataset

55,181,015 pairs from Suburb

36,769,390 pairs from Downtown

Page 59: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

far apart precision

suburb downtown

100% precision every report was valid

100% recall every near incident was detected

Page 60: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

far apart precision

0.75

0.8

0.85

0.9

0.95

1

0.1 0.3 0.5 0.7 0.9 1.1 1.3 1.5 1.7 1.9 2.1 2.3

Prec

ision

Distance (km)

0.3

0.4

0.5

suburb downtown

100% precision every report was valid

100% recall every near incident was detected

Page 61: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

0.88

0.9

0.92

0.94

0.96

0.98

1

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

Prec

ision

Distance (km)

0.3

0.4

0.5

far apart precision

0.75

0.8

0.85

0.9

0.95

1

0.1 0.3 0.5 0.7 0.9 1.1 1.3 1.5 1.7 1.9 2.1 2.3

Prec

ision

Distance (km)

0.3

0.4

0.5

suburb downtown

100% precision every report was valid

100% recall every near incident was detected

Page 62: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

far apart recall

Ratio

Recall(Downtown)

Recall (Suburb)

0.1km 1.0km 0.1km 2.4km

0.3 0.12 0.08 0.09 0.06

0.4 0.05 0.04 0.03 0.02

0.5 0.03 0.02 0.02 0.01

100% precision every report was valid

100% recall every near incident was detected

Page 63: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

“It was so cool to see who was home by the time I got home. I could tell if Jenny was home when I passed by University. So if we were going to go eat or something I could ask her. Oh she’s home, so let’s call her and see if she wants to eat.”

Bill
this pic and next looking at phones
Page 64: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

“One time at the library, I wanted to eat with someone and so I went outside to call someone. The phone vibrated. I just called the person to meet up.”

Bill
save for later?need one more quote
Page 65: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

generating vibrations

Page 66: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

same location

Extract pairs of readings taken within 5s

28,625 pairs from Suburb

19,087 pairs from Downtown

GPS confirmed 99.9% within 100m of each other

Page 67: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

Ratio Recall

(Downtown)Recall

(Suburb)

0.1 0.96 0.96

0.2 0.84 0.85

0.3 0.83 0.83

0.4 0.57 0.58

0.5 0.44 0.44

same location recall

100% precision => every report was valid

100% recall => every near incident was detected

Page 68: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

You are driving by Safeway. Reminder: Buy steak.

eyes-freenotifications

Page 69: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

[LaMarca et al. 2005]

build on location?GPS doesn’t work indoors, in urban

canyons

tower-based systemsmust keep database currenttower adaptation (e.g., load balancing)

Bill
what about Krumm Near Me?
Page 70: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

location sensingon iphone

Bill
fix headersegue from PL to make this go fast
Page 71: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

“It was so cool to see who was home by the time I got home. I could tell if Jenny was home when I passed by University. So if we were going to go eat or something I could ask her. Oh she’s home, so let’s call her and see if she wants to eat.”

Bill
this pic and next looking at phones
Page 72: PeopleTones: a system for the detection and notification of  buddy proximity  on mobile phones

2-bit-filter