30
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

  • View
    217

  • Download
    0

Embed Size (px)

Citation preview

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

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…

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}

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.

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.

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.”

8

Generalization?

For conservative networking,

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

? ?

9

Outline

Motivation Acyclic networks

Cyclic networks Conclusion

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

= =

10

Colored Cut Conditionsr sb

11

Colored Cut Condition

Colors on nodes colors on edges

sr sb

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

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

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

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

16

Outline Motivation Acyclic networks

Cyclic networks

Conclusion

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

= =

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

? ?

17

Outline Motivation Acyclic networks

Cyclic networks

Conclusion

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

= =

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

< <

18

Proof by Reduction

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

Find k-pairs problems such that

19

Therefore

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’

21

Step 1:

s1 s2

t1 t2

v1 v2

T1 T2

Easy

22

Step 2:

s1 s2

t1 t2

v1 v2

T1 T2

Disjoint trees Disjoint paths

23

Reduction does not preserve rates for coding

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

“three butterflies flying together”

24

Proof by Reduction

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

Find k-pairs problems such that

25

s1 s2

c

u

t2 t1

26

s1

t1

s2

t2

27

Results for Cyclic Networks

IntegerRouting

Rate

FractionalRouting

Rate

NetworkCodingRate

< <

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

28

A Simpler Example

1 2

3

4

5 6

87

29

A Simpler Example

1 2

3

4

5 6

87

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