Top Banner
1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding
30

1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

1

Nick Harvey (MIT) Kamal Jain (MSR)

Lap Chi Lau (U. Toronto)Chandra Nair (MSR)

Yunnan Wu (MSR)

Conservative Network Coding

Page 2: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

2

Outline

Motivation Acyclic networks Cyclic networks Conclusion

Page 3: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

3

The General Multi-Session Network Coding Problem Given a network coding problem:

Directed graph G = (V,E) k “commodities” (streams of information) Sources: s1, …, sk

Receiver set for each source T1, …, Tk

At what rate can the sources transmit? This is very general and very hard…

Page 4: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

4

“Conservative Network Coding” Given a network coding problem:

Directed graph G = (V,E) k “commodities” (streams of information) Sources: s1, …, sk

Receiver set for each source T1, …, Tk

At what rate can the sources transmit? Consider solutions where intermediate nodes are

conservative i.e., a node rejects anything it does not want. i.e., commodity i is not allowed to leave the set T i {si}

Page 5: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

5

Motivations

Practical motivation In peer-to-peer networks,

a node may not have incentive to relay traffic for others

a node may be concerned about security troubles

Theoretical motivation In the special case when there is a single

commodity, there are elegant results.

Page 6: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

6

Single Session Conservative Networking (Broadcasting)

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

= = =Cut

Bound

Edmonds’ Theorem (1972): Given a directed graph and a source node s, the maximum number of edge disjoint spanning trees rooted at s is equal to the minimum s-cut capacity.

Page 7: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

7

Example

t3t1 t2

s

t4

“As long as we can route information to each node individually at rate C, we can route information simultaneously to all destinations at rate C.”

Page 8: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

8

Generalization?

For conservative networking,

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

? ?

Page 9: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

9

Outline

Motivation Acyclic networks

Cyclic networks Conclusion

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

= =

Page 10: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

10

Colored Cut Conditionsr sb

Page 11: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

11

Colored Cut Condition

Colors on nodes colors on edges

sr sb

Page 12: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

12

Colored Cut Condition

Blue and Red need to cross the cut We have a {red, blue} edge, a red edge and a blue edge So okay!

sr sb

Page 13: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

13

Colored Cut Condition

Blue and Red need to cross the cut We have a {red, blue} edge and a blue edge So okay!

sr sb

Page 14: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

14

Colored Cut Condition

Generally, for each node-set cut, the set of edges across the cut must enable that the colors that need to cross the cut indeed can cross. A bi-partite matching condition

sr

sb

tr

tb

Page 15: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

15

Proof that Colored Cut Bound is Achievable by Routing Visit the nodes in the topological order, v1,…,vn

By inductive hypothesis, the previous nodes v1,…,vk can indeed recover the messages they want.

Consider node vk+1

Colored cut condition must hold; Conversely, if it holds, there exists an integer routing solution.

tr,g tg,b

tr,b

Page 16: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

16

Outline Motivation Acyclic networks

Cyclic networks

Conclusion

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

= =

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

? ?

Page 17: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

17

Outline Motivation Acyclic networks

Cyclic networks

Conclusion

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

= =

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

< <

Page 18: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

18

Proof by Reduction

A k-pairs problem G A conservative network problem G’

Find k-pairs problems such that

Page 19: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

19

Therefore

Page 20: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

20

Reductionk-pairs conservative networking

s1 s2

t1 t2

s1 s2

t1 t2

v1 v2

T1 T2

Vertex Set VSources s1,s2

Sinks t1,t2

Add vertices v1, v2

Add edges ti-vi

Add edges vi-u ∀ u ∈ V – ti

Set Ti = V + vi

G

G’

Page 21: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

21

Step 1:

s1 s2

t1 t2

v1 v2

T1 T2

Easy

Page 22: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

22

Step 2:

s1 s2

t1 t2

v1 v2

T1 T2

Disjoint trees Disjoint paths

Page 23: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

23

Reduction does not preserve rates for coding

A k-pairs problem G A conservative network problem G’

“three butterflies flying together”

Page 24: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

24

Proof by Reduction

A k-pairs problem G A conservative network problem G’

Find k-pairs problems such that

Page 25: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

25

s1 s2

c

u

t2 t1

Page 26: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

26

s1

t1

s2

t2

Page 27: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

27

Results for Cyclic Networks

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

< <

“Buy one get one free”: Integer Routing Solution is NP-hard

Page 28: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

28

A Simpler Example

1 2

3

4

5 6

87

Page 29: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

29

A Simpler Example

1 2

3

4

5 6

87

Page 30: 1 Nick Harvey (MIT) Kamal Jain (MSR) Lap Chi Lau (U. Toronto) Chandra Nair (MSR) Yunnan Wu (MSR) Conservative Network Coding.

30

Conclusion

Conservative networking model, motivated by practice and theory

Neat result for acyclic networks that generalize Edmonds’ Theorem

Counter examples for cyclic networks Even if nodes are conservative, network coding can help

“Cycles are tricky!” Bound obtained by examining nodes in isolation is loose Bound obtained by examining node-set cuts in isolation is

loose Generally require entropy arguments