Wifi Localization with Gaussian Processes Brian Ferris University - - PowerPoint PPT Presentation

wifi localization with gaussian processes
SMART_READER_LITE
LIVE PREVIEW

Wifi Localization with Gaussian Processes Brian Ferris University - - PowerPoint PPT Presentation

Wifi Localization with Gaussian Processes Brian Ferris University of Washington Joint work with: Dieter Fox Julie Letchner Dirk Haehnel Why Location? Assisted Cognition Project: Indoor/outdoor navigation agent Users with


slide-1
SLIDE 1

Wifi Localization with Gaussian Processes

Brian Ferris University of Washington

Dieter Fox Julie Letchner Dirk Haehnel Joint work with:

slide-2
SLIDE 2

Why Location?

  • Assisted Cognition

Project:

  • Indoor/outdoor

navigation agent

  • Users with cognitive

impairments

  • Requires realtime

location tracking

slide-3
SLIDE 3

Why Location?

Location is a fundamental building block in higher level state estimation and activity recognition applications

slide-4
SLIDE 4

Why Wifi?

  • Cheap, ubiquitous

hardware

  • Indoor and outdoor

coverage

  • Privacy observant

Downtown Seattle

slide-5
SLIDE 5

Contributions

  • Gaussian process + signal strength localization

not new (Schwaighofer, et al. 2003)

  • High accuracy Wifi localization (RSS 2006):
  • Hybrid graph-based free-space model
  • Custom kernels for Wifi
  • Robust handling of sparse training data
slide-6
SLIDE 6

Outline

  • Motivation
  • GP for Localization
  • Introduction
  • Kernel Selection
  • Results
  • GP for SLAM
slide-7
SLIDE 7

Wifi Localization

We wish to model: P(z|x) where: z = measurement x = location Measurement is signal strengths from visible access points: <A=-80 B=-59 C=-26>

slide-8
SLIDE 8

Existing Techniques

  • Centroid: Given known AP locations, localize

to centroid of currently visible APs

  • Propagation: Attempt to model signal

strength wrt. AP location, walls, furniture

  • Fingerprint: Record signal strength at all

points of interest

  • Advanced: Hybrid models
slide-9
SLIDE 9

Gaussian Processes

  • Combines the strengths of previous

techniques in one model:

  • Continuous: does not require discrete

input space

  • Accurate: correct handling of uncertainty
  • Efficient: model parameter estimation
slide-10
SLIDE 10

Gaussian Kernel

10 20 30 40 50 60 70 80 10 20 30 40 50 60

  • 90
  • 80
  • 70
  • 60
  • 50
  • 40
  • 30
  • 20

Signal in db X in m Y in m Signal in db

Original Data Longer Kernel Width Shorter Kernel Width

slide-11
SLIDE 11

Different Kernels

  • Dimensional kernel: a separate Gaussian

kernel each maintained for each x,y,z dim

  • AP distance kernel: difference in radial

distance from the access point

  • Fisher kernel: includes underlying generative

model of input space appropriate to Wifi

slide-12
SLIDE 12

Dimensional Kernel

  • Model each cartesian dimension with a

separate Gaussian

  • Shorter kernel width in Z dimension

reflects propagation through floors

k(p,q) =α2

x exp

  • − ||px−qx||2

2σ2

x

  • +

α2

y exp

  • − ||py−qy||2

2σ2

y

  • +

α2

z exp

  • − ||pz−qz||2

2σ2

z

slide-13
SLIDE 13

AP Distance Kernel

  • Use difference in distance from

access point of readings

  • Captures potential radial symmetry

around the signal source

  • Useful against sparse training data?

k(xp,xq) = exp

  • −(||xp −xAP||−||xq −xAP||)2

2σ2

slide-14
SLIDE 14

Fisher Kernel

  • Incorporates a

generative model of P(x) into the discriminative GP classifier

  • For Wifi, we choose x as

distance from the AP and model P(x) as a Gaussian

Reading likelihood vs. distance from AP

slide-15
SLIDE 15

AP Location

  • Kernels require location of access point
  • Assume a simple linear propagation model
  • Optimize AP location by minimizing

difference of model vs (xi,yi) training pairs

  • b = max signal strength right at the AP
  • m = a negative drop-off slope

m(x) = m||x−xAP||+b

f =

n

i=1

(yi −m||xi −xAP||−b)2

(xi,yi)

slide-16
SLIDE 16

Wifi Localization

  • Model each Wifi AP with a

single GP

  • Model building as a graph
  • Edges for hallways
  • Polygons for free space
  • Particle filter for

localization

slide-17
SLIDE 17

Experiments

  • Training:
  • Full data: all readings
  • Sparse data: only readings
  • utside region
  • Test:10 traces spanning

hallways, offices, stairs, elevators

slide-18
SLIDE 18

Kernel Results

Full Training 2.000 2.075 2.150 2.225 2.300 Gaussian Dimensional AP Dist Fisher Sparse Training 3.8 7.5 11.3 15.0

Average Localization Error (in meters)

slide-19
SLIDE 19

Localization Results

  • Our best-case results:
  • Online: 2.12 meters
  • Offline: 1.69 meters
  • Room classification: 80% correct
  • Compared to other methods:
  • 1.8 meters [Letchner] - Hallway only
  • 2.1 meters [Haeberlen] - No extrapolation
slide-20
SLIDE 20

Demo

slide-21
SLIDE 21

Outline

  • Motivation
  • GP for Localization
  • GP for SLAM
  • GPLVM
  • Dynamics Model
  • Results
slide-22
SLIDE 22

Wifi SLAM

  • Localization model

requires labeled training data

  • Can we build this

model without a map?

  • Simultaneous

localization and mapping (SLAM)

slide-23
SLIDE 23

Wifi SLAM

  • We’ve already solved

(Y|X) for localization

  • Can we solve P(X|Y)?
  • Gaussian Process

Latent Variable Modeling (GPLVM)

slide-24
SLIDE 24

Gaussian Process

  • Use basic Gaussian kernel
  • fixed parameters from localization model
  • forces latent space to proper scale
  • Why not advanced kernels?
  • Only working in 2D
  • Access point locations add complexity
slide-25
SLIDE 25

Dynamics Model

  • We consider:
  • distance between

latent points d

  • change in orientation

between points 0

Xi

Xi+1 Xi−1 θi di

di

θi

slide-26
SLIDE 26

Dynamics Model

  • Probability model:
  • distance:
  • orientation:

Xi

Xi+1 Xi−1 θi di

P(θi|X) = N (θi,0,σθ)

P(di|X) = N (di,µvti,σvti)

uv = velocity mean σv = velocity sigma

σθ = orientation sigma

slide-27
SLIDE 27

Other Details

  • Initialize with Isomap:
  • nearest-neighbor provides starting point
  • still very noisy
  • FGPLVM for 1000 iterations
  • Fixed parameters trained from previous

localization traces

slide-28
SLIDE 28

Results

slide-29
SLIDE 29

Next Improvements

  • More advanced

dynamics models:

  • hard right angles
  • avg. hallways lengths
  • joint classification
slide-30
SLIDE 30

Future Work

  • Large scale Wifi localization:
  • robust indoor + outdoor
  • Social networking study with 25 users
  • Continued work with Wifi SLAM:
  • Refined dynamics, odometry sensors
slide-31
SLIDE 31

Questions?