Differential Forms for Target Tracking and Aggregate Queries in - - PowerPoint PPT Presentation

differential forms for target tracking and aggregate
SMART_READER_LITE
LIVE PREVIEW

Differential Forms for Target Tracking and Aggregate Queries in - - PowerPoint PPT Presentation

Differential Forms for Target Tracking and Aggregate Queries in Distributed Networks Distributed Networks Rik Sarkar Jie Gao Stony Brook University 1 Target Tracking with Sensor Networks 2 Target Queries Range queries : # targets within


slide-1
SLIDE 1

Differential Forms for Target Tracking and Aggregate Queries in Distributed Networks Distributed Networks

Rik Sarkar Jie Gao Stony Brook University

1

slide-2
SLIDE 2

Target Tracking with Sensor Networks

2

slide-3
SLIDE 3

Target Queries

  • Range queries:

# targets within any geographic range R. range R.

  • Tracking queries:

Find the yellow car.

  • Closest target

queries

3

slide-4
SLIDE 4

Naïve Solutions for Range Queries

  • Sensors report targets to a central station.

– Bottleneck and single point of failure. – Update cost is high. – Query cost is high if the central station is far away. – Query cost is high if the central station is far away.

  • Flood the region R, count # of targets.

– Update cost ~ target movement distance. – Query cost ~ Area of R.

4

slide-5
SLIDE 5

Our Solution

  • Use differential forms for tracking and

answering range queries of mobile targets.

– Decentralized. – Update cost ~ target movement distance – Update cost ~ target movement distance – Query cost ~ Perimeter of R – Robust to node failures, link dynamics, mobility, coverage holes, sensing errors, location inaccuracies.

5

slide-6
SLIDE 6

Using Range Queries for Target Tracking

Find the yellow car?

  • 1. Exponentially

expand the range

– Stops when the range contains the range contains the target

  • 2. Recurse & refine
  • Total cost =O(d)
  • Distance sensitive

queries

6

d 1+2+4+8+…+d/2+d < 2d

slide-7
SLIDE 7

Outline

  • Differential 1-form
  • Algorithms for computing 1-form
  • Network complications:

Dynamics: node/edge failures – Dynamics: node/edge failures – Sensing errors – Network coverage holes

  • Simulations and comparisons

7

slide-8
SLIDE 8

Differential 1-Form

  • A function defined on edges of a planar graph

– Integrating the edge weights on region boundary gives the total weight of the targets inside.

8

  • 1. Extract a planar graph.
  • 2. Range query: walk along region boundary and

sum up edge weights.

  • 3. Target movement: change edge weight when a

target crosses an edge

slide-9
SLIDE 9

Definition: Differential 1-Form

  • Planar graph G: a target stays within a face.
  • Maintain “directed” weights f on edges.

f(e)= w f(-e)= -w

  • For each face, summing up weights clockwise

gives the total weights of targets inside:

9

1/3 1/3 1/3 1.5 0.5 2

  • 1
  • 1

f(-e)= -w

slide-10
SLIDE 10

Boundary Operator

  • Formally, a boundary operator applies on a

face and returns the sum of the boundary edges in clockwise directions.

1/3 1/3

∂[ ]=

1/3 1/3

  • Extend f to a face.

10

1/3 1/3 1/3

∂[ ]=

1/3 1/3 1/3 1/3 1/3 1/3

f[ ]= f[∂

1/3 1/3 1/3 1/3 1/3 1/3 ]= f[

]=1

slide-11
SLIDE 11

Boundary Operator

  • Boundary operator on a union of faces.

∂[ ]= ∂[ ]+∂[ ]

e

11

=

a b c

+

  • b

=

d e a c d e

slide-12
SLIDE 12

Differential 1-Form for Range Queries

  • Theorem: the total weights of targets inside a

region R is the sum of edge weights of ∂R.

– R is simply a collection of faces, possibly disconnected. disconnected.

  • Range query: walk along ∂R in clockwise order

and sum up edge weights.

12

slide-13
SLIDE 13

Update 1-Form When Targets Move

  • If a target crosses an edge e, subtract target

weight from f(e).

13

0.3 0.35 0.35 0.7

  • 0.7

0.3 0.35 0.35

  • 0.3

0.3

slide-14
SLIDE 14

Communication Cost

  • Assuming sensors have constant density.
  • Update cost = # edges crossed

= O(distance moved) = O(distance moved)

  • Query cost = # edges on ∂R

= O(perimeter of R)

14

slide-15
SLIDE 15

Multiple Targets

  • Counting range query only

– Maintain a single 1-form for all targets

  • Queries for identifiable targets

Maintain a 1-form for each target. – Maintain a 1-form for each target.

  • Maintain 1-form for each identifiable family of

targets.

– E.g., all cabs, all police cars, etc. – # cabs in the neighborhood, find a nearby cab

15

slide-16
SLIDE 16

Outline

  • Differential 1-form
  • Algorithms for computing 1-form
  • Network complications:

Dynamics: node/edge failures – Dynamics: node/edge failures – Sensing inaccuracies – Network holes

  • Simulations and comparisons

16

slide-17
SLIDE 17

Extract a Planar Graph

  • Extract a planar graph from connectivity graph

– Location-based schemes e.g., [Gao, et al, 01] [Sarkar et al, 09] – Location-free schemes – Location-free schemes e.g., [Funke, Milosavljevic 07] [Zhang et. al, 08]

  • Virtual planar graph

– Only requirement: tell whether a target is within a face or not.

17

slide-18
SLIDE 18

Initializing Differential 1-Form

  • New targets coming into the network

– Simply update f when a target comes in.

  • For existing targets:

Imagine the target enters from the face of infinity – Imagine the target enters from the face of infinity along any path.

18

w w w

slide-19
SLIDE 19

Multiple Targets: Sweep the Network

  • Find a spanning tree T’ of the dual graph G’, rooted at

the face of infinity.

  • Aggregate the weight of edges on T’.
  • Weight of an edge in the primal = weight of the dual

edge. Total communication cost for initialization =O(n)

  • Total communication cost for initialization =O(n)

19

slide-20
SLIDE 20

Outline

  • Differential 1-form
  • Algorithms for initializing 1-form
  • Network complications:

Dynamics: node/edge failures – Dynamics: node/edge failures – Sensing inaccuracies – Network holes

  • Simulations and comparisons

20

slide-21
SLIDE 21

Robustness to Link or Node Failures

  • A link failure or node failure in the interior or

exterior of R does not affect the query result.

21

slide-22
SLIDE 22

Robustness to Node Insertion

  • Node insertion: refine the current face and

give proper weights to the new edges.

  • The weight of existing edges are not affected.

22

slide-23
SLIDE 23

Robustness to Coverage Holes

  • A target can be lost in the hole but range

query results of a region enclosing or disjoint

  • f the hole are not affected.

23

slide-24
SLIDE 24

Ranges Cutting Through Holes

  • r, geometric ranges not following graph edges
  • Take the best inner and outer approximation.
  • Refine with detailed info from sensors near

boundary

24

slide-25
SLIDE 25

Robustness to Sensing Errors or Location Inaccuracies

  • We are unsure of the precise target location

but know the target is within a range.

  • Any range query fully enclosing or disjoint

with the target “feasible location” region gives with the target “feasible location” region gives correct results.

25

slide-26
SLIDE 26

Tracking with Mobile Sensors

  • Sensors can move.

– Maintain the planar graph. e.g., [Karp Kung 2001] [Gao, et al, 01] – When a target crosses an edge, update the 1- – When a target crosses an edge, update the 1- form.

26

slide-27
SLIDE 27

Range Query of Continuous Data Fields

  • Sensors monitor a temperature field.
  • Treat each sensor reading as a target with

certain weight. Apply the same scheme.

  • Apply the same scheme.

27

slide-28
SLIDE 28

Outline

  • Differential 1-form
  • Algorithms for initializing 1-form
  • Network complications:

Dynamics: node/edge failures – Dynamics: node/edge failures – Sensing inaccuracies – Network holes

  • Simulations and comparisons

– Compare with location services – Robustness to link failures and sensing errors

28

slide-29
SLIDE 29

Comparison with Location Services

  • LLS [Abraham etal 2004]

– Track a mobile target – Distributed hash table with hierarchical partitions

Tracked by one (hashed) location

29

Tracked by one (hashed) location server at each square containing it at each level. Query goes to the (hashed) location server at each square containing the query node. Query cost : O(d)

d

slide-30
SLIDE 30

Location Services

  • LLS: lazy updates

– A target does not trigger updates unless it moves

  • utside the 9 squares.

– The cost is O(d’).

30

– The cost is O(d’). – The distance travelled is Ω(d’). – Do this for each level

  • Total update cost: O(d’logd’) amortized, where

d’ is the movement distance.

d’

slide-31
SLIDE 31

Differential Forms v.s. LLS

Differential form

  • Designed for range

queries

  • Use recursive search

for tracking query LLS

  • Designed for tracking

query

  • Use recursive search

for range query --- for tracking query

31

for range query --- query maximum quads within R.

slide-32
SLIDE 32

Differential Forms v.s. LLS

  • Range query cost

Differential forms << LLS

  • Query individual targets

Differential forms ~ 2 · LLS Differential forms ~ 2 · LLS

  • Update cost

Differential forms << LLS O(d) v.s. O(d log d)

32

slide-33
SLIDE 33

Update Costs

  • The target moves one unit randomly per time

unit --- discrete Brownian motion.

  • LLS cost is amortized, some moves are expensive.

33

Average costs Max costs

slide-34
SLIDE 34

Range Queries Costs

  • Ranges: random rectangles
  • Caveats: for LLS we use the same hierarchy for

all targets --- which saves query cost.

34

Average costs Max costs

slide-35
SLIDE 35

Tracking Query Costs

  • Query for individual targets
  • The expanding and refinement steps makes

differential forms more costly.

35

Average costs Max costs

slide-36
SLIDE 36

Target Detection Errors

  • Fail to detect a target crossing an edge

– Prob p: failure rate

  • Target location error

LR: max distance of estimated loc from true loc – LR: max distance of estimated loc from true loc

  • Ranges: random axis-parallel rectangles
  • Relative error = error in counts/ # targets

36

slide-37
SLIDE 37

Robustness to Crossing Errors

37

slide-38
SLIDE 38

Robustness to Sensor Location Errors

38

  • Overcounting and undercounting cancel out.
slide-39
SLIDE 39

Summary

  • Differential form is a topological notion.

– “Location-free” method

  • Robust to network changes and sensing errors

Sub-sampling sensors to conserve power by

  • Sub-sampling sensors to conserve power by

allowing gracefully degradation of query results.

39

slide-40
SLIDE 40

Thank you!

  • Questions and comments?

40