Standard ¡Network ¡Flow ¡problems ¡ with ¡Secure ¡Mul8party ¡Computa8on ¡
Abdelrahaman ¡Aly ¡ C.O.R.E. ¡-‑ ¡Université ¡catholique ¡de ¡Louvain ¡
1 ¡
Standard Network Flow problems with Secure Mul8party - - PowerPoint PPT Presentation
Standard Network Flow problems with Secure Mul8party Computa8on Abdelrahaman Aly C.O.R.E. - Universit catholique de Louvain 1 Outlines The Problem
Abdelrahaman ¡Aly ¡ C.O.R.E. ¡-‑ ¡Université ¡catholique ¡de ¡Louvain ¡
1 ¡
Example ¡ Applicability ¡
Goals ¡ Environment ¡ Minimum-‑cost ¡flow ¡ Minimum ¡mean ¡cycle ¡ Secure ¡Solu8ons ¡
Environment ¡ Phases ¡ Execu8on ¡Times ¡ Ra8o ¡Analysis ¡
Some ¡alterna8ves.. ¡
2 ¡
WAN ¡Network ¡ Paribas ¡ EU ¡Agency ¡ Dexia ¡
3 ¡
WAN ¡Network ¡ Paribas ¡ ING ¡ CBS ¡ EU ¡Agency ¡ Dexia ¡
4 ¡
WAN ¡Network ¡ Paribas ¡ ING ¡ CBS ¡ EU ¡Agency ¡ Dexia ¡
5 ¡
WAN ¡Network ¡ Paribas ¡ ING ¡ CBS ¡ EU ¡Agency ¡ Dexia ¡
6 ¡
WAN ¡Network ¡ Paribas ¡ ING ¡ CBS ¡ EU ¡Agency ¡ Dexia ¡
7 ¡
Compute ¡New ¡ Heuris8cs ¡/ ¡ Execute ¡ ¡ Network ¡Flow ¡ Algorithms ¡to ¡ select ¡routes ¡ Latency ¡ Traffic ¡Volumes ¡ Distance ¡
Rou8ng ¡ Algorithms ¡
Rou8ng ¡Table ¡
8 ¡
WAN ¡Network ¡ Paribas ¡ ING ¡ CBS ¡ EU ¡Agency ¡ Dexia ¡
9 ¡
10 ¡
Possible ¡Security ¡ Breaches! ¡ Leaked ¡ Informa8on! ¡ ¡ What ¡if ¡we ¡get ¡to ¡the ¡ same ¡result ¡without ¡ revealing ¡any ¡ compromising ¡ informa8on? ¡
11 ¡
12 ¡
13 ¡
Results ¡-‑ Environment ¡
14 ¡
Behavior ¡ considered ¡
Communica8ons ¡ Linear ¡Behavior ¡ Computa8ons ¡
Polynomial ¡ Behavior ¡
Comparisons ¡are ¡200x ¡more ¡expensive ¡in ¡ terms ¡of ¡performance ¡than ¡Mul8plica8ons ¡
15 ¡
Original ¡Problem ¡
16 ¡
min c(v,w)• f (v,w)
c(v,w)∈E
s.t. f (v,w) ≤ u(v,w)∀(v,w) ∈ E f (v,w) = − f (w,v)∀(v,w) ∈ E f (v,w) = 0 ∀w ∈ V
v∈E(w)
The ¡Problem: ¡ ¡ ¡ ¡
¡ ¡
(v,w) ∈ E iff (w,v) ∈ E c(v,w) = −c(w,v)∀(v,w) ∈ E u(v,w)∀(v,w) ∈ E
Input: ¡ ¡ ¡
Original ¡Problem ¡
17 ¡
Generali8es: ¡Minimum-‑cost ¡Flow ¡and ¡
Known ¡ Algorithms ¡ Linear ¡Programing ¡
18 ¡
Mean ¡Cycle-‑Canceling ¡Algorithm: ¡
¡ ¡ ¡
ij :(i, j) ∈ W};
DefiniFons: ¡ A ¡circula8on ¡is ¡minimum-‑cost ¡if ¡and ¡only ¡if ¡there ¡are ¡no ¡nega8ve ¡ residual ¡cost ¡
Original ¡Problem ¡
19 ¡
Input: ¡
¡ ¡
u(v,w)∀(v,w) ∈ E
DefiniFons: ¡ ¡ m(σ): ¡Is ¡the ¡mean ¡of ¡any ¡ sequence ¡of ¡edges. ¡ C: ¡is ¡the ¡set ¡of ¡all ¡directed ¡ cycles ¡in ¡G. ¡ If ¡used ¡for ¡the ¡Min-‑cost ¡Flow ¡ problem, ¡it ¡starts ¡in ¡the ¡source ¡
Original ¡Solu8on ¡
20 ¡
d k( j) = min{i:(i, j)∈A}{d k−1 +cij}
Defini8ons: ¡ ¡
¡ ¡
21 ¡
22 ¡
23 ¡
24 ¡
25 ¡
The ¡bounds ¡ ¡are ¡given ¡considering ¡complete ¡graphs ¡only ¡
Performance ¡ Evalua8on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2.5E+10 ¡ 3E+10 ¡ 3.5E+10 ¡ 3 ¡ 4 ¡ 5 ¡ 6 ¡ 7 ¡ 8 ¡ 9 ¡ 10 ¡ 3 ¡players ¡ 4 ¡players ¡ 0 ¡ 10000000 ¡ 20000000 ¡ 30000000 ¡ 40000000 ¡ 50000000 ¡ 60000000 ¡ 70000000 ¡ 3 ¡ 4 ¡ 5 ¡ 6 ¡ 7 ¡ 8 ¡ 9 ¡ 10 ¡ 3 ¡players ¡ 4 ¡players ¡
Performance ¡ Evalua8on ¡
nodes ¡ ra8o ¡
Ra8o ¡Analysis ¡-‑ ¡Minimum ¡Mean ¡Cycle ¡Canceling ¡
ra8o ¡ nodes ¡
Vertex ¡ Edges ¡ 3 ¡Players ¡ 4 ¡Players ¡ 4 ¡ 12 ¡ 15069475 ¡ 17696250 ¡
29 ¡
Clean ¡ImplementaFon ¡ VIFF ¡ImplementaFon ¡
Vertex ¡ Edges ¡ 3 ¡Players ¡ 4 ¡Players ¡ 4 ¡ 12 ¡ 114643 ¡ 134626 ¡
Improve ¡the ¡Algorithms ¡ ¡ (Using ¡Top’s ¡Priority ¡Queue ¡ for ¡instance) ¡ Improve ¡SMC ¡ implementa8ons ¡ performance ¡migra8ng ¡to ¡
Migrate ¡Current ¡subrou8nes ¡ implementa8ons ¡to ¡ ¡ applica8ons ¡like ¡the ¡ones ¡ presented ¡(i.e. ¡any ¡rou8ng ¡ algorithm) ¡
30 ¡
Thank ¡You ¡ ¡So ¡Much! ¡
31 ¡
htp://xkcd.com/329/ ¡ E: ¡abdelrahaman.aly@uclouvain.be ¡ T: ¡@abdito_8 ¡ W: ¡uclouvain.be/abdelrahaman.aly ¡