1 Outline Background static average aggregation in sensor - - PowerPoint PPT Presentation

1 outline background static average aggregation in sensor
SMART_READER_LITE
LIVE PREVIEW

1 Outline Background static average aggregation in sensor - - PowerPoint PPT Presentation

LiMoSense Live Monitoring in Dynamic Sensor Networks Ittay Eyal, Idit Keidar, Raphi Rom Technion, Israel Israeli Networking Day. March 2011 1 Outline Background static average aggregation in sensor networks. LiMoSense


slide-1
SLIDE 1

1

LiMoSense – Live Monitoring in Dynamic Sensor Networks

Ittay Eyal, Idit Keidar, Raphi Rom Technion, Israel Israeli Networking Day. March 2011

slide-2
SLIDE 2

2 Outline

  • Background – static average

aggregation in sensor networks.

  • LiMoSense – Live and robust.
  • Correctness.
  • Convergence.
  • Dynamic behavior.
slide-3
SLIDE 3

3 Sensors Read values and communicate. Light-weight, little energy, error prone.

slide-4
SLIDE 4

4 Sensor Network Many sensors (at least thousands). Limited topology. Similar scenario in cloud monitoring

slide-5
SLIDE 5

5 Average Aggregation Target: Average of read values. Reason: Environmental monitoring. Cloud computing load monitoring. Challenge: Cannot collect the values. Solution: In-network aggregation. Hierarchical solution? Not robust.

slide-6
SLIDE 6

6 Static error-free aggregation [1,2] Bidirectional communication gossip

1.

  • D. Kempe, A. Dobra, and J. Gehrke. Gossip-based computation of aggregate information. In FOCS, 2003.

2.

  • S. Nath, P. B. Gibbons, S. Seshan, and Z. R. Anderson. Synopsis diffusion for robust aggregation in sensor networks.

In SenSys, 2004.

8 2 3 5 5 3 5 4 4 t=1 t=2 t=3

slide-7
SLIDE 7

7 Static error-free aggregation [1,2] Unidirectional communication gossip

1.

  • D. Kempe, A. Dobra, and J. Gehrke. Gossip-based computation of aggregate information. In FOCS, 2003.

2.

  • S. Nath, P. B. Gibbons, S. Seshan, and Z. R. Anderson. Synopsis diffusion for robust aggregation in sensor networks.

In SenSys, 2004.

5, 1 3, 1 4.3, 1.5 3, 0.5

Send half:

A B

v w

in in in B B B B

w v w v v w w   

 

1 2

,

A A

v w

(3, 0.5)

slide-8
SLIDE 8

8 Static error-free aggregation [1,2] Unidirectional communication gossip

1.

  • D. Kempe, A. Dobra, and J. Gehrke. Gossip-based computation of aggregate information. In FOCS, 2003.

2.

  • S. Nath, P. B. Gibbons, S. Seshan, and Z. R. Anderson. Synopsis diffusion for robust aggregation in sensor networks.

In SenSys, 2004.

5, 1 3, 1 4, y 4, x

A B

v w

(3, 0.5)

t  

slide-9
SLIDE 9

9 Static error-free aggregation Realistic?

  • Monitoring  Dynamic input! (restart?)
  • Cheap sensors  Crashes.
  • Limited battery 

Link failure and message loss

slide-10
SLIDE 10

10

LiMoSense – Live Monitoring in Dynamic Sensor Networks

slide-11
SLIDE 11

11 Live error-free aggregation Observation: Invariant: read sum = Weighted sum

5, 1 3, 1 4.3, 3/2 3, 1/2

A B

3 1 5 1 8     3 1 / 2 4.3 3 / 2 8    

slide-12
SLIDE 12

12 Live error-free aggregation Observation: Invariant: read sum = Weighted sum Goal: Maintain the invariant after input changes.

slide-13
SLIDE 13

13 Live error-free aggregation Each node stores:

  • 1. Current weighted estimation.
  • 2. Previously read value.

On read change: update weighted estimation to fix invariant.

 

1 new R ead prevR ead

i i i i i

est est w   

Weight unchanged.

slide-14
SLIDE 14

14 Live error-free aggregation

 

1 new R ead prevR ead

i i i i i

est est w   

Case 1: Case 2: Example: read value 0  1

3, 1 3, 2 4, 1 3.5, 2

Before After

slide-15
SLIDE 15

15 Live robust aggregation

Lost messages  lost weight  broken Invariant:

3, 1

(3, 0.5)

3, 0.5

(3, 0.25)

slide-16
SLIDE 16

16 Live robust aggregation Solution: Send summary, not diff:

3, 1

(3, 0.5)

3, 0.5

(3, 0.25)

3, 1

(3, 0.5)

3, 0.5

(3, 0.75)

slide-17
SLIDE 17

17 Live robust aggregation Solution: Send summary, not diff:

  • Lost message:

Fix on next one.

  • Failed link:

Transfer undo.

3, 1

(3, 0.5)

3, 0.5

(3, 0.75)

slide-18
SLIDE 18

18 Live robust aggregation Solution: Send summary, not diff:

3, 1

(3, 0.5)

3, 0.5

(3, 0.75)

3, 0.25 3, 1

Link fail Undo

slide-19
SLIDE 19

19 Live robust aggregation Challenge: weight  infinity Solution: Hybrid push-pull: Ask neighbor to send back inverse.

3, 1

(3, 0.5)

3, 0.5

(3, 0.75)

slide-20
SLIDE 20

20 Live robust aggregation Challenge: weight  infinity Solution: Hybrid push-pull: Ask neighbor to send back inverse.

3, 1

(3, 0.5)

3, 0.5

(3, -0.5) pull

slide-21
SLIDE 21

21 Live robust aggregation Crashed node  lost links.

slide-22
SLIDE 22

22

Co Correctness ectness

slide-23
SLIDE 23

23 Correctness - Safety Theorem 1: The invariant always holds.

  • 1. On message send/receive.
  • 2. After value change.
  • 3. After add/remove neighbor.
  • 4. After node removal/addition.
slide-24
SLIDE 24

24 Correctness - Liveness Theorem 2: After GST, all estimations converge to the average.

  • 1. Quantization constant and fairness.
  • 2. Value propagation.
  • 3. Convergence.
slide-25
SLIDE 25

25 Correctness - Liveness

  • 1. Quantization constant and fairness.

Weight is transferred in multiples of q. Note – This does not effect accuracy. Each node eventually succeeds to send a push message to all of its neighbors.

slide-26
SLIDE 26

26 Correctness - Liveness

  • 2. Value propagation.

Lemma: For any time t >= GST and node i, there exists a time t’ > t after which every node j has a component of i with a weight larger than some bound (the bound is dependent on n and q)

slide-27
SLIDE 27

27

slide-28
SLIDE 28

28 Correctness - Liveness

  • 3. Convergence.

Define a series GST =t0, t1, t2, ... Where at ti each node has a bounded- from-below portion from each node at ti-1. At each ti, the largest error is smaller than in ti-1, because it's mixed with other values.

slide-29
SLIDE 29

29

Co Converg ergence ence Rate ate

slide-30
SLIDE 30

30 Convergence Static convergence rate (exchange gossip):

  • Static input (after GST).
  • Dense topology.
  • Synchronous uniform runs.
slide-31
SLIDE 31

31 Convergence Static convergence rate (exchange gossip): Assumption: normal distribution of estimations.

slide-32
SLIDE 32

32 Convergence Static convergence rate (exchange gossip):

slide-33
SLIDE 33

33

Dy Dyna namic mic Beh ehavior vior

slide-34
SLIDE 34

34 Step Function 100 nodes. Standard Normal distribution 10 nodes change Values (+10)

slide-35
SLIDE 35

35 Step Function 100 nodes. Standard Normal distribution 10 nodes change Values (+10)

slide-36
SLIDE 36

36 Step Function 100 nodes. Standard Normal distribution 10 nodes change Values (+10)

slide-37
SLIDE 37

37 Creeping Value Change 100 nodes. Standard Normal distribution Every 10 steps, 10 nodes change Values (+0.01)

slide-38
SLIDE 38

38 Creeping Value Change 100 nodes. Standard Normal distribution Every 10 steps, 10 nodes change Values (+0.01)

slide-39
SLIDE 39

39 100 nodes. Standard Normal distribution Every 10 steps, 10 nodes change Values (+0.01) Creeping Value Change

slide-40
SLIDE 40

40 100 nodes. Standard Normal distribution 10 nodes change Values (+10) for 100 steps Response to Step Function

slide-41
SLIDE 41

41 Response to Step Function 100 nodes. Standard Normal distribution 10 nodes change Values (+10) for 100 steps

slide-42
SLIDE 42

42 Dynamic Network Disc Graph t=2500: 10 nodes range decay, 7 lost links t=5000: Node crash.

slide-43
SLIDE 43

43 Summary

  • LiMoSense – Live Average Monitoring in

error prone dynamic sensor networks.

  • Live: aggregate dynamic data reads.
  • Fault tolerant: Message loss, link failure

and node crash.

  • Correctness in dynamic asynchronous

settings.

  • Exponential convergence after GST.
  • Quick dynamic behavior.

Ittay Eyal, Idit Keidar, Raphael Rom. LiMoSense - Live Monitoring in Dynamic Sensor Networks, Technion technical report CCIT #786 March 2011EE.

slide-44
SLIDE 44

44

Go Good

  • d Qu

Ques estions tions

slide-45
SLIDE 45

45 Convergence Static convergence rate (push gossip):