localization in wireless networks - winlab · localization in wireless networks presented by: rich...

26
Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan, A.S. Krishnakumar Rutgers University and Avaya Labs WINLAB IAB, June 2005

Upload: others

Post on 09-May-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Localization in Wireless Networks

Presented by: Rich Martin

Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P.Krishnan, A.S. Krishnakumar

Rutgers University and Avaya Labs

WINLAB IAB, June 2005

Page 2: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Wireless Explosion

• Technology trends creating cheap wireless communication inevery computing device

• Radio offers localization opportunity in 2D and 3D– New capability compared to traditional communication networks

• Challenge: Can we localize all device radios using only thecommunication infrastructure?– How much existing infrastructure can we leverage?

• 3 technology communities:

– WLAN (802.11x)

– Sensor networks (802.15)

– Cell carriers(3G)

Page 3: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

LoocleTM

• Build general purpose localization & searchanalogous to general purpose communication &search!

• Can we make finding objects in the physical space aseasy as Google ?

Page 4: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Vision to reality

• Getting closer …

This talk:• Localize with only existing infrastructure

• Ad-hoc– No more labeled data (our contribution)

Page 5: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Radio-based Localization

• Signal decays linearly with logdistance in a laboratory setting

– Use triangulation to compute(x,y) » Problem solved

• Reality is …– noise, multi-path, reflections,

systematic errors

[-80,-67,-50]

Fingerprint or RSS

(x?,y?)

Dj = (x - x j )2 + (y - y j )

2

S j = b1 j + b2 j log(Dj )

Page 6: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Supervised Learning-based Systems

• Training

• Offline phase– Collect “labeled” training

data [(X,Y), S1,S2,S3,..]

• Online phase– Match “unlabeled” RSS– [(?,?), S1,S2,S3,..] to

existing “labeled” trainingfingerprints

[-80,-67,-50]

Fingerprint or RSS

(x?,y?)

Page 7: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Previous Work

• People have tried almost all existing supervised learningapproaches– Well known RADAR (nearest neighbor)– Probabilistic, e.g., Bayes a posteriori likelihood– Support Vector Machines– Multi-layer Perceptrons– …[Bahl00, Battiti02, Roos02,Youssef03, Krishnan04,…]

• All have a major drawback– Labeled training fingerprints: “profiling”– Labor intensive (286 points in 32 hrs => 6.7 min/point)– Need to be repeated over the time

Page 8: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Contribution

Used Bayesian Graphical Models (BGM):– Performance-wise: comparable– Minimum labeled fingerprints– Adaptive– Simultaneously locate a set of objects

• Advantage: zero-profiling– No more “labeled” training data needed– Unlabeled data can be obtained using existing data traffic

Page 9: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Outline

• Motivations and Goals

• Experimental setup

• Bayesian background

• 3 Bayesian Models: M1, M2, M3

• Comparison to previous work

• Conclusions and Future Work

Page 10: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Experimental Setup

• 3 Office buildings– BR, CA Up, CA Down

• 802.11b

• Different sessions, days

• All give similar performance

• Use BR as example

BR: 5 access points, 225 ft x 175 ft, 254 measurements

Page 11: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Bayesian Graphical Models

• Encode dependencies/conditional independencebetween variables

X Y

D

S

Vertices = random variablesEdges = relationships

Example [(X,Y), S], AP at (xb, yb)Log-based signal strength propagation

D = (x - xb )2 + (y - yb )2

S = b1 + b2 log(D)

b2b1

Page 12: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Model 1 (Simple): labeled data

Xi Yi

D1

S1

b11b01 b15

D2 D3 D4 D5

S2 S3 S4 S5

b12 b13 b14b02 b03 b04 b05

Position Variables

Distances

Observed Signal Strengths

Base Station Propagationconstants (unknown)

Xi ~ uniform(0, Length) Yi ~ uniform(0, Width)Si ~ N(b0i+b1ilog(Di),_i), i=1,2,3,4,5b0i ~ N(0,1000), i=1,2,3,4,5 b1i ~ N(0,1000), i=1,2,3,4,5

Page 13: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Input

Labeled: training[(x1,y1),(-40,-55,-90,..)][(x2,y2),(-60,-56,-80,..)][(x3,y3),(-80,-70,-30,..)][(x4,y4),(-64,-33,-70,..)]

Unlabeled: mobile object(s)[(?,?),(-45,-65,-40,..)][(?,?),(-35,-45,-78,..)][(?,?),(-75,-55,-65,..)]

• Probability distributions for all theunknown variables

• Propagation constants– b0i, b1i for each Base Station

• (x,y) for each mobile (?,?)

Output

Page 14: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Solving for the Variables

• Closed form solution doesn’t usually exist» simulation/analytic approx

• We used MCMC simulation (Markov ChainMonte Carlo) to generate predictive samplesfrom the joint distribution for every unknown(X,Y) location

Page 15: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Example Output

Page 16: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Performance results

M1 better

Comparable

25thMed75th

Min

Max

Page 17: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Model 2 (Hierarchical): labeled data

• Intuition:– Same hardware should

generate same signalpropagation constants

– Systematic bias in differentenvironments (e.g. a closet)

b

Xi Yi

D1 D2 D3 D4 D5

S1 S2 S3 S4 S5

b11 b12 b13 b14 b15b01 b02 b03 b04 b05

Allowing any signal propagation constants tooconstrained!

Assume all base-stations parametersnormally distributed around a hiddenvariable with a mean and variance

Page 18: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

M2 similar to M1, but better with very small training setsBoth comparable to SmoothNN

M1, M2, SmoothNN Comparison

Leave-one-out error (feet)

Size of labeled data

Ave

rag

e E

rro

r (

feet

)

Labeled M1Labeled M2

SmoothNN

1015

2025

3035

40

0 50 100 150 200 250

Page 19: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

• Challenge: Position estimates without labeled data

• Observe signal strengths from existing data packets(unlabeled by default)

• No more running around collecting data..• Over and over.. and over..

No Labels

Page 20: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Input

Labeled: training[(x1,y1),(-40,-55,-90,..)][(x2,y2),(-60,-56,-80,..)][(x3,y3),(-80,-70,-30,..)][(x4,y4),(-64,-33,-70,..)]

Unlabeled: mobile object(s)[(?,?),(-45,-65,-40,..)][(?,?),(-35,-45,-78,..)][(?,?),(-75,-55,-65,..)]

• Probability distributions forall the unknowns

• Propagation constants– b0i, b1i for each Base Station

• (x,y) for each (?,?)

Output

Page 21: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Model 3 (Zero Profiling)

• Same graph as M2 (Hierarchical)but with (unlabeled data)

b

Xi Yi

D1 D2 D3 D4 D5

S1 S2 S3 S4 S5

b11 b12 b13 b14 b15b01 b02 b03 b04 b05

Why this works:[1] Prior knowledge about distance-signal strength

[2] Prior knowledge that access points behave similarly

Page 22: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Results Close to SmoothNN

0 50 100 150 200 250

2040

6080

0 50 100 150 200 250

2040

6080

0 50 100 150 200 250

2040

6080

Leave-one-out error (feet)

Size of input data

Ave

rag

e E

rro

r in

Fee

t

Zero Profiling M3

SmoothNN

LABELED

UNLABELED

Page 23: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Other ideas

• Corridor Effects– What? RSS is stronger along

corridors

Variable c =1 if the point shares xor y with the AP

No improvements

Informative Priordistributions

S1 S2 S3 S4 S5

b1 b2 b3 b4 b5

b

D1 D2 D3 D4 D5

YiXi

C1 C2 C3 C4 C5

Page 24: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Comparison to previous work

0 10 20 30 40 50 60 70 80 90 1000

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Distance in feet

Prob

abili

ty

Error CDF Across Algorithms

RADARProbabilisticM1-labeledM3-unlabeledM2-labeled

•More ad-hoc

•Adaptive

•No labor investment

Page 25: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

Conclusions and Future Work

• First to use BGM• Considerable promise for localization• Performance comparable to existing approaches• Zero profiling! (can we localize anything with a radio??)

• Next Steps– Validate with 802.15– Variational approximations– Tracking– Some extra infrastructure

• Incorporate Angle of Arrival• Time of Flight

Page 26: Localization in Wireless Networks - WINLAB · Localization in Wireless Networks Presented by: Rich Martin Joint work with: David Madigan,Eiman Elnahrawy, Wen-Hua Ju, P. Krishnan,

References